glib2 3.0.9-x86-mingw32 → 3.1.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +2 -2
- data/ext/glib2/extconf.rb +0 -3
- data/ext/glib2/glib2.def +3 -0
- data/ext/glib2/rbglib.c +52 -20
- data/ext/glib2/rbglib.h +2 -2
- data/ext/glib2/rbglib_iochannel.c +1 -1
- data/ext/glib2/rbglib_mainloop.c +34 -11
- data/ext/glib2/rbglib_messages.c +21 -14
- data/ext/glib2/rbgobj_closure.c +65 -28
- data/ext/glib2/rbgobj_signal.c +38 -2
- data/ext/glib2/rbgobject.h +16 -0
- data/ext/glib2/rbgutil.c +6 -6
- data/lib/2.2/glib2.so +0 -0
- data/lib/2.3/glib2.so +0 -0
- data/lib/glib2.rb +8 -3
- data/lib/gnome2/rake/external-package.rb +24 -1
- data/lib/gnome2/rake/windows-binary-build-task.rb +339 -338
- data/vendor/local/bin/asn1Coding.exe +0 -0
- data/vendor/local/bin/asn1Decoding.exe +0 -0
- data/vendor/local/bin/asn1Parser.exe +0 -0
- data/vendor/local/bin/envsubst.exe +0 -0
- data/vendor/local/bin/gdbus.exe +0 -0
- data/vendor/local/bin/gettext.exe +0 -0
- data/vendor/local/bin/gio-querymodules.exe +0 -0
- data/vendor/local/bin/gio.exe +0 -0
- data/vendor/local/bin/glib-compile-resources.exe +0 -0
- data/vendor/local/bin/glib-compile-schemas.exe +0 -0
- data/vendor/local/bin/glib-genmarshal.exe +0 -0
- data/vendor/local/bin/glib-gettextize +1 -1
- data/vendor/local/bin/glib-mkenums +1 -1
- data/vendor/local/bin/gobject-query.exe +0 -0
- data/vendor/local/bin/gresource.exe +0 -0
- data/vendor/local/bin/gsettings.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper-console.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper.exe +0 -0
- data/vendor/local/bin/iconv.exe +0 -0
- data/vendor/local/bin/idn.exe +0 -0
- data/vendor/local/bin/libasprintf-0.dll +0 -0
- data/vendor/local/bin/libcharset-1.dll +0 -0
- data/vendor/local/bin/libffi-6.dll +0 -0
- data/vendor/local/bin/libgio-2.0-0.dll +0 -0
- data/vendor/local/bin/libglib-2.0-0.dll +0 -0
- data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
- data/vendor/local/bin/libgmp-10.dll +0 -0
- data/vendor/local/bin/libgnutls-30.dll +0 -0
- data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
- data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
- data/vendor/local/bin/libhogweed-4-2.dll +0 -0
- data/vendor/local/bin/libiconv-2.dll +0 -0
- data/vendor/local/bin/libidn-11.dll +0 -0
- data/vendor/local/bin/libintl-8.dll +0 -0
- data/vendor/local/bin/libnettle-6-2.dll +0 -0
- data/vendor/local/bin/libp11-kit-0.dll +0 -0
- data/vendor/local/bin/libpcre-1.dll +0 -0
- data/vendor/local/bin/libpcrecpp-0.dll +0 -0
- data/vendor/local/bin/libpcreposix-0.dll +0 -0
- data/vendor/local/bin/libtasn1-6.dll +0 -0
- data/vendor/local/bin/nettle-hash.exe +0 -0
- data/vendor/local/bin/nettle-lfib-stream.exe +0 -0
- data/vendor/local/bin/nettle-pbkdf2.exe +0 -0
- data/vendor/local/bin/ngettext.exe +0 -0
- data/vendor/local/bin/p11-kit.exe +0 -0
- data/vendor/local/bin/pcregrep.exe +0 -0
- data/vendor/local/bin/pcretest.exe +0 -0
- data/vendor/local/bin/pkcs1-conv.exe +0 -0
- data/vendor/local/bin/sexp-conv.exe +0 -0
- data/vendor/local/bin/trust.exe +0 -0
- data/vendor/local/include/glib-2.0/gio/gappinfo.h +11 -0
- data/vendor/local/include/glib-2.0/gio/gdrive.h +4 -0
- data/vendor/local/include/glib-2.0/gio/gfileinfo.h +9 -0
- data/vendor/local/include/glib-2.0/gio/gio-autocleanups.h +1 -0
- data/vendor/local/include/glib-2.0/gio/gioenums.h +10 -10
- data/vendor/local/include/glib-2.0/gio/giotypes.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gsettings.h +14 -0
- data/vendor/local/include/glib-2.0/gio/gvfs.h +36 -0
- data/vendor/local/include/glib-2.0/glib/gchecksum.h +1 -1
- data/vendor/local/include/glib-2.0/glib/ghmac.h +5 -0
- data/vendor/local/include/glib-2.0/glib/gkeyfile.h +6 -0
- data/vendor/local/include/glib-2.0/glib/gmacros.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gmain.h +11 -0
- data/vendor/local/include/glib-2.0/glib/gmessages.h +211 -2
- data/vendor/local/include/glib-2.0/glib/gtypes.h +2 -1
- data/vendor/local/include/glib-2.0/glib/gunicode.h +23 -3
- data/vendor/local/include/glib-2.0/glib/gutils.h +10 -0
- data/vendor/local/include/glib-2.0/glib/gvariant.h +71 -2
- data/vendor/local/include/glib-2.0/glib/gvarianttype.h +0 -1
- data/vendor/local/include/glib-2.0/glib/gversionmacros.h +23 -0
- data/vendor/local/include/glib-2.0/gobject/gparam.h +2 -1
- data/vendor/local/include/glib-2.0/gobject/gsignal.h +1 -1
- data/vendor/local/include/glib-2.0/gobject/gtypemodule.h +2 -0
- data/vendor/local/include/gmp.h +1 -1
- data/vendor/local/include/nettle/nettle-stdint.h +1 -1
- data/vendor/local/lib/gio/modules/libgiognutls.a +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.dll +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.dll.a +0 -0
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +3 -2
- data/vendor/local/lib/libasprintf.a +0 -0
- data/vendor/local/lib/libasprintf.dll.a +0 -0
- data/vendor/local/lib/libcharset.a +0 -0
- data/vendor/local/lib/libcharset.dll.a +0 -0
- data/vendor/local/lib/libffi.a +0 -0
- data/vendor/local/lib/libffi.dll.a +0 -0
- data/vendor/local/lib/libgio-2.0.dll.a +0 -0
- data/vendor/local/lib/libgio-2.0.la +5 -5
- data/vendor/local/lib/libglib-2.0.dll.a +0 -0
- data/vendor/local/lib/libglib-2.0.la +5 -5
- data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
- data/vendor/local/lib/libgmodule-2.0.la +5 -5
- data/vendor/local/lib/libgmp.dll.a +0 -0
- data/vendor/local/lib/libgnutls.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.la +5 -5
- data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
- data/vendor/local/lib/libgthread-2.0.la +5 -5
- data/vendor/local/lib/libhogweed.a +0 -0
- data/vendor/local/lib/libhogweed.dll.a +0 -0
- data/vendor/local/lib/libiconv.dll.a +0 -0
- data/vendor/local/lib/libidn.a +0 -0
- data/vendor/local/lib/libidn.dll.a +0 -0
- data/vendor/local/lib/libintl.a +0 -0
- data/vendor/local/lib/libintl.dll.a +0 -0
- data/vendor/local/lib/libnettle.a +0 -0
- data/vendor/local/lib/libnettle.dll.a +0 -0
- data/vendor/local/lib/libp11-kit.dll.a +0 -0
- data/vendor/local/lib/libpcre.a +0 -0
- data/vendor/local/lib/libpcre.dll.a +0 -0
- data/vendor/local/lib/libpcrecpp.a +0 -0
- data/vendor/local/lib/libpcrecpp.dll.a +0 -0
- data/vendor/local/lib/libpcreposix.a +0 -0
- data/vendor/local/lib/libpcreposix.dll.a +0 -0
- data/vendor/local/lib/libtasn1.a +0 -0
- data/vendor/local/lib/libtasn1.dll.a +0 -0
- data/vendor/local/lib/p11-kit/p11-kit-remote.exe +0 -0
- data/vendor/local/lib/pkcs11/p11-kit-trust.dll +0 -0
- data/vendor/local/lib/pkcs11/p11-kit-trust.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gio-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/glib-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-export-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gnutls.pc +1 -1
- data/vendor/local/lib/pkgconfig/gobject-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/gthread-2.0.pc +1 -1
- data/vendor/local/share/bash-completion/completions/gsettings +3 -3
- data/vendor/local/share/gdb/auto-load/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/{libglib-2.0.so.0.4800.1-gdb.py → libglib-2.0.so.0.5000.2-gdb.py} +1 -1
- data/vendor/local/share/gdb/auto-load/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/{libgobject-2.0.so.0.4800.1-gdb.py → libgobject-2.0.so.0.5000.2-gdb.py} +1 -1
- data/vendor/local/share/glib-2.0/codegen/__init__.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/__init__.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen.py +32 -22
- data/vendor/local/share/glib-2.0/codegen/codegen.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_main.py +3 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_main.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_main.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/config.py +1 -1
- data/vendor/local/share/glib-2.0/codegen/config.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/config.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/dbustypes.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/dbustypes.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/parser.py +8 -4
- data/vendor/local/share/glib-2.0/codegen/parser.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/parser.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/utils.py +8 -2
- data/vendor/local/share/glib-2.0/codegen/utils.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/utils.pyo +0 -0
- data/vendor/local/share/glib-2.0/gdb/{glib.py → glib_gdb.py} +0 -0
- data/vendor/local/share/glib-2.0/gdb/{gobject.py → gobject_gdb.py} +3 -3
- data/vendor/local/share/gtk-doc/html/gio/GAction.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GActionGroup.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GActionMap.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +115 -8
- data/vendor/local/share/gtk-doc/html/gio/GApplication.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/GApplicationCommandLine.html +2 -1
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GConverter.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/GDBusInterface.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/GDBusObject.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManager.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerClient.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerServer.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/GDatagramBased.html +8 -7
- data/vendor/local/share/gtk-doc/html/gio/GDrive.html +44 -1
- data/vendor/local/share/gtk-doc/html/gio/GDtlsClientConnection.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDtlsConnection.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDtlsServerConnection.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +25 -23
- data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +18 -4
- data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +14 -10
- data/vendor/local/share/gtk-doc/html/gio/GIcon.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GInitable.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GListModel.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GMenu.html +14 -14
- data/vendor/local/share/gtk-doc/html/gio/GMenuModel.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/GNetworkMonitor.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GPollableInputStream.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GPollableOutputStream.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GPropertyAction.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/GProxy.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GRemoteActionGroup.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GResolver.html +2 -0
- data/vendor/local/share/gtk-doc/html/gio/GResource.html +32 -2
- data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GSettings.html +234 -11
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +10 -2
- data/vendor/local/share/gtk-doc/html/gio/GSrvTarget.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GSubprocessLauncher.html +9 -9
- data/vendor/local/share/gtk-doc/html/gio/GTask.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GTlsBackend.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GTlsCertificate.html +10 -9
- data/vendor/local/share/gtk-doc/html/gio/GTlsClientConnection.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GTlsFileDatabase.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/GTlsServerConnection.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GVfs.html +222 -0
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +4 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-48.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-50.html +79 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +44 -0
- data/vendor/local/share/gtk-doc/html/gio/ch33.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch35.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/gapplication-tool.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gdbus-codegen.html +18 -6
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +7 -4
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/gio-GSettingsSchema-GSettingsSchemaSource.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/gio-GWin32RegistryKey.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +10 -6
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +14 -0
- data/vendor/local/share/gtk-doc/html/gio/gio.html +664 -0
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-resources.html +19 -0
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +6 -0
- data/vendor/local/share/gtk-doc/html/gio/gsettings-tool.html +7 -0
- data/vendor/local/share/gtk-doc/html/gio/index.html +5 -1
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +3 -0
- data/vendor/local/share/gtk-doc/html/gio/running-gio-apps.html +10 -9
- data/vendor/local/share/gtk-doc/html/gio/testing.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/tools.html +3 -0
- data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +4 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-40.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-46.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-48.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-50.html +121 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +110 -34
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +10 -9
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +10 -8
- data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +8 -8
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-HMACs.html +56 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +71 -50
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +74 -17
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +57 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +1009 -13
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +84 -56
- data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +3 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +27 -13
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +36 -14
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-UNIX-specific-utilities-and-integration.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +68 -5
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +17 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +12 -23
- data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-core.html +2 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +3 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +36 -2
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +6 -6
- data/vendor/local/share/gtk-doc/html/glib/gvariant-text.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/index.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/index.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +1 -1
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Future.html +4 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Modules.html +12 -12
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-PIN-Callbacks.html +15 -15
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-URIs.html +2 -2
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Utilities.html +2 -2
- data/vendor/local/share/locale/az/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/be@latin/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/dz/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/kk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/km/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mai/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nds/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr@ije/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/wa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/man/man1/gapplication.1 +1 -1
- data/vendor/local/share/man/man1/gdbus-codegen.1 +8 -3
- data/vendor/local/share/man/man1/gdbus.1 +1 -1
- data/vendor/local/share/man/man1/gio-querymodules.1 +1 -1
- data/vendor/local/share/man/man1/gio.1 +583 -0
- data/vendor/local/share/man/man1/glib-compile-resources.1 +19 -1
- data/vendor/local/share/man/man1/glib-compile-schemas.1 +6 -1
- data/vendor/local/share/man/man1/glib-genmarshal.1 +1 -1
- data/vendor/local/share/man/man1/glib-gettextize.1 +1 -1
- data/vendor/local/share/man/man1/glib-mkenums.1 +1 -1
- data/vendor/local/share/man/man1/gobject-query.1 +1 -1
- data/vendor/local/share/man/man1/gresource.1 +1 -1
- data/vendor/local/share/man/man1/gsettings.1 +9 -1
- data/vendor/local/share/man/man1/gtester-report.1 +1 -1
- data/vendor/local/share/man/man1/gtester.1 +1 -1
- metadata +12 -7
@@ -2,12 +2,12 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>
|
5
|
+
<title>Warnings and Assertions: GLib Reference Manual</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
7
7
|
<link rel="home" href="index.html" title="GLib Reference Manual">
|
8
8
|
<link rel="up" href="glib-core.html" title="GLib Core Application Support">
|
9
9
|
<link rel="prev" href="glib-Error-Reporting.html" title="Error Reporting">
|
10
|
-
<link rel="next" href="glib-Message-Logging.html" title="Message
|
10
|
+
<link rel="next" href="glib-Message-Logging.html" title="Message Output and Debugging Functions">
|
11
11
|
<meta name="generator" content="GTK-Doc V1.25.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
@@ -26,8 +26,8 @@
|
|
26
26
|
<a name="glib-Warnings-and-Assertions"></a><div class="titlepage"></div>
|
27
27
|
<div class="refnamediv"><table width="100%"><tr>
|
28
28
|
<td valign="top">
|
29
|
-
<h2><span class="refentrytitle"><a name="glib-Warnings-and-Assertions.top_of_page"></a>
|
30
|
-
<p>
|
29
|
+
<h2><span class="refentrytitle"><a name="glib-Warnings-and-Assertions.top_of_page"></a>Warnings and Assertions</span></h2>
|
30
|
+
<p>Warnings and Assertions</p>
|
31
31
|
</td>
|
32
32
|
<td class="gallery_image" valign="top" align="right"></td>
|
33
33
|
</tr></table></div>
|
@@ -141,17 +141,6 @@
|
|
141
141
|
</div>
|
142
142
|
<div class="refsect1">
|
143
143
|
<a name="glib-Warnings-and-Assertions.description"></a><h2>Description</h2>
|
144
|
-
<p>These functions provide support for outputting messages.</p>
|
145
|
-
<p>The g_return family of macros (<a class="link" href="glib-Warnings-and-Assertions.html#g-return-if-fail" title="g_return_if_fail()"><code class="function">g_return_if_fail()</code></a>,
|
146
|
-
<a class="link" href="glib-Warnings-and-Assertions.html#g-return-val-if-fail" title="g_return_val_if_fail()"><code class="function">g_return_val_if_fail()</code></a>, <a class="link" href="glib-Warnings-and-Assertions.html#g-return-if-reached" title="g_return_if_reached"><code class="function">g_return_if_reached()</code></a>,
|
147
|
-
<a class="link" href="glib-Warnings-and-Assertions.html#g-return-val-if-reached" title="g_return_val_if_reached()"><code class="function">g_return_val_if_reached()</code></a>) should only be used for programming
|
148
|
-
errors, a typical use case is checking for invalid parameters at
|
149
|
-
the beginning of a public function. They should not be used if
|
150
|
-
you just mean "if (error) return", they should only be used if
|
151
|
-
you mean "if (bug in program) return". The program behavior is
|
152
|
-
generally considered undefined after one of these checks fails.
|
153
|
-
They are not intended for normal control flow, only to give a
|
154
|
-
perhaps-helpful warning before giving up.</p>
|
155
144
|
</div>
|
156
145
|
<div class="refsect1">
|
157
146
|
<a name="glib-Warnings-and-Assertions.functions_details"></a><h2>Functions</h2>
|
@@ -168,8 +157,8 @@ its own new-line character.</p>
|
|
168
157
|
<p>g_print() should not be used from within libraries for debugging
|
169
158
|
messages, since it may be redirected by applications to special
|
170
159
|
purpose message windows or even files. Instead, libraries should
|
171
|
-
use <a class="link" href="glib-Message-Logging.html#g-log" title="g_log ()"><code class="function">g_log()</code></a>,
|
172
|
-
and <a class="link" href="glib-Message-Logging.html#g-error" title="g_error()"><code class="function">g_error()</code></a>.</p>
|
160
|
+
use <a class="link" href="glib-Message-Logging.html#g-log" title="g_log ()"><code class="function">g_log()</code></a>, <a class="link" href="glib-Message-Logging.html#g-log-structured" title="g_log_structured ()"><code class="function">g_log_structured()</code></a>, or the convenience macros <a class="link" href="glib-Message-Logging.html#g-message" title="g_message()"><code class="function">g_message()</code></a>,
|
161
|
+
<a class="link" href="glib-Message-Logging.html#g-warning" title="g_warning()"><code class="function">g_warning()</code></a> and <a class="link" href="glib-Message-Logging.html#g-error" title="g_error()"><code class="function">g_error()</code></a>.</p>
|
173
162
|
<div class="refsect3">
|
174
163
|
<a name="g-print.parameters"></a><h4>Parameters</h4>
|
175
164
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -259,8 +248,8 @@ a trailing new-line character. Typically, <em class="parameter"><code>format</co
|
|
259
248
|
should end with its own
|
260
249
|
new-line character.</p>
|
261
250
|
<p>g_printerr() should not be used from within libraries.
|
262
|
-
Instead <a class="link" href="glib-Message-Logging.html#g-log" title="g_log ()"><code class="function">g_log()</code></a> should be used, or the convenience
|
263
|
-
<a class="link" href="glib-Message-Logging.html#g-message" title="g_message()"><code class="function">g_message()</code></a>, <a class="link" href="glib-Message-Logging.html#g-warning" title="g_warning()"><code class="function">g_warning()</code></a> and <a class="link" href="glib-Message-Logging.html#g-error" title="g_error()"><code class="function">g_error()</code></a>.</p>
|
251
|
+
Instead <a class="link" href="glib-Message-Logging.html#g-log" title="g_log ()"><code class="function">g_log()</code></a> or <a class="link" href="glib-Message-Logging.html#g-log-structured" title="g_log_structured ()"><code class="function">g_log_structured()</code></a> should be used, or the convenience
|
252
|
+
macros <a class="link" href="glib-Message-Logging.html#g-message" title="g_message()"><code class="function">g_message()</code></a>, <a class="link" href="glib-Message-Logging.html#g-warning" title="g_warning()"><code class="function">g_warning()</code></a> and <a class="link" href="glib-Message-Logging.html#g-error" title="g_error()"><code class="function">g_error()</code></a>.</p>
|
264
253
|
<div class="refsect3">
|
265
254
|
<a name="g-printerr.parameters"></a><h4>Parameters</h4>
|
266
255
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -540,8 +529,8 @@ a stack trace. The prompt is then shown again.</p>
|
|
540
529
|
<td class="parameter_description"><p>the program name, needed by gdb for the "[S]tack trace"
|
541
530
|
option. If <em class="parameter"><code>prg_name</code></em>
|
542
531
|
is <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-prgname" title="g_get_prgname ()"><code class="function">g_get_prgname()</code></a> is called to get
|
543
|
-
the program name (which will work correctly if <code class="function">gdk_init()</code> or
|
544
|
-
<code class="function">gtk_init()</code> has been called)</p></td>
|
532
|
+
the program name (which will work correctly if <a href="http://developer.gnome.org/gdk3/gdk4-General.html#gdk-init"><code class="function">gdk_init()</code></a> or
|
533
|
+
<a href="http://developer.gnome.org/gtk4/gtk4-General.html#gtk-init"><code class="function">gtk_init()</code></a> has been called)</p></td>
|
545
534
|
<td class="parameter_annotations"> </td>
|
546
535
|
</tr></tbody>
|
547
536
|
</table></div>
|
@@ -555,8 +544,8 @@ g_on_error_stack_trace (<em class="parameter"><code>const <a class="link" href="
|
|
555
544
|
<p>Invokes gdb, which attaches to the current process and shows a
|
556
545
|
stack trace. Called by <a class="link" href="glib-Warnings-and-Assertions.html#g-on-error-query" title="g_on_error_query ()"><code class="function">g_on_error_query()</code></a> when the "[S]tack trace"
|
557
546
|
option is selected. You can get the current process's program name
|
558
|
-
with <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-prgname" title="g_get_prgname ()"><code class="function">g_get_prgname()</code></a>, assuming that you have called <code class="function">gtk_init()</code> or
|
559
|
-
<code class="function">gdk_init()</code>.</p>
|
547
|
+
with <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-prgname" title="g_get_prgname ()"><code class="function">g_get_prgname()</code></a>, assuming that you have called <a href="http://developer.gnome.org/gtk4/gtk4-General.html#gtk-init"><code class="function">gtk_init()</code></a> or
|
548
|
+
<a href="http://developer.gnome.org/gdk3/gdk4-General.html#gdk-init"><code class="function">gdk_init()</code></a>.</p>
|
560
549
|
<p>This function may cause different actions on non-UNIX platforms.</p>
|
561
550
|
<div class="refsect3">
|
562
551
|
<a name="g-on-error-stack-trace.parameters"></a><h4>Parameters</h4>
|
@@ -239,7 +239,7 @@ This will get the "full Unicode" commandline arguments using
|
|
239
239
|
<code class="function">GetCommandLineW()</code> and convert it to the GLib filename encoding (which
|
240
240
|
is UTF-8 on Windows).</p>
|
241
241
|
<p>The strings returned by this function are suitable for use with
|
242
|
-
functions such as <a class="link" href="glib-File-Utilities.html#g-open" title="g_open ()"><code class="function">g_open()</code></a> and <a href="
|
242
|
+
functions such as <a class="link" href="glib-File-Utilities.html#g-open" title="g_open ()"><code class="function">g_open()</code></a> and <a href="https://developer.gnome.org/gio/unstable/GFile.html#g-file-new-for-commandline-arg"><code class="function">g_file_new_for_commandline_arg()</code></a> but
|
243
243
|
are not suitable for use with <a class="link" href="glib-Commandline-option-parser.html#g-option-context-parse" title="g_option_context_parse ()"><code class="function">g_option_context_parse()</code></a>, which assumes
|
244
244
|
that its input will be in the system codepage. The return value is
|
245
245
|
suitable for use with <a class="link" href="glib-Commandline-option-parser.html#g-option-context-parse-strv" title="g_option_context_parse_strv ()"><code class="function">g_option_context_parse_strv()</code></a>, however, which
|
@@ -53,11 +53,10 @@
|
|
53
53
|
<span class="refentrytitle"><a href="glib-Error-Reporting.html">Error Reporting</a></span><span class="refpurpose"> — a system for reporting errors</span>
|
54
54
|
</dt>
|
55
55
|
<dt>
|
56
|
-
<span class="refentrytitle"><a href="glib-Warnings-and-Assertions.html">
|
56
|
+
<span class="refentrytitle"><a href="glib-Warnings-and-Assertions.html">Warnings and Assertions</a></span><span class="refpurpose"></span>
|
57
57
|
</dt>
|
58
58
|
<dt>
|
59
|
-
<span class="refentrytitle"><a href="glib-Message-Logging.html">Message
|
60
|
-
with different levels of importance</span>
|
59
|
+
<span class="refentrytitle"><a href="glib-Message-Logging.html">Message Output and Debugging Functions</a></span><span class="refpurpose"> — functions to output messages and help debug applications</span>
|
61
60
|
</dt>
|
62
61
|
</dl></div>
|
63
62
|
</div>
|
@@ -439,7 +439,7 @@ of them fail, since there is no character to match.
|
|
439
439
|
</p>
|
440
440
|
<p>
|
441
441
|
For compatibility with Perl, \s does not match the VT character (code
|
442
|
-
11). This makes it different from the
|
442
|
+
11). This makes it different from the POSIX "space" class. The \s
|
443
443
|
characters are HT (9), LF (10), FF (12), CR (13), and space (32).
|
444
444
|
</p>
|
445
445
|
<p>
|
@@ -266,9 +266,10 @@ Which would print the contents of each widget in a list of widgets.
|
|
266
266
|
<a name="id-1.2.7.3.8"></a><h3>SystemTap</h3>
|
267
267
|
<p>
|
268
268
|
<a class="ulink" href="http://sourceware.org/systemtap/" target="_top">SystemTap</a> is a dynamic whole-system
|
269
|
-
analysis toolkit. GLib ships with a file <code class="filename">
|
269
|
+
analysis toolkit. GLib ships with a file <code class="filename">libglib-2.0.so.*.stp</code> which defines a
|
270
270
|
set of probe points, which you can hook into with custom SystemTap scripts.
|
271
|
-
See the files <code class="filename">
|
271
|
+
See the files <code class="filename">libglib-2.0.so.*.stp</code>, <code class="filename">libgobject-2.0.so.*.stp</code>
|
272
|
+
and <code class="filename">libgio-2.0.so.*.stp</code> which
|
272
273
|
are in your shared SystemTap scripts directory.
|
273
274
|
</p>
|
274
275
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
7
7
|
<link rel="home" href="index.html" title="GLib Reference Manual">
|
8
8
|
<link rel="up" href="index.html" title="GLib Reference Manual">
|
9
|
-
<link rel="prev" href="glib-Message-Logging.html" title="Message
|
9
|
+
<link rel="prev" href="glib-Message-Logging.html" title="Message Output and Debugging Functions">
|
10
10
|
<link rel="next" href="glib-String-Utility-Functions.html" title="String Utility Functions">
|
11
11
|
<meta name="generator" content="GTK-Doc V1.25.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
@@ -31,8 +31,8 @@
|
|
31
31
|
<sub name="Memory Slices" link="glib-Memory-Slices.html"/>
|
32
32
|
<sub name="IO Channels" link="glib-IO-Channels.html"/>
|
33
33
|
<sub name="Error Reporting" link="glib-Error-Reporting.html"/>
|
34
|
-
<sub name="
|
35
|
-
<sub name="Message
|
34
|
+
<sub name="Warnings and Assertions" link="glib-Warnings-and-Assertions.html"/>
|
35
|
+
<sub name="Message Output and Debugging Functions" link="glib-Message-Logging.html"/>
|
36
36
|
</sub>
|
37
37
|
<sub name="GLib Utilities" link="glib-utilities.html">
|
38
38
|
<sub name="String Utility Functions" link="glib-String-Utility-Functions.html"/>
|
@@ -125,6 +125,7 @@
|
|
125
125
|
<sub name="Index of new symbols in 2.44" link="api-index-2-44.html"/>
|
126
126
|
<sub name="Index of new symbols in 2.46" link="api-index-2-46.html"/>
|
127
127
|
<sub name="Index of new symbols in 2.48" link="api-index-2-48.html"/>
|
128
|
+
<sub name="Index of new symbols in 2.50" link="api-index-2-50.html"/>
|
128
129
|
<sub name="Annotation Glossary" link="annotation-glossary.html"/>
|
129
130
|
</chapters>
|
130
131
|
<functions>
|
@@ -150,6 +151,7 @@
|
|
150
151
|
<keyword type="macro" name="GLIB_VERSION_2_44" link="glib-Version-Information.html#GLIB-VERSION-2-44:CAPS" since="2.44"/>
|
151
152
|
<keyword type="macro" name="GLIB_VERSION_2_46" link="glib-Version-Information.html#GLIB-VERSION-2-46:CAPS" since="2.46"/>
|
152
153
|
<keyword type="macro" name="GLIB_VERSION_2_48" link="glib-Version-Information.html#GLIB-VERSION-2-48:CAPS" since="2.48"/>
|
154
|
+
<keyword type="macro" name="GLIB_VERSION_2_50" link="glib-Version-Information.html#GLIB-VERSION-2-50:CAPS" since="2.50"/>
|
153
155
|
<keyword type="macro" name="GLIB_VERSION_MIN_REQUIRED" link="glib-Version-Information.html#GLIB-VERSION-MIN-REQUIRED:CAPS" since="2.32"/>
|
154
156
|
<keyword type="macro" name="GLIB_VERSION_MAX_ALLOWED" link="glib-Version-Information.html#GLIB-VERSION-MAX-ALLOWED:CAPS" since="2.32"/>
|
155
157
|
<keyword type="macro" name="GLIB_DISABLE_DEPRECATION_WARNINGS" link="glib-Version-Information.html#GLIB-DISABLE-DEPRECATION-WARNINGS:CAPS"/>
|
@@ -508,6 +510,7 @@
|
|
508
510
|
<keyword type="macro" name="G_SOURCE_REMOVE" link="glib-The-Main-Event-Loop.html#G-SOURCE-REMOVE:CAPS" since="2.32"/>
|
509
511
|
<keyword type="struct" name="GMainContext" link="glib-The-Main-Event-Loop.html#GMainContext"/>
|
510
512
|
<keyword type="typedef" name="GPid" link="glib-The-Main-Event-Loop.html#GPid"/>
|
513
|
+
<keyword type="macro" name="G_PID_FORMAT" link="glib-The-Main-Event-Loop.html#G-PID-FORMAT:CAPS" since="2.50"/>
|
511
514
|
<keyword type="struct" name="struct GPollFD" link="glib-The-Main-Event-Loop.html#GPollFD"/>
|
512
515
|
<keyword type="macro" name="G_POLLFD_FORMAT" link="glib-The-Main-Event-Loop.html#G-POLLFD-FORMAT:CAPS"/>
|
513
516
|
<keyword type="struct" name="struct GSource" link="glib-The-Main-Event-Loop.html#GSource"/>
|
@@ -775,10 +778,24 @@
|
|
775
778
|
<keyword type="function" name="g_log_set_fatal_mask ()" link="glib-Message-Logging.html#g-log-set-fatal-mask"/>
|
776
779
|
<keyword type="function" name="g_log_default_handler ()" link="glib-Message-Logging.html#g-log-default-handler"/>
|
777
780
|
<keyword type="function" name="g_log_set_default_handler ()" link="glib-Message-Logging.html#g-log-set-default-handler" since="2.6"/>
|
781
|
+
<keyword type="function" name="g_log_structured ()" link="glib-Message-Logging.html#g-log-structured" since="2.50"/>
|
782
|
+
<keyword type="function" name="g_log_variant ()" link="glib-Message-Logging.html#g-log-variant" since="2.50"/>
|
783
|
+
<keyword type="function" name="g_log_structured_array ()" link="glib-Message-Logging.html#g-log-structured-array" since="2.50"/>
|
784
|
+
<keyword type="macro" name="G_DEBUG_HERE" link="glib-Message-Logging.html#G-DEBUG-HERE:CAPS" since="2.50"/>
|
785
|
+
<keyword type="function" name="GLogWriterFunc ()" link="glib-Message-Logging.html#GLogWriterFunc" since="2.50"/>
|
786
|
+
<keyword type="function" name="g_log_set_writer_func ()" link="glib-Message-Logging.html#g-log-set-writer-func" since="2.50"/>
|
787
|
+
<keyword type="function" name="g_log_writer_supports_color ()" link="glib-Message-Logging.html#g-log-writer-supports-color" since="2.50"/>
|
788
|
+
<keyword type="function" name="g_log_writer_is_journald ()" link="glib-Message-Logging.html#g-log-writer-is-journald" since="2.50"/>
|
789
|
+
<keyword type="function" name="g_log_writer_format_fields ()" link="glib-Message-Logging.html#g-log-writer-format-fields" since="2.50"/>
|
790
|
+
<keyword type="function" name="g_log_writer_journald ()" link="glib-Message-Logging.html#g-log-writer-journald" since="2.50"/>
|
791
|
+
<keyword type="function" name="g_log_writer_standard_streams ()" link="glib-Message-Logging.html#g-log-writer-standard-streams" since="2.50"/>
|
792
|
+
<keyword type="function" name="g_log_writer_default ()" link="glib-Message-Logging.html#g-log-writer-default" since="2.50"/>
|
778
793
|
<keyword type="macro" name="G_LOG_DOMAIN" link="glib-Message-Logging.html#G-LOG-DOMAIN:CAPS"/>
|
779
794
|
<keyword type="macro" name="G_LOG_FATAL_MASK" link="glib-Message-Logging.html#G-LOG-FATAL-MASK:CAPS"/>
|
780
795
|
<keyword type="macro" name="G_LOG_LEVEL_USER_SHIFT" link="glib-Message-Logging.html#G-LOG-LEVEL-USER-SHIFT:CAPS"/>
|
781
796
|
<keyword type="enum" name="enum GLogLevelFlags" link="glib-Message-Logging.html#GLogLevelFlags"/>
|
797
|
+
<keyword type="struct" name="struct GLogField" link="glib-Message-Logging.html#GLogField" since="2.50"/>
|
798
|
+
<keyword type="enum" name="enum GLogWriterOutput" link="glib-Message-Logging.html#GLogWriterOutput" since="2.50"/>
|
782
799
|
<keyword type="function" name="g_strdup ()" link="glib-String-Utility-Functions.html#g-strdup"/>
|
783
800
|
<keyword type="function" name="g_strndup ()" link="glib-String-Utility-Functions.html#g-strndup"/>
|
784
801
|
<keyword type="function" name="g_strdupv ()" link="glib-String-Utility-Functions.html#g-strdupv"/>
|
@@ -979,6 +996,7 @@
|
|
979
996
|
<keyword type="function" name="g_hmac_get_digest ()" link="glib-Data-HMACs.html#g-hmac-get-digest" since="2.30"/>
|
980
997
|
<keyword type="function" name="g_compute_hmac_for_data ()" link="glib-Data-HMACs.html#g-compute-hmac-for-data" since="2.30"/>
|
981
998
|
<keyword type="function" name="g_compute_hmac_for_string ()" link="glib-Data-HMACs.html#g-compute-hmac-for-string" since="2.30"/>
|
999
|
+
<keyword type="function" name="g_compute_hmac_for_bytes ()" link="glib-Data-HMACs.html#g-compute-hmac-for-bytes" since="2.50"/>
|
982
1000
|
<keyword type="struct" name="GHmac" link="glib-Data-HMACs.html#GHmac" since="2.30"/>
|
983
1001
|
<keyword type="macro" name="Q_()" link="glib-I18N.html#Q-:CAPS" since="2.4"/>
|
984
1002
|
<keyword type="macro" name="C_()" link="glib-I18N.html#C-:CAPS" since="2.16"/>
|
@@ -1488,6 +1506,7 @@
|
|
1488
1506
|
<keyword type="function" name="g_key_file_set_list_separator ()" link="glib-Key-value-file-parser.html#g-key-file-set-list-separator" since="2.6"/>
|
1489
1507
|
<keyword type="function" name="g_key_file_load_from_file ()" link="glib-Key-value-file-parser.html#g-key-file-load-from-file" since="2.6"/>
|
1490
1508
|
<keyword type="function" name="g_key_file_load_from_data ()" link="glib-Key-value-file-parser.html#g-key-file-load-from-data" since="2.6"/>
|
1509
|
+
<keyword type="function" name="g_key_file_load_from_bytes ()" link="glib-Key-value-file-parser.html#g-key-file-load-from-bytes" since="2.50"/>
|
1491
1510
|
<keyword type="function" name="g_key_file_load_from_data_dirs ()" link="glib-Key-value-file-parser.html#g-key-file-load-from-data-dirs" since="2.6"/>
|
1492
1511
|
<keyword type="function" name="g_key_file_load_from_dirs ()" link="glib-Key-value-file-parser.html#g-key-file-load-from-dirs" since="2.14"/>
|
1493
1512
|
<keyword type="function" name="g_key_file_to_data ()" link="glib-Key-value-file-parser.html#g-key-file-to-data" since="2.6"/>
|
@@ -2279,6 +2298,7 @@
|
|
2279
2298
|
<keyword type="function" name="g_variant_iter_next_value ()" link="glib-GVariant.html#g-variant-iter-next-value" since="2.24"/>
|
2280
2299
|
<keyword type="function" name="g_variant_iter_next ()" link="glib-GVariant.html#g-variant-iter-next" since="2.24"/>
|
2281
2300
|
<keyword type="function" name="g_variant_iter_loop ()" link="glib-GVariant.html#g-variant-iter-loop" since="2.24"/>
|
2301
|
+
<keyword type="macro" name="G_VARIANT_BUILDER_INIT()" link="glib-GVariant.html#G-VARIANT-BUILDER-INIT:CAPS" since="2.50"/>
|
2282
2302
|
<keyword type="function" name="g_variant_builder_unref ()" link="glib-GVariant.html#g-variant-builder-unref" since="2.24"/>
|
2283
2303
|
<keyword type="function" name="g_variant_builder_ref ()" link="glib-GVariant.html#g-variant-builder-ref" since="2.24"/>
|
2284
2304
|
<keyword type="function" name="g_variant_builder_new ()" link="glib-GVariant.html#g-variant-builder-new" since="2.24"/>
|
@@ -2446,6 +2466,8 @@
|
|
2446
2466
|
<keyword type="constant" name="G_LOG_LEVEL_INFO" link="glib-Message-Logging.html#G-LOG-LEVEL-INFO:CAPS"/>
|
2447
2467
|
<keyword type="constant" name="G_LOG_LEVEL_DEBUG" link="glib-Message-Logging.html#G-LOG-LEVEL-DEBUG:CAPS"/>
|
2448
2468
|
<keyword type="constant" name="G_LOG_LEVEL_MASK" link="glib-Message-Logging.html#G-LOG-LEVEL-MASK:CAPS"/>
|
2469
|
+
<keyword type="constant" name="G_LOG_WRITER_HANDLED" link="glib-Message-Logging.html#G-LOG-WRITER-HANDLED:CAPS"/>
|
2470
|
+
<keyword type="constant" name="G_LOG_WRITER_UNHANDLED" link="glib-Message-Logging.html#G-LOG-WRITER-UNHANDLED:CAPS"/>
|
2449
2471
|
<keyword type="constant" name="G_CONVERT_ERROR_NO_CONVERSION" link="glib-Character-Set-Conversion.html#G-CONVERT-ERROR-NO-CONVERSION:CAPS"/>
|
2450
2472
|
<keyword type="constant" name="G_CONVERT_ERROR_ILLEGAL_SEQUENCE" link="glib-Character-Set-Conversion.html#G-CONVERT-ERROR-ILLEGAL-SEQUENCE:CAPS"/>
|
2451
2473
|
<keyword type="constant" name="G_CONVERT_ERROR_FAILED" link="glib-Character-Set-Conversion.html#G-CONVERT-ERROR-FAILED:CAPS"/>
|
@@ -2523,6 +2545,9 @@
|
|
2523
2545
|
<keyword type="constant" name="G_UNICODE_BREAK_CONDITIONAL_JAPANESE_STARTER" link="glib-Unicode-Manipulation.html#G-UNICODE-BREAK-CONDITIONAL-JAPANESE-STARTER:CAPS"/>
|
2524
2546
|
<keyword type="constant" name="G_UNICODE_BREAK_HEBREW_LETTER" link="glib-Unicode-Manipulation.html#G-UNICODE-BREAK-HEBREW-LETTER:CAPS"/>
|
2525
2547
|
<keyword type="constant" name="G_UNICODE_BREAK_REGIONAL_INDICATOR" link="glib-Unicode-Manipulation.html#G-UNICODE-BREAK-REGIONAL-INDICATOR:CAPS"/>
|
2548
|
+
<keyword type="constant" name="G_UNICODE_BREAK_EMOJI_BASE" link="glib-Unicode-Manipulation.html#G-UNICODE-BREAK-EMOJI-BASE:CAPS"/>
|
2549
|
+
<keyword type="constant" name="G_UNICODE_BREAK_EMOJI_MODIFIER" link="glib-Unicode-Manipulation.html#G-UNICODE-BREAK-EMOJI-MODIFIER:CAPS"/>
|
2550
|
+
<keyword type="constant" name="G_UNICODE_BREAK_ZERO_WIDTH_JOINER" link="glib-Unicode-Manipulation.html#G-UNICODE-BREAK-ZERO-WIDTH-JOINER:CAPS"/>
|
2526
2551
|
<keyword type="constant" name="G_UNICODE_SCRIPT_INVALID_CODE" link="glib-Unicode-Manipulation.html#G-UNICODE-SCRIPT-INVALID-CODE:CAPS"/>
|
2527
2552
|
<keyword type="constant" name="G_UNICODE_SCRIPT_COMMON" link="glib-Unicode-Manipulation.html#G-UNICODE-SCRIPT-COMMON:CAPS"/>
|
2528
2553
|
<keyword type="constant" name="G_UNICODE_SCRIPT_INHERITED" link="glib-Unicode-Manipulation.html#G-UNICODE-SCRIPT-INHERITED:CAPS"/>
|
@@ -2656,6 +2681,12 @@
|
|
2656
2681
|
<keyword type="constant" name="G_UNICODE_SCRIPT_MULTANI" link="glib-Unicode-Manipulation.html#G-UNICODE-SCRIPT-MULTANI:CAPS"/>
|
2657
2682
|
<keyword type="constant" name="G_UNICODE_SCRIPT_OLD_HUNGARIAN" link="glib-Unicode-Manipulation.html#G-UNICODE-SCRIPT-OLD-HUNGARIAN:CAPS"/>
|
2658
2683
|
<keyword type="constant" name="G_UNICODE_SCRIPT_SIGNWRITING" link="glib-Unicode-Manipulation.html#G-UNICODE-SCRIPT-SIGNWRITING:CAPS"/>
|
2684
|
+
<keyword type="constant" name="G_UNICODE_SCRIPT_ADLAM" link="glib-Unicode-Manipulation.html#G-UNICODE-SCRIPT-ADLAM:CAPS"/>
|
2685
|
+
<keyword type="constant" name="G_UNICODE_SCRIPT_BHAIKSUKI" link="glib-Unicode-Manipulation.html#G-UNICODE-SCRIPT-BHAIKSUKI:CAPS"/>
|
2686
|
+
<keyword type="constant" name="G_UNICODE_SCRIPT_MARCHEN" link="glib-Unicode-Manipulation.html#G-UNICODE-SCRIPT-MARCHEN:CAPS"/>
|
2687
|
+
<keyword type="constant" name="G_UNICODE_SCRIPT_NEWA" link="glib-Unicode-Manipulation.html#G-UNICODE-SCRIPT-NEWA:CAPS"/>
|
2688
|
+
<keyword type="constant" name="G_UNICODE_SCRIPT_OSAGE" link="glib-Unicode-Manipulation.html#G-UNICODE-SCRIPT-OSAGE:CAPS"/>
|
2689
|
+
<keyword type="constant" name="G_UNICODE_SCRIPT_TANGUT" link="glib-Unicode-Manipulation.html#G-UNICODE-SCRIPT-TANGUT:CAPS"/>
|
2659
2690
|
<keyword type="constant" name="G_NORMALIZE_DEFAULT" link="glib-Unicode-Manipulation.html#G-NORMALIZE-DEFAULT:CAPS"/>
|
2660
2691
|
<keyword type="constant" name="G_NORMALIZE_NFD" link="glib-Unicode-Manipulation.html#G-NORMALIZE-NFD:CAPS"/>
|
2661
2692
|
<keyword type="constant" name="G_NORMALIZE_DEFAULT_COMPOSE" link="glib-Unicode-Manipulation.html#G-NORMALIZE-DEFAULT-COMPOSE:CAPS"/>
|
@@ -3042,6 +3073,9 @@
|
|
3042
3073
|
<keyword type="member" name="GError.domain" link="glib-Error-Reporting.html#GError.domain"/>
|
3043
3074
|
<keyword type="member" name="GError.code" link="glib-Error-Reporting.html#GError.code"/>
|
3044
3075
|
<keyword type="member" name="GError.message" link="glib-Error-Reporting.html#GError.message"/>
|
3076
|
+
<keyword type="member" name="GLogField.key" link="glib-Message-Logging.html#GLogField.key"/>
|
3077
|
+
<keyword type="member" name="GLogField.value" link="glib-Message-Logging.html#GLogField.value"/>
|
3078
|
+
<keyword type="member" name="GLogField.length" link="glib-Message-Logging.html#GLogField.length"/>
|
3045
3079
|
<keyword type="member" name="GTimeVal.tv-sec" link="glib-Date-and-Time-Functions.html#GTimeVal.tv-sec"/>
|
3046
3080
|
<keyword type="member" name="GTimeVal.tv-usec" link="glib-Date-and-Time-Functions.html#GTimeVal.tv-usec"/>
|
3047
3081
|
<keyword type="member" name="GDate.julian-days" link="glib-Date-and-Time-Functions.html#GDate.julian-days"/>
|
@@ -584,7 +584,7 @@ value3 <span class="gtkdoc opt">=</span> <span class="function"><a href="glib-GV
|
|
584
584
|
gchar <span class="gtkdoc opt">*</span>result<span class="gtkdoc opt">;</span>
|
585
585
|
|
586
586
|
<span class="function"><a href="glib-GVariant.html#g-variant-get">g_variant_get</a></span> <span class="gtkdoc opt">(</span>value1<span class="gtkdoc opt">,</span> <span class="string">"s"</span><span class="gtkdoc opt">, &</span>result<span class="gtkdoc opt">);</span>
|
587
|
-
<span class="function"><a href="glib-Warnings-and-Assertions.html#g-print">g_print</a></span> <span class="gtkdoc opt">(</span><span class="string">"It was
|
587
|
+
<span class="function"><a href="glib-Warnings-and-Assertions.html#g-print">g_print</a></span> <span class="gtkdoc opt">(</span><span class="string">"It was '%s'</span><span class="gtkdoc esc">\n</span><span class="string">"</span><span class="gtkdoc opt">,</span> result<span class="gtkdoc opt">);</span>
|
588
588
|
<span class="function"><a href="glib-Memory-Allocation.html#g-free">g_free</a></span> <span class="gtkdoc opt">(</span>result<span class="gtkdoc opt">);</span>
|
589
589
|
<span class="gtkdoc opt">}</span></pre></td>
|
590
590
|
</tr>
|
@@ -852,7 +852,7 @@ value <span class="gtkdoc opt">=</span> <span class="function"><a href="glib-GVa
|
|
852
852
|
value1 <span class="gtkdoc opt">=</span> <span class="function"><a href="glib-GVariant.html#g-variant-new">g_variant_new</a></span> <span class="gtkdoc opt">(</span><span class="string">"ms"</span><span class="gtkdoc opt">,</span> <span class="string">"Hello world"</span><span class="gtkdoc opt">);</span>
|
853
853
|
value2 <span class="gtkdoc opt">=</span> <span class="function"><a href="glib-GVariant.html#g-variant-new">g_variant_new</a></span> <span class="gtkdoc opt">(</span><span class="string">"ms"</span><span class="gtkdoc opt">,</span> NULL<span class="gtkdoc opt">);</span>
|
854
854
|
value3 <span class="gtkdoc opt">=</span> <span class="function"><a href="glib-GVariant.html#g-variant-new">g_variant_new</a></span> <span class="gtkdoc opt">(</span><span class="string">"(m(ii)s)"</span><span class="gtkdoc opt">,</span> TRUE<span class="gtkdoc opt">,</span> <span class="number">123</span><span class="gtkdoc opt">,</span> <span class="number">456</span><span class="gtkdoc opt">,</span> <span class="string">"Done"</span><span class="gtkdoc opt">);</span>
|
855
|
-
value4 <span class="gtkdoc opt">=</span> <span class="function"><a href="glib-GVariant.html#g-variant-new">g_variant_new</a></span> <span class="gtkdoc opt">(</span><span class="string">"(m(ii)s)"</span><span class="gtkdoc opt">,</span> FALSE<span class="gtkdoc opt">, -</span><span class="number">1</span><span class="gtkdoc opt">, -</span><span class="number">1</span><span class="gtkdoc opt">,</span> <span class="string">"Done"</span><span class="gtkdoc opt">);</span> <span class="comment">/* both
|
855
|
+
value4 <span class="gtkdoc opt">=</span> <span class="function"><a href="glib-GVariant.html#g-variant-new">g_variant_new</a></span> <span class="gtkdoc opt">(</span><span class="string">"(m(ii)s)"</span><span class="gtkdoc opt">,</span> FALSE<span class="gtkdoc opt">, -</span><span class="number">1</span><span class="gtkdoc opt">, -</span><span class="number">1</span><span class="gtkdoc opt">,</span> <span class="string">"Done"</span><span class="gtkdoc opt">);</span> <span class="comment">/* both '-1' are ignored. */</span>
|
856
856
|
value5 <span class="gtkdoc opt">=</span> <span class="function"><a href="glib-GVariant.html#g-variant-new">g_variant_new</a></span> <span class="gtkdoc opt">(</span><span class="string">"(m@(ii)s)"</span><span class="gtkdoc opt">,</span> NULL<span class="gtkdoc opt">,</span> <span class="string">"Done"</span><span class="gtkdoc opt">);</span>
|
857
857
|
|
858
858
|
<span class="gtkdoc opt">{</span>
|
@@ -875,10 +875,10 @@ value5 <span class="gtkdoc opt">=</span> <span class="function"><a href="glib-GV
|
|
875
875
|
<span class="function"><a href="glib-Warnings-and-Assertions.html#g-print">g_print</a></span> <span class="gtkdoc opt">(</span><span class="string">"str: %s</span><span class="gtkdoc esc">\n</span><span class="string">"</span><span class="gtkdoc opt">,</span> cstr<span class="gtkdoc opt">);</span>
|
876
876
|
<span class="keyword">else</span>
|
877
877
|
<span class="function"><a href="glib-Warnings-and-Assertions.html#g-print">g_print</a></span> <span class="gtkdoc opt">(</span><span class="string">"it was null</span><span class="gtkdoc esc">\n</span><span class="string">"</span><span class="gtkdoc opt">);</span>
|
878
|
-
<span class="comment">/* don
|
878
|
+
<span class="comment">/* don't free 'cstr' */</span>
|
879
879
|
|
880
880
|
|
881
|
-
<span class="comment">/* NULL passed for the gboolean *, but two
|
881
|
+
<span class="comment">/* NULL passed for the gboolean *, but two 'gint32 *' still collected */</span>
|
882
882
|
<span class="function"><a href="glib-GVariant.html#g-variant-get">g_variant_get</a></span> <span class="gtkdoc opt">(</span>value3<span class="gtkdoc opt">,</span> <span class="string">"(m(ii)s)"</span><span class="gtkdoc opt">,</span> NULL<span class="gtkdoc opt">,</span> NULL<span class="gtkdoc opt">,</span> NULL<span class="gtkdoc opt">, &</span>str<span class="gtkdoc opt">);</span>
|
883
883
|
<span class="function"><a href="glib-Warnings-and-Assertions.html#g-print">g_print</a></span> <span class="gtkdoc opt">(</span><span class="string">"string is %s</span><span class="gtkdoc esc">\n</span><span class="string">"</span><span class="gtkdoc opt">,</span> str<span class="gtkdoc opt">);</span>
|
884
884
|
<span class="function"><a href="glib-Memory-Allocation.html#g-free">g_free</a></span> <span class="gtkdoc opt">(</span>str<span class="gtkdoc opt">);</span>
|
@@ -890,7 +890,7 @@ value5 <span class="gtkdoc opt">=</span> <span class="function"><a href="glib-GV
|
|
890
890
|
<span class="keyword">else</span>
|
891
891
|
<span class="function"><a href="glib-Warnings-and-Assertions.html#g-print">g_print</a></span> <span class="gtkdoc opt">(</span><span class="string">"it was null</span><span class="gtkdoc esc">\n</span><span class="string">"</span><span class="gtkdoc opt">);</span>
|
892
892
|
<span class="function"><a href="glib-Warnings-and-Assertions.html#g-print">g_print</a></span> <span class="gtkdoc opt">(</span><span class="string">"string is %s</span><span class="gtkdoc esc">\n</span><span class="string">"</span><span class="gtkdoc opt">,</span> cstr<span class="gtkdoc opt">);</span>
|
893
|
-
<span class="comment">/* don
|
893
|
+
<span class="comment">/* don't free 'cstr' */</span>
|
894
894
|
|
895
895
|
|
896
896
|
<span class="function"><a href="glib-GVariant.html#g-variant-get">g_variant_get</a></span> <span class="gtkdoc opt">(</span>value5<span class="gtkdoc opt">,</span> <span class="string">"(m*s)"</span><span class="gtkdoc opt">, &</span>contents<span class="gtkdoc opt">,</span> NULL<span class="gtkdoc opt">);</span> <span class="comment">/* ignore the string. */</span>
|
@@ -1071,7 +1071,7 @@ dict <span class="gtkdoc opt">=</span> <span class="function"><a href="glib-GVar
|
|
1071
1071
|
|
1072
1072
|
value1 <span class="gtkdoc opt">=</span> <span class="function"><a href="glib-GVariant.html#g-variant-new">g_variant_new</a></span> <span class="gtkdoc opt">(</span><span class="string">"(i@ii)"</span><span class="gtkdoc opt">,</span> <span class="number">44</span><span class="gtkdoc opt">,</span> <span class="function"><a href="glib-GVariant.html#g-variant-new-int32">g_variant_new_int32</a></span> <span class="gtkdoc opt">(</span><span class="number">55</span><span class="gtkdoc opt">),</span> <span class="number">66</span><span class="gtkdoc opt">);</span>
|
1073
1073
|
|
1074
|
-
<span class="comment">/* note: consumes floating reference count on
|
1074
|
+
<span class="comment">/* note: consumes floating reference count on 'value1' */</span>
|
1075
1075
|
value2 <span class="gtkdoc opt">=</span> <span class="function"><a href="glib-GVariant.html#g-variant-new">g_variant_new</a></span> <span class="gtkdoc opt">(</span><span class="string">"(@(iii)*)"</span><span class="gtkdoc opt">,</span> value1<span class="gtkdoc opt">,</span> <span class="function"><a href="glib-GVariant.html#g-variant-new-string">g_variant_new_string</a></span> <span class="gtkdoc opt">(</span><span class="string">"foo"</span><span class="gtkdoc opt">));</span>
|
1076
1076
|
|
1077
1077
|
<span class="gtkdoc opt">{</span>
|
@@ -640,7 +640,7 @@
|
|
640
640
|
gboolean en <span class="gtkdoc opt">=</span> <span class="keyword">false</span><span class="gtkdoc opt">;</span>
|
641
641
|
GVariant <span class="gtkdoc opt">*</span>value<span class="gtkdoc opt">;</span>
|
642
642
|
|
643
|
-
value <span class="gtkdoc opt">=</span> <span class="function"><a href="glib-GVariant.html#g-variant-new-parsed">g_variant_new_parsed</a></span> <span class="gtkdoc opt">(</span><span class="string">"{
|
643
|
+
value <span class="gtkdoc opt">=</span> <span class="function"><a href="glib-GVariant.html#g-variant-new-parsed">g_variant_new_parsed</a></span> <span class="gtkdoc opt">(</span><span class="string">"{'title': <%s>, 'enabled': <%b>}"</span><span class="gtkdoc opt">,</span> t<span class="gtkdoc opt">,</span> en<span class="gtkdoc opt">);</span></pre></td>
|
644
644
|
</tr>
|
645
645
|
</tbody>
|
646
646
|
</table>
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<div>
|
16
16
|
<div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">GLib Reference Manual</p></th></tr></table></div>
|
17
17
|
<div><p class="releaseinfo">
|
18
|
-
for GLib 2.
|
18
|
+
for GLib 2.50.2
|
19
19
|
|
20
20
|
The latest version of this documentation can be found on-line at
|
21
21
|
<a class="ulink" href="https://developer.gnome.org/glib/unstable/" target="_top">https://developer.gnome.org/glib/unstable/</a>.
|
@@ -123,11 +123,10 @@ Getting help with GLib
|
|
123
123
|
<span class="refentrytitle"><a href="glib-Error-Reporting.html">Error Reporting</a></span><span class="refpurpose"> — a system for reporting errors</span>
|
124
124
|
</dt>
|
125
125
|
<dt>
|
126
|
-
<span class="refentrytitle"><a href="glib-Warnings-and-Assertions.html">
|
126
|
+
<span class="refentrytitle"><a href="glib-Warnings-and-Assertions.html">Warnings and Assertions</a></span><span class="refpurpose"></span>
|
127
127
|
</dt>
|
128
128
|
<dt>
|
129
|
-
<span class="refentrytitle"><a href="glib-Message-Logging.html">Message
|
130
|
-
with different levels of importance</span>
|
129
|
+
<span class="refentrytitle"><a href="glib-Message-Logging.html">Message Output and Debugging Functions</a></span><span class="refpurpose"> — functions to output messages and help debug applications</span>
|
131
130
|
</dt>
|
132
131
|
</dl></dd>
|
133
132
|
<dt><span class="chapter"><a href="glib-utilities.html">GLib Utilities</a></span></dt>
|
@@ -354,6 +353,7 @@ syntax and semantics of regular expressions supported by GRegex
|
|
354
353
|
<dt><span class="index"><a href="api-index-2-44.html">Index of new symbols in 2.44</a></span></dt>
|
355
354
|
<dt><span class="index"><a href="api-index-2-46.html">Index of new symbols in 2.46</a></span></dt>
|
356
355
|
<dt><span class="index"><a href="api-index-2-48.html">Index of new symbols in 2.48</a></span></dt>
|
356
|
+
<dt><span class="index"><a href="api-index-2-50.html">Index of new symbols in 2.50</a></span></dt>
|
357
357
|
<dt><span class="glossary"><a href="annotation-glossary.html">Annotation Glossary</a></span></dt>
|
358
358
|
</dl></div>
|
359
359
|
</div>
|
@@ -129,7 +129,7 @@
|
|
129
129
|
</div>
|
130
130
|
<div class="refsect1">
|
131
131
|
<a name="GTypePlugin.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
132
|
-
<pre class="screen"> <a href="/
|
132
|
+
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/GTypeModule.html">GInterface</a>
|
133
133
|
<span class="lineart">╰──</span> GTypePlugin
|
134
134
|
</pre>
|
135
135
|
</div>
|
@@ -275,7 +275,7 @@ GType <span class="function"><a href="gobject-Type-Information.html#g-type-regis
|
|
275
275
|
|
276
276
|
<span class="function"><a href="gobject-Generic-values.html#g-value-init">g_value_init</a></span> <span class="gtkdoc opt">(&</span>obj_valb<span class="gtkdoc opt">,</span> G_TYPE_OBJECT<span class="gtkdoc opt">);</span>
|
277
277
|
|
278
|
-
<span class="comment">/* g_value_copy
|
278
|
+
<span class="comment">/* g_value_copy's semantics for G_TYPE_OBJECT types is to copy the reference.</span>
|
279
279
|
<span class="comment"> * This function thus calls g_object_ref.</span>
|
280
280
|
<span class="comment"> * It is interesting to note that the assignment works here because</span>
|
281
281
|
<span class="comment"> * VIEWER_TYPE_FILE is a G_TYPE_OBJECT.</span>
|
@@ -486,7 +486,7 @@ gchar <span class="gtkdoc opt">*</span>authors<span class="gtkdoc opt">[] = {</s
|
|
486
486
|
|
487
487
|
gchar <span class="gtkdoc opt">*</span>writers<span class="gtkdoc opt">[];</span>
|
488
488
|
<span class="function"><a href="gobject-The-Base-Object-Type.html#g-object-get">g_object_get</a></span> <span class="gtkdoc opt">(</span>obj<span class="gtkdoc opt">,</span> <span class="string">"authors"</span><span class="gtkdoc opt">, &</span>writers<span class="gtkdoc opt">,</span> NULL<span class="gtkdoc opt">);</span>
|
489
|
-
<span class="
|
489
|
+
<span class="gtkdoc opt">/&</span>ast<span class="gtkdoc opt">;</span> <span class="keyword">do</span> something with writers <span class="gtkdoc opt">&</span>ast<span class="gtkdoc opt">;/</span>
|
490
490
|
<span class="function"><a href="../glib-String-Utility-Functions.html#g-strfreev">g_strfreev</a></span> <span class="gtkdoc opt">(</span>writers<span class="gtkdoc opt">);</span></pre></td>
|
491
491
|
</tr>
|
492
492
|
</tbody>
|
@@ -1326,7 +1326,7 @@ sequences like:</p>
|
|
1326
1326
|
3</pre></td>
|
1327
1327
|
<td class="listing_code"><pre class="programlisting">closure <span class="gtkdoc opt">=</span> <span class="function"><a href="gobject-Closures.html#g-cclosure-new">g_cclosure_new</a></span> <span class="gtkdoc opt">(</span>cb_func<span class="gtkdoc opt">,</span> cb_data<span class="gtkdoc opt">);</span>
|
1328
1328
|
<span class="function"><a href="gobject-Closures.html#g-source-set-closure">g_source_set_closure</a></span> <span class="gtkdoc opt">(</span>source<span class="gtkdoc opt">,</span> closure<span class="gtkdoc opt">);</span>
|
1329
|
-
<span class="function"><a href="gobject-Closures.html#g-closure-unref">g_closure_unref</a></span> <span class="gtkdoc opt">(</span>closure<span class="gtkdoc opt">);</span> <span class="gtkdoc slc">// GObject doesn
|
1329
|
+
<span class="function"><a href="gobject-Closures.html#g-closure-unref">g_closure_unref</a></span> <span class="gtkdoc opt">(</span>closure<span class="gtkdoc opt">);</span> <span class="gtkdoc slc">// GObject doesn't really need this</span></pre></td>
|
1330
1330
|
</tr>
|
1331
1331
|
</tbody>
|
1332
1332
|
</table>
|
@@ -303,7 +303,7 @@ features.</p>
|
|
303
303
|
<span class="keyword">if</span> <span class="gtkdoc opt">(</span><span class="function"><a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-int">g_value_get_int</a></span> <span class="gtkdoc opt">(</span>src_value<span class="gtkdoc opt">) ==</span> <span class="number">42</span><span class="gtkdoc opt">)</span>
|
304
304
|
<span class="function"><a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-static-string">g_value_set_static_string</a></span> <span class="gtkdoc opt">(</span>dest_value<span class="gtkdoc opt">,</span> <span class="string">"An important number"</span><span class="gtkdoc opt">);</span>
|
305
305
|
<span class="keyword">else</span>
|
306
|
-
<span class="function"><a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-static-string">g_value_set_static_string</a></span> <span class="gtkdoc opt">(</span>dest_value<span class="gtkdoc opt">,</span> <span class="string">"What
|
306
|
+
<span class="function"><a href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-static-string">g_value_set_static_string</a></span> <span class="gtkdoc opt">(</span>dest_value<span class="gtkdoc opt">,</span> <span class="string">"What's that?"</span><span class="gtkdoc opt">);</span>
|
307
307
|
<span class="gtkdoc opt">}</span>
|
308
308
|
|
309
309
|
<span class="gtkdoc kwb">int</span>
|
@@ -836,8 +836,8 @@ g_value_type_transformable (<em class="parameter"><code><a class="link" href="go
|
|
836
836
|
of type <em class="parameter"><code>src_type</code></em>
|
837
837
|
into values of type <em class="parameter"><code>dest_type</code></em>
|
838
838
|
. Note that for
|
839
|
-
the types to be transformable, they must be compatible
|
840
|
-
|
839
|
+
the types to be transformable, they must be compatible or a
|
840
|
+
transformation function must be registered.</p>
|
841
841
|
<div class="refsect3">
|
842
842
|
<a name="g-value-type-transformable.parameters"></a><h4>Parameters</h4>
|
843
843
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -1435,10 +1435,10 @@ parameters avoids the need to write a wrapper function.</p>
|
|
1435
1435
|
<td class="listing_code"><pre class="programlisting"><span class="gtkdoc kwb">static void</span>
|
1436
1436
|
<span class="function">button_clicked_cb</span> <span class="gtkdoc opt">(</span>GtkButton <span class="gtkdoc opt">*</span>button<span class="gtkdoc opt">,</span> GtkWidget <span class="gtkdoc opt">*</span>other_widget<span class="gtkdoc opt">)</span>
|
1437
1437
|
<span class="gtkdoc opt">{</span>
|
1438
|
-
<span class="function">gtk_widget_hide</span> <span class="gtkdoc opt">(</span>other_widget<span class="gtkdoc opt">);</span>
|
1438
|
+
<span class="function"><a href="http://developer.gnome.org/gtk4/GtkWidget.html#gtk-widget-hide">gtk_widget_hide</a></span> <span class="gtkdoc opt">(</span>other_widget<span class="gtkdoc opt">);</span>
|
1439
1439
|
<span class="gtkdoc opt">}</span>
|
1440
1440
|
|
1441
|
-
|
1441
|
+
<span class="gtkdoc opt">...</span>
|
1442
1442
|
|
1443
1443
|
<span class="function"><a href="gobject-Signals.html#g-signal-connect">g_signal_connect</a></span> <span class="gtkdoc opt">(</span>button<span class="gtkdoc opt">,</span> <span class="string">"clicked"</span><span class="gtkdoc opt">,</span>
|
1444
1444
|
<span class="gtkdoc opt">(</span>GCallback<span class="gtkdoc opt">)</span> button_clicked_cb<span class="gtkdoc opt">,</span> other_widget<span class="gtkdoc opt">);</span></pre></td>
|
@@ -718,7 +718,7 @@ language bindings that provide automated reference and memory ownership
|
|
718
718
|
maintenance (such as smart pointers or garbage collection) should not
|
719
719
|
expose floating references in their API.</p>
|
720
720
|
<p>Some object implementations may need to save an objects floating state
|
721
|
-
across certain code portions (an example is <span class="type">GtkMenu</span>), to achieve this,
|
721
|
+
across certain code portions (an example is <a href="http://developer.gnome.org/gtk4/GtkMenu.html#GtkMenu-struct"><span class="type">GtkMenu</span></a>), to achieve this,
|
722
722
|
the following sequence can be used:</p>
|
723
723
|
<div class="informalexample">
|
724
724
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
@@ -3223,7 +3223,7 @@ user data pointers with a destroy notifier, for example:</p>
|
|
3223
3223
|
|
3224
3224
|
<span class="gtkdoc slc">// prepend new string</span>
|
3225
3225
|
list <span class="gtkdoc opt">=</span> <span class="function"><a href="../glib-Doubly-Linked-Lists.html#g-list-prepend">g_list_prepend</a></span> <span class="gtkdoc opt">(</span>list<span class="gtkdoc opt">,</span> <span class="function"><a href="../glib-String-Utility-Functions.html#g-strdup">g_strdup</a></span> <span class="gtkdoc opt">(</span>new_string<span class="gtkdoc opt">));</span>
|
3226
|
-
<span class="gtkdoc slc">// this changed
|
3226
|
+
<span class="gtkdoc slc">// this changed 'list', so we need to set it again</span>
|
3227
3227
|
<span class="function"><a href="gobject-The-Base-Object-Type.html#g-object-set-qdata-full">g_object_set_qdata_full</a></span> <span class="gtkdoc opt">(</span>object<span class="gtkdoc opt">,</span> quark_string_list<span class="gtkdoc opt">,</span> list<span class="gtkdoc opt">,</span> free_string_list<span class="gtkdoc opt">);</span>
|
3228
3228
|
<span class="gtkdoc opt">}</span>
|
3229
3229
|
<span class="gtkdoc kwb">static void</span>
|
@@ -181,7 +181,7 @@
|
|
181
181
|
<span class="keyword">break</span><span class="gtkdoc opt">;</span>
|
182
182
|
|
183
183
|
<span class="keyword">default</span><span class="gtkdoc opt">:</span>
|
184
|
-
<span class="comment">/* We don
|
184
|
+
<span class="comment">/* We don't have any other property... */</span>
|
185
185
|
<span class="function"><a href="gobject-The-Base-Object-Type.html#G-OBJECT-WARN-INVALID-PROPERTY-ID:CAPS">G_OBJECT_WARN_INVALID_PROPERTY_ID</a></span> <span class="gtkdoc opt">(</span>object<span class="gtkdoc opt">,</span> property_id<span class="gtkdoc opt">,</span> pspec<span class="gtkdoc opt">);</span>
|
186
186
|
<span class="keyword">break</span><span class="gtkdoc opt">;</span>
|
187
187
|
<span class="gtkdoc opt">}</span>
|
@@ -206,7 +206,7 @@
|
|
206
206
|
<span class="keyword">break</span><span class="gtkdoc opt">;</span>
|
207
207
|
|
208
208
|
<span class="keyword">default</span><span class="gtkdoc opt">:</span>
|
209
|
-
<span class="comment">/* We don
|
209
|
+
<span class="comment">/* We don't have any other property... */</span>
|
210
210
|
<span class="function"><a href="gobject-The-Base-Object-Type.html#G-OBJECT-WARN-INVALID-PROPERTY-ID:CAPS">G_OBJECT_WARN_INVALID_PROPERTY_ID</a></span> <span class="gtkdoc opt">(</span>object<span class="gtkdoc opt">,</span> property_id<span class="gtkdoc opt">,</span> pspec<span class="gtkdoc opt">);</span>
|
211
211
|
<span class="keyword">break</span><span class="gtkdoc opt">;</span>
|
212
212
|
<span class="gtkdoc opt">}</span>
|