glib2 3.2.1-x86-mingw32 → 3.2.2-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Rakefile +16 -15
- data/ext/glib2/glib2.def +3 -0
- data/ext/glib2/rbglib-bytes.c +1 -0
- data/ext/glib2/rbglib.h +5 -1
- data/ext/glib2/rbgobj_object.c +30 -17
- data/ext/glib2/rbgobj_type.c +246 -130
- data/ext/glib2/rbgobject.h +12 -1
- data/lib/2.2/glib2.so +0 -0
- data/lib/2.3/glib2.so +0 -0
- data/lib/2.4/glib2.so +0 -0
- data/lib/2.5/glib2.so +0 -0
- data/lib/gnome2/rake/external-package.rb +32 -12
- data/lib/gnome2/rake/windows-binary-build-task.rb +53 -52
- data/lib/mkmf-gnome2.rb +0 -10
- 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-codegen +13 -1
- 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 +25 -14
- data/vendor/local/bin/glib-gettextize +2 -2
- data/vendor/local/bin/glib-mkenums +48 -21
- 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/idn2.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/libidn2-0.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/pcre-config +1 -1
- 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 +6 -6
- data/vendor/local/include/glib-2.0/gio/gapplication.h +9 -1
- data/vendor/local/include/glib-2.0/gio/gdatainputstream.h +3 -3
- data/vendor/local/include/glib-2.0/gio/gdbusconnection.h +3 -3
- data/vendor/local/include/glib-2.0/gio/gdbuserror.h +2 -2
- data/vendor/local/include/glib-2.0/gio/gdbusnamewatching.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gfile.h +21 -0
- data/vendor/local/include/glib-2.0/gio/gioenums.h +4 -4
- data/vendor/local/include/glib-2.0/gio/gioenumtypes.h +1 -1
- data/vendor/local/include/glib-2.0/gio/giomodule.h +24 -0
- data/vendor/local/include/glib-2.0/gio/giotypes.h +9 -3
- data/vendor/local/include/glib-2.0/gio/gmountoperation.h +15 -0
- data/vendor/local/include/glib-2.0/gio/gnetworkmonitor.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gproxyaddressenumerator.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gsocket.h +12 -0
- data/vendor/local/include/glib-2.0/gio/gsocketaddressenumerator.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gsocketconnectable.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gsocketlistener.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gtlsclientconnection.h +2 -2
- data/vendor/local/include/glib-2.0/glib/gatomic.h +23 -23
- data/vendor/local/include/glib-2.0/glib/gbacktrace.h +3 -0
- data/vendor/local/include/glib-2.0/glib/gconvert.h +9 -3
- data/vendor/local/include/glib-2.0/glib/gdate.h +2 -0
- data/vendor/local/include/glib-2.0/glib/gdatetime.h +4 -0
- data/vendor/local/include/glib-2.0/glib/gfileutils.h +4 -8
- data/vendor/local/include/glib-2.0/glib/gkeyfile.h +5 -0
- data/vendor/local/include/glib-2.0/glib/gmacros.h +37 -6
- data/vendor/local/include/glib-2.0/glib/gmain.h +44 -12
- data/vendor/local/include/glib-2.0/glib/gmem.h +5 -4
- data/vendor/local/include/glib-2.0/glib/gmessages.h +69 -68
- data/vendor/local/include/glib-2.0/glib/gregex.h +3 -3
- data/vendor/local/include/glib-2.0/glib/gspawn.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gtestutils.h +14 -5
- data/vendor/local/include/glib-2.0/glib/gtypes.h +2 -2
- data/vendor/local/include/glib-2.0/glib/gunicode.h +4 -4
- data/vendor/local/include/glib-2.0/glib/gutils.h +3 -1
- data/vendor/local/include/glib-2.0/glib/gversionmacros.h +24 -0
- data/vendor/local/include/glib-2.0/gobject/gobject.h +111 -4
- data/vendor/local/include/glib-2.0/gobject/gtype.h +8 -8
- data/vendor/local/include/glib-2.0/gobject/gtypemodule.h +1 -1
- data/vendor/local/include/glib-2.0/gobject/gvalue.h +2 -0
- data/vendor/local/include/idn2.h +347 -0
- data/vendor/local/include/libtasn1.h +1 -1
- data/vendor/local/include/nettle/nettle-stdint.h +1 -1
- data/vendor/local/include/p11-kit-1/p11-kit/iter.h +2 -0
- data/vendor/local/include/p11-kit-1/p11-kit/pkcs11.h +27 -6
- data/vendor/local/include/p11-kit-1/p11-kit/uri.h +12 -0
- data/vendor/local/lib/charset.alias +1 -1
- data/vendor/local/lib/gio/modules/libgiognutls.dll +0 -0
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +7 -2
- data/vendor/local/lib/libasprintf.a +0 -0
- data/vendor/local/lib/libasprintf.dll.a +0 -0
- data/vendor/local/lib/libasprintf.la +2 -2
- data/vendor/local/lib/libcharset.a +0 -0
- data/vendor/local/lib/libcharset.dll.a +0 -0
- data/vendor/local/lib/libcharset.la +2 -2
- data/vendor/local/lib/libffi.a +0 -0
- data/vendor/local/lib/libffi.dll.a +0 -0
- data/vendor/local/lib/libffi.la +2 -2
- data/vendor/local/lib/libgio-2.0.dll.a +0 -0
- data/vendor/local/lib/libgio-2.0.la +6 -6
- data/vendor/local/lib/libglib-2.0.dll.a +0 -0
- data/vendor/local/lib/libglib-2.0.la +6 -6
- data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
- data/vendor/local/lib/libgmodule-2.0.la +6 -6
- data/vendor/local/lib/libgmp.dll.a +0 -0
- data/vendor/local/lib/libgmp.la +2 -2
- data/vendor/local/lib/libgnutls.dll.a +0 -0
- data/vendor/local/lib/libgnutls.la +2 -2
- data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.la +6 -6
- data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
- data/vendor/local/lib/libgthread-2.0.la +6 -6
- 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/libiconv.la +2 -2
- data/vendor/local/lib/libidn2.a +0 -0
- data/vendor/local/lib/libidn2.dll.a +0 -0
- data/vendor/local/lib/libidn2.la +41 -0
- data/vendor/local/lib/libintl.a +0 -0
- data/vendor/local/lib/libintl.dll.a +0 -0
- data/vendor/local/lib/libintl.la +2 -2
- 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/libp11-kit.la +6 -6
- data/vendor/local/lib/libpcre.a +0 -0
- data/vendor/local/lib/libpcre.dll.a +0 -0
- data/vendor/local/lib/libpcre.la +2 -2
- data/vendor/local/lib/libpcrecpp.a +0 -0
- data/vendor/local/lib/libpcrecpp.dll.a +0 -0
- data/vendor/local/lib/libpcrecpp.la +2 -2
- data/vendor/local/lib/libpcreposix.a +0 -0
- data/vendor/local/lib/libpcreposix.dll.a +0 -0
- data/vendor/local/lib/libpcreposix.la +2 -2
- data/vendor/local/lib/libtasn1.a +0 -0
- data/vendor/local/lib/libtasn1.dll.a +0 -0
- data/vendor/local/lib/libtasn1.la +3 -3
- 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/pkcs11/p11-kit-trust.la +6 -6
- data/vendor/local/lib/pkgconfig/gio-2.0.pc +3 -3
- data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/glib-2.0.pc +3 -3
- data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/gmodule-export-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/gnutls.pc +3 -3
- data/vendor/local/lib/pkgconfig/gobject-2.0.pc +3 -3
- data/vendor/local/lib/pkgconfig/gthread-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/hogweed.pc +1 -1
- data/vendor/local/lib/pkgconfig/libffi.pc +1 -1
- data/vendor/local/lib/pkgconfig/libidn2.pc +11 -0
- data/vendor/local/lib/pkgconfig/libpcre.pc +1 -1
- data/vendor/local/lib/pkgconfig/libpcrecpp.pc +1 -1
- data/vendor/local/lib/pkgconfig/libpcreposix.pc +1 -1
- data/vendor/local/lib/pkgconfig/libtasn1.pc +2 -2
- data/vendor/local/lib/pkgconfig/nettle.pc +1 -1
- data/vendor/local/lib/pkgconfig/p11-kit-1.pc +3 -2
- data/vendor/local/libexec/p11-kit/p11-kit-remote.exe +0 -0
- data/vendor/local/{lib → libexec}/p11-kit/trust-extract-compat +0 -0
- data/vendor/local/share/aclocal/glib-2.0.m4 +4 -1
- data/vendor/local/share/aclocal/glib-gettext.m4 +4 -1
- data/vendor/local/share/aclocal/gsettings.m4 +3 -0
- data/vendor/local/share/bash-completion/completions/gsettings +6 -2
- data/vendor/local/share/doc/gettext/gettext.1.html +1 -1
- data/vendor/local/share/doc/gettext/ngettext.1.html +1 -1
- data/vendor/local/share/gdb/auto-load/home/vagrant/{ruby-gnome2.win32/glib2/vendor/local/lib/libglib-2.0.so.0.5400.1-gdb.py → ruby-gnome2/glib2/vendor/local/lib/libglib-2.0.so.0.5600.0-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.5400.1-gdb.py → ruby-gnome2/glib2/vendor/local/lib/libgobject-2.0.so.0.5600.0-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 +2392 -2369
- 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.py +3 -5
- 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 +100 -55
- 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.py +9 -2
- 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 +3 -2
- 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 +40 -0
- 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/schemas/gschema.dtd +3 -2
- data/vendor/local/share/gtk-doc/html/gio/GAction.html +11 -11
- data/vendor/local/share/gtk-doc/html/gio/GActionGroup.html +14 -14
- data/vendor/local/share/gtk-doc/html/gio/GActionMap.html +31 -31
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +71 -68
- data/vendor/local/share/gtk-doc/html/gio/GAppInfoMonitor.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/GApplication.html +162 -25
- data/vendor/local/share/gtk-doc/html/gio/GApplicationCommandLine.html +87 -89
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +74 -74
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +58 -49
- data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +10 -10
- data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GBytesIcon.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +27 -27
- data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GConverter.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/GDBusActionGroup.html +7 -5
- data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +22 -22
- data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +148 -141
- data/vendor/local/share/gtk-doc/html/gio/GDBusInterface.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/GDBusInterfaceSkeleton.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/GDBusMenuModel.html +7 -5
- data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +40 -40
- data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +26 -26
- data/vendor/local/share/gtk-doc/html/gio/GDBusObject.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManager.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerClient.html +25 -24
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerServer.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectProxy.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectSkeleton.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +87 -73
- data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +55 -38
- data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +10 -10
- data/vendor/local/share/gtk-doc/html/gio/GDatagramBased.html +11 -11
- data/vendor/local/share/gtk-doc/html/gio/GDrive.html +20 -20
- data/vendor/local/share/gtk-doc/html/gio/GDtlsClientConnection.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/GDtlsConnection.html +16 -16
- data/vendor/local/share/gtk-doc/html/gio/GDtlsServerConnection.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +503 -218
- data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +31 -31
- data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +8 -8
- data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +20 -20
- data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +8 -8
- data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +32 -11
- data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +11 -11
- data/vendor/local/share/gtk-doc/html/gio/GIcon.html +11 -11
- data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/GInetAddressMask.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/GInitable.html +8 -8
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +30 -30
- data/vendor/local/share/gtk-doc/html/gio/GListModel.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/GListStore.html +10 -10
- data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +11 -11
- data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +15 -15
- data/vendor/local/share/gtk-doc/html/gio/GMenu.html +57 -57
- data/vendor/local/share/gtk-doc/html/gio/GMenuModel.html +14 -14
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +31 -29
- data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +9 -9
- data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +9 -9
- data/vendor/local/share/gtk-doc/html/gio/GNetworkMonitor.html +12 -18
- data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/GNotification.html +12 -8
- data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +40 -40
- data/vendor/local/share/gtk-doc/html/gio/GPermission.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/GPollableInputStream.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/GPollableOutputStream.html +11 -7
- data/vendor/local/share/gtk-doc/html/gio/GPropertyAction.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/GProxy.html +10 -10
- data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/GProxyAddressEnumerator.html +170 -0
- data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +11 -11
- data/vendor/local/share/gtk-doc/html/gio/GRemoteActionGroup.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/GResolver.html +25 -25
- data/vendor/local/share/gtk-doc/html/gio/GResource.html +37 -33
- data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +16 -9
- data/vendor/local/share/gtk-doc/html/gio/GSettings.html +99 -96
- data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +17 -17
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAction.html +18 -18
- data/vendor/local/share/gtk-doc/html/gio/GSimpleActionGroup.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +107 -106
- data/vendor/local/share/gtk-doc/html/gio/GSimpleIOStream.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GSimpleProxyResolver.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +209 -53
- data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/GSocketAddressEnumerator.html +291 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +31 -31
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +67 -344
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +10 -10
- data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +23 -23
- data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/GSrvTarget.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/GSubprocess.html +33 -33
- data/vendor/local/share/gtk-doc/html/gio/GSubprocessLauncher.html +25 -20
- data/vendor/local/share/gtk-doc/html/gio/GTask.html +360 -357
- data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GTcpWrapperConnection.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/GTestDBus.html +11 -11
- data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +23 -23
- data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GTlsBackend.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/GTlsCertificate.html +10 -10
- data/vendor/local/share/gtk-doc/html/gio/GTlsClientConnection.html +40 -23
- data/vendor/local/share/gtk-doc/html/gio/GTlsConnection.html +9 -9
- data/vendor/local/share/gtk-doc/html/gio/GTlsDatabase.html +34 -34
- data/vendor/local/share/gtk-doc/html/gio/GTlsFileDatabase.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/GTlsInteraction.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/GTlsPassword.html +9 -9
- data/vendor/local/share/gtk-doc/html/gio/GTlsServerConnection.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +17 -17
- data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +8 -8
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/GVfs.html +15 -15
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +27 -27
- data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +12 -10
- data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +10 -3
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +71 -11
- data/vendor/local/share/gtk-doc/html/gio/application.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/async.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch01.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch02.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch03.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch32.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch33.html +31 -31
- data/vendor/local/share/gtk-doc/html/gio/ch33s02.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch33s03.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch34.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch34s02.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch34s03.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch34s04.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch34s05.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch34s06.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch34s07.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch35.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch35s02.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch35s03.html +60 -60
- data/vendor/local/share/gtk-doc/html/gio/ch35s04.html +15 -15
- data/vendor/local/share/gtk-doc/html/gio/conversion.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/data-models.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/extending.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/file_mon.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/file_ops.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gapplication-tool.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gdbus-codegen.html +285 -199
- data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gdbus-example-gdbus-codegen.html +9 -9
- data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gdbus.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +15 -13
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +23 -23
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +70 -21
- data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +18 -18
- data/vendor/local/share/gtk-doc/html/gio/gio-GActionGroup-exporter.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +12 -12
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +39 -39
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/gio-GMenuModel-exporter.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gio-GSettingsSchema-GSettingsSchemaSource.html +58 -58
- data/vendor/local/share/gtk-doc/html/gio/gio-GWin32InputStream.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/gio-GWin32OutputStream.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/gio-GWin32RegistryKey.html +127 -127
- data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +14 -14
- data/vendor/local/share/gtk-doc/html/gio/gio-TLS-Overview.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +114 -24
- data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +13 -13
- data/vendor/local/share/gtk-doc/html/gio/gio-gnetworking.h.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/gio-gpollableutils.html +14 -14
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +31 -14
- data/vendor/local/share/gtk-doc/html/gio/gio.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-resources.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gresource-tool.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gsettings-tool.html +5 -4
- data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/icons.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/index.html +9 -3
- data/vendor/local/share/gtk-doc/html/gio/migrating.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/networking.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/permissions.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/pt01.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +8 -2
- data/vendor/local/share/gtk-doc/html/gio/registry.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/resolver.html +8 -2
- data/vendor/local/share/gtk-doc/html/gio/resources.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/running-gio-apps.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/settings.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/streaming.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/subprocesses.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/testing.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/tls.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/tools.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/types.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/utils.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +6 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +47 -3
- data/vendor/local/share/gtk-doc/html/glib/deprecated.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +25 -23
- data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +7 -7
- data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +11 -11
- data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +7 -7
- data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +23 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +19 -15
- data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +36 -32
- data/vendor/local/share/gtk-doc/html/glib/glib-Bounds-checked-integer-arithmetic.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +55 -43
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +169 -108
- data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +91 -91
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +6 -5
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-HMACs.html +8 -7
- data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +33 -23
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +50 -10
- data/vendor/local/share/gtk-doc/html/glib/glib-Deprecated-Thread-APIs.html +56 -56
- data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +13 -6
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +45 -38
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +42 -42
- data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +116 -117
- data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +57 -47
- data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +106 -12
- data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +5 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-GUuid.html +4 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +258 -249
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +26 -25
- data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +52 -43
- data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +6 -5
- data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +3 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +51 -51
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +20 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +237 -50
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +57 -38
- data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +3 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +36 -30
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +33 -33
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +109 -70
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +180 -74
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +147 -91
- data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +12 -8
- data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +102 -102
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +24 -22
- data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +8 -8
- data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +43 -41
- data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +16 -15
- data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +74 -74
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +26 -18
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +88 -82
- data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +7 -7
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +48 -41
- data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +29 -29
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +264 -124
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +284 -180
- data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +192 -191
- data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +12 -12
- data/vendor/local/share/gtk-doc/html/glib/glib-UNIX-specific-utilities-and-integration.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +14 -13
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +49 -37
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +43 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +46 -26
- data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +10 -10
- data/vendor/local/share/gtk-doc/html/glib/glib-building.html +108 -99
- data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-core.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-programming.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +7 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +16 -2
- data/vendor/local/share/gtk-doc/html/glib/glib.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/gtester.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +157 -157
- data/vendor/local/share/gtk-doc/html/glib/gvariant-text.html +9 -9
- data/vendor/local/share/gtk-doc/html/glib/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/tools.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +35 -34
- data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +71 -60
- data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +4 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +10 -2
- data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +15 -15
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +32 -32
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +64 -64
- data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +24 -24
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +98 -21
- data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +349 -61
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +21 -21
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +164 -162
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +31 -31
- data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +12 -12
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +51 -49
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +67 -65
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +55 -52
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +392 -222
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +254 -254
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +20 -19
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +91 -91
- data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +2 -0
- data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +18 -18
- data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +72 -72
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +117 -117
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +26 -26
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +10 -10
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +14 -14
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +46 -46
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +42 -42
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +134 -134
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +29 -29
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +39 -39
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-override.html +72 -72
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-prerequisite.html +61 -61
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +67 -67
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +64 -64
- data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +27 -27
- data/vendor/local/share/gtk-doc/html/gobject/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/pr01.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/pt01.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/pt02.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/pt03.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/rn01.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/rn02.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +19 -19
- data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +9 -9
- data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +2 -2
- data/vendor/local/share/gtk-doc/html/libidn2/api-index-full.html +214 -0
- data/vendor/local/share/gtk-doc/html/libidn2/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/libidn2/index.html +38 -0
- data/vendor/local/share/gtk-doc/html/libidn2/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/libidn2/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/libidn2/libidn2-idn2.html +1806 -0
- data/vendor/local/share/gtk-doc/html/libidn2/libidn2.devhelp2 +104 -0
- data/vendor/local/share/gtk-doc/html/libidn2/libidn2.html +35 -0
- data/vendor/local/share/gtk-doc/html/libidn2/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/libidn2/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/libidn2/style.css +479 -0
- data/vendor/local/share/gtk-doc/html/libidn2/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/libidn2/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/p11-kit/config-example.html +7 -7
- data/vendor/local/share/gtk-doc/html/p11-kit/config-files.html +3 -3
- data/vendor/local/share/gtk-doc/html/p11-kit/config.html +3 -3
- data/vendor/local/share/gtk-doc/html/p11-kit/devel-building-style.html +3 -3
- data/vendor/local/share/gtk-doc/html/p11-kit/devel-building.html +4 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/devel-commands.html +3 -3
- data/vendor/local/share/gtk-doc/html/p11-kit/devel-debugging.html +3 -3
- data/vendor/local/share/gtk-doc/html/p11-kit/devel-paths.html +3 -3
- data/vendor/local/share/gtk-doc/html/p11-kit/devel-testing.html +3 -3
- data/vendor/local/share/gtk-doc/html/p11-kit/devel.html +3 -3
- data/vendor/local/share/gtk-doc/html/p11-kit/index.html +4 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Deprecated.html +44 -44
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Future.html +180 -90
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Modules.html +107 -66
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-PIN-Callbacks.html +58 -58
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-URIs.html +303 -64
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Utilities.html +17 -17
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit.devhelp2 +10 -0
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit.html +7 -5
- data/vendor/local/share/gtk-doc/html/p11-kit/pkcs11-conf.html +6 -6
- data/vendor/local/share/gtk-doc/html/p11-kit/reference.html +39 -3
- data/vendor/local/share/gtk-doc/html/p11-kit/sharing-managed.html +3 -3
- data/vendor/local/share/gtk-doc/html/p11-kit/sharing.html +3 -3
- data/vendor/local/share/gtk-doc/html/p11-kit/tools.html +3 -3
- data/vendor/local/share/gtk-doc/html/p11-kit/trust-disable.html +3 -3
- data/vendor/local/share/gtk-doc/html/p11-kit/trust-glib-networking.html +3 -3
- data/vendor/local/share/gtk-doc/html/p11-kit/trust-module.html +3 -3
- data/vendor/local/share/gtk-doc/html/p11-kit/trust-nss.html +3 -3
- data/vendor/local/share/gtk-doc/html/p11-kit/trust.html +3 -3
- data/vendor/local/share/info/dir +4 -7
- data/vendor/local/share/info/libidn2.info +1134 -0
- data/vendor/local/share/info/libtasn1.info +2 -2
- data/vendor/local/share/installed-tests/glib-networking/certificate.test +3 -0
- data/vendor/local/share/installed-tests/glib-networking/connection.test +3 -0
- data/vendor/local/share/installed-tests/glib-networking/dtls-connection.test +3 -0
- data/vendor/local/share/installed-tests/glib-networking/file-database.test +3 -0
- data/vendor/local/share/installed-tests/glib-networking/pkcs11-array.test +3 -0
- data/vendor/local/share/installed-tests/glib-networking/pkcs11-pin.test +3 -0
- data/vendor/local/share/installed-tests/glib-networking/pkcs11-slot.test +3 -0
- data/vendor/local/share/installed-tests/glib-networking/pkcs11-util.test +3 -0
- data/vendor/local/share/license/glib-networking/COPYING +112 -91
- data/vendor/local/share/license/libidn2/AUTHORS +7 -0
- data/vendor/local/share/license/libidn2/COPYING +35 -0
- data/vendor/local/share/license/{p11-kit → p11-glue/p11-kit}/AUTHORS +0 -0
- data/vendor/local/share/license/{p11-kit → p11-glue/p11-kit}/COPYING +0 -0
- data/vendor/local/share/locale/af/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/an/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/an/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/bg/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/bn_IN/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ca/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/glib-networking.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/glib-networking.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/el/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/el/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/eo/LC_MESSAGES/glib20.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/et/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/glib-networking.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/glib-networking.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/fur/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/fur/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gd/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/gd/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/glib-networking.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/glib-networking.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/glib-networking.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/glib-networking.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/is/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/ja/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/kk/LC_MESSAGES/glib-networking.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/kn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ko/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/glib-networking.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/mr/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/ne/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/nl/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/or/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/glib20.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/glib-networking.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/glib-networking.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/sr/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/sr/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/glib-networking.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/tr/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/uk/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/vi/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_CN/LC_MESSAGES/glib20.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/asn1Coding.1 +1 -1
- data/vendor/local/share/man/man1/asn1Decoding.1 +1 -1
- data/vendor/local/share/man/man1/asn1Parser.1 +1 -1
- data/vendor/local/share/man/man1/gapplication.1 +1 -1
- data/vendor/local/share/man/man1/gdbus-codegen.1 +107 -17
- data/vendor/local/share/man/man1/gdbus.1 +1 -1
- data/vendor/local/share/man/man1/gettext.1 +1 -1
- data/vendor/local/share/man/man1/gio-querymodules.1 +1 -1
- data/vendor/local/share/man/man1/gio.1 +1 -1
- data/vendor/local/share/man/man1/glib-compile-resources.1 +1 -1
- data/vendor/local/share/man/man1/glib-compile-schemas.1 +1 -1
- data/vendor/local/share/man/man1/glib-genmarshal.1 +55 -1
- data/vendor/local/share/man/man1/glib-gettextize.1 +1 -1
- data/vendor/local/share/man/man1/glib-mkenums.1 +241 -23
- 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 +5 -3
- data/vendor/local/share/man/man1/gtester-report.1 +1 -1
- data/vendor/local/share/man/man1/gtester.1 +1 -1
- data/vendor/local/share/man/man1/idn2.1 +72 -0
- data/vendor/local/share/man/man1/ngettext.1 +1 -1
- data/vendor/local/share/man/man3/idn2_check_version.3 +40 -0
- data/vendor/local/share/man/man3/idn2_free.3 +33 -0
- data/vendor/local/share/man/man3/idn2_lookup_u8.3 +62 -0
- data/vendor/local/share/man/man3/idn2_lookup_ul.3 +55 -0
- data/vendor/local/share/man/man3/idn2_register_u8.3 +52 -0
- data/vendor/local/share/man/man3/idn2_register_ul.3 +51 -0
- data/vendor/local/share/man/man3/idn2_strerror.3 +32 -0
- data/vendor/local/share/man/man3/idn2_strerror_name.3 +36 -0
- data/vendor/local/share/man/man3/idn2_to_ascii_4i.3 +57 -0
- data/vendor/local/share/man/man3/idn2_to_ascii_4z.3 +42 -0
- data/vendor/local/share/man/man3/idn2_to_ascii_8z.3 +42 -0
- data/vendor/local/share/man/man3/idn2_to_ascii_lz.3 +43 -0
- data/vendor/local/share/man/man3/idn2_to_unicode_44i.3 +46 -0
- data/vendor/local/share/man/man3/idn2_to_unicode_4z4z.3 +39 -0
- data/vendor/local/share/man/man3/idn2_to_unicode_8z4z.3 +39 -0
- data/vendor/local/share/man/man3/idn2_to_unicode_8z8z.3 +39 -0
- data/vendor/local/share/man/man3/idn2_to_unicode_8zlz.3 +40 -0
- data/vendor/local/share/man/man3/idn2_to_unicode_lzlz.3 +40 -0
- data/vendor/local/share/p11-kit/modules/p11-kit-trust.module +1 -1
- metadata +64 -105
- data/vendor/local/bin/idn.exe +0 -0
- data/vendor/local/bin/libidn-11.def +0 -77
- data/vendor/local/bin/libidn-11.dll +0 -0
- data/vendor/local/include/idn-free.h +0 -74
- data/vendor/local/include/idn-int.h +0 -1
- data/vendor/local/include/idna.h +0 -123
- data/vendor/local/include/pr29.h +0 -73
- data/vendor/local/include/punycode.h +0 -239
- data/vendor/local/include/stringprep.h +0 -242
- data/vendor/local/include/tld.h +0 -135
- data/vendor/local/lib/gio/modules/libgiognutls.a +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.dll.a +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.la +0 -41
- data/vendor/local/lib/libidn.a +0 -0
- data/vendor/local/lib/libidn.dll.a +0 -0
- data/vendor/local/lib/libidn.la +0 -41
- data/vendor/local/lib/p11-kit/p11-kit-remote.exe +0 -0
- data/vendor/local/lib/pkgconfig/libidn.pc +0 -23
- data/vendor/local/share/emacs/site-lisp/idna.el +0 -192
- data/vendor/local/share/emacs/site-lisp/punycode.el +0 -182
- data/vendor/local/share/gtk-doc/html/p11-kit/index.sgml +0 -189
- data/vendor/local/share/info/libidn-components.png +0 -0
- data/vendor/local/share/info/libidn.info +0 -4406
- data/vendor/local/share/license/glib-networking/AUTHORS +0 -0
- data/vendor/local/share/license/libidn/AUTHORS +0 -794
- data/vendor/local/share/license/libidn/COPYING +0 -30
- data/vendor/local/share/locale/cs/LC_MESSAGES/libidn.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/libidn.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/libidn.mo +0 -0
- data/vendor/local/share/locale/en@boldquot/LC_MESSAGES/libidn.mo +0 -0
- data/vendor/local/share/locale/en@quot/LC_MESSAGES/libidn.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/libidn.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/libidn.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/libidn.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/libidn.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/libidn.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/libidn.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/libidn.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/libidn.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/libidn.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/libidn.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/libidn.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/libidn.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/libidn.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/libidn.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/libidn.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/libidn.mo +0 -0
- data/vendor/local/share/man/man1/idn.1 +0 -92
- data/vendor/local/share/man/man3/idn_free.3 +0 -49
- data/vendor/local/share/man/man3/idna_strerror.3 +0 -80
- data/vendor/local/share/man/man3/idna_to_ascii_4i.3 +0 -70
- data/vendor/local/share/man/man3/idna_to_ascii_4z.3 +0 -51
- data/vendor/local/share/man/man3/idna_to_ascii_8z.3 +0 -51
- data/vendor/local/share/man/man3/idna_to_ascii_lz.3 +0 -52
- data/vendor/local/share/man/man3/idna_to_unicode_44i.3 +0 -75
- data/vendor/local/share/man/man3/idna_to_unicode_4z4z.3 +0 -52
- data/vendor/local/share/man/man3/idna_to_unicode_8z4z.3 +0 -52
- data/vendor/local/share/man/man3/idna_to_unicode_8z8z.3 +0 -52
- data/vendor/local/share/man/man3/idna_to_unicode_8zlz.3 +0 -53
- data/vendor/local/share/man/man3/idna_to_unicode_lzlz.3 +0 -54
- data/vendor/local/share/man/man3/pr29_4.3 +0 -51
- data/vendor/local/share/man/man3/pr29_4z.3 +0 -49
- data/vendor/local/share/man/man3/pr29_8z.3 +0 -50
- data/vendor/local/share/man/man3/pr29_strerror.3 +0 -55
- data/vendor/local/share/man/man3/punycode_decode.3 +0 -73
- data/vendor/local/share/man/man3/punycode_encode.3 +0 -76
- data/vendor/local/share/man/man3/punycode_strerror.3 +0 -56
- data/vendor/local/share/man/man3/stringprep.3 +0 -65
- data/vendor/local/share/man/man3/stringprep_4i.3 +0 -70
- data/vendor/local/share/man/man3/stringprep_4zi.3 +0 -62
- data/vendor/local/share/man/man3/stringprep_check_version.3 +0 -50
- data/vendor/local/share/man/man3/stringprep_convert.3 +0 -50
- data/vendor/local/share/man/man3/stringprep_locale_charset.3 +0 -57
- data/vendor/local/share/man/man3/stringprep_locale_to_utf8.3 +0 -46
- data/vendor/local/share/man/man3/stringprep_profile.3 +0 -63
- data/vendor/local/share/man/man3/stringprep_strerror.3 +0 -86
- data/vendor/local/share/man/man3/stringprep_ucs4_nfkc_normalize.3 +0 -48
- data/vendor/local/share/man/man3/stringprep_ucs4_to_utf8.3 +0 -56
- data/vendor/local/share/man/man3/stringprep_unichar_to_utf8.3 +0 -48
- data/vendor/local/share/man/man3/stringprep_utf8_nfkc_normalize.3 +0 -59
- data/vendor/local/share/man/man3/stringprep_utf8_to_locale.3 +0 -46
- data/vendor/local/share/man/man3/stringprep_utf8_to_ucs4.3 +0 -54
- data/vendor/local/share/man/man3/stringprep_utf8_to_unichar.3 +0 -46
- data/vendor/local/share/man/man3/tld_check_4.3 +0 -62
- data/vendor/local/share/man/man3/tld_check_4t.3 +0 -58
- data/vendor/local/share/man/man3/tld_check_4tz.3 +0 -55
- data/vendor/local/share/man/man3/tld_check_4z.3 +0 -59
- data/vendor/local/share/man/man3/tld_check_8z.3 +0 -61
- data/vendor/local/share/man/man3/tld_check_lz.3 +0 -61
- data/vendor/local/share/man/man3/tld_default_table.3 +0 -51
- data/vendor/local/share/man/man3/tld_get_4.3 +0 -51
- data/vendor/local/share/man/man3/tld_get_4z.3 +0 -48
- data/vendor/local/share/man/man3/tld_get_table.3 +0 -49
- data/vendor/local/share/man/man3/tld_get_z.3 +0 -49
- data/vendor/local/share/man/man3/tld_strerror.3 +0 -60
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="subprocesses.html" title="Subprocesses">
|
9
9
|
<link rel="prev" href="GSubprocess.html" title="GSubprocess">
|
10
10
|
<link rel="next" href="networking.html" title="Low-level network support">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -298,7 +298,7 @@ g_subprocess_launcher_spawn (<em class="parameter"><code><a class="link" href="G
|
|
298
298
|
</div>
|
299
299
|
<div class="refsect3">
|
300
300
|
<a name="g-subprocess-launcher-spawn.returns"></a><h4>Returns</h4>
|
301
|
-
<p>
|
301
|
+
<p>A new <a class="link" href="GSubprocess.html" title="GSubprocess"><span class="type">GSubprocess</span></a>, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error (and <em class="parameter"><code>error</code></em>
|
302
302
|
will be set). </p>
|
303
303
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
304
304
|
</div>
|
@@ -328,8 +328,8 @@ g_subprocess_launcher_spawnv (<em class="parameter"><code><a class="link" href="
|
|
328
328
|
</tr>
|
329
329
|
<tr>
|
330
330
|
<td class="parameter_name"><p>argv</p></td>
|
331
|
-
<td class="parameter_description"><p>
|
332
|
-
<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][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym>
|
331
|
+
<td class="parameter_description"><p>Command line arguments. </p></td>
|
332
|
+
<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][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> filename]</span></td>
|
333
333
|
</tr>
|
334
334
|
<tr>
|
335
335
|
<td class="parameter_name"><p>error</p></td>
|
@@ -341,7 +341,7 @@ g_subprocess_launcher_spawnv (<em class="parameter"><code><a class="link" href="
|
|
341
341
|
</div>
|
342
342
|
<div class="refsect3">
|
343
343
|
<a name="g-subprocess-launcher-spawnv.returns"></a><h4>Returns</h4>
|
344
|
-
<p>
|
344
|
+
<p>A new <a class="link" href="GSubprocess.html" title="GSubprocess"><span class="type">GSubprocess</span></a>, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error (and <em class="parameter"><code>error</code></em>
|
345
345
|
will be set). </p>
|
346
346
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
347
347
|
</div>
|
@@ -384,8 +384,8 @@ On Windows, they should be in UTF-8.</p>
|
|
384
384
|
</tr>
|
385
385
|
<tr>
|
386
386
|
<td class="parameter_name"><p>env</p></td>
|
387
|
-
<td class="parameter_description"><p>
|
388
|
-
<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>
|
387
|
+
<td class="parameter_description"><p>the replacement environment. </p></td>
|
388
|
+
<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][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> filename][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
|
389
389
|
</tr>
|
390
390
|
</tbody>
|
391
391
|
</table></div>
|
@@ -422,13 +422,14 @@ On Windows, they should be in UTF-8.</p>
|
|
422
422
|
</tr>
|
423
423
|
<tr>
|
424
424
|
<td class="parameter_name"><p>variable</p></td>
|
425
|
-
<td class="parameter_description"><p>the environment variable to set,
|
426
|
-
|
425
|
+
<td class="parameter_description"><p>the environment variable to set,
|
426
|
+
must not contain '='. </p></td>
|
427
|
+
<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>
|
427
428
|
</tr>
|
428
429
|
<tr>
|
429
430
|
<td class="parameter_name"><p>value</p></td>
|
430
|
-
<td class="parameter_description"><p>the new value for the variable</p></td>
|
431
|
-
<td class="parameter_annotations">
|
431
|
+
<td class="parameter_description"><p>the new value for the variable. </p></td>
|
432
|
+
<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>
|
432
433
|
</tr>
|
433
434
|
<tr>
|
434
435
|
<td class="parameter_name"><p>overwrite</p></td>
|
@@ -467,8 +468,9 @@ containing '='. On Windows, it should be in UTF-8.</p>
|
|
467
468
|
</tr>
|
468
469
|
<tr>
|
469
470
|
<td class="parameter_name"><p>variable</p></td>
|
470
|
-
<td class="parameter_description"><p>the environment variable to unset,
|
471
|
-
|
471
|
+
<td class="parameter_description"><p>the environment variable to unset,
|
472
|
+
must not contain '='. </p></td>
|
473
|
+
<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>
|
472
474
|
</tr>
|
473
475
|
</tbody>
|
474
476
|
</table></div>
|
@@ -502,15 +504,17 @@ On Windows, it will be UTF-8.</p>
|
|
502
504
|
</tr>
|
503
505
|
<tr>
|
504
506
|
<td class="parameter_name"><p>variable</p></td>
|
505
|
-
<td class="parameter_description"><p>the environment variable to get</p></td>
|
506
|
-
<td class="parameter_annotations">
|
507
|
+
<td class="parameter_description"><p>the environment variable to get. </p></td>
|
508
|
+
<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>
|
507
509
|
</tr>
|
508
510
|
</tbody>
|
509
511
|
</table></div>
|
510
512
|
</div>
|
511
513
|
<div class="refsect3">
|
512
514
|
<a name="g-subprocess-launcher-getenv.returns"></a><h4>Returns</h4>
|
513
|
-
<p>
|
515
|
+
<p>the value of the environment variable,
|
516
|
+
<a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if unset. </p>
|
517
|
+
<p><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></p>
|
514
518
|
</div>
|
515
519
|
<p class="since">Since: <a class="link" href="api-index-2-40.html#api-index-2.40">2.40</a></p>
|
516
520
|
</div>
|
@@ -540,7 +544,7 @@ of the launching process at the time of launch.</p>
|
|
540
544
|
</tr>
|
541
545
|
<tr>
|
542
546
|
<td class="parameter_name"><p>cwd</p></td>
|
543
|
-
<td class="parameter_description"><p>
|
547
|
+
<td class="parameter_description"><p>the cwd for launched processes. </p></td>
|
544
548
|
<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>
|
545
549
|
</tr>
|
546
550
|
</tbody>
|
@@ -701,7 +705,7 @@ if the launcher flags contain any flags directing stdout elsewhere.</p>
|
|
701
705
|
</tr>
|
702
706
|
<tr>
|
703
707
|
<td class="parameter_name"><p>path</p></td>
|
704
|
-
<td class="parameter_description"><p>
|
708
|
+
<td class="parameter_description"><p>a filename or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
705
709
|
<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>
|
706
710
|
</tr>
|
707
711
|
</tbody>
|
@@ -786,7 +790,7 @@ if the launcher flags contain any flags directing stderr elsewhere.</p>
|
|
786
790
|
</tr>
|
787
791
|
<tr>
|
788
792
|
<td class="parameter_name"><p>path</p></td>
|
789
|
-
<td class="parameter_description"><p>
|
793
|
+
<td class="parameter_description"><p>a filename or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
790
794
|
<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>
|
791
795
|
</tr>
|
792
796
|
</tbody>
|
@@ -902,6 +906,7 @@ given.</p>
|
|
902
906
|
<p><a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> can be given as <em class="parameter"><code>child_setup</code></em>
|
903
907
|
to disable the functionality.</p>
|
904
908
|
<p>Child setup functions are only available on UNIX.</p>
|
909
|
+
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
905
910
|
<div class="refsect3">
|
906
911
|
<a name="g-subprocess-launcher-set-child-setup.parameters"></a><h4>Parameters</h4>
|
907
912
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -959,6 +964,6 @@ given.</p>
|
|
959
964
|
</div>
|
960
965
|
</div>
|
961
966
|
<div class="footer">
|
962
|
-
<hr>Generated by GTK-Doc V1.
|
967
|
+
<hr>Generated by GTK-Doc V1.27</div>
|
963
968
|
</body>
|
964
969
|
</html>
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="async.html" title="Asynchronous I/O">
|
9
9
|
<link rel="prev" href="GAsyncResult.html" title="GAsyncResult">
|
10
10
|
<link rel="next" href="gio-GIOScheduler.html" title="GIOScheduler">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -361,11 +361,13 @@ task object around through your asynchronous operation.
|
|
361
361
|
Eventually, you will call a method such as
|
362
362
|
<a class="link" href="GTask.html#g-task-return-pointer" title="g_task_return_pointer ()"><code class="function">g_task_return_pointer()</code></a> or <a class="link" href="GTask.html#g-task-return-error" title="g_task_return_error ()"><code class="function">g_task_return_error()</code></a>, which will
|
363
363
|
save the value you give it and then invoke the task's callback
|
364
|
-
function
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
the
|
364
|
+
function in the
|
365
|
+
<a href="../glib-The-Main-Event-Loop.html#g-main-context-push-thread-default">thread-default main context</a>
|
366
|
+
where it was created (waiting until the next iteration of the main
|
367
|
+
loop first, if necessary). The caller will pass the <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> back to
|
368
|
+
the operation's finish function (as a <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a>), and you can
|
369
|
+
can use <a class="link" href="GTask.html#g-task-propagate-pointer" title="g_task_propagate_pointer ()"><code class="function">g_task_propagate_pointer()</code></a> or the like to extract the
|
370
|
+
return value.</p>
|
369
371
|
<p>Here is an example for using GTask as a GAsyncResult:</p>
|
370
372
|
<div class="informalexample">
|
371
373
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
@@ -462,97 +464,97 @@ the return value.</p>
|
|
462
464
|
89
|
463
465
|
90
|
464
466
|
91</pre></td>
|
465
|
-
<td class="listing_code"><pre class="programlisting"><span class="
|
466
|
-
CakeFrostingType frosting
|
467
|
-
|
468
|
-
<span class="
|
467
|
+
<td class="listing_code"><pre class="programlisting"><span class="keyword">typedef</span><span class="normal"> </span><span class="keyword">struct</span><span class="normal"> </span><span class="cbracket">{</span>
|
468
|
+
<span class="normal"> </span><span class="usertype">CakeFrostingType</span><span class="normal"> frosting</span><span class="symbol">;</span>
|
469
|
+
<span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">message</span><span class="symbol">;</span>
|
470
|
+
<span class="cbracket">}</span><span class="normal"> DecorationData</span><span class="symbol">;</span>
|
469
471
|
|
470
|
-
<span class="
|
471
|
-
<span class="function">decoration_data_free</span>
|
472
|
-
<span class="
|
473
|
-
|
474
|
-
|
475
|
-
<span class="
|
472
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
473
|
+
<span class="function">decoration_data_free</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">DecorationData</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">decoration</span><span class="symbol">)</span>
|
474
|
+
<span class="cbracket">{</span>
|
475
|
+
<span class="normal"> </span><span class="function"><a href="../glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">decoration</span><span class="symbol">-></span><span class="normal">message</span><span class="symbol">);</span>
|
476
|
+
<span class="normal"> </span><span class="function"><a href="../glib-Memory-Slices.html#g-slice-free">g_slice_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">DecorationData</span><span class="symbol">,</span><span class="normal"> decoration</span><span class="symbol">);</span>
|
477
|
+
<span class="cbracket">}</span>
|
476
478
|
|
477
|
-
<span class="
|
478
|
-
<span class="function">baked_cb</span>
|
479
|
-
gpointer user_data
|
480
|
-
<span class="
|
481
|
-
GTask
|
482
|
-
DecorationData
|
483
|
-
GError
|
479
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
480
|
+
<span class="function">baked_cb</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">Cake</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cake</span><span class="symbol">,</span>
|
481
|
+
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
|
482
|
+
<span class="cbracket">{</span>
|
483
|
+
<span class="normal"> </span><span class="usertype">GTask</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">task </span><span class="symbol">=</span><span class="normal"> user_data</span><span class="symbol">;</span>
|
484
|
+
<span class="normal"> </span><span class="usertype">DecorationData</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">decoration </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GTask.html#g-task-get-task-data">g_task_get_task_data</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">);</span>
|
485
|
+
<span class="normal"> </span><span class="usertype">GError</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">error </span><span class="symbol">=</span><span class="normal"> <a href="../glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
|
484
486
|
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
487
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cake </span><span class="symbol">==</span><span class="normal"> <a href="../glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span>
|
488
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
489
|
+
<span class="normal"> </span><span class="function"><a href="GTask.html#g-task-return-new-error">g_task_return_new_error</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> BAKER_ERROR</span><span class="symbol">,</span><span class="normal"> BAKER_ERROR_NO_FLOUR</span><span class="symbol">,</span>
|
490
|
+
<span class="normal"> </span><span class="string">"Go to the supermarket"</span><span class="symbol">);</span>
|
491
|
+
<span class="normal"> </span><span class="function"><a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">);</span>
|
492
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="symbol">;</span>
|
493
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
492
494
|
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
495
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(!</span><span class="function">cake_decorate</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cake</span><span class="symbol">,</span><span class="normal"> decoration</span><span class="symbol">-></span><span class="normal">frosting</span><span class="symbol">,</span><span class="normal"> decoration</span><span class="symbol">-></span><span class="normal">message</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">error</span><span class="symbol">))</span>
|
496
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
497
|
+
<span class="normal"> </span><span class="function"><a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cake</span><span class="symbol">);</span>
|
498
|
+
<span class="normal"> </span><span class="comment">// g_task_return_error() takes ownership of error</span>
|
499
|
+
<span class="normal"> </span><span class="function"><a href="GTask.html#g-task-return-error">g_task_return_error</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> error</span><span class="symbol">);</span>
|
500
|
+
<span class="normal"> </span><span class="function"><a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">);</span>
|
501
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="symbol">;</span>
|
502
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
501
503
|
|
502
|
-
|
503
|
-
|
504
|
-
<span class="
|
504
|
+
<span class="normal"> </span><span class="function"><a href="GTask.html#g-task-return-pointer">g_task_return_pointer</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> cake</span><span class="symbol">,</span><span class="normal"> <a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="symbol">);</span>
|
505
|
+
<span class="normal"> </span><span class="function"><a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">);</span>
|
506
|
+
<span class="cbracket">}</span>
|
505
507
|
|
506
|
-
<span class="
|
507
|
-
<span class="function">baker_bake_cake_async</span>
|
508
|
-
guint radius
|
509
|
-
CakeFlavor flavor
|
510
|
-
CakeFrostingType frosting
|
511
|
-
|
512
|
-
GCancellable
|
513
|
-
GAsyncReadyCallback callback
|
514
|
-
gpointer user_data
|
515
|
-
<span class="
|
516
|
-
GTask
|
517
|
-
DecorationData
|
518
|
-
Cake
|
508
|
+
<span class="type">void</span>
|
509
|
+
<span class="function">baker_bake_cake_async</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">Baker</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">self</span><span class="symbol">,</span>
|
510
|
+
<span class="normal"> </span><span class="usertype">guint</span><span class="normal"> radius</span><span class="symbol">,</span>
|
511
|
+
<span class="normal"> </span><span class="usertype">CakeFlavor</span><span class="normal"> flavor</span><span class="symbol">,</span>
|
512
|
+
<span class="normal"> </span><span class="usertype">CakeFrostingType</span><span class="normal"> frosting</span><span class="symbol">,</span>
|
513
|
+
<span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">message</span><span class="symbol">,</span>
|
514
|
+
<span class="normal"> </span><span class="usertype">GCancellable</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cancellable</span><span class="symbol">,</span>
|
515
|
+
<span class="normal"> </span><span class="usertype">GAsyncReadyCallback</span><span class="normal"> callback</span><span class="symbol">,</span>
|
516
|
+
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
|
517
|
+
<span class="cbracket">{</span>
|
518
|
+
<span class="normal"> </span><span class="usertype">GTask</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">task</span><span class="symbol">;</span>
|
519
|
+
<span class="normal"> </span><span class="usertype">DecorationData</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">decoration</span><span class="symbol">;</span>
|
520
|
+
<span class="normal"> </span><span class="usertype">Cake</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cake</span><span class="symbol">;</span>
|
519
521
|
|
520
|
-
task
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
522
|
+
<span class="normal"> task </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GTask.html#g-task-new">g_task_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">self</span><span class="symbol">,</span><span class="normal"> cancellable</span><span class="symbol">,</span><span class="normal"> callback</span><span class="symbol">,</span><span class="normal"> user_data</span><span class="symbol">);</span>
|
523
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">radius </span><span class="symbol"><</span><span class="normal"> </span><span class="number">3</span><span class="symbol">)</span>
|
524
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
525
|
+
<span class="normal"> </span><span class="function"><a href="GTask.html#g-task-return-new-error">g_task_return_new_error</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> BAKER_ERROR</span><span class="symbol">,</span><span class="normal"> BAKER_ERROR_TOO_SMALL</span><span class="symbol">,</span>
|
526
|
+
<span class="normal"> </span><span class="string">"%ucm radius cakes are silly"</span><span class="symbol">,</span>
|
527
|
+
<span class="normal"> radius</span><span class="symbol">);</span>
|
528
|
+
<span class="normal"> </span><span class="function"><a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">);</span>
|
529
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="symbol">;</span>
|
530
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
529
531
|
|
530
|
-
cake
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
532
|
+
<span class="normal"> cake </span><span class="symbol">=</span><span class="normal"> </span><span class="function">_baker_get_cached_cake</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">self</span><span class="symbol">,</span><span class="normal"> radius</span><span class="symbol">,</span><span class="normal"> flavor</span><span class="symbol">,</span><span class="normal"> frosting</span><span class="symbol">,</span><span class="normal"> message</span><span class="symbol">);</span>
|
533
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cake </span><span class="symbol">!=</span><span class="normal"> <a href="../glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span>
|
534
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
535
|
+
<span class="normal"> </span><span class="comment">// _baker_get_cached_cake() returns a reffed cake</span>
|
536
|
+
<span class="normal"> </span><span class="function"><a href="GTask.html#g-task-return-pointer">g_task_return_pointer</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> cake</span><span class="symbol">,</span><span class="normal"> <a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="symbol">);</span>
|
537
|
+
<span class="normal"> </span><span class="function"><a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">);</span>
|
538
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="symbol">;</span>
|
539
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
538
540
|
|
539
|
-
decoration
|
540
|
-
|
541
|
-
|
542
|
-
|
541
|
+
<span class="normal"> decoration </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="../glib-Memory-Slices.html#g-slice-new">g_slice_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">DecorationData</span><span class="symbol">);</span>
|
542
|
+
<span class="normal"> decoration</span><span class="symbol">-></span><span class="normal">frosting </span><span class="symbol">=</span><span class="normal"> frosting</span><span class="symbol">;</span>
|
543
|
+
<span class="normal"> decoration</span><span class="symbol">-></span><span class="normal">message </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="../glib-String-Utility-Functions.html#g-strdup">g_strdup</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">message</span><span class="symbol">);</span>
|
544
|
+
<span class="normal"> </span><span class="function"><a href="GTask.html#g-task-set-task-data">g_task_set_task_data</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> decoration</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="../glib-Datasets.html#GDestroyNotify">GDestroyNotify</a></span><span class="symbol">)</span><span class="normal"> decoration_data_free</span><span class="symbol">);</span>
|
543
545
|
|
544
|
-
|
545
|
-
<span class="
|
546
|
+
<span class="normal"> </span><span class="function">_baker_begin_cake</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">self</span><span class="symbol">,</span><span class="normal"> radius</span><span class="symbol">,</span><span class="normal"> flavor</span><span class="symbol">,</span><span class="normal"> cancellable</span><span class="symbol">,</span><span class="normal"> baked_cb</span><span class="symbol">,</span><span class="normal"> task</span><span class="symbol">);</span>
|
547
|
+
<span class="cbracket">}</span>
|
546
548
|
|
547
|
-
|
548
|
-
<span class="function">baker_bake_cake_finish</span>
|
549
|
-
GAsyncResult
|
550
|
-
GError
|
551
|
-
<span class="
|
552
|
-
|
549
|
+
<span class="normal">Cake </span><span class="symbol">*</span>
|
550
|
+
<span class="function">baker_bake_cake_finish</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">Baker</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">self</span><span class="symbol">,</span>
|
551
|
+
<span class="normal"> </span><span class="usertype">GAsyncResult</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">result</span><span class="symbol">,</span>
|
552
|
+
<span class="normal"> </span><span class="usertype">GError</span><span class="normal"> </span><span class="symbol">**</span><span class="normal">error</span><span class="symbol">)</span>
|
553
|
+
<span class="cbracket">{</span>
|
554
|
+
<span class="normal"> </span><span class="function"><a href="../glib-Warnings-and-Assertions.html#g-return-val-if-fail">g_return_val_if_fail</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="GTask.html#g-task-is-valid">g_task_is_valid</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">result</span><span class="symbol">,</span><span class="normal"> self</span><span class="symbol">),</span><span class="normal"> <a href="../glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
553
555
|
|
554
|
-
|
555
|
-
<span class="
|
556
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="function"><a href="GTask.html#g-task-propagate-pointer">g_task_propagate_pointer</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">G_TASK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">result</span><span class="symbol">),</span><span class="normal"> error</span><span class="symbol">);</span>
|
557
|
+
<span class="cbracket">}</span></pre></td>
|
556
558
|
</tr>
|
557
559
|
</tbody>
|
558
560
|
</table>
|
@@ -699,129 +701,129 @@ of waiting for a source to fire (automatically using the correct
|
|
699
701
|
121
|
700
702
|
122
|
701
703
|
123</pre></td>
|
702
|
-
<td class="listing_code"><pre class="programlisting"><span class="
|
703
|
-
Cake
|
704
|
-
CakeFrostingType frosting
|
705
|
-
|
706
|
-
<span class="
|
704
|
+
<td class="listing_code"><pre class="programlisting"><span class="keyword">typedef</span><span class="normal"> </span><span class="keyword">struct</span><span class="normal"> </span><span class="cbracket">{</span>
|
705
|
+
<span class="normal"> </span><span class="usertype">Cake</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cake</span><span class="symbol">;</span>
|
706
|
+
<span class="normal"> </span><span class="usertype">CakeFrostingType</span><span class="normal"> frosting</span><span class="symbol">;</span>
|
707
|
+
<span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">message</span><span class="symbol">;</span>
|
708
|
+
<span class="cbracket">}</span><span class="normal"> BakingData</span><span class="symbol">;</span>
|
707
709
|
|
708
|
-
<span class="
|
709
|
-
<span class="function">decoration_data_free</span>
|
710
|
-
<span class="
|
711
|
-
|
712
|
-
|
713
|
-
|
714
|
-
|
715
|
-
<span class="
|
710
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
711
|
+
<span class="function">decoration_data_free</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">BakingData</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">bd</span><span class="symbol">)</span>
|
712
|
+
<span class="cbracket">{</span>
|
713
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">bd</span><span class="symbol">-></span><span class="normal">cake</span><span class="symbol">)</span>
|
714
|
+
<span class="normal"> </span><span class="function"><a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">bd</span><span class="symbol">-></span><span class="normal">cake</span><span class="symbol">);</span>
|
715
|
+
<span class="normal"> </span><span class="function"><a href="../glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">bd</span><span class="symbol">-></span><span class="normal">message</span><span class="symbol">);</span>
|
716
|
+
<span class="normal"> </span><span class="function"><a href="../glib-Memory-Slices.html#g-slice-free">g_slice_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">BakingData</span><span class="symbol">,</span><span class="normal"> bd</span><span class="symbol">);</span>
|
717
|
+
<span class="cbracket">}</span>
|
716
718
|
|
717
|
-
<span class="
|
718
|
-
<span class="function">decorated_cb</span>
|
719
|
-
GAsyncResult
|
720
|
-
gpointer user_data
|
721
|
-
<span class="
|
722
|
-
GTask
|
723
|
-
GError
|
719
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
720
|
+
<span class="function">decorated_cb</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">Cake</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cake</span><span class="symbol">,</span>
|
721
|
+
<span class="normal"> </span><span class="usertype">GAsyncResult</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">result</span><span class="symbol">,</span>
|
722
|
+
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
|
723
|
+
<span class="cbracket">{</span>
|
724
|
+
<span class="normal"> </span><span class="usertype">GTask</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">task </span><span class="symbol">=</span><span class="normal"> user_data</span><span class="symbol">;</span>
|
725
|
+
<span class="normal"> </span><span class="usertype">GError</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">error </span><span class="symbol">=</span><span class="normal"> <a href="../glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
|
724
726
|
|
725
|
-
|
726
|
-
|
727
|
-
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
|
727
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(!</span><span class="function">cake_decorate_finish</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cake</span><span class="symbol">,</span><span class="normal"> result</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">error</span><span class="symbol">))</span>
|
728
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
729
|
+
<span class="normal"> </span><span class="function"><a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cake</span><span class="symbol">);</span>
|
730
|
+
<span class="normal"> </span><span class="function"><a href="GTask.html#g-task-return-error">g_task_return_error</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> error</span><span class="symbol">);</span>
|
731
|
+
<span class="normal"> </span><span class="function"><a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">);</span>
|
732
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="symbol">;</span>
|
733
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
732
734
|
|
733
|
-
|
734
|
-
|
735
|
-
|
736
|
-
|
737
|
-
<span class="
|
735
|
+
<span class="normal"> </span><span class="comment">// baking_data_free() will drop its ref on the cake, so we have to</span>
|
736
|
+
<span class="normal"> </span><span class="comment">// take another here to give to the caller.</span>
|
737
|
+
<span class="normal"> </span><span class="function"><a href="GTask.html#g-task-return-pointer">g_task_return_pointer</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="../gobject-The-Base-Object-Type.html#g-object-ref">g_object_ref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cake</span><span class="symbol">),</span><span class="normal"> <a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="symbol">);</span>
|
738
|
+
<span class="normal"> </span><span class="function"><a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">);</span>
|
739
|
+
<span class="cbracket">}</span>
|
738
740
|
|
739
|
-
<span class="
|
740
|
-
<span class="function">decorator_ready</span>
|
741
|
-
<span class="
|
742
|
-
GTask
|
743
|
-
BakingData
|
741
|
+
<span class="keyword">static</span><span class="normal"> <a href="../glib-Basic-Types.html#gboolean">gboolean</a></span>
|
742
|
+
<span class="function">decorator_ready</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
|
743
|
+
<span class="cbracket">{</span>
|
744
|
+
<span class="normal"> </span><span class="usertype">GTask</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">task </span><span class="symbol">=</span><span class="normal"> user_data</span><span class="symbol">;</span>
|
745
|
+
<span class="normal"> </span><span class="usertype">BakingData</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">bd </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GTask.html#g-task-get-task-data">g_task_get_task_data</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">);</span>
|
744
746
|
|
745
|
-
|
746
|
-
|
747
|
-
|
747
|
+
<span class="normal"> </span><span class="function">cake_decorate_async</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">bd</span><span class="symbol">-></span><span class="normal">cake</span><span class="symbol">,</span><span class="normal"> bd</span><span class="symbol">-></span><span class="normal">frosting</span><span class="symbol">,</span><span class="normal"> bd</span><span class="symbol">-></span><span class="normal">message</span><span class="symbol">,</span>
|
748
|
+
<span class="normal"> </span><span class="function"><a href="GTask.html#g-task-get-cancellable">g_task_get_cancellable</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">),</span>
|
749
|
+
<span class="normal"> decorated_cb</span><span class="symbol">,</span><span class="normal"> task</span><span class="symbol">);</span>
|
748
750
|
|
749
|
-
|
750
|
-
<span class="
|
751
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> <a href="../glib-The-Main-Event-Loop.html#G-SOURCE-REMOVE:CAPS">G_SOURCE_REMOVE</a></span><span class="symbol">;</span>
|
752
|
+
<span class="cbracket">}</span>
|
751
753
|
|
752
|
-
<span class="
|
753
|
-
<span class="function">baked_cb</span>
|
754
|
-
gpointer user_data
|
755
|
-
<span class="
|
756
|
-
GTask
|
757
|
-
BakingData
|
758
|
-
GError
|
754
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
755
|
+
<span class="function">baked_cb</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">Cake</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cake</span><span class="symbol">,</span>
|
756
|
+
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
|
757
|
+
<span class="cbracket">{</span>
|
758
|
+
<span class="normal"> </span><span class="usertype">GTask</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">task </span><span class="symbol">=</span><span class="normal"> user_data</span><span class="symbol">;</span>
|
759
|
+
<span class="normal"> </span><span class="usertype">BakingData</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">bd </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GTask.html#g-task-get-task-data">g_task_get_task_data</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">);</span>
|
760
|
+
<span class="normal"> </span><span class="usertype">GError</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">error </span><span class="symbol">=</span><span class="normal"> <a href="../glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
|
759
761
|
|
760
|
-
|
761
|
-
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
|
762
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cake </span><span class="symbol">==</span><span class="normal"> <a href="../glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span>
|
763
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
764
|
+
<span class="normal"> </span><span class="function"><a href="GTask.html#g-task-return-new-error">g_task_return_new_error</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> BAKER_ERROR</span><span class="symbol">,</span><span class="normal"> BAKER_ERROR_NO_FLOUR</span><span class="symbol">,</span>
|
765
|
+
<span class="normal"> </span><span class="string">"Go to the supermarket"</span><span class="symbol">);</span>
|
766
|
+
<span class="normal"> </span><span class="function"><a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">);</span>
|
767
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="symbol">;</span>
|
768
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
767
769
|
|
768
|
-
|
770
|
+
<span class="normal"> bd</span><span class="symbol">-></span><span class="normal">cake </span><span class="symbol">=</span><span class="normal"> cake</span><span class="symbol">;</span>
|
769
771
|
|
770
|
-
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
772
|
+
<span class="normal"> </span><span class="comment">// Bail out now if the user has already cancelled</span>
|
773
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="GTask.html#g-task-return-error-if-cancelled">g_task_return_error_if_cancelled</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">))</span>
|
774
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
775
|
+
<span class="normal"> </span><span class="function"><a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">);</span>
|
776
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="symbol">;</span>
|
777
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
776
778
|
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
GSource
|
779
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function">cake_decorator_available</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cake</span><span class="symbol">))</span>
|
780
|
+
<span class="normal"> </span><span class="function">decorator_ready</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">);</span>
|
781
|
+
<span class="normal"> </span><span class="keyword">else</span>
|
782
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
783
|
+
<span class="normal"> </span><span class="usertype">GSource</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">source</span><span class="symbol">;</span>
|
782
784
|
|
783
|
-
source
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
<span class="
|
785
|
+
<span class="normal"> source </span><span class="symbol">=</span><span class="normal"> </span><span class="function">cake_decorator_wait_source_new</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cake</span><span class="symbol">);</span>
|
786
|
+
<span class="normal"> </span><span class="comment">// Attach @source to @task's GMainContext and have it call</span>
|
787
|
+
<span class="normal"> </span><span class="comment">// decorator_ready() when it is ready.</span>
|
788
|
+
<span class="normal"> </span><span class="function"><a href="GTask.html#g-task-attach-source">g_task_attach_source</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> source</span><span class="symbol">,</span><span class="normal"> decorator_ready</span><span class="symbol">);</span>
|
789
|
+
<span class="normal"> </span><span class="function"><a href="../glib-The-Main-Event-Loop.html#g-source-unref">g_source_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">source</span><span class="symbol">);</span>
|
790
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
791
|
+
<span class="cbracket">}</span>
|
790
792
|
|
791
|
-
<span class="
|
792
|
-
<span class="function">baker_bake_cake_async</span>
|
793
|
-
guint radius
|
794
|
-
CakeFlavor flavor
|
795
|
-
CakeFrostingType frosting
|
796
|
-
|
797
|
-
gint priority
|
798
|
-
GCancellable
|
799
|
-
GAsyncReadyCallback callback
|
800
|
-
gpointer user_data
|
801
|
-
<span class="
|
802
|
-
GTask
|
803
|
-
BakingData
|
793
|
+
<span class="type">void</span>
|
794
|
+
<span class="function">baker_bake_cake_async</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">Baker</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">self</span><span class="symbol">,</span>
|
795
|
+
<span class="normal"> </span><span class="usertype">guint</span><span class="normal"> radius</span><span class="symbol">,</span>
|
796
|
+
<span class="normal"> </span><span class="usertype">CakeFlavor</span><span class="normal"> flavor</span><span class="symbol">,</span>
|
797
|
+
<span class="normal"> </span><span class="usertype">CakeFrostingType</span><span class="normal"> frosting</span><span class="symbol">,</span>
|
798
|
+
<span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">message</span><span class="symbol">,</span>
|
799
|
+
<span class="normal"> </span><span class="usertype">gint</span><span class="normal"> priority</span><span class="symbol">,</span>
|
800
|
+
<span class="normal"> </span><span class="usertype">GCancellable</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cancellable</span><span class="symbol">,</span>
|
801
|
+
<span class="normal"> </span><span class="usertype">GAsyncReadyCallback</span><span class="normal"> callback</span><span class="symbol">,</span>
|
802
|
+
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
|
803
|
+
<span class="cbracket">{</span>
|
804
|
+
<span class="normal"> </span><span class="usertype">GTask</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">task</span><span class="symbol">;</span>
|
805
|
+
<span class="normal"> </span><span class="usertype">BakingData</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">bd</span><span class="symbol">;</span>
|
804
806
|
|
805
|
-
task
|
806
|
-
|
807
|
+
<span class="normal"> task </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GTask.html#g-task-new">g_task_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">self</span><span class="symbol">,</span><span class="normal"> cancellable</span><span class="symbol">,</span><span class="normal"> callback</span><span class="symbol">,</span><span class="normal"> user_data</span><span class="symbol">);</span>
|
808
|
+
<span class="normal"> </span><span class="function"><a href="GTask.html#g-task-set-priority">g_task_set_priority</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> priority</span><span class="symbol">);</span>
|
807
809
|
|
808
|
-
bd
|
809
|
-
|
810
|
-
|
811
|
-
|
810
|
+
<span class="normal"> bd </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="../glib-Memory-Slices.html#g-slice-new0">g_slice_new0</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">BakingData</span><span class="symbol">);</span>
|
811
|
+
<span class="normal"> bd</span><span class="symbol">-></span><span class="normal">frosting </span><span class="symbol">=</span><span class="normal"> frosting</span><span class="symbol">;</span>
|
812
|
+
<span class="normal"> bd</span><span class="symbol">-></span><span class="normal">message </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="../glib-String-Utility-Functions.html#g-strdup">g_strdup</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">message</span><span class="symbol">);</span>
|
813
|
+
<span class="normal"> </span><span class="function"><a href="GTask.html#g-task-set-task-data">g_task_set_task_data</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> bd</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="../glib-Datasets.html#GDestroyNotify">GDestroyNotify</a></span><span class="symbol">)</span><span class="normal"> baking_data_free</span><span class="symbol">);</span>
|
812
814
|
|
813
|
-
|
814
|
-
<span class="
|
815
|
+
<span class="normal"> </span><span class="function">_baker_begin_cake</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">self</span><span class="symbol">,</span><span class="normal"> radius</span><span class="symbol">,</span><span class="normal"> flavor</span><span class="symbol">,</span><span class="normal"> cancellable</span><span class="symbol">,</span><span class="normal"> baked_cb</span><span class="symbol">,</span><span class="normal"> task</span><span class="symbol">);</span>
|
816
|
+
<span class="cbracket">}</span>
|
815
817
|
|
816
|
-
|
817
|
-
<span class="function">baker_bake_cake_finish</span>
|
818
|
-
GAsyncResult
|
819
|
-
GError
|
820
|
-
<span class="
|
821
|
-
|
818
|
+
<span class="normal">Cake </span><span class="symbol">*</span>
|
819
|
+
<span class="function">baker_bake_cake_finish</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">Baker</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">self</span><span class="symbol">,</span>
|
820
|
+
<span class="normal"> </span><span class="usertype">GAsyncResult</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">result</span><span class="symbol">,</span>
|
821
|
+
<span class="normal"> </span><span class="usertype">GError</span><span class="normal"> </span><span class="symbol">**</span><span class="normal">error</span><span class="symbol">)</span>
|
822
|
+
<span class="cbracket">{</span>
|
823
|
+
<span class="normal"> </span><span class="function"><a href="../glib-Warnings-and-Assertions.html#g-return-val-if-fail">g_return_val_if_fail</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="GTask.html#g-task-is-valid">g_task_is_valid</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">result</span><span class="symbol">,</span><span class="normal"> self</span><span class="symbol">),</span><span class="normal"> <a href="../glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
822
824
|
|
823
|
-
|
824
|
-
<span class="
|
825
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="function"><a href="GTask.html#g-task-propagate-pointer">g_task_propagate_pointer</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">G_TASK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">result</span><span class="symbol">),</span><span class="normal"> error</span><span class="symbol">);</span>
|
826
|
+
<span class="cbracket">}</span></pre></td>
|
825
827
|
</tr>
|
826
828
|
</tbody>
|
827
829
|
</table>
|
@@ -832,9 +834,10 @@ Cake <span class="gtkdoc opt">*</span>
|
|
832
834
|
<div class="refsect3">
|
833
835
|
<a name="id-1.4.5.4.9.5"></a><h4>Asynchronous operations from synchronous ones</h4>
|
834
836
|
<p>You can use <a class="link" href="GTask.html#g-task-run-in-thread" title="g_task_run_in_thread ()"><code class="function">g_task_run_in_thread()</code></a> to turn a synchronous
|
835
|
-
operation into an asynchronous one, by running it in a thread
|
836
|
-
|
837
|
-
<a href="../glib-The-Main-Event-Loop.html#
|
837
|
+
operation into an asynchronous one, by running it in a thread.
|
838
|
+
When it completes, the result will be dispatched to the
|
839
|
+
<a href="../glib-The-Main-Event-Loop.html#g-main-context-push-thread-default">thread-default main context</a>
|
840
|
+
where the <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> was created.</p>
|
838
841
|
<p>Running a task in a thread:</p>
|
839
842
|
<div class="informalexample">
|
840
843
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
@@ -907,73 +910,73 @@ which will then dispatch the result back to the caller's
|
|
907
910
|
65
|
908
911
|
66
|
909
912
|
67</pre></td>
|
910
|
-
<td class="listing_code"><pre class="programlisting"><span class="
|
911
|
-
guint radius
|
912
|
-
CakeFlavor flavor
|
913
|
-
CakeFrostingType frosting
|
914
|
-
|
915
|
-
<span class="
|
913
|
+
<td class="listing_code"><pre class="programlisting"><span class="keyword">typedef</span><span class="normal"> </span><span class="keyword">struct</span><span class="normal"> </span><span class="cbracket">{</span>
|
914
|
+
<span class="normal"> </span><span class="usertype">guint</span><span class="normal"> radius</span><span class="symbol">;</span>
|
915
|
+
<span class="normal"> </span><span class="usertype">CakeFlavor</span><span class="normal"> flavor</span><span class="symbol">;</span>
|
916
|
+
<span class="normal"> </span><span class="usertype">CakeFrostingType</span><span class="normal"> frosting</span><span class="symbol">;</span>
|
917
|
+
<span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">message</span><span class="symbol">;</span>
|
918
|
+
<span class="cbracket">}</span><span class="normal"> CakeData</span><span class="symbol">;</span>
|
916
919
|
|
917
|
-
<span class="
|
918
|
-
<span class="function">cake_data_free</span>
|
919
|
-
<span class="
|
920
|
-
|
921
|
-
|
922
|
-
<span class="
|
920
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
921
|
+
<span class="function">cake_data_free</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">CakeData</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cake_data</span><span class="symbol">)</span>
|
922
|
+
<span class="cbracket">{</span>
|
923
|
+
<span class="normal"> </span><span class="function"><a href="../glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cake_data</span><span class="symbol">-></span><span class="normal">message</span><span class="symbol">);</span>
|
924
|
+
<span class="normal"> </span><span class="function"><a href="../glib-Memory-Slices.html#g-slice-free">g_slice_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">CakeData</span><span class="symbol">,</span><span class="normal"> cake_data</span><span class="symbol">);</span>
|
925
|
+
<span class="cbracket">}</span>
|
923
926
|
|
924
|
-
<span class="
|
925
|
-
<span class="function">bake_cake_thread</span>
|
926
|
-
gpointer source_object
|
927
|
-
gpointer task_data
|
928
|
-
GCancellable
|
929
|
-
<span class="
|
930
|
-
Baker
|
931
|
-
CakeData
|
932
|
-
Cake
|
933
|
-
GError
|
927
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
928
|
+
<span class="function">bake_cake_thread</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GTask</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">task</span><span class="symbol">,</span>
|
929
|
+
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> source_object</span><span class="symbol">,</span>
|
930
|
+
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> task_data</span><span class="symbol">,</span>
|
931
|
+
<span class="normal"> </span><span class="usertype">GCancellable</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cancellable</span><span class="symbol">)</span>
|
932
|
+
<span class="cbracket">{</span>
|
933
|
+
<span class="normal"> </span><span class="usertype">Baker</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">self </span><span class="symbol">=</span><span class="normal"> source_object</span><span class="symbol">;</span>
|
934
|
+
<span class="normal"> </span><span class="usertype">CakeData</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cake_data </span><span class="symbol">=</span><span class="normal"> task_data</span><span class="symbol">;</span>
|
935
|
+
<span class="normal"> </span><span class="usertype">Cake</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cake</span><span class="symbol">;</span>
|
936
|
+
<span class="normal"> </span><span class="usertype">GError</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">error </span><span class="symbol">=</span><span class="normal"> <a href="../glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
|
934
937
|
|
935
|
-
cake
|
936
|
-
|
937
|
-
cancellable
|
938
|
-
|
939
|
-
|
940
|
-
|
941
|
-
|
942
|
-
<span class="
|
938
|
+
<span class="normal"> cake </span><span class="symbol">=</span><span class="normal"> </span><span class="function">bake_cake</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">baker</span><span class="symbol">,</span><span class="normal"> cake_data</span><span class="symbol">-></span><span class="normal">radius</span><span class="symbol">,</span><span class="normal"> cake_data</span><span class="symbol">-></span><span class="normal">flavor</span><span class="symbol">,</span>
|
939
|
+
<span class="normal"> cake_data</span><span class="symbol">-></span><span class="normal">frosting</span><span class="symbol">,</span><span class="normal"> cake_data</span><span class="symbol">-></span><span class="normal">message</span><span class="symbol">,</span>
|
940
|
+
<span class="normal"> cancellable</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">error</span><span class="symbol">);</span>
|
941
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cake</span><span class="symbol">)</span>
|
942
|
+
<span class="normal"> </span><span class="function"><a href="GTask.html#g-task-return-pointer">g_task_return_pointer</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> cake</span><span class="symbol">,</span><span class="normal"> <a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="symbol">);</span>
|
943
|
+
<span class="normal"> </span><span class="keyword">else</span>
|
944
|
+
<span class="normal"> </span><span class="function"><a href="GTask.html#g-task-return-error">g_task_return_error</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> error</span><span class="symbol">);</span>
|
945
|
+
<span class="cbracket">}</span>
|
943
946
|
|
944
|
-
<span class="
|
945
|
-
<span class="function">baker_bake_cake_async</span>
|
946
|
-
guint radius
|
947
|
-
CakeFlavor flavor
|
948
|
-
CakeFrostingType frosting
|
949
|
-
|
950
|
-
GCancellable
|
951
|
-
GAsyncReadyCallback callback
|
952
|
-
gpointer user_data
|
953
|
-
<span class="
|
954
|
-
CakeData
|
955
|
-
GTask
|
947
|
+
<span class="type">void</span>
|
948
|
+
<span class="function">baker_bake_cake_async</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">Baker</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">self</span><span class="symbol">,</span>
|
949
|
+
<span class="normal"> </span><span class="usertype">guint</span><span class="normal"> radius</span><span class="symbol">,</span>
|
950
|
+
<span class="normal"> </span><span class="usertype">CakeFlavor</span><span class="normal"> flavor</span><span class="symbol">,</span>
|
951
|
+
<span class="normal"> </span><span class="usertype">CakeFrostingType</span><span class="normal"> frosting</span><span class="symbol">,</span>
|
952
|
+
<span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">message</span><span class="symbol">,</span>
|
953
|
+
<span class="normal"> </span><span class="usertype">GCancellable</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cancellable</span><span class="symbol">,</span>
|
954
|
+
<span class="normal"> </span><span class="usertype">GAsyncReadyCallback</span><span class="normal"> callback</span><span class="symbol">,</span>
|
955
|
+
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
|
956
|
+
<span class="cbracket">{</span>
|
957
|
+
<span class="normal"> </span><span class="usertype">CakeData</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cake_data</span><span class="symbol">;</span>
|
958
|
+
<span class="normal"> </span><span class="usertype">GTask</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">task</span><span class="symbol">;</span>
|
956
959
|
|
957
|
-
cake_data
|
958
|
-
|
959
|
-
|
960
|
-
|
961
|
-
|
962
|
-
task
|
963
|
-
|
964
|
-
|
965
|
-
|
966
|
-
<span class="
|
960
|
+
<span class="normal"> cake_data </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="../glib-Memory-Slices.html#g-slice-new">g_slice_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">CakeData</span><span class="symbol">);</span>
|
961
|
+
<span class="normal"> cake_data</span><span class="symbol">-></span><span class="normal">radius </span><span class="symbol">=</span><span class="normal"> radius</span><span class="symbol">;</span>
|
962
|
+
<span class="normal"> cake_data</span><span class="symbol">-></span><span class="normal">flavor </span><span class="symbol">=</span><span class="normal"> flavor</span><span class="symbol">;</span>
|
963
|
+
<span class="normal"> cake_data</span><span class="symbol">-></span><span class="normal">frosting </span><span class="symbol">=</span><span class="normal"> frosting</span><span class="symbol">;</span>
|
964
|
+
<span class="normal"> cake_data</span><span class="symbol">-></span><span class="normal">message </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="../glib-String-Utility-Functions.html#g-strdup">g_strdup</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">message</span><span class="symbol">);</span>
|
965
|
+
<span class="normal"> task </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GTask.html#g-task-new">g_task_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">self</span><span class="symbol">,</span><span class="normal"> cancellable</span><span class="symbol">,</span><span class="normal"> callback</span><span class="symbol">,</span><span class="normal"> user_data</span><span class="symbol">);</span>
|
966
|
+
<span class="normal"> </span><span class="function"><a href="GTask.html#g-task-set-task-data">g_task_set_task_data</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> cake_data</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="../glib-Datasets.html#GDestroyNotify">GDestroyNotify</a></span><span class="symbol">)</span><span class="normal"> cake_data_free</span><span class="symbol">);</span>
|
967
|
+
<span class="normal"> </span><span class="function"><a href="GTask.html#g-task-run-in-thread">g_task_run_in_thread</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> bake_cake_thread</span><span class="symbol">);</span>
|
968
|
+
<span class="normal"> </span><span class="function"><a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">);</span>
|
969
|
+
<span class="cbracket">}</span>
|
967
970
|
|
968
|
-
|
969
|
-
<span class="function">baker_bake_cake_finish</span>
|
970
|
-
GAsyncResult
|
971
|
-
GError
|
972
|
-
<span class="
|
973
|
-
|
971
|
+
<span class="normal">Cake </span><span class="symbol">*</span>
|
972
|
+
<span class="function">baker_bake_cake_finish</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">Baker</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">self</span><span class="symbol">,</span>
|
973
|
+
<span class="normal"> </span><span class="usertype">GAsyncResult</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">result</span><span class="symbol">,</span>
|
974
|
+
<span class="normal"> </span><span class="usertype">GError</span><span class="normal"> </span><span class="symbol">**</span><span class="normal">error</span><span class="symbol">)</span>
|
975
|
+
<span class="cbracket">{</span>
|
976
|
+
<span class="normal"> </span><span class="function"><a href="../glib-Warnings-and-Assertions.html#g-return-val-if-fail">g_return_val_if_fail</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="GTask.html#g-task-is-valid">g_task_is_valid</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">result</span><span class="symbol">,</span><span class="normal"> self</span><span class="symbol">),</span><span class="normal"> <a href="../glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
974
977
|
|
975
|
-
|
976
|
-
<span class="
|
978
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="function"><a href="GTask.html#g-task-propagate-pointer">g_task_propagate_pointer</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">G_TASK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">result</span><span class="symbol">),</span><span class="normal"> error</span><span class="symbol">);</span>
|
979
|
+
<span class="cbracket">}</span></pre></td>
|
977
980
|
</tr>
|
978
981
|
</tbody>
|
979
982
|
</table>
|
@@ -1087,94 +1090,94 @@ synchronous variants of blocking APIs.</p>
|
|
1087
1090
|
86
|
1088
1091
|
87
|
1089
1092
|
88</pre></td>
|
1090
|
-
<td class="listing_code"><pre class="programlisting"><span class="
|
1091
|
-
<span class="function">bake_cake_thread</span>
|
1092
|
-
gpointer source_object
|
1093
|
-
gpointer task_data
|
1094
|
-
GCancellable
|
1095
|
-
<span class="
|
1096
|
-
Baker
|
1097
|
-
CakeData
|
1098
|
-
Cake
|
1099
|
-
GError
|
1093
|
+
<td class="listing_code"><pre class="programlisting"><span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
1094
|
+
<span class="function">bake_cake_thread</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GTask</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">task</span><span class="symbol">,</span>
|
1095
|
+
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> source_object</span><span class="symbol">,</span>
|
1096
|
+
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> task_data</span><span class="symbol">,</span>
|
1097
|
+
<span class="normal"> </span><span class="usertype">GCancellable</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cancellable</span><span class="symbol">)</span>
|
1098
|
+
<span class="cbracket">{</span>
|
1099
|
+
<span class="normal"> </span><span class="usertype">Baker</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">self </span><span class="symbol">=</span><span class="normal"> source_object</span><span class="symbol">;</span>
|
1100
|
+
<span class="normal"> </span><span class="usertype">CakeData</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cake_data </span><span class="symbol">=</span><span class="normal"> task_data</span><span class="symbol">;</span>
|
1101
|
+
<span class="normal"> </span><span class="usertype">Cake</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cake</span><span class="symbol">;</span>
|
1102
|
+
<span class="normal"> </span><span class="usertype">GError</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">error </span><span class="symbol">=</span><span class="normal"> <a href="../glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
|
1100
1103
|
|
1101
|
-
cake
|
1102
|
-
|
1103
|
-
|
1104
|
-
|
1105
|
-
|
1106
|
-
|
1107
|
-
|
1108
|
-
|
1104
|
+
<span class="normal"> cake </span><span class="symbol">=</span><span class="normal"> </span><span class="function">bake_cake</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">baker</span><span class="symbol">,</span><span class="normal"> cake_data</span><span class="symbol">-></span><span class="normal">radius</span><span class="symbol">,</span><span class="normal"> cake_data</span><span class="symbol">-></span><span class="normal">flavor</span><span class="symbol">,</span>
|
1105
|
+
<span class="normal"> cake_data</span><span class="symbol">-></span><span class="normal">frosting</span><span class="symbol">,</span><span class="normal"> cake_data</span><span class="symbol">-></span><span class="normal">message</span><span class="symbol">,</span>
|
1106
|
+
<span class="normal"> </span><span class="symbol">&</span><span class="normal">error</span><span class="symbol">);</span>
|
1107
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">error</span><span class="symbol">)</span>
|
1108
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
1109
|
+
<span class="normal"> </span><span class="function"><a href="GTask.html#g-task-return-error">g_task_return_error</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> error</span><span class="symbol">);</span>
|
1110
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="symbol">;</span>
|
1111
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
1109
1112
|
|
1110
|
-
|
1111
|
-
|
1112
|
-
|
1113
|
-
|
1114
|
-
|
1115
|
-
|
1116
|
-
|
1117
|
-
|
1118
|
-
|
1119
|
-
|
1120
|
-
|
1121
|
-
|
1122
|
-
|
1123
|
-
|
1124
|
-
|
1125
|
-
|
1126
|
-
|
1127
|
-
<span class="
|
1113
|
+
<span class="normal"> </span><span class="comment">// If the task has already been cancelled, then we don't want to add</span>
|
1114
|
+
<span class="normal"> </span><span class="comment">// the cake to the cake cache. Likewise, we don't want to have the</span>
|
1115
|
+
<span class="normal"> </span><span class="comment">// task get cancelled in the middle of updating the cache.</span>
|
1116
|
+
<span class="normal"> </span><span class="comment">// g_task_set_return_on_cancel() will return %TRUE here if it managed</span>
|
1117
|
+
<span class="normal"> </span><span class="comment">// to disable return-on-cancel, or %FALSE if the task was cancelled</span>
|
1118
|
+
<span class="normal"> </span><span class="comment">// before it could.</span>
|
1119
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="GTask.html#g-task-set-return-on-cancel">g_task_set_return_on_cancel</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> <a href="../glib-Standard-Macros.html#FALSE:CAPS">FALSE</a></span><span class="symbol">))</span>
|
1120
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
1121
|
+
<span class="normal"> </span><span class="comment">// If the caller cancels at this point, their</span>
|
1122
|
+
<span class="normal"> </span><span class="comment">// GAsyncReadyCallback won't be invoked until we return,</span>
|
1123
|
+
<span class="normal"> </span><span class="comment">// so we don't have to worry that this code will run at</span>
|
1124
|
+
<span class="normal"> </span><span class="comment">// the same time as that code does. But if there were</span>
|
1125
|
+
<span class="normal"> </span><span class="comment">// other functions that might look at the cake cache,</span>
|
1126
|
+
<span class="normal"> </span><span class="comment">// then we'd probably need a GMutex here as well.</span>
|
1127
|
+
<span class="normal"> </span><span class="function">baker_add_cake_to_cache</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">baker</span><span class="symbol">,</span><span class="normal"> cake</span><span class="symbol">);</span>
|
1128
|
+
<span class="normal"> </span><span class="function"><a href="GTask.html#g-task-return-pointer">g_task_return_pointer</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> cake</span><span class="symbol">,</span><span class="normal"> <a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="symbol">);</span>
|
1129
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
1130
|
+
<span class="cbracket">}</span>
|
1128
1131
|
|
1129
|
-
<span class="
|
1130
|
-
<span class="function">baker_bake_cake_async</span>
|
1131
|
-
guint radius
|
1132
|
-
CakeFlavor flavor
|
1133
|
-
CakeFrostingType frosting
|
1134
|
-
|
1135
|
-
GCancellable
|
1136
|
-
GAsyncReadyCallback callback
|
1137
|
-
gpointer user_data
|
1138
|
-
<span class="
|
1139
|
-
CakeData
|
1140
|
-
GTask
|
1132
|
+
<span class="type">void</span>
|
1133
|
+
<span class="function">baker_bake_cake_async</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">Baker</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">self</span><span class="symbol">,</span>
|
1134
|
+
<span class="normal"> </span><span class="usertype">guint</span><span class="normal"> radius</span><span class="symbol">,</span>
|
1135
|
+
<span class="normal"> </span><span class="usertype">CakeFlavor</span><span class="normal"> flavor</span><span class="symbol">,</span>
|
1136
|
+
<span class="normal"> </span><span class="usertype">CakeFrostingType</span><span class="normal"> frosting</span><span class="symbol">,</span>
|
1137
|
+
<span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">message</span><span class="symbol">,</span>
|
1138
|
+
<span class="normal"> </span><span class="usertype">GCancellable</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cancellable</span><span class="symbol">,</span>
|
1139
|
+
<span class="normal"> </span><span class="usertype">GAsyncReadyCallback</span><span class="normal"> callback</span><span class="symbol">,</span>
|
1140
|
+
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
|
1141
|
+
<span class="cbracket">{</span>
|
1142
|
+
<span class="normal"> </span><span class="usertype">CakeData</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cake_data</span><span class="symbol">;</span>
|
1143
|
+
<span class="normal"> </span><span class="usertype">GTask</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">task</span><span class="symbol">;</span>
|
1141
1144
|
|
1142
|
-
cake_data
|
1145
|
+
<span class="normal"> cake_data </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="../glib-Memory-Slices.html#g-slice-new">g_slice_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">CakeData</span><span class="symbol">);</span>
|
1143
1146
|
|
1144
|
-
|
1147
|
+
<span class="normal"> </span><span class="symbol">...</span>
|
1145
1148
|
|
1146
|
-
task
|
1147
|
-
|
1148
|
-
|
1149
|
-
|
1150
|
-
<span class="
|
1149
|
+
<span class="normal"> task </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GTask.html#g-task-new">g_task_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">self</span><span class="symbol">,</span><span class="normal"> cancellable</span><span class="symbol">,</span><span class="normal"> callback</span><span class="symbol">,</span><span class="normal"> user_data</span><span class="symbol">);</span>
|
1150
|
+
<span class="normal"> </span><span class="function"><a href="GTask.html#g-task-set-task-data">g_task_set_task_data</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> cake_data</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="../glib-Datasets.html#GDestroyNotify">GDestroyNotify</a></span><span class="symbol">)</span><span class="normal"> cake_data_free</span><span class="symbol">);</span>
|
1151
|
+
<span class="normal"> </span><span class="function"><a href="GTask.html#g-task-set-return-on-cancel">g_task_set_return_on_cancel</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> <a href="../glib-Standard-Macros.html#TRUE:CAPS">TRUE</a></span><span class="symbol">);</span>
|
1152
|
+
<span class="normal"> </span><span class="function"><a href="GTask.html#g-task-run-in-thread">g_task_run_in_thread</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> bake_cake_thread</span><span class="symbol">);</span>
|
1153
|
+
<span class="cbracket">}</span>
|
1151
1154
|
|
1152
|
-
|
1153
|
-
<span class="function">baker_bake_cake_sync</span>
|
1154
|
-
guint radius
|
1155
|
-
CakeFlavor flavor
|
1156
|
-
CakeFrostingType frosting
|
1157
|
-
|
1158
|
-
GCancellable
|
1159
|
-
GError
|
1160
|
-
<span class="
|
1161
|
-
CakeData
|
1162
|
-
GTask
|
1163
|
-
Cake
|
1155
|
+
<span class="normal">Cake </span><span class="symbol">*</span>
|
1156
|
+
<span class="function">baker_bake_cake_sync</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">Baker</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">self</span><span class="symbol">,</span>
|
1157
|
+
<span class="normal"> </span><span class="usertype">guint</span><span class="normal"> radius</span><span class="symbol">,</span>
|
1158
|
+
<span class="normal"> </span><span class="usertype">CakeFlavor</span><span class="normal"> flavor</span><span class="symbol">,</span>
|
1159
|
+
<span class="normal"> </span><span class="usertype">CakeFrostingType</span><span class="normal"> frosting</span><span class="symbol">,</span>
|
1160
|
+
<span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">message</span><span class="symbol">,</span>
|
1161
|
+
<span class="normal"> </span><span class="usertype">GCancellable</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cancellable</span><span class="symbol">,</span>
|
1162
|
+
<span class="normal"> </span><span class="usertype">GError</span><span class="normal"> </span><span class="symbol">**</span><span class="normal">error</span><span class="symbol">)</span>
|
1163
|
+
<span class="cbracket">{</span>
|
1164
|
+
<span class="normal"> </span><span class="usertype">CakeData</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cake_data</span><span class="symbol">;</span>
|
1165
|
+
<span class="normal"> </span><span class="usertype">GTask</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">task</span><span class="symbol">;</span>
|
1166
|
+
<span class="normal"> </span><span class="usertype">Cake</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cake</span><span class="symbol">;</span>
|
1164
1167
|
|
1165
|
-
cake_data
|
1168
|
+
<span class="normal"> cake_data </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="../glib-Memory-Slices.html#g-slice-new">g_slice_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">CakeData</span><span class="symbol">);</span>
|
1166
1169
|
|
1167
|
-
|
1170
|
+
<span class="normal"> </span><span class="symbol">...</span>
|
1168
1171
|
|
1169
|
-
task
|
1170
|
-
|
1171
|
-
|
1172
|
-
|
1172
|
+
<span class="normal"> task </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GTask.html#g-task-new">g_task_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">self</span><span class="symbol">,</span><span class="normal"> cancellable</span><span class="symbol">,</span><span class="normal"> <a href="../glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="../glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
1173
|
+
<span class="normal"> </span><span class="function"><a href="GTask.html#g-task-set-task-data">g_task_set_task_data</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> cake_data</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="../glib-Datasets.html#GDestroyNotify">GDestroyNotify</a></span><span class="symbol">)</span><span class="normal"> cake_data_free</span><span class="symbol">);</span>
|
1174
|
+
<span class="normal"> </span><span class="function"><a href="GTask.html#g-task-set-return-on-cancel">g_task_set_return_on_cancel</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> <a href="../glib-Standard-Macros.html#TRUE:CAPS">TRUE</a></span><span class="symbol">);</span>
|
1175
|
+
<span class="normal"> </span><span class="function"><a href="GTask.html#g-task-run-in-thread-sync">g_task_run_in_thread_sync</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> bake_cake_thread</span><span class="symbol">);</span>
|
1173
1176
|
|
1174
|
-
cake
|
1175
|
-
|
1176
|
-
|
1177
|
-
<span class="
|
1177
|
+
<span class="normal"> cake </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GTask.html#g-task-propagate-pointer">g_task_propagate_pointer</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> error</span><span class="symbol">);</span>
|
1178
|
+
<span class="normal"> </span><span class="function"><a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">);</span>
|
1179
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> cake</span><span class="symbol">;</span>
|
1180
|
+
<span class="cbracket">}</span></pre></td>
|
1178
1181
|
</tr>
|
1179
1182
|
</tbody>
|
1180
1183
|
</table>
|
@@ -1216,7 +1219,7 @@ in idle" distinction. (<a class="link" href="GTask.html" title="GTask"><span cla
|
|
1216
1219
|
whether the task's callback can be invoked directly, or
|
1217
1220
|
if it needs to be sent to another <a href="../glib-The-Main-Event-Loop.html#GMainContext"><span class="type">GMainContext</span></a>, or delayed
|
1218
1221
|
until the next iteration of the current <a href="../glib-The-Main-Event-Loop.html#GMainContext"><span class="type">GMainContext</span></a>.)</p></li>
|
1219
|
-
<li class="listitem"><p>The "finish" functions for <span class="type">GTask
|
1222
|
+
<li class="listitem"><p>The "finish" functions for <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> based operations are generally
|
1220
1223
|
much simpler than <a class="link" href="GSimpleAsyncResult.html" title="GSimpleAsyncResult"><span class="type">GSimpleAsyncResult</span></a> ones, normally consisting
|
1221
1224
|
of only a single call to <a class="link" href="GTask.html#g-task-propagate-pointer" title="g_task_propagate_pointer ()"><code class="function">g_task_propagate_pointer()</code></a> or the like.
|
1222
1225
|
Since <a class="link" href="GTask.html#g-task-propagate-pointer" title="g_task_propagate_pointer ()"><code class="function">g_task_propagate_pointer()</code></a> "steals" the return value from
|
@@ -1278,23 +1281,23 @@ do not want this behavior, you can use
|
|
1278
1281
|
<tbody>
|
1279
1282
|
<tr>
|
1280
1283
|
<td class="parameter_name"><p>source_object</p></td>
|
1281
|
-
<td class="parameter_description"><p>
|
1284
|
+
<td class="parameter_description"><p>the <a href="../gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> that owns
|
1282
1285
|
this task, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1283
1286
|
<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>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GObject]</span></td>
|
1284
1287
|
</tr>
|
1285
1288
|
<tr>
|
1286
1289
|
<td class="parameter_name"><p>cancellable</p></td>
|
1287
|
-
<td class="parameter_description"><p>
|
1290
|
+
<td class="parameter_description"><p>optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. </p></td>
|
1288
1291
|
<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>
|
1289
1292
|
</tr>
|
1290
1293
|
<tr>
|
1291
1294
|
<td class="parameter_name"><p>callback</p></td>
|
1292
|
-
<td class="parameter_description"><p>
|
1295
|
+
<td class="parameter_description"><p>a <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a>. </p></td>
|
1293
1296
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid until first called."><span class="acronym">scope async</span></acronym>]</span></td>
|
1294
1297
|
</tr>
|
1295
1298
|
<tr>
|
1296
1299
|
<td class="parameter_name"><p>callback_data</p></td>
|
1297
|
-
<td class="parameter_description"><p>
|
1300
|
+
<td class="parameter_description"><p>user data passed to <em class="parameter"><code>callback</code></em>
|
1298
1301
|
. </p></td>
|
1299
1302
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span></td>
|
1300
1303
|
</tr>
|
@@ -1332,12 +1335,12 @@ g_task_set_task_data (<em class="parameter"><code><a class="link" href="GTask.ht
|
|
1332
1335
|
</tr>
|
1333
1336
|
<tr>
|
1334
1337
|
<td class="parameter_name"><p>task_data</p></td>
|
1335
|
-
<td class="parameter_description"><p>
|
1338
|
+
<td class="parameter_description"><p>task-specific data. </p></td>
|
1336
1339
|
<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>
|
1337
1340
|
</tr>
|
1338
1341
|
<tr>
|
1339
1342
|
<td class="parameter_name"><p>task_data_destroy</p></td>
|
1340
|
-
<td class="parameter_description"><p
|
1343
|
+
<td class="parameter_description"><p><a href="../glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> for <em class="parameter"><code>task_data</code></em>
|
1341
1344
|
. </p></td>
|
1342
1345
|
<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>
|
1343
1346
|
</tr>
|
@@ -1560,18 +1563,18 @@ wrapper method, and deal with it appropriately if so.</p>
|
|
1560
1563
|
<tbody>
|
1561
1564
|
<tr>
|
1562
1565
|
<td class="parameter_name"><p>source_object</p></td>
|
1563
|
-
<td class="parameter_description"><p>
|
1566
|
+
<td class="parameter_description"><p>the <a href="../gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> that owns
|
1564
1567
|
this task, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1565
1568
|
<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>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GObject]</span></td>
|
1566
1569
|
</tr>
|
1567
1570
|
<tr>
|
1568
1571
|
<td class="parameter_name"><p>callback</p></td>
|
1569
|
-
<td class="parameter_description"><p>
|
1572
|
+
<td class="parameter_description"><p>a <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a>. </p></td>
|
1570
1573
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid until first called."><span class="acronym">scope async</span></acronym>]</span></td>
|
1571
1574
|
</tr>
|
1572
1575
|
<tr>
|
1573
1576
|
<td class="parameter_name"><p>callback_data</p></td>
|
1574
|
-
<td class="parameter_description"><p>
|
1577
|
+
<td class="parameter_description"><p>user data passed to <em class="parameter"><code>callback</code></em>
|
1575
1578
|
. </p></td>
|
1576
1579
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span></td>
|
1577
1580
|
</tr>
|
@@ -1582,7 +1585,7 @@ this task, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="lite
|
|
1582
1585
|
</tr>
|
1583
1586
|
<tr>
|
1584
1587
|
<td class="parameter_name"><p>error</p></td>
|
1585
|
-
<td class="parameter_description"><p>
|
1588
|
+
<td class="parameter_description"><p>error to report. </p></td>
|
1586
1589
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
|
1587
1590
|
</tr>
|
1588
1591
|
</tbody>
|
@@ -1621,18 +1624,18 @@ appropriately if so.</p>
|
|
1621
1624
|
<tbody>
|
1622
1625
|
<tr>
|
1623
1626
|
<td class="parameter_name"><p>source_object</p></td>
|
1624
|
-
<td class="parameter_description"><p>
|
1627
|
+
<td class="parameter_description"><p>the <a href="../gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> that owns
|
1625
1628
|
this task, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1626
1629
|
<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>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GObject]</span></td>
|
1627
1630
|
</tr>
|
1628
1631
|
<tr>
|
1629
1632
|
<td class="parameter_name"><p>callback</p></td>
|
1630
|
-
<td class="parameter_description"><p>
|
1633
|
+
<td class="parameter_description"><p>a <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a>. </p></td>
|
1631
1634
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid until first called."><span class="acronym">scope async</span></acronym>]</span></td>
|
1632
1635
|
</tr>
|
1633
1636
|
<tr>
|
1634
1637
|
<td class="parameter_name"><p>callback_data</p></td>
|
1635
|
-
<td class="parameter_description"><p>
|
1638
|
+
<td class="parameter_description"><p>user data passed to <em class="parameter"><code>callback</code></em>
|
1636
1639
|
. </p></td>
|
1637
1640
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span></td>
|
1638
1641
|
</tr>
|
@@ -1691,7 +1694,7 @@ g_task_get_task_data (<em class="parameter"><code><a class="link" href="GTask.ht
|
|
1691
1694
|
</div>
|
1692
1695
|
<div class="refsect3">
|
1693
1696
|
<a name="g-task-get-task-data.returns"></a><h4>Returns</h4>
|
1694
|
-
<p
|
1697
|
+
<p><em class="parameter"><code>task</code></em>
|
1695
1698
|
's <code class="literal">task_data</code>. </p>
|
1696
1699
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
1697
1700
|
</div>
|
@@ -1750,7 +1753,7 @@ g_task_get_cancellable (<em class="parameter"><code><a class="link" href="GTask.
|
|
1750
1753
|
</div>
|
1751
1754
|
<div class="refsect3">
|
1752
1755
|
<a name="g-task-get-cancellable.returns"></a><h4>Returns</h4>
|
1753
|
-
<p
|
1756
|
+
<p><em class="parameter"><code>task</code></em>
|
1754
1757
|
's <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a>. </p>
|
1755
1758
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
1756
1759
|
</div>
|
@@ -1836,7 +1839,7 @@ context is the default <a href="../glib-The-Main-Event-Loop.html#GMainContext"><
|
|
1836
1839
|
</div>
|
1837
1840
|
<div class="refsect3">
|
1838
1841
|
<a name="g-task-get-context.returns"></a><h4>Returns</h4>
|
1839
|
-
<p
|
1842
|
+
<p><em class="parameter"><code>task</code></em>
|
1840
1843
|
's <a href="../glib-The-Main-Event-Loop.html#GMainContext"><span class="type">GMainContext</span></a>. </p>
|
1841
1844
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
1842
1845
|
</div>
|
@@ -1867,9 +1870,9 @@ g_task_get_source_object (<em class="parameter"><code><a class="link" href="GTas
|
|
1867
1870
|
</div>
|
1868
1871
|
<div class="refsect3">
|
1869
1872
|
<a name="g-task-get-source-object.returns"></a><h4>Returns</h4>
|
1870
|
-
<p
|
1873
|
+
<p><em class="parameter"><code>task</code></em>
|
1871
1874
|
's source object, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
1872
|
-
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GObject]</span></p>
|
1875
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</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>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GObject]</span></p>
|
1873
1876
|
</div>
|
1874
1877
|
<p class="since">Since: <a class="link" href="api-index-2-36.html#api-index-2.36">2.36</a></p>
|
1875
1878
|
</div>
|
@@ -1897,7 +1900,7 @@ g_task_get_source_tag (<em class="parameter"><code><a class="link" href="GTask.h
|
|
1897
1900
|
</div>
|
1898
1901
|
<div class="refsect3">
|
1899
1902
|
<a name="g-task-get-source-tag.returns"></a><h4>Returns</h4>
|
1900
|
-
<p
|
1903
|
+
<p><em class="parameter"><code>task</code></em>
|
1901
1904
|
's source tag. </p>
|
1902
1905
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
1903
1906
|
</div>
|
@@ -2019,13 +2022,13 @@ reference on it.</p>
|
|
2019
2022
|
</tr>
|
2020
2023
|
<tr>
|
2021
2024
|
<td class="parameter_name"><p>result</p></td>
|
2022
|
-
<td class="parameter_description"><p>
|
2025
|
+
<td class="parameter_description"><p>the pointer result of a task
|
2023
2026
|
function. </p></td>
|
2024
2027
|
<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>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
|
2025
2028
|
</tr>
|
2026
2029
|
<tr>
|
2027
2030
|
<td class="parameter_name"><p>result_destroy</p></td>
|
2028
|
-
<td class="parameter_description"><p>
|
2031
|
+
<td class="parameter_description"><p>a <a href="../glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> function. </p></td>
|
2029
2032
|
<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>
|
2030
2033
|
</tr>
|
2031
2034
|
</tbody>
|
@@ -2069,7 +2072,7 @@ as well.</p>
|
|
2069
2072
|
</tr>
|
2070
2073
|
<tr>
|
2071
2074
|
<td class="parameter_name"><p>error</p></td>
|
2072
|
-
<td class="parameter_description"><p>
|
2075
|
+
<td class="parameter_description"><p>the <a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> result of a task function. </p></td>
|
2073
2076
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
|
2074
2077
|
</tr>
|
2075
2078
|
</tbody>
|
@@ -2288,7 +2291,7 @@ error) to the caller, you may only call it once.</p>
|
|
2288
2291
|
</div>
|
2289
2292
|
<div class="refsect3">
|
2290
2293
|
<a name="g-task-propagate-pointer.returns"></a><h4>Returns</h4>
|
2291
|
-
<p>
|
2294
|
+
<p>the task result, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error. </p>
|
2292
2295
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
2293
2296
|
</div>
|
2294
2297
|
<p class="since">Since: <a class="link" href="api-index-2-36.html#api-index-2.36">2.36</a></p>
|
@@ -2482,7 +2485,7 @@ externally-visible state in this case. See
|
|
2482
2485
|
</tr>
|
2483
2486
|
<tr>
|
2484
2487
|
<td class="parameter_name"><p>source_object</p></td>
|
2485
|
-
<td class="parameter_description"><p
|
2488
|
+
<td class="parameter_description"><p><em class="parameter"><code>task</code></em>
|
2486
2489
|
's source object. </p></td>
|
2487
2490
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GObject]</span></td>
|
2488
2491
|
</tr>
|
@@ -2577,12 +2580,12 @@ source object). This can be used in <a href="../glib-Warnings-and-Assertions.htm
|
|
2577
2580
|
<tbody>
|
2578
2581
|
<tr>
|
2579
2582
|
<td class="parameter_name"><p>result</p></td>
|
2580
|
-
<td class="parameter_description"><p>
|
2583
|
+
<td class="parameter_description"><p>A <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a>. </p></td>
|
2581
2584
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> Gio.AsyncResult]</span></td>
|
2582
2585
|
</tr>
|
2583
2586
|
<tr>
|
2584
2587
|
<td class="parameter_name"><p>source_object</p></td>
|
2585
|
-
<td class="parameter_description"><p>
|
2588
|
+
<td class="parameter_description"><p>the source object
|
2586
2589
|
expected to be associated with the task. </p></td>
|
2587
2590
|
<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>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GObject]</span></td>
|
2588
2591
|
</tr>
|
@@ -2631,6 +2634,6 @@ context as the task’s callback, immediately after that callback is invoked.</p
|
|
2631
2634
|
</div>
|
2632
2635
|
</div>
|
2633
2636
|
<div class="footer">
|
2634
|
-
<hr>Generated by GTK-Doc V1.
|
2637
|
+
<hr>Generated by GTK-Doc V1.27</div>
|
2635
2638
|
</body>
|
2636
2639
|
</html>
|