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
@@ -459,7 +459,7 @@ using GSimpleAsyncResult looks something like this:</p>
|
|
459
459
|
|
460
460
|
|
461
461
|
<span class="gtkdoc slc">// In this example, we assume that baked_cb is called as a callback from</span>
|
462
|
-
<span class="gtkdoc slc">// the mainloop, so it
|
462
|
+
<span class="gtkdoc slc">// the mainloop, so it's safe to complete the operation synchronously here.</span>
|
463
463
|
<span class="gtkdoc slc">// If, however, _baker_prepare_cake () might call its callback without</span>
|
464
464
|
<span class="gtkdoc slc">// first returning to the mainloop — inadvisable, but some APIs do so —</span>
|
465
465
|
<span class="gtkdoc slc">// we would need to use g_simple_async_result_complete_in_idle().</span>
|
@@ -158,7 +158,7 @@
|
|
158
158
|
</div>
|
159
159
|
<div class="refsect1">
|
160
160
|
<a name="GSocketConnectable.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
161
|
-
<pre class="screen"> <a href="
|
161
|
+
<pre class="screen"> <a href="../gobject/GTypeModule.html">GInterface</a>
|
162
162
|
<span class="lineart">╰──</span> GSocketConnectable
|
163
163
|
<a href="../gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
164
164
|
<span class="lineart">╰──</span> GSocketAddressEnumerator
|
@@ -259,7 +259,7 @@ in the sample code below.</p>
|
|
259
259
|
<span class="function"><a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span> <span class="gtkdoc opt">(</span>addr<span class="gtkdoc opt">);</span>
|
260
260
|
|
261
261
|
<span class="gtkdoc slc">// Try each sockaddr until we succeed. Record the first connection error,</span>
|
262
|
-
<span class="gtkdoc slc">// but not any further ones (since they
|
262
|
+
<span class="gtkdoc slc">// but not any further ones (since they'll probably be basically the same</span>
|
263
263
|
<span class="gtkdoc slc">// as the first).</span>
|
264
264
|
<span class="keyword">while</span> <span class="gtkdoc opt">(!</span>conn <span class="gtkdoc opt">&& (</span>sockaddr <span class="gtkdoc opt">=</span> <span class="function"><a href="GSocketConnectable.html#g-socket-address-enumerator-next">g_socket_address_enumerator_next</a></span> <span class="gtkdoc opt">(</span>enumerator<span class="gtkdoc opt">,</span> cancellable<span class="gtkdoc opt">,</span> error<span class="gtkdoc opt">))</span>
|
265
265
|
<span class="gtkdoc opt">{</span>
|
@@ -272,7 +272,7 @@ in the sample code below.</p>
|
|
272
272
|
<span class="gtkdoc opt">{</span>
|
273
273
|
<span class="keyword">if</span> <span class="gtkdoc opt">(</span>conn_error<span class="gtkdoc opt">)</span>
|
274
274
|
<span class="gtkdoc opt">{</span>
|
275
|
-
<span class="gtkdoc slc">// We couldn
|
275
|
+
<span class="gtkdoc slc">// We couldn't connect to the first address, but we succeeded</span>
|
276
276
|
<span class="gtkdoc slc">// in connecting to a later address.</span>
|
277
277
|
<span class="function"><a href="../glib-Error-Reporting.html#g-error-free">g_error_free</a></span> <span class="gtkdoc opt">(</span>conn_error<span class="gtkdoc opt">);</span>
|
278
278
|
<span class="gtkdoc opt">}</span>
|
@@ -167,6 +167,9 @@ g_socket_service_new (<em class="parameter"><code><span class="type">void</span>
|
|
167
167
|
<p>Creates a new <a class="link" href="GSocketService.html" title="GSocketService"><span class="type">GSocketService</span></a> with no sockets to listen for.
|
168
168
|
New listeners can be added with e.g. <a class="link" href="GSocketListener.html#g-socket-listener-add-address" title="g_socket_listener_add_address ()"><code class="function">g_socket_listener_add_address()</code></a>
|
169
169
|
or <a class="link" href="GSocketListener.html#g-socket-listener-add-inet-port" title="g_socket_listener_add_inet_port ()"><code class="function">g_socket_listener_add_inet_port()</code></a>.</p>
|
170
|
+
<p>New services are created active, there is no need to call
|
171
|
+
<a class="link" href="GSocketService.html#g-socket-service-start" title="g_socket_service_start ()"><code class="function">g_socket_service_start()</code></a>, unless <a class="link" href="GSocketService.html#g-socket-service-stop" title="g_socket_service_stop ()"><code class="function">g_socket_service_stop()</code></a> has been
|
172
|
+
called before.</p>
|
170
173
|
<div class="refsect3">
|
171
174
|
<a name="g-socket-service-new.returns"></a><h4>Returns</h4>
|
172
175
|
<p> a new <a class="link" href="GSocketService.html" title="GSocketService"><span class="type">GSocketService</span></a>.</p>
|
@@ -178,8 +181,10 @@ or <a class="link" href="GSocketListener.html#g-socket-listener-add-inet-port" t
|
|
178
181
|
<a name="g-socket-service-start"></a><h3>g_socket_service_start ()</h3>
|
179
182
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
180
183
|
g_socket_service_start (<em class="parameter"><code><a class="link" href="GSocketService.html" title="GSocketService"><span class="type">GSocketService</span></a> *service</code></em>);</pre>
|
181
|
-
<p>
|
182
|
-
from the added sockets when the mainloop runs
|
184
|
+
<p>Restarts the service, i.e. start accepting connections
|
185
|
+
from the added sockets when the mainloop runs. This only needs
|
186
|
+
to be called after the service has been stopped from
|
187
|
+
<a class="link" href="GSocketService.html#g-socket-service-stop" title="g_socket_service_stop ()"><code class="function">g_socket_service_stop()</code></a>.</p>
|
183
188
|
<p>This call is thread-safe, so it may be called from a thread
|
184
189
|
handling an incoming client request.</p>
|
185
190
|
<div class="refsect3">
|
@@ -213,6 +218,9 @@ close the listening sockets, and you can call
|
|
213
218
|
<a class="link" href="GSocketService.html#g-socket-service-start" title="g_socket_service_start ()"><code class="function">g_socket_service_start()</code></a> again later to begin listening again. To
|
214
219
|
close the listening sockets, call <a class="link" href="GSocketListener.html#g-socket-listener-close" title="g_socket_listener_close ()"><code class="function">g_socket_listener_close()</code></a>. (This
|
215
220
|
will happen automatically when the <a class="link" href="GSocketService.html" title="GSocketService"><span class="type">GSocketService</span></a> is finalized.)</p>
|
221
|
+
<p>This must be called before calling <a class="link" href="GSocketListener.html#g-socket-listener-close" title="g_socket_listener_close ()"><code class="function">g_socket_listener_close()</code></a> as
|
222
|
+
the socket service will start accepting connections immediately
|
223
|
+
when a new socket is added.</p>
|
216
224
|
<div class="refsect3">
|
217
225
|
<a name="g-socket-service-stop.parameters"></a><h4>Parameters</h4>
|
218
226
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -121,7 +121,7 @@
|
|
121
121
|
</div>
|
122
122
|
<div class="refsect1">
|
123
123
|
<a name="GSrvTarget.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
124
|
-
<pre class="screen"> <a href="
|
124
|
+
<pre class="screen"> <a href="../gobject/gobject-Boxed-Types.html">GBoxed</a>
|
125
125
|
<span class="lineart">╰──</span> GSrvTarget
|
126
126
|
</pre>
|
127
127
|
</div>
|
@@ -378,8 +378,8 @@ On Windows, they should be in UTF-8.</p>
|
|
378
378
|
</tr>
|
379
379
|
<tr>
|
380
380
|
<td class="parameter_name"><p>env</p></td>
|
381
|
-
<td class="parameter_description"><p>the replacement environment</p></td>
|
382
|
-
<td class="parameter_annotations">
|
381
|
+
<td class="parameter_description"><p> the replacement environment. </p></td>
|
382
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1]</span></td>
|
383
383
|
</tr>
|
384
384
|
</tbody>
|
385
385
|
</table></div>
|
@@ -534,8 +534,8 @@ of the launching process at the time of launch.</p>
|
|
534
534
|
</tr>
|
535
535
|
<tr>
|
536
536
|
<td class="parameter_name"><p>cwd</p></td>
|
537
|
-
<td class="parameter_description"><p>the cwd for launched processes</p></td>
|
538
|
-
<td class="parameter_annotations">
|
537
|
+
<td class="parameter_description"><p> the cwd for launched processes. </p></td>
|
538
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
|
539
539
|
</tr>
|
540
540
|
</tbody>
|
541
541
|
</table></div>
|
@@ -611,7 +611,7 @@ the launcher flags contain any flags directing stdin elsewhere.</p>
|
|
611
611
|
</tr>
|
612
612
|
<tr>
|
613
613
|
<td class="parameter_name"><p>path</p></td>
|
614
|
-
<td class="parameter_description"><p>a filename or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
614
|
+
<td class="parameter_description"><p>(type filename) (nullable: a filename or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
615
615
|
<td class="parameter_annotations"> </td>
|
616
616
|
</tr>
|
617
617
|
</tbody>
|
@@ -695,8 +695,8 @@ if the launcher flags contain any flags directing stdout elsewhere.</p>
|
|
695
695
|
</tr>
|
696
696
|
<tr>
|
697
697
|
<td class="parameter_name"><p>path</p></td>
|
698
|
-
<td class="parameter_description"><p>a filename or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a
|
699
|
-
<td class="parameter_annotations">
|
698
|
+
<td class="parameter_description"><p> a filename or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
699
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
700
700
|
</tr>
|
701
701
|
</tbody>
|
702
702
|
</table></div>
|
@@ -780,8 +780,8 @@ if the launcher flags contain any flags directing stderr elsewhere.</p>
|
|
780
780
|
</tr>
|
781
781
|
<tr>
|
782
782
|
<td class="parameter_name"><p>path</p></td>
|
783
|
-
<td class="parameter_description"><p>a filename or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a
|
784
|
-
<td class="parameter_annotations">
|
783
|
+
<td class="parameter_description"><p> a filename or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
784
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
785
785
|
</tr>
|
786
786
|
</tbody>
|
787
787
|
</table></div>
|
@@ -781,7 +781,7 @@ of waiting for a source to fire (automatically using the correct
|
|
781
781
|
GSource <span class="gtkdoc opt">*</span>source<span class="gtkdoc opt">;</span>
|
782
782
|
|
783
783
|
source <span class="gtkdoc opt">=</span> <span class="function">cake_decorator_wait_source_new</span> <span class="gtkdoc opt">(</span>cake<span class="gtkdoc opt">);</span>
|
784
|
-
<span class="gtkdoc slc">// Attach @source to @task
|
784
|
+
<span class="gtkdoc slc">// Attach @source to @task's GMainContext and have it call</span>
|
785
785
|
<span class="gtkdoc slc">// decorator_ready() when it is ready.</span>
|
786
786
|
<span class="function"><a href="GTask.html#g-task-attach-source">g_task_attach_source</a></span> <span class="gtkdoc opt">(</span>task<span class="gtkdoc opt">,</span> source<span class="gtkdoc opt">,</span> decorator_ready<span class="gtkdoc opt">);</span>
|
787
787
|
<span class="function"><a href="../glib-The-Main-Event-Loop.html#g-source-unref">g_source_unref</a></span> <span class="gtkdoc opt">(</span>source<span class="gtkdoc opt">);</span>
|
@@ -1107,8 +1107,8 @@ synchronous variants of blocking APIs.</p>
|
|
1107
1107
|
<span class="keyword">return</span><span class="gtkdoc opt">;</span>
|
1108
1108
|
<span class="gtkdoc opt">}</span>
|
1109
1109
|
|
1110
|
-
<span class="gtkdoc slc">// If the task has already been cancelled, then we don
|
1111
|
-
<span class="gtkdoc slc">// the cake to the cake cache. Likewise, we don
|
1110
|
+
<span class="gtkdoc slc">// If the task has already been cancelled, then we don't want to add</span>
|
1111
|
+
<span class="gtkdoc slc">// the cake to the cake cache. Likewise, we don't want to have the</span>
|
1112
1112
|
<span class="gtkdoc slc">// task get cancelled in the middle of updating the cache.</span>
|
1113
1113
|
<span class="gtkdoc slc">// g_task_set_return_on_cancel() will return %TRUE here if it managed</span>
|
1114
1114
|
<span class="gtkdoc slc">// to disable return-on-cancel, or %FALSE if the task was cancelled</span>
|
@@ -1116,11 +1116,11 @@ synchronous variants of blocking APIs.</p>
|
|
1116
1116
|
<span class="keyword">if</span> <span class="gtkdoc opt">(</span><span class="function"><a href="GTask.html#g-task-set-return-on-cancel">g_task_set_return_on_cancel</a></span> <span class="gtkdoc opt">(</span>task<span class="gtkdoc opt">,</span> FALSE<span class="gtkdoc opt">))</span>
|
1117
1117
|
<span class="gtkdoc opt">{</span>
|
1118
1118
|
<span class="gtkdoc slc">// If the caller cancels at this point, their</span>
|
1119
|
-
<span class="gtkdoc slc">// GAsyncReadyCallback won
|
1120
|
-
<span class="gtkdoc slc">// so we don
|
1119
|
+
<span class="gtkdoc slc">// GAsyncReadyCallback won't be invoked until we return,</span>
|
1120
|
+
<span class="gtkdoc slc">// so we don't have to worry that this code will run at</span>
|
1121
1121
|
<span class="gtkdoc slc">// the same time as that code does. But if there were</span>
|
1122
1122
|
<span class="gtkdoc slc">// other functions that might look at the cake cache,</span>
|
1123
|
-
<span class="gtkdoc slc">// then we
|
1123
|
+
<span class="gtkdoc slc">// then we'd probably need a GMutex here as well.</span>
|
1124
1124
|
<span class="function">baker_add_cake_to_cache</span> <span class="gtkdoc opt">(</span>baker<span class="gtkdoc opt">,</span> cake<span class="gtkdoc opt">);</span>
|
1125
1125
|
<span class="function"><a href="GTask.html#g-task-return-pointer">g_task_return_pointer</a></span> <span class="gtkdoc opt">(</span>task<span class="gtkdoc opt">,</span> cake<span class="gtkdoc opt">,</span> g_object_unref<span class="gtkdoc opt">);</span>
|
1126
1126
|
<span class="gtkdoc opt">}</span>
|
@@ -156,7 +156,7 @@ GThemedIcon implements
|
|
156
156
|
<a class="link" href="GThemedIcon.html" title="GThemedIcon"><span class="type">GThemedIcon</span></a> contains a list of all of the icons present in an icon
|
157
157
|
theme, so that icons can be looked up quickly. <a class="link" href="GThemedIcon.html" title="GThemedIcon"><span class="type">GThemedIcon</span></a> does
|
158
158
|
not provide actual pixmaps for icons, just the icon names.
|
159
|
-
Ideally something like <code class="function">gtk_icon_theme_choose_icon()</code> should be used to
|
159
|
+
Ideally something like <a href="http://developer.gnome.org/gtk4/GtkIconTheme.html#gtk-icon-theme-choose-icon"><code class="function">gtk_icon_theme_choose_icon()</code></a> should be used to
|
160
160
|
resolve the list of names so that fallback icons work nicely with
|
161
161
|
themes that inherit other themes.</p>
|
162
162
|
</div>
|
@@ -149,7 +149,7 @@
|
|
149
149
|
</div>
|
150
150
|
<div class="refsect1">
|
151
151
|
<a name="GTlsBackend.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
152
|
-
<pre class="screen"> <a href="
|
152
|
+
<pre class="screen"> <a href="../gobject/GTypeModule.html">GInterface</a>
|
153
153
|
<span class="lineart">╰──</span> GTlsBackend
|
154
154
|
</pre>
|
155
155
|
</div>
|
@@ -268,8 +268,8 @@ set <em class="parameter"><code>error</code></em>
|
|
268
268
|
<tbody>
|
269
269
|
<tr>
|
270
270
|
<td class="parameter_name"><p>file</p></td>
|
271
|
-
<td class="parameter_description"><p>file containing a PEM-encoded certificate to import</p></td>
|
272
|
-
<td class="parameter_annotations">
|
271
|
+
<td class="parameter_description"><p> file containing a PEM-encoded certificate to import. </p></td>
|
272
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
|
273
273
|
</tr>
|
274
274
|
<tr>
|
275
275
|
<td class="parameter_name"><p>error</p></td>
|
@@ -321,14 +321,15 @@ still be returned.</p>
|
|
321
321
|
<tbody>
|
322
322
|
<tr>
|
323
323
|
<td class="parameter_name"><p>cert_file</p></td>
|
324
|
-
<td class="parameter_description"><p>file containing one or more PEM-encoded
|
325
|
-
import</p></td>
|
326
|
-
<td class="parameter_annotations">
|
324
|
+
<td class="parameter_description"><p> file containing one or more PEM-encoded
|
325
|
+
certificates to import. </p></td>
|
326
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
|
327
327
|
</tr>
|
328
328
|
<tr>
|
329
329
|
<td class="parameter_name"><p>key_file</p></td>
|
330
|
-
<td class="parameter_description"><p>file containing a PEM-encoded private key
|
331
|
-
|
330
|
+
<td class="parameter_description"><p> file containing a PEM-encoded private key
|
331
|
+
to import. </p></td>
|
332
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
|
332
333
|
</tr>
|
333
334
|
<tr>
|
334
335
|
<td class="parameter_name"><p>error</p></td>
|
@@ -371,8 +372,8 @@ set <em class="parameter"><code>error</code></em>
|
|
371
372
|
<tbody>
|
372
373
|
<tr>
|
373
374
|
<td class="parameter_name"><p>file</p></td>
|
374
|
-
<td class="parameter_description"><p>file containing PEM-encoded certificates to import</p></td>
|
375
|
-
<td class="parameter_annotations">
|
375
|
+
<td class="parameter_description"><p> file containing PEM-encoded certificates to import. </p></td>
|
376
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
|
376
377
|
</tr>
|
377
378
|
<tr>
|
378
379
|
<td class="parameter_name"><p>error</p></td>
|
@@ -171,7 +171,7 @@
|
|
171
171
|
</div>
|
172
172
|
<div class="refsect1">
|
173
173
|
<a name="GTlsClientConnection.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
174
|
-
<pre class="screen"> <a href="
|
174
|
+
<pre class="screen"> <a href="../gobject/GTypeModule.html">GInterface</a>
|
175
175
|
<span class="lineart">╰──</span> GTlsClientConnection
|
176
176
|
</pre>
|
177
177
|
</div>
|
@@ -88,7 +88,7 @@
|
|
88
88
|
</div>
|
89
89
|
<div class="refsect1">
|
90
90
|
<a name="GTlsFileDatabase.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
91
|
-
<pre class="screen"> <a href="
|
91
|
+
<pre class="screen"> <a href="../gobject/GTypeModule.html">GInterface</a>
|
92
92
|
<span class="lineart">╰──</span> GTlsFileDatabase
|
93
93
|
</pre>
|
94
94
|
</div>
|
@@ -132,8 +132,8 @@ in <em class="parameter"><code>anchors</code></em>
|
|
132
132
|
<tbody>
|
133
133
|
<tr>
|
134
134
|
<td class="parameter_name"><p>anchors</p></td>
|
135
|
-
<td class="parameter_description"><p>filename of anchor certificate authorities
|
136
|
-
<td class="parameter_annotations">
|
135
|
+
<td class="parameter_description"><p> filename of anchor certificate authorities. </p></td>
|
136
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
|
137
137
|
</tr>
|
138
138
|
<tr>
|
139
139
|
<td class="parameter_name"><p>error</p></td>
|
@@ -87,7 +87,7 @@
|
|
87
87
|
</div>
|
88
88
|
<div class="refsect1">
|
89
89
|
<a name="GTlsServerConnection.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
90
|
-
<pre class="screen"> <a href="
|
90
|
+
<pre class="screen"> <a href="../gobject/GTypeModule.html">GInterface</a>
|
91
91
|
<span class="lineart">╰──</span> GTlsServerConnection
|
92
92
|
</pre>
|
93
93
|
</div>
|
@@ -45,6 +45,14 @@
|
|
45
45
|
<a class="link" href="GFile.html" title="GFile"><span class="returnvalue">GFile</span></a> *
|
46
46
|
</td>
|
47
47
|
<td class="function_name">
|
48
|
+
<span class="c_punctuation">(</span><a class="link" href="GVfs.html#GVfsFileLookupFunc" title="GVfsFileLookupFunc ()">*GVfsFileLookupFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
|
49
|
+
</td>
|
50
|
+
</tr>
|
51
|
+
<tr>
|
52
|
+
<td class="function_type">
|
53
|
+
<a class="link" href="GFile.html" title="GFile"><span class="returnvalue">GFile</span></a> *
|
54
|
+
</td>
|
55
|
+
<td class="function_name">
|
48
56
|
<a class="link" href="GVfs.html#g-vfs-get-file-for-path" title="g_vfs_get_file_for_path ()">g_vfs_get_file_for_path</a> <span class="c_punctuation">()</span>
|
49
57
|
</td>
|
50
58
|
</tr>
|
@@ -95,6 +103,22 @@
|
|
95
103
|
<a class="link" href="GVfs.html#g-vfs-get-supported-uri-schemes" title="g_vfs_get_supported_uri_schemes ()">g_vfs_get_supported_uri_schemes</a> <span class="c_punctuation">()</span>
|
96
104
|
</td>
|
97
105
|
</tr>
|
106
|
+
<tr>
|
107
|
+
<td class="function_type">
|
108
|
+
<a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
109
|
+
</td>
|
110
|
+
<td class="function_name">
|
111
|
+
<a class="link" href="GVfs.html#g-vfs-register-uri-scheme" title="g_vfs_register_uri_scheme ()">g_vfs_register_uri_scheme</a> <span class="c_punctuation">()</span>
|
112
|
+
</td>
|
113
|
+
</tr>
|
114
|
+
<tr>
|
115
|
+
<td class="function_type">
|
116
|
+
<a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
117
|
+
</td>
|
118
|
+
<td class="function_name">
|
119
|
+
<a class="link" href="GVfs.html#g-vfs-unregister-uri-scheme" title="g_vfs_unregister_uri_scheme ()">g_vfs_unregister_uri_scheme</a> <span class="c_punctuation">()</span>
|
120
|
+
</td>
|
121
|
+
</tr>
|
98
122
|
</tbody>
|
99
123
|
</table></div>
|
100
124
|
</div>
|
@@ -135,6 +159,55 @@
|
|
135
159
|
<div class="refsect1">
|
136
160
|
<a name="GVfs.functions_details"></a><h2>Functions</h2>
|
137
161
|
<div class="refsect2">
|
162
|
+
<a name="GVfsFileLookupFunc"></a><h3>GVfsFileLookupFunc ()</h3>
|
163
|
+
<pre class="programlisting"><a class="link" href="GFile.html" title="GFile"><span class="returnvalue">GFile</span></a> *
|
164
|
+
<span class="c_punctuation">(</span>*GVfsFileLookupFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="GVfs.html" title="GVfs"><span class="type">GVfs</span></a> *vfs</code></em>,
|
165
|
+
<em class="parameter"><code>const <span class="type">char</span> *identifier</code></em>,
|
166
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
167
|
+
<p>This function type is used by <a class="link" href="GVfs.html#g-vfs-register-uri-scheme" title="g_vfs_register_uri_scheme ()"><code class="function">g_vfs_register_uri_scheme()</code></a> to make it
|
168
|
+
possible for a client to associate an URI scheme to a different <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a>
|
169
|
+
implementation.</p>
|
170
|
+
<p>The client should return a reference to the new file that has been
|
171
|
+
created for <em class="parameter"><code>uri</code></em>
|
172
|
+
, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to continue with the default implementation.</p>
|
173
|
+
<div class="refsect3">
|
174
|
+
<a name="GVfsFileLookupFunc.parameters"></a><h4>Parameters</h4>
|
175
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
176
|
+
<colgroup>
|
177
|
+
<col width="150px" class="parameters_name">
|
178
|
+
<col class="parameters_description">
|
179
|
+
<col width="200px" class="parameters_annotations">
|
180
|
+
</colgroup>
|
181
|
+
<tbody>
|
182
|
+
<tr>
|
183
|
+
<td class="parameter_name"><p>vfs</p></td>
|
184
|
+
<td class="parameter_description"><p>a <a class="link" href="GVfs.html" title="GVfs"><span class="type">GVfs</span></a></p></td>
|
185
|
+
<td class="parameter_annotations"> </td>
|
186
|
+
</tr>
|
187
|
+
<tr>
|
188
|
+
<td class="parameter_name"><p>identifier</p></td>
|
189
|
+
<td class="parameter_description"><p>the identifier to lookup a <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a> for. This can either
|
190
|
+
be an URI or a parse name as returned by <a class="link" href="GFile.html#g-file-get-parse-name" title="g_file_get_parse_name ()"><code class="function">g_file_get_parse_name()</code></a></p></td>
|
191
|
+
<td class="parameter_annotations"> </td>
|
192
|
+
</tr>
|
193
|
+
<tr>
|
194
|
+
<td class="parameter_name"><p>user_data</p></td>
|
195
|
+
<td class="parameter_description"><p>user data passed to the function</p></td>
|
196
|
+
<td class="parameter_annotations"> </td>
|
197
|
+
</tr>
|
198
|
+
</tbody>
|
199
|
+
</table></div>
|
200
|
+
</div>
|
201
|
+
<div class="refsect3">
|
202
|
+
<a name="GVfsFileLookupFunc.returns"></a><h4>Returns</h4>
|
203
|
+
<p> a <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a> for <em class="parameter"><code>identifier</code></em>
|
204
|
+
. </p>
|
205
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
206
|
+
</div>
|
207
|
+
<p class="since">Since: <a class="link" href="api-index-2-50.html#api-index-2.50">2.50</a></p>
|
208
|
+
</div>
|
209
|
+
<hr>
|
210
|
+
<div class="refsect2">
|
138
211
|
<a name="g-vfs-get-file-for-path"></a><h3>g_vfs_get_file_for_path ()</h3>
|
139
212
|
<pre class="programlisting"><a class="link" href="GFile.html" title="GFile"><span class="returnvalue">GFile</span></a> *
|
140
213
|
g_vfs_get_file_for_path (<em class="parameter"><code><a class="link" href="GVfs.html" title="GVfs"><span class="type">GVfs</span></a> *vfs</code></em>,
|
@@ -332,6 +405,155 @@ not be freed or modified. </p>
|
|
332
405
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
333
406
|
</div>
|
334
407
|
</div>
|
408
|
+
<hr>
|
409
|
+
<div class="refsect2">
|
410
|
+
<a name="g-vfs-register-uri-scheme"></a><h3>g_vfs_register_uri_scheme ()</h3>
|
411
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
412
|
+
g_vfs_register_uri_scheme (<em class="parameter"><code><a class="link" href="GVfs.html" title="GVfs"><span class="type">GVfs</span></a> *vfs</code></em>,
|
413
|
+
<em class="parameter"><code>const <span class="type">char</span> *scheme</code></em>,
|
414
|
+
<em class="parameter"><code><a class="link" href="GVfs.html#GVfsFileLookupFunc" title="GVfsFileLookupFunc ()"><span class="type">GVfsFileLookupFunc</span></a> uri_func</code></em>,
|
415
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> uri_data</code></em>,
|
416
|
+
<em class="parameter"><code><a href="../glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> uri_destroy</code></em>,
|
417
|
+
<em class="parameter"><code><a class="link" href="GVfs.html#GVfsFileLookupFunc" title="GVfsFileLookupFunc ()"><span class="type">GVfsFileLookupFunc</span></a> parse_name_func</code></em>,
|
418
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> parse_name_data</code></em>,
|
419
|
+
<em class="parameter"><code><a href="../glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> parse_name_destroy</code></em>);</pre>
|
420
|
+
<p>Registers <em class="parameter"><code>uri_func</code></em>
|
421
|
+
and <em class="parameter"><code>parse_name_func</code></em>
|
422
|
+
as the <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a> URI and parse name
|
423
|
+
lookup functions for URIs with a scheme matching <em class="parameter"><code>scheme</code></em>
|
424
|
+
.
|
425
|
+
Note that <em class="parameter"><code>scheme</code></em>
|
426
|
+
is registered only within the running application, as
|
427
|
+
opposed to desktop-wide as it happens with GVfs backends.</p>
|
428
|
+
<p>When a <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a> is requested with an URI containing <em class="parameter"><code>scheme</code></em>
|
429
|
+
(e.g. through
|
430
|
+
<a class="link" href="GFile.html#g-file-new-for-uri" title="g_file_new_for_uri ()"><code class="function">g_file_new_for_uri()</code></a>), <em class="parameter"><code>uri_func</code></em>
|
431
|
+
will be called to allow a custom
|
432
|
+
constructor. The implementation of <em class="parameter"><code>uri_func</code></em>
|
433
|
+
should not be blocking, and
|
434
|
+
must not call <a class="link" href="GVfs.html#g-vfs-register-uri-scheme" title="g_vfs_register_uri_scheme ()"><code class="function">g_vfs_register_uri_scheme()</code></a> or <a class="link" href="GVfs.html#g-vfs-unregister-uri-scheme" title="g_vfs_unregister_uri_scheme ()"><code class="function">g_vfs_unregister_uri_scheme()</code></a>.</p>
|
435
|
+
<p>When <a class="link" href="GFile.html#g-file-parse-name" title="g_file_parse_name ()"><code class="function">g_file_parse_name()</code></a> is called with a parse name obtained from such file,
|
436
|
+
<em class="parameter"><code>parse_name_func</code></em>
|
437
|
+
will be called to allow the <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a> to be created again. In
|
438
|
+
that case, it's responsibility of <em class="parameter"><code>parse_name_func</code></em>
|
439
|
+
to make sure the parse
|
440
|
+
name matches what the custom <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a> implementation returned when
|
441
|
+
<a class="link" href="GFile.html#g-file-get-parse-name" title="g_file_get_parse_name ()"><code class="function">g_file_get_parse_name()</code></a> was previously called. The implementation of
|
442
|
+
<em class="parameter"><code>parse_name_func</code></em>
|
443
|
+
should not be blocking, and must not call
|
444
|
+
<a class="link" href="GVfs.html#g-vfs-register-uri-scheme" title="g_vfs_register_uri_scheme ()"><code class="function">g_vfs_register_uri_scheme()</code></a> or <a class="link" href="GVfs.html#g-vfs-unregister-uri-scheme" title="g_vfs_unregister_uri_scheme ()"><code class="function">g_vfs_unregister_uri_scheme()</code></a>.</p>
|
445
|
+
<p>It's an error to call this function twice with the same scheme. To unregister
|
446
|
+
a custom URI scheme, use <a class="link" href="GVfs.html#g-vfs-unregister-uri-scheme" title="g_vfs_unregister_uri_scheme ()"><code class="function">g_vfs_unregister_uri_scheme()</code></a>.</p>
|
447
|
+
<div class="refsect3">
|
448
|
+
<a name="g-vfs-register-uri-scheme.parameters"></a><h4>Parameters</h4>
|
449
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
450
|
+
<colgroup>
|
451
|
+
<col width="150px" class="parameters_name">
|
452
|
+
<col class="parameters_description">
|
453
|
+
<col width="200px" class="parameters_annotations">
|
454
|
+
</colgroup>
|
455
|
+
<tbody>
|
456
|
+
<tr>
|
457
|
+
<td class="parameter_name"><p>vfs</p></td>
|
458
|
+
<td class="parameter_description"><p>a <a class="link" href="GVfs.html" title="GVfs"><span class="type">GVfs</span></a></p></td>
|
459
|
+
<td class="parameter_annotations"> </td>
|
460
|
+
</tr>
|
461
|
+
<tr>
|
462
|
+
<td class="parameter_name"><p>scheme</p></td>
|
463
|
+
<td class="parameter_description"><p>an URI scheme, e.g. "http"</p></td>
|
464
|
+
<td class="parameter_annotations"> </td>
|
465
|
+
</tr>
|
466
|
+
<tr>
|
467
|
+
<td class="parameter_name"><p>uri_func</p></td>
|
468
|
+
<td class="parameter_description"><p> a <a class="link" href="GVfs.html#GVfsFileLookupFunc" title="GVfsFileLookupFunc ()"><span class="type">GVfsFileLookupFunc</span></a>. </p></td>
|
469
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid until the GDestroyNotify argument is called."><span class="acronym">scope notified</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
470
|
+
</tr>
|
471
|
+
<tr>
|
472
|
+
<td class="parameter_name"><p>uri_data</p></td>
|
473
|
+
<td class="parameter_description"><p> custom data passed to be passed to <em class="parameter"><code>uri_func</code></em>
|
474
|
+
, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
475
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
476
|
+
</tr>
|
477
|
+
<tr>
|
478
|
+
<td class="parameter_name"><p>uri_destroy</p></td>
|
479
|
+
<td class="parameter_description"><p> function to be called when unregistering the
|
480
|
+
URI scheme, or when <em class="parameter"><code>vfs</code></em>
|
481
|
+
is disposed, to free the resources used
|
482
|
+
by the URI lookup function. </p></td>
|
483
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
484
|
+
</tr>
|
485
|
+
<tr>
|
486
|
+
<td class="parameter_name"><p>parse_name_func</p></td>
|
487
|
+
<td class="parameter_description"><p> a <a class="link" href="GVfs.html#GVfsFileLookupFunc" title="GVfsFileLookupFunc ()"><span class="type">GVfsFileLookupFunc</span></a>. </p></td>
|
488
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid until the GDestroyNotify argument is called."><span class="acronym">scope notified</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
489
|
+
</tr>
|
490
|
+
<tr>
|
491
|
+
<td class="parameter_name"><p>parse_name_data</p></td>
|
492
|
+
<td class="parameter_description"><p> custom data passed to be passed to
|
493
|
+
<em class="parameter"><code>parse_name_func</code></em>
|
494
|
+
, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
495
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
496
|
+
</tr>
|
497
|
+
<tr>
|
498
|
+
<td class="parameter_name"><p>parse_name_destroy</p></td>
|
499
|
+
<td class="parameter_description"><p> function to be called when unregistering the
|
500
|
+
URI scheme, or when <em class="parameter"><code>vfs</code></em>
|
501
|
+
is disposed, to free the resources used
|
502
|
+
by the parse name lookup function. </p></td>
|
503
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
504
|
+
</tr>
|
505
|
+
</tbody>
|
506
|
+
</table></div>
|
507
|
+
</div>
|
508
|
+
<div class="refsect3">
|
509
|
+
<a name="g-vfs-register-uri-scheme.returns"></a><h4>Returns</h4>
|
510
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>scheme</code></em>
|
511
|
+
was successfully registered, or <a href="../glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if a handler
|
512
|
+
for <em class="parameter"><code>scheme</code></em>
|
513
|
+
already exists.</p>
|
514
|
+
</div>
|
515
|
+
<p class="since">Since: <a class="link" href="api-index-2-50.html#api-index-2.50">2.50</a></p>
|
516
|
+
</div>
|
517
|
+
<hr>
|
518
|
+
<div class="refsect2">
|
519
|
+
<a name="g-vfs-unregister-uri-scheme"></a><h3>g_vfs_unregister_uri_scheme ()</h3>
|
520
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
521
|
+
g_vfs_unregister_uri_scheme (<em class="parameter"><code><a class="link" href="GVfs.html" title="GVfs"><span class="type">GVfs</span></a> *vfs</code></em>,
|
522
|
+
<em class="parameter"><code>const <span class="type">char</span> *scheme</code></em>);</pre>
|
523
|
+
<p>Unregisters the URI handler for <em class="parameter"><code>scheme</code></em>
|
524
|
+
previously registered with
|
525
|
+
<a class="link" href="GVfs.html#g-vfs-register-uri-scheme" title="g_vfs_register_uri_scheme ()"><code class="function">g_vfs_register_uri_scheme()</code></a>.</p>
|
526
|
+
<div class="refsect3">
|
527
|
+
<a name="g-vfs-unregister-uri-scheme.parameters"></a><h4>Parameters</h4>
|
528
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
529
|
+
<colgroup>
|
530
|
+
<col width="150px" class="parameters_name">
|
531
|
+
<col class="parameters_description">
|
532
|
+
<col width="200px" class="parameters_annotations">
|
533
|
+
</colgroup>
|
534
|
+
<tbody>
|
535
|
+
<tr>
|
536
|
+
<td class="parameter_name"><p>vfs</p></td>
|
537
|
+
<td class="parameter_description"><p>a <a class="link" href="GVfs.html" title="GVfs"><span class="type">GVfs</span></a></p></td>
|
538
|
+
<td class="parameter_annotations"> </td>
|
539
|
+
</tr>
|
540
|
+
<tr>
|
541
|
+
<td class="parameter_name"><p>scheme</p></td>
|
542
|
+
<td class="parameter_description"><p>an URI scheme, e.g. "http"</p></td>
|
543
|
+
<td class="parameter_annotations"> </td>
|
544
|
+
</tr>
|
545
|
+
</tbody>
|
546
|
+
</table></div>
|
547
|
+
</div>
|
548
|
+
<div class="refsect3">
|
549
|
+
<a name="g-vfs-unregister-uri-scheme.returns"></a><h4>Returns</h4>
|
550
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>scheme</code></em>
|
551
|
+
was successfully unregistered, or <a href="../glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if a
|
552
|
+
handler for <em class="parameter"><code>scheme</code></em>
|
553
|
+
does not exist.</p>
|
554
|
+
</div>
|
555
|
+
<p class="since">Since: <a class="link" href="api-index-2-50.html#api-index-2.50">2.50</a></p>
|
556
|
+
</div>
|
335
557
|
</div>
|
336
558
|
<div class="refsect1">
|
337
559
|
<a name="GVfs.other_details"></a><h2>Types and Values</h2>
|