glib2 1.1.9-x86-mingw32 → 1.2.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +26 -4
- data/ext/glib2/glib2.def +3 -1
- data/ext/glib2/rbgcompat.h +0 -15
- data/ext/glib2/rbglib.h +11 -3
- data/ext/glib2/rbglib_source.c +6 -1
- data/ext/glib2/rbgobj_boxed.c +65 -48
- data/ext/glib2/rbgobj_convert.c +29 -14
- data/ext/glib2/rbgobj_value.c +42 -0
- data/ext/glib2/rbgobject.c +7 -4
- data/ext/glib2/rbgobject.h +15 -9
- data/lib/1.8/glib2.so +0 -0
- data/lib/1.9/glib2.so +0 -0
- data/lib/gnome2-raketask.rb +6 -1
- data/lib/gnome2-win32-binary-build-task.rb +40 -10
- data/vendor/local/bin/certtool.exe +0 -0
- data/vendor/local/bin/danetool.exe +0 -0
- data/vendor/local/bin/gdbus-codegen +1 -1
- data/vendor/local/bin/gdbus.exe +0 -0
- data/vendor/local/bin/gio-querymodules.exe +0 -0
- data/vendor/local/bin/glib-compile-resources.exe +0 -0
- data/vendor/local/bin/glib-compile-schemas.exe +0 -0
- data/vendor/local/bin/glib-genmarshal.exe +0 -0
- data/vendor/local/bin/glib-gettextize +1 -1
- data/vendor/local/bin/glib-mkenums +1 -1
- data/vendor/local/bin/gnutls-cli-debug.exe +0 -0
- data/vendor/local/bin/gnutls-cli.exe +0 -0
- data/vendor/local/bin/gnutls-serv.exe +0 -0
- 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/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-28.dll +0 -0
- data/vendor/local/bin/libgnutls-openssl-27.dll +0 -0
- data/vendor/local/bin/libgnutls-openssl-28.def +87 -93
- data/vendor/local/bin/libgnutlsxx-28.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-2-2.dll +0 -0
- data/vendor/local/bin/libnettle-4-4.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/ocsptool.exe +0 -0
- data/vendor/local/bin/pkcs1-conv.exe +0 -0
- data/vendor/local/bin/psktool.exe +0 -0
- data/vendor/local/bin/sexp-conv.exe +0 -0
- data/vendor/local/bin/srptool.exe +0 -0
- data/vendor/local/{lib/libffi-3.0.6/include → include}/ffi.h +0 -0
- data/vendor/local/{lib/libffi-3.0.6/include → include}/ffitarget.h +0 -0
- data/vendor/local/include/glib-2.0/gio/gactionmap.h +0 -4
- data/vendor/local/include/glib-2.0/gio/gappinfo.h +1 -3
- data/vendor/local/include/glib-2.0/gio/gapplication.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gapplicationcommandline.h +0 -4
- data/vendor/local/include/glib-2.0/gio/gcontenttype.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gdbusnamewatching.h +1 -6
- data/vendor/local/include/glib-2.0/gio/gfile.h +0 -3
- data/vendor/local/include/glib-2.0/gio/gfileenumerator.h +0 -3
- data/vendor/local/include/glib-2.0/gio/gfileinfo.h +0 -2
- data/vendor/local/include/glib-2.0/gio/ginetaddressmask.h +0 -6
- data/vendor/local/include/glib-2.0/gio/gio.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gioenums.h +1 -3
- data/vendor/local/include/glib-2.0/gio/giomodule.h +0 -5
- data/vendor/local/include/glib-2.0/gio/gioscheduler.h +0 -4
- data/vendor/local/include/glib-2.0/gio/giotypes.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gmemoryoutputstream.h +0 -2
- data/vendor/local/include/glib-2.0/gio/gmenu.h +0 -27
- data/vendor/local/include/glib-2.0/gio/gmenumodel.h +0 -19
- data/vendor/local/include/glib-2.0/gio/gresource.h +0 -2
- data/vendor/local/include/glib-2.0/gio/gsettingsschema.h +0 -4
- data/vendor/local/include/glib-2.0/gio/gsimpleaction.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gsimpleactiongroup.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gsocket.h +0 -13
- data/vendor/local/include/glib-2.0/glib/deprecated/gthread.h +0 -1
- data/vendor/local/include/glib-2.0/glib/gchecksum.h +1 -3
- data/vendor/local/include/glib-2.0/glib/gconvert.h +9 -24
- data/vendor/local/include/glib-2.0/glib/gdir.h +8 -10
- data/vendor/local/include/glib-2.0/glib/genviron.h +8 -12
- data/vendor/local/include/glib-2.0/glib/gfileutils.h +15 -20
- data/vendor/local/include/glib-2.0/glib/giochannel.h +4 -14
- data/vendor/local/include/glib-2.0/glib/gslice.h +0 -4
- data/vendor/local/include/glib-2.0/glib/gspawn.h +10 -46
- data/vendor/local/include/glib-2.0/glib/gtestutils.h +0 -1
- data/vendor/local/include/glib-2.0/glib/gunicode.h +5 -5
- data/vendor/local/include/glib-2.0/glib/gutils.h +14 -14
- data/vendor/local/include/glib-2.0/glib/gvariant.h +0 -8
- data/vendor/local/include/glib-2.0/glib/gversionmacros.h +0 -24
- data/vendor/local/include/glib-2.0/glib/gwin32.h +7 -14
- data/vendor/local/include/glib-2.0/gmodule.h +7 -11
- data/vendor/local/include/glib-2.0/gobject/glib-types.h +0 -33
- data/vendor/local/include/glib-2.0/gobject/gobject.h +7 -7
- data/vendor/local/include/glib-2.0/gobject/gtype.h +7 -13
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/__init__.py +0 -0
- data/vendor/local/lib/gdbus-2.0/codegen/__init__.pyc +0 -0
- data/vendor/local/lib/gdbus-2.0/codegen/__init__.pyo +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen.py +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen.pyc +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen.pyo +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen_docbook.py +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen_docbook.pyc +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen_docbook.pyo +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen_main.py +0 -2
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen_main.pyc +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen_main.pyo +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/config.py +1 -1
- data/vendor/local/lib/gdbus-2.0/codegen/config.pyc +0 -0
- data/vendor/local/lib/gdbus-2.0/codegen/config.pyo +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/dbustypes.py +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/dbustypes.pyc +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/dbustypes.pyo +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/parser.py +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/parser.pyc +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/parser.pyo +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/utils.py +0 -0
- data/vendor/local/lib/gdbus-2.0/codegen/utils.pyc +0 -0
- data/vendor/local/lib/gdbus-2.0/codegen/utils.pyo +0 -0
- data/vendor/local/lib/gio-2.0.def +2 -41
- data/vendor/local/lib/gio/modules/libgiognutls.a +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.dll +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.dll.a +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.la +1 -1
- data/vendor/local/lib/glib-2.0.def +0 -2
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +1 -1
- data/vendor/local/lib/gobject-2.0.def +0 -4
- data/vendor/local/lib/libgio-2.0.dll.a +0 -0
- data/vendor/local/lib/libgio-2.0.la +4 -4
- data/vendor/local/lib/libglib-2.0.dll.a +0 -0
- data/vendor/local/lib/libglib-2.0.la +3 -3
- data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
- data/vendor/local/lib/libgmodule-2.0.la +3 -3
- data/vendor/local/lib/libgmp.dll.a +0 -0
- data/vendor/local/lib/libgnutls-openssl.a +0 -0
- data/vendor/local/lib/libgnutls-openssl.dll.a +0 -0
- data/vendor/local/lib/libgnutls.a +0 -0
- data/vendor/local/lib/libgnutls.dll.a +0 -0
- data/vendor/local/lib/libgnutlsxx.a +0 -0
- data/vendor/local/lib/libgnutlsxx.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.la +4 -4
- data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
- data/vendor/local/lib/libgthread-2.0.la +3 -3
- data/vendor/local/lib/libhogweed.a +0 -0
- data/vendor/local/lib/libhogweed.dll.a +0 -0
- data/vendor/local/lib/libnettle.a +0 -0
- data/vendor/local/lib/libnettle.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gio-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/glib-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-export-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gobject-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gthread-2.0.pc +1 -1
- data/vendor/local/share/gdb/auto-load/{libglib-2.0.so.0.3503.0-gdb.py → libglib-2.0.so.0.3400.3-gdb.py} +0 -0
- data/vendor/local/share/gdb/auto-load/{libgobject-2.0.so.0.3503.0-gdb.py → libgobject-2.0.so.0.3400.3-gdb.py} +0 -0
- data/vendor/local/share/glib-2.0/gdb/glib.py +4 -0
- data/vendor/local/share/glib-2.0/gettext/mkinstalldirs +2 -2
- data/vendor/local/share/glib-2.0/gettext/po/Makefile.in.in +17 -5
- data/vendor/local/share/gtk-doc/html/gio/GActionMap.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +1 -27
- data/vendor/local/share/gtk-doc/html/gio/GApplication.html +15 -8
- data/vendor/local/share/gtk-doc/html/gio/GApplicationCommandLine.html +6 -47
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +37 -21
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +4 -16
- data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +32 -16
- data/vendor/local/share/gtk-doc/html/gio/GDBusInterfaceSkeleton.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerClient.html +2 -4
- data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +10 -6
- data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +7 -3
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +17 -65
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +2 -59
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +1 -29
- data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +0 -13
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GSettings.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAction.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +4 -12
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +1 -137
- data/vendor/local/share/gtk-doc/html/gio/GTestDBus.html +2 -3
- data/vendor/local/share/gtk-doc/html/gio/GTlsConnection.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +0 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +0 -19
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +0 -180
- data/vendor/local/share/gtk-doc/html/gio/async.html +0 -3
- data/vendor/local/share/gtk-doc/html/gio/ch01.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch02.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch03.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch29.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch30.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/ch30s02.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch30s03.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch31.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch31s02.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch31s03.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch31s04.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch31s05.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch31s06.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch31s07.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch32.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch32s02.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch32s03.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch32s04.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch32s05.html +17 -9
- data/vendor/local/share/gtk-doc/html/gio/gdbus-codegen.html +11 -11
- data/vendor/local/share/gtk-doc/html/gio/gdbus-org.gtk.GDBus.Example.ObjectManager.Animal.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gdbus.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +0 -109
- data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +1 -7
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +12 -29
- data/vendor/local/share/gtk-doc/html/gio/gio-GResource.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +7 -3
- data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +8 -10
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +0 -1
- data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +11 -64
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-resources.html +3 -15
- 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 +2 -2
- data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/index.html +4 -10
- data/vendor/local/share/gtk-doc/html/gio/index.sgml +0 -59
- data/vendor/local/share/gtk-doc/html/gio/migrating.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/networking.html +0 -3
- data/vendor/local/share/gtk-doc/html/gio/pt01.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +1 -7
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-34.html +0 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +1 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +4 -13
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Deprecated-Thread-APIs.html +11 -7
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +10 -86
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +46 -5
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +7 -11
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +34 -27
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +2 -23
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +14 -14
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +6 -6
- data/vendor/local/share/gtk-doc/html/glib/glib-UNIX-specific-utilities-and-integration.html +7 -13
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +5 -9
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +4 -28
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-building.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-programming.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +45 -45
- data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +6 -6
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +25 -32
- data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/gtester.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +12 -12
- data/vendor/local/share/gtk-doc/html/glib/gvariant-text.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/index.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/index.sgml +0 -7
- data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +0 -12
- data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +0 -12
- data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +0 -22
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +5 -1
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +32 -6
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +24 -51
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +8 -11
- data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/index.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/index.sgml +0 -3
- data/vendor/local/share/gtk-doc/html/gobject/pr01.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/pt01.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/pt02.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/pt03.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/rn01.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/rn02.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +4 -4
- data/vendor/local/share/locale/as/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/da/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/gl/LC_MESSAGES/glib20.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/kn/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/nb/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/or/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/sk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/man/man1/gdbus-codegen.1 +1 -1
- data/vendor/local/share/man/man1/gdbus.1 +1 -1
- data/vendor/local/share/man/man1/gio-querymodules.1 +1 -1
- data/vendor/local/share/man/man1/glib-compile-resources.1 +1 -13
- data/vendor/local/share/man/man1/glib-compile-schemas.1 +1 -1
- data/vendor/local/share/man/man1/glib-genmarshal.1 +1 -1
- data/vendor/local/share/man/man1/glib-gettextize.1 +1 -1
- data/vendor/local/share/man/man1/glib-mkenums.1 +1 -1
- data/vendor/local/share/man/man1/gobject-query.1 +1 -1
- data/vendor/local/share/man/man1/gresource.1 +1 -1
- data/vendor/local/share/man/man1/gsettings.1 +1 -1
- data/vendor/local/share/man/man1/gtester-report.1 +1 -1
- data/vendor/local/share/man/man1/gtester.1 +1 -1
- metadata +33 -197
- data/ext/glib2/rbgobj_fundamental.c +0 -43
- 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/dumpsexp.exe +0 -0
- data/vendor/local/bin/gpg-error.exe +0 -0
- data/vendor/local/bin/hmac256.exe +0 -0
- data/vendor/local/bin/libgcrypt-11.dll +0 -0
- data/vendor/local/bin/libgcrypt-config +0 -177
- data/vendor/local/bin/libgnutls-26.dll +0 -0
- data/vendor/local/bin/libgnutls-extra-26.dll +0 -0
- data/vendor/local/bin/libgnutls-openssl-26.dll +0 -0
- data/vendor/local/bin/libgpg-error-0.dll +0 -0
- data/vendor/local/bin/libtasn1-3.dll +0 -0
- data/vendor/local/etc/bash_completion.d/gdbus-bash-completion.sh +0 -33
- data/vendor/local/etc/bash_completion.d/gsettings-bash-completion.sh +0 -67
- data/vendor/local/gnutls.README.txt +0 -6
- data/vendor/local/include/gcrypt-module.h +0 -226
- data/vendor/local/include/gcrypt.h +0 -1826
- data/vendor/local/include/glib-2.0/gio/gnetworking.h +0 -83
- data/vendor/local/include/glib-2.0/gio/gtask.h +0 -160
- data/vendor/local/include/glib-2.0/glib/gcache.h +0 -69
- data/vendor/local/include/glib-2.0/glib/gcompletion.h +0 -81
- data/vendor/local/include/glib-2.0/glib/grel.h +0 -101
- data/vendor/local/include/gnutls/extra.h +0 -137
- data/vendor/local/include/gpg-error.h +0 -651
- data/vendor/local/include/libtasn1.h +0 -246
- data/vendor/local/lib/gio-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0.lib +0 -0
- data/vendor/local/lib/gmodule-2.0.lib +0 -0
- data/vendor/local/lib/gobject-2.0.lib +0 -0
- data/vendor/local/lib/gthread-2.0.lib +0 -0
- data/vendor/local/lib/libgcrypt.def +0 -237
- data/vendor/local/lib/libgcrypt.dll.a +0 -0
- data/vendor/local/lib/libgnutls-extra.dll.a +0 -0
- data/vendor/local/lib/libgpg-error.dll.a +0 -0
- data/vendor/local/lib/libtasn1.dll.a +0 -0
- data/vendor/local/manifest/glib-dev_2.28.8-1_win32.mft +0 -619
- data/vendor/local/manifest/glib_2.28.8-1_win32.mft +0 -103
- data/vendor/local/manifest/gnutls-dev_2.4.2-1_win32.mft +0 -593
- data/vendor/local/manifest/gnutls_2.4.2-1_win32.mft +0 -8
- data/vendor/local/share/aclocal/gpg-error.m4 +0 -65
- data/vendor/local/share/aclocal/libgcrypt.m4 +0 -108
- data/vendor/local/share/aclocal/libgnutls-extra.m4 +0 -161
- data/vendor/local/share/aclocal/libgnutls.m4 +0 -160
- data/vendor/local/share/aclocal/libtasn1.m4 +0 -160
- data/vendor/local/share/common-lisp/source/gpg-error/gpg-error-codes.lisp +0 -417
- data/vendor/local/share/common-lisp/source/gpg-error/gpg-error-package.lisp +0 -64
- data/vendor/local/share/common-lisp/source/gpg-error/gpg-error.asd +0 -36
- data/vendor/local/share/common-lisp/source/gpg-error/gpg-error.lisp +0 -236
- data/vendor/local/share/doc/glib-2.28.8/COPYING +0 -482
- data/vendor/local/share/doc/glib-dev-2.28.8/COPYING +0 -482
- 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/config.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/config.pyo +0 -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/gtk-doc/html/gio/GDBusError.html +0 -879
- data/vendor/local/share/gtk-doc/html/gio/GTask.html +0 -2296
- data/vendor/local/share/gtk-doc/html/gio/ch26.html +0 -75
- data/vendor/local/share/gtk-doc/html/gio/ch27.html +0 -217
- data/vendor/local/share/gtk-doc/html/gio/ch27s02.html +0 -41
- data/vendor/local/share/gtk-doc/html/gio/ch27s03.html +0 -39
- data/vendor/local/share/gtk-doc/html/gio/ch28.html +0 -57
- data/vendor/local/share/gtk-doc/html/gio/ch28s02.html +0 -59
- data/vendor/local/share/gtk-doc/html/gio/ch28s03.html +0 -159
- data/vendor/local/share/gtk-doc/html/gio/ch28s04.html +0 -46
- data/vendor/local/share/gtk-doc/html/gio/ch28s05.html +0 -48
- data/vendor/local/share/gtk-doc/html/gio/ch28s06.html +0 -279
- data/vendor/local/share/gtk-doc/html/gio/ch28s07.html +0 -160
- data/vendor/local/share/gtk-doc/html/gio/ch29s02.html +0 -130
- data/vendor/local/share/gtk-doc/html/gio/ch29s03.html +0 -202
- data/vendor/local/share/gtk-doc/html/gio/ch29s04.html +0 -96
- data/vendor/local/share/gtk-doc/html/gio/ch29s05.html +0 -823
- data/vendor/local/share/gtk-doc/html/gio/ch29s06.html +0 -828
- data/vendor/local/share/gtk-doc/html/gio/gio-gnetworking.h.html +0 -91
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp +0 -1956
- data/vendor/local/share/gtk-doc/html/glib/glib-Limits-of-Basic-Types.html +0 -389
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocators.html +0 -137
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Chunks.html +0 -679
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp +0 -2218
- data/vendor/local/share/gtk-doc/html/gobject/ch06s03.html +0 -113
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp +0 -766
- data/vendor/local/share/info/gcrypt.info +0 -6243
- data/vendor/local/share/info/gnutls-certificate-user-use-case.png +0 -0
- data/vendor/local/share/info/gnutls-extensions_st.png +0 -0
- data/vendor/local/share/info/gnutls-mod_auth_st.png +0 -0
- data/vendor/local/share/info/gnutls-objects.png +0 -0
- data/vendor/local/share/info/libtasn1.info +0 -2993
- data/vendor/local/share/man/man1/asn1Coding.1 +0 -46
- data/vendor/local/share/man/man1/asn1Decoding.1 +0 -41
- data/vendor/local/share/man/man1/asn1Parser.1 +0 -49
- data/vendor/local/share/man/man3/asn1_array2tree.3 +0 -47
- data/vendor/local/share/man/man3/asn1_bit_der.3 +0 -39
- data/vendor/local/share/man/man3/asn1_check_version.3 +0 -39
- data/vendor/local/share/man/man3/asn1_copy_node.3 +0 -39
- data/vendor/local/share/man/man3/asn1_create_element.3 +0 -45
- data/vendor/local/share/man/man3/asn1_delete_element.3 +0 -39
- data/vendor/local/share/man/man3/asn1_delete_structure.3 +0 -37
- data/vendor/local/share/man/man3/asn1_der_coding.3 +0 -52
- data/vendor/local/share/man/man3/asn1_der_decoding.3 +0 -50
- data/vendor/local/share/man/man3/asn1_der_decoding_element.3 +0 -54
- data/vendor/local/share/man/man3/asn1_der_decoding_startEnd.3 +0 -58
- data/vendor/local/share/man/man3/asn1_expand_any_defined_by.3 +0 -45
- data/vendor/local/share/man/man3/asn1_expand_octet_string.3 +0 -51
- data/vendor/local/share/man/man3/asn1_find_node.3 +0 -38
- data/vendor/local/share/man/man3/asn1_find_structure_from_oid.3 +0 -37
- data/vendor/local/share/man/man3/asn1_get_bit_der.3 +0 -43
- data/vendor/local/share/man/man3/asn1_get_length_der.3 +0 -38
- data/vendor/local/share/man/man3/asn1_get_octet_der.3 +0 -43
- data/vendor/local/share/man/man3/asn1_get_tag_der.3 +0 -41
- data/vendor/local/share/man/man3/asn1_length_der.3 +0 -36
- data/vendor/local/share/man/man3/asn1_number_of_elements.3 +0 -43
- data/vendor/local/share/man/man3/asn1_octet_der.3 +0 -37
- data/vendor/local/share/man/man3/asn1_parser2array.3 +0 -58
- data/vendor/local/share/man/man3/asn1_parser2tree.3 +0 -55
- data/vendor/local/share/man/man3/asn1_print_structure.3 +0 -40
- data/vendor/local/share/man/man3/asn1_read_tag.3 +0 -46
- data/vendor/local/share/man/man3/asn1_read_value.3 +0 -92
- data/vendor/local/share/man/man3/asn1_write_value.3 +0 -136
- data/vendor/local/share/man/man3/gnutls_certificate_client_set_retrieve_function.3 +0 -58
- data/vendor/local/share/man/man3/gnutls_certificate_get_openpgp_keyring.3 +0 -37
- data/vendor/local/share/man/man3/gnutls_certificate_get_x509_cas.3 +0 -40
- data/vendor/local/share/man/man3/gnutls_certificate_get_x509_crls.3 +0 -40
- data/vendor/local/share/man/man3/gnutls_certificate_server_set_retrieve_function.3 +0 -47
- data/vendor/local/share/man/man3/gnutls_certificate_verify_peers.3 +0 -44
- data/vendor/local/share/man/man3/gnutls_crypto_cipher_register.3 +0 -45
- data/vendor/local/share/man/man3/gnutls_crypto_digest_register.3 +0 -45
- data/vendor/local/share/man/man3/gnutls_crypto_mac_register.3 +0 -45
- data/vendor/local/share/man/man3/gnutls_crypto_rnd_register.3 +0 -43
- data/vendor/local/share/man/man3/gnutls_extra_check_version.3 +0 -36
- data/vendor/local/share/man/man3/gnutls_free.3 +0 -34
- data/vendor/local/share/man/man3/gnutls_global_init_extra.3 +0 -38
- data/vendor/local/share/man/man3/gnutls_ia_allocate_client_credentials.3 +0 -42
- data/vendor/local/share/man/man3/gnutls_ia_allocate_server_credentials.3 +0 -42
- data/vendor/local/share/man/man3/gnutls_ia_enable.3 +0 -53
- data/vendor/local/share/man/man3/gnutls_ia_endphase_send.3 +0 -43
- data/vendor/local/share/man/man3/gnutls_ia_extract_inner_secret.3 +0 -44
- data/vendor/local/share/man/man3/gnutls_ia_free_client_credentials.3 +0 -34
- data/vendor/local/share/man/man3/gnutls_ia_free_server_credentials.3 +0 -34
- data/vendor/local/share/man/man3/gnutls_ia_generate_challenge.3 +0 -40
- data/vendor/local/share/man/man3/gnutls_ia_get_client_avp_ptr.3 +0 -36
- data/vendor/local/share/man/man3/gnutls_ia_get_server_avp_ptr.3 +0 -36
- data/vendor/local/share/man/man3/gnutls_ia_handshake.3 +0 -36
- data/vendor/local/share/man/man3/gnutls_ia_handshake_p.3 +0 -37
- data/vendor/local/share/man/man3/gnutls_ia_permute_inner_secret.3 +0 -43
- data/vendor/local/share/man/man3/gnutls_ia_recv.3 +0 -57
- data/vendor/local/share/man/man3/gnutls_ia_send.3 +0 -56
- data/vendor/local/share/man/man3/gnutls_ia_set_client_avp_function.3 +0 -61
- data/vendor/local/share/man/man3/gnutls_ia_set_client_avp_ptr.3 +0 -36
- data/vendor/local/share/man/man3/gnutls_ia_set_server_avp_function.3 +0 -68
- data/vendor/local/share/man/man3/gnutls_ia_set_server_avp_ptr.3 +0 -36
- data/vendor/local/share/man/man3/gnutls_ia_verify_endphase.3 +0 -45
- data/vendor/local/share/man/man3/gnutls_malloc.3 +0 -37
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_expiration_time.3 +0 -40
- data/vendor/local/share/man/man3/gnutls_oprfi_enable_client.3 +0 -42
- data/vendor/local/share/man/man3/gnutls_oprfi_enable_server.3 +0 -49
- data/vendor/local/share/man/man3/gnutls_psk_netconf_derive_key.3 +0 -44
- data/vendor/local/share/man/man3/gnutls_session_get_client_random.3 +0 -40
- data/vendor/local/share/man/man3/gnutls_session_get_master_secret.3 +0 -43
- data/vendor/local/share/man/man3/gnutls_session_get_server_random.3 +0 -40
- data/vendor/local/share/man/man3/gnutls_sign_algorithm_get_name.3 +0 -35
- data/vendor/local/share/man/man3/gnutls_transport_set_global_errno.3 +0 -47
- data/vendor/local/share/man/man3/gnutls_transport_set_lowat.3 +0 -40
- data/vendor/local/share/man/man3/gnutls_x509_privkey_verify_data.3 +0 -43
- data/vendor/local/share/man/man3/libtasn1_perror.3 +0 -32
- data/vendor/local/share/man/man3/libtasn1_strerror.3 +0 -35
- data/vendor/local/src/dieterv/packaging/glib_2.28.8-1_win32.log +0 -2919
- data/vendor/local/src/dieterv/packaging/glib_2.28.8-1_win32.sh +0 -157
@@ -48,9 +48,6 @@ struct <a class="link" href="GApplicationCommandLine.html#GApplicat
|
|
48
48
|
const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GApplicationCommandLine.html#g-application-command-line-get-cwd" title="g_application_command_line_get_cwd ()">g_application_command_line_get_cwd</a> (<em class="parameter"><code><a class="link" href="GApplicationCommandLine.html" title="GApplicationCommandLine"><span class="type">GApplicationCommandLine</span></a> *cmdline</code></em>);
|
49
49
|
const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * const * <a class="link" href="GApplicationCommandLine.html#g-application-command-line-get-environ" title="g_application_command_line_get_environ ()">g_application_command_line_get_environ</a>
|
50
50
|
(<em class="parameter"><code><a class="link" href="GApplicationCommandLine.html" title="GApplicationCommandLine"><span class="type">GApplicationCommandLine</span></a> *cmdline</code></em>);
|
51
|
-
<a class="link" href="GFile.html" title="GFile"><span class="returnvalue">GFile</span></a> * <a class="link" href="GApplicationCommandLine.html#g-application-command-line-create-file-for-arg" title="g_application_command_line_create_file_for_arg ()">g_application_command_line_create_file_for_arg</a>
|
52
|
-
(<em class="parameter"><code><a class="link" href="GApplicationCommandLine.html" title="GApplicationCommandLine"><span class="type">GApplicationCommandLine</span></a> *cmdline</code></em>,
|
53
|
-
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *arg</code></em>);
|
54
51
|
const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GApplicationCommandLine.html#g-application-command-line-getenv" title="g_application_command_line_getenv ()">g_application_command_line_getenv</a> (<em class="parameter"><code><a class="link" href="GApplicationCommandLine.html" title="GApplicationCommandLine"><span class="type">GApplicationCommandLine</span></a> *cmdline</code></em>,
|
55
52
|
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);
|
56
53
|
<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GApplicationCommandLine.html#g-application-command-line-get-is-remote" title="g_application_command_line_get_is_remote ()">g_application_command_line_get_is_remote</a>
|
@@ -97,7 +94,7 @@ commandline to this process).
|
|
97
94
|
The GApplicationCommandLine object can provide the <em class="parameter"><code>argc</code></em> and <em class="parameter"><code>argv</code></em>
|
98
95
|
parameters for use with the <a href="./../glib/glib/glib-Commandline-option-parser.html#GOptionContext"><span class="type">GOptionContext</span></a> command-line parsing API,
|
99
96
|
with the <a class="link" href="GApplicationCommandLine.html#g-application-command-line-get-arguments" title="g_application_command_line_get_arguments ()"><code class="function">g_application_command_line_get_arguments()</code></a> function. See
|
100
|
-
<a class="xref" href="GApplicationCommandLine.html#gapplication-example-cmdline3" title="Example
|
97
|
+
<a class="xref" href="GApplicationCommandLine.html#gapplication-example-cmdline3" title="Example 20. Deferred commandline handling">Example 20, “Deferred commandline handling”</a> for an example.
|
101
98
|
</p>
|
102
99
|
<p>
|
103
100
|
The exit status of the originally-invoked process may be set and
|
@@ -119,7 +116,7 @@ does not return until the editing is done.
|
|
119
116
|
<p>
|
120
117
|
</p>
|
121
118
|
<div class="example">
|
122
|
-
<a name="gapplication-example-cmdline"></a><p class="title"><b>Example
|
119
|
+
<a name="gapplication-example-cmdline"></a><p class="title"><b>Example 18. Handling commandline arguments with GApplication</b></p>
|
123
120
|
<div class="example-contents">
|
124
121
|
<p>
|
125
122
|
A simple example where the commandline is completely handled
|
@@ -181,7 +178,7 @@ main (int argc, char **argv)
|
|
181
178
|
<p>
|
182
179
|
</p>
|
183
180
|
<div class="example">
|
184
|
-
<a name="gapplication-example-cmdline2"></a><p class="title"><b>Example
|
181
|
+
<a name="gapplication-example-cmdline2"></a><p class="title"><b>Example 19. Split commandline handling</b></p>
|
185
182
|
<div class="example-contents">
|
186
183
|
<p>
|
187
184
|
An example of split commandline handling. Options that start with
|
@@ -274,6 +271,8 @@ test_application_new (const gchar *application_id,
|
|
274
271
|
{
|
275
272
|
g_return_val_if_fail (g_application_id_is_valid (application_id), NULL);
|
276
273
|
|
274
|
+
g_type_init ();
|
275
|
+
|
277
276
|
return g_object_new (test_application_get_type (),
|
278
277
|
"application-id", application_id,
|
279
278
|
"flags", flags,
|
@@ -305,7 +304,7 @@ main (int argc, char **argv)
|
|
305
304
|
<p>
|
306
305
|
</p>
|
307
306
|
<div class="example">
|
308
|
-
<a name="gapplication-example-cmdline3"></a><p class="title"><b>Example
|
307
|
+
<a name="gapplication-example-cmdline3"></a><p class="title"><b>Example 20. Deferred commandline handling</b></p>
|
309
308
|
<div class="example-contents">
|
310
309
|
<p>
|
311
310
|
An example of deferred commandline handling. Here, the commandline is
|
@@ -580,46 +579,6 @@ strings, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code c
|
|
580
579
|
</div>
|
581
580
|
<hr>
|
582
581
|
<div class="refsect2">
|
583
|
-
<a name="g-application-command-line-create-file-for-arg"></a><h3>g_application_command_line_create_file_for_arg ()</h3>
|
584
|
-
<pre class="programlisting"><a class="link" href="GFile.html" title="GFile"><span class="returnvalue">GFile</span></a> * g_application_command_line_create_file_for_arg
|
585
|
-
(<em class="parameter"><code><a class="link" href="GApplicationCommandLine.html" title="GApplicationCommandLine"><span class="type">GApplicationCommandLine</span></a> *cmdline</code></em>,
|
586
|
-
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *arg</code></em>);</pre>
|
587
|
-
<p>
|
588
|
-
Creates a <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a> corresponding to a filename that was given as part
|
589
|
-
of the invocation of <em class="parameter"><code>cmdline</code></em>.
|
590
|
-
</p>
|
591
|
-
<p>
|
592
|
-
This differs from <a class="link" href="GFile.html#g-file-new-for-commandline-arg" title="g_file_new_for_commandline_arg ()"><code class="function">g_file_new_for_commandline_arg()</code></a> in that it
|
593
|
-
resolves relative pathnames using the current working directory of
|
594
|
-
the invoking process rather than the local process.
|
595
|
-
</p>
|
596
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
597
|
-
<colgroup>
|
598
|
-
<col align="left" valign="top">
|
599
|
-
<col>
|
600
|
-
</colgroup>
|
601
|
-
<tbody>
|
602
|
-
<tr>
|
603
|
-
<td><p><span class="term"><em class="parameter"><code>cmdline</code></em> :</span></p></td>
|
604
|
-
<td>a <a class="link" href="GApplicationCommandLine.html" title="GApplicationCommandLine"><span class="type">GApplicationCommandLine</span></a>
|
605
|
-
</td>
|
606
|
-
</tr>
|
607
|
-
<tr>
|
608
|
-
<td><p><span class="term"><em class="parameter"><code>arg</code></em> :</span></p></td>
|
609
|
-
<td>an argument from <em class="parameter"><code>cmdline</code></em>
|
610
|
-
</td>
|
611
|
-
</tr>
|
612
|
-
<tr>
|
613
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
614
|
-
<td>a new <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
615
|
-
</td>
|
616
|
-
</tr>
|
617
|
-
</tbody>
|
618
|
-
</table></div>
|
619
|
-
<p class="since">Since 2.36</p>
|
620
|
-
</div>
|
621
|
-
<hr>
|
622
|
-
<div class="refsect2">
|
623
582
|
<a name="g-application-command-line-getenv"></a><h3>g_application_command_line_getenv ()</h3>
|
624
583
|
<pre class="programlisting">const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * g_application_command_line_getenv (<em class="parameter"><code><a class="link" href="GApplicationCommandLine.html" title="GApplicationCommandLine"><span class="type">GApplicationCommandLine</span></a> *cmdline</code></em>,
|
625
584
|
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
|
@@ -208,7 +208,15 @@ A typical implementation might look something like this:
|
|
208
208
|
78
|
209
209
|
79
|
210
210
|
80
|
211
|
-
81
|
211
|
+
81
|
212
|
+
82
|
213
|
+
83
|
214
|
+
84
|
215
|
+
85
|
216
|
+
86
|
217
|
+
87
|
218
|
+
88
|
219
|
+
89</pre></td>
|
212
220
|
<td class="listing_code"><pre class="programlisting"><span class="keyword">enum</span><span class="normal"> </span><span class="cbracket">{</span>
|
213
221
|
<span class="normal"> NOT_INITIALIZED</span><span class="symbol">,</span>
|
214
222
|
<span class="normal"> INITIALIZING</span><span class="symbol">,</span>
|
@@ -224,13 +232,13 @@ A typical implementation might look something like this:
|
|
224
232
|
|
225
233
|
<span class="normal"> </span><span class="keyword">for</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">l </span><span class="symbol">=</span><span class="normal"> self</span><span class="symbol">-></span><span class="normal">priv</span><span class="symbol">-></span><span class="normal">init_results</span><span class="symbol">;</span><span class="normal"> l </span><span class="symbol">!=</span><span class="normal"> <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span><span class="normal"> l </span><span class="symbol">=</span><span class="normal"> l</span><span class="symbol">-></span><span class="normal">next</span><span class="symbol">)</span>
|
226
234
|
<span class="normal"> </span><span class="cbracket">{</span>
|
227
|
-
<span class="normal"> </span><span class="usertype">
|
235
|
+
<span class="normal"> </span><span class="usertype">GSimpleAsyncResult</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">simple </span><span class="symbol">=</span><span class="normal"> l</span><span class="symbol">-></span><span class="normal">data</span><span class="symbol">;</span>
|
228
236
|
|
229
|
-
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(
|
230
|
-
<span class="normal"> </span><span class="function"><a href="
|
231
|
-
|
232
|
-
<span class="normal">
|
233
|
-
<span class="normal"> </span><span class="function"><a href="./../gobject/gobject/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">
|
237
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(!</span><span class="normal">self</span><span class="symbol">-></span><span class="normal">priv</span><span class="symbol">-></span><span class="normal">success</span><span class="symbol">)</span>
|
238
|
+
<span class="normal"> </span><span class="function"><a href="GSimpleAsyncResult.html#g-simple-async-result-set-error">g_simple_async_result_set_error</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">simple</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">...);</span>
|
239
|
+
|
240
|
+
<span class="normal"> </span><span class="function"><a href="GSimpleAsyncResult.html#g-simple-async-result-complete">g_simple_async_result_complete</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">simple</span><span class="symbol">);</span>
|
241
|
+
<span class="normal"> </span><span class="function"><a href="./../gobject/gobject/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">simple</span><span class="symbol">);</span>
|
234
242
|
<span class="normal"> </span><span class="cbracket">}</span>
|
235
243
|
|
236
244
|
<span class="normal"> </span><span class="function"><a href="./../glib/glib/glib-Doubly-Linked-Lists.html#g-list-free">g_list_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">self</span><span class="symbol">-></span><span class="normal">priv</span><span class="symbol">-></span><span class="normal">init_results</span><span class="symbol">);</span>
|
@@ -245,28 +253,31 @@ A typical implementation might look something like this:
|
|
245
253
|
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
|
246
254
|
<span class="cbracket">{</span>
|
247
255
|
<span class="normal"> </span><span class="usertype">Foo</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">self </span><span class="symbol">=</span><span class="normal"> </span><span class="function">FOO</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">initable</span><span class="symbol">);</span>
|
248
|
-
<span class="normal"> </span><span class="usertype">
|
256
|
+
<span class="normal"> </span><span class="usertype">GSimpleAsyncResult</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">simple</span><span class="symbol">;</span>
|
249
257
|
|
250
|
-
<span class="normal">
|
258
|
+
<span class="normal"> simple </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GSimpleAsyncResult.html#g-simple-async-result-new">g_simple_async_result_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="./../gobject/gobject/gobject-The-Base-Object-Type.html#G-OBJECT:CAPS">G_OBJECT</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">initable</span><span class="symbol">)</span>
|
259
|
+
<span class="normal"> callback</span><span class="symbol">,</span>
|
260
|
+
<span class="normal"> user_data</span><span class="symbol">,</span>
|
261
|
+
<span class="normal"> foo_init_async</span><span class="symbol">);</span>
|
251
262
|
|
252
263
|
<span class="normal"> </span><span class="keyword">switch</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">self</span><span class="symbol">-></span><span class="normal">priv</span><span class="symbol">-></span><span class="normal">state</span><span class="symbol">)</span>
|
253
264
|
<span class="normal"> </span><span class="cbracket">{</span>
|
254
265
|
<span class="normal"> </span><span class="keyword">case</span><span class="normal"> NOT_INITIALIZED</span><span class="symbol">:</span>
|
255
266
|
<span class="normal"> </span><span class="function">_foo_get_ready</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">self</span><span class="symbol">);</span>
|
256
267
|
<span class="normal"> self</span><span class="symbol">-></span><span class="normal">priv</span><span class="symbol">-></span><span class="normal">init_results </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="./../glib/glib/glib-Doubly-Linked-Lists.html#g-list-append">g_list_append</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">self</span><span class="symbol">-></span><span class="normal">priv</span><span class="symbol">-></span><span class="normal">init_results</span><span class="symbol">,</span>
|
257
|
-
<span class="normal">
|
268
|
+
<span class="normal"> simple</span><span class="symbol">);</span>
|
258
269
|
<span class="normal"> self</span><span class="symbol">-></span><span class="normal">priv</span><span class="symbol">-></span><span class="normal">state </span><span class="symbol">=</span><span class="normal"> INITIALIZING</span><span class="symbol">;</span>
|
259
270
|
<span class="normal"> </span><span class="keyword">break</span><span class="symbol">;</span>
|
260
271
|
<span class="normal"> </span><span class="keyword">case</span><span class="normal"> INITIALIZING</span><span class="symbol">:</span>
|
261
272
|
<span class="normal"> self</span><span class="symbol">-></span><span class="normal">priv</span><span class="symbol">-></span><span class="normal">init_results </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="./../glib/glib/glib-Doubly-Linked-Lists.html#g-list-append">g_list_append</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">self</span><span class="symbol">-></span><span class="normal">priv</span><span class="symbol">-></span><span class="normal">init_results</span><span class="symbol">,</span>
|
262
|
-
<span class="normal">
|
273
|
+
<span class="normal"> simple</span><span class="symbol">);</span>
|
263
274
|
<span class="normal"> </span><span class="keyword">break</span><span class="symbol">;</span>
|
264
275
|
<span class="normal"> </span><span class="keyword">case</span><span class="normal"> INITIALIZED</span><span class="symbol">:</span>
|
265
276
|
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(!</span><span class="normal">self</span><span class="symbol">-></span><span class="normal">priv</span><span class="symbol">-></span><span class="normal">success</span><span class="symbol">)</span>
|
266
|
-
<span class="normal"> </span><span class="function"><a href="
|
267
|
-
|
268
|
-
<span class="normal">
|
269
|
-
<span class="normal"> </span><span class="function"><a href="./../gobject/gobject/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">
|
277
|
+
<span class="normal"> </span><span class="function"><a href="GSimpleAsyncResult.html#g-simple-async-result-set-error">g_simple_async_result_set_error</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">simple</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">...);</span>
|
278
|
+
|
279
|
+
<span class="normal"> </span><span class="function"><a href="GSimpleAsyncResult.html#g-simple-async-result-complete-in-idle">g_simple_async_result_complete_in_idle</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">simple</span><span class="symbol">);</span>
|
280
|
+
<span class="normal"> </span><span class="function"><a href="./../gobject/gobject/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">simple</span><span class="symbol">);</span>
|
270
281
|
<span class="normal"> </span><span class="keyword">break</span><span class="symbol">;</span>
|
271
282
|
<span class="normal"> </span><span class="cbracket">}</span>
|
272
283
|
<span class="cbracket">}</span>
|
@@ -276,9 +287,14 @@ A typical implementation might look something like this:
|
|
276
287
|
<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>
|
277
288
|
<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>
|
278
289
|
<span class="cbracket">{</span>
|
279
|
-
<span class="normal"> </span><span class="function"><a href="./../glib/glib/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="
|
290
|
+
<span class="normal"> </span><span class="function"><a href="./../glib/glib/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="GSimpleAsyncResult.html#g-simple-async-result-is-valid">g_simple_async_result_is_valid</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">result</span><span class="symbol">,</span>
|
291
|
+
<span class="normal"> </span><span class="function"><a href="./../gobject/gobject/gobject-The-Base-Object-Type.html#G-OBJECT:CAPS">G_OBJECT</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">initable</span><span class="symbol">),</span><span class="normal"> foo_init_async</span><span class="symbol">),</span><span class="normal"> <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS">FALSE</a></span><span class="symbol">);</span>
|
292
|
+
|
293
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="GSimpleAsyncResult.html#g-simple-async-result-propagate-error">g_simple_async_result_propagate_error</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">G_SIMPLE_ASYNC_RESULT</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">result</span><span class="symbol">),</span>
|
294
|
+
<span class="normal"> error</span><span class="symbol">))</span>
|
295
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS">FALSE</a></span><span class="symbol">;</span>
|
280
296
|
|
281
|
-
<span class="normal"> </span><span class="keyword">return</span><span class="normal">
|
297
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS">TRUE</a></span><span class="symbol">;</span>
|
282
298
|
<span class="cbracket">}</span>
|
283
299
|
|
284
300
|
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
@@ -394,7 +410,7 @@ As with <a class="link" href="GInitable.html" title="GInitable"><span class="typ
|
|
394
410
|
</tr>
|
395
411
|
<tr>
|
396
412
|
<td><p><span class="term"><em class="parameter"><code>io_priority</code></em> :</span></p></td>
|
397
|
-
<td>the <a class="link" href="
|
413
|
+
<td>the <a class="link" href="gio-GIOScheduler.html#io-priority">I/O priority</a>
|
398
414
|
of the operation.</td>
|
399
415
|
</tr>
|
400
416
|
<tr>
|
@@ -500,7 +516,7 @@ for any errors.
|
|
500
516
|
</tr>
|
501
517
|
<tr>
|
502
518
|
<td><p><span class="term"><em class="parameter"><code>io_priority</code></em> :</span></p></td>
|
503
|
-
<td>the <a class="link" href="
|
519
|
+
<td>the <a class="link" href="gio-GIOScheduler.html#io-priority">I/O priority</a>
|
504
520
|
of the operation.</td>
|
505
521
|
</tr>
|
506
522
|
<tr>
|
@@ -610,7 +626,7 @@ the value, and other property value pairs, and ended by <a href="./../glib/glib/
|
|
610
626
|
</tr>
|
611
627
|
<tr>
|
612
628
|
<td><p><span class="term"><em class="parameter"><code>io_priority</code></em> :</span></p></td>
|
613
|
-
<td>the <a class="link" href="
|
629
|
+
<td>the <a class="link" href="gio-GIOScheduler.html#io-priority">I/O priority</a>
|
614
630
|
of the operation.</td>
|
615
631
|
</tr>
|
616
632
|
<tr>
|
@@ -670,7 +686,7 @@ for any errors.
|
|
670
686
|
</tr>
|
671
687
|
<tr>
|
672
688
|
<td><p><span class="term"><em class="parameter"><code>io_priority</code></em> :</span></p></td>
|
673
|
-
<td>the <a class="link" href="
|
689
|
+
<td>the <a class="link" href="gio-GIOScheduler.html#io-priority">I/O priority</a>
|
674
690
|
of the operation.</td>
|
675
691
|
</tr>
|
676
692
|
<tr>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<link rel="home" href="index.html" title="GIO Reference Manual">
|
8
8
|
<link rel="up" href="async.html" title="Asynchronous I/O">
|
9
9
|
<link rel="prev" href="GCancellable.html" title="GCancellable">
|
10
|
-
<link rel="next" href="
|
10
|
+
<link rel="next" href="gio-GIOScheduler.html" title="GIOScheduler">
|
11
11
|
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
@@ -18,7 +18,7 @@
|
|
18
18
|
<td><a accesskey="u" href="async.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
19
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
20
|
<th width="100%" align="center">GIO Reference Manual</th>
|
21
|
-
<td><a accesskey="n" href="
|
21
|
+
<td><a accesskey="n" href="gio-GIOScheduler.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
22
|
</tr>
|
23
23
|
<tr><td colspan="5" class="shortcuts">
|
24
24
|
<a href="#GAsyncResult.synopsis" class="shortcut">Top</a>
|
@@ -77,7 +77,7 @@ GAsyncResult requires
|
|
77
77
|
<a name="GAsyncResult.implementations"></a><h2>Known Implementations</h2>
|
78
78
|
<p>
|
79
79
|
GAsyncResult is implemented by
|
80
|
-
<a class="link" href="GSimpleAsyncResult.html" title="GSimpleAsyncResult">GSimpleAsyncResult</a
|
80
|
+
<a class="link" href="GSimpleAsyncResult.html" title="GSimpleAsyncResult">GSimpleAsyncResult</a>.</p>
|
81
81
|
</div>
|
82
82
|
<div class="refsect1">
|
83
83
|
<a name="GAsyncResult.description"></a><h2>Description</h2>
|
@@ -205,18 +205,6 @@ The callback for an asynchronous operation is called only once, and is
|
|
205
205
|
always called, even in the case of a cancelled operation. On cancellation
|
206
206
|
the result is a <a class="link" href="gio-GIOError.html#G-IO-ERROR-CANCELLED:CAPS"><code class="literal">G_IO_ERROR_CANCELLED</code></a> error.
|
207
207
|
</p>
|
208
|
-
<p>
|
209
|
-
</p>
|
210
|
-
<p><a name="io-priority"></a> Many I/O-related asynchronous
|
211
|
-
operations have a priority parameter, which is used in certain
|
212
|
-
cases to determine the order in which operations are executed. They
|
213
|
-
are <span class="emphasis"><em>not</em></span> used to determine system-wide I/O
|
214
|
-
scheduling. Priorities are integers, with lower numbers indicating
|
215
|
-
higher priority. It is recommended to choose priorities between
|
216
|
-
<a href="./../glib/glib/glib-The-Main-Event-Loop.html#G-PRIORITY-LOW:CAPS"><code class="literal">G_PRIORITY_LOW</code></a> and <a href="./../glib/glib/glib-The-Main-Event-Loop.html#G-PRIORITY-HIGH:CAPS"><code class="literal">G_PRIORITY_HIGH</code></a>, with <a href="./../glib/glib/glib-The-Main-Event-Loop.html#G-PRIORITY-DEFAULT:CAPS"><code class="literal">G_PRIORITY_DEFAULT</code></a> as a
|
217
|
-
default. </p>
|
218
|
-
<p>
|
219
|
-
</p>
|
220
208
|
</div>
|
221
209
|
<div class="refsect1">
|
222
210
|
<a name="GAsyncResult.details"></a><h2>Details</h2>
|
@@ -437,7 +425,7 @@ up correctly.
|
|
437
425
|
</div>
|
438
426
|
<div class="refsect1">
|
439
427
|
<a name="GAsyncResult.see-also"></a><h2>See Also</h2>
|
440
|
-
<a class="link" href="
|
428
|
+
<a class="link" href="GSimpleAsyncResult.html" title="GSimpleAsyncResult"><span class="type">GSimpleAsyncResult</span></a>
|
441
429
|
</div>
|
442
430
|
</div>
|
443
431
|
<div class="footer">
|
@@ -458,7 +458,7 @@ of bytes that are required to fill the buffer.
|
|
458
458
|
</tr>
|
459
459
|
<tr>
|
460
460
|
<td><p><span class="term"><em class="parameter"><code>io_priority</code></em> :</span></p></td>
|
461
|
-
<td>the <a class="link" href="
|
461
|
+
<td>the <a class="link" href="gio-GIOScheduler.html#io-priority">I/O priority</a>
|
462
462
|
of the request</td>
|
463
463
|
</tr>
|
464
464
|
<tr>
|
@@ -84,7 +84,7 @@ processes owned by the same uid as the server, you would use a
|
|
84
84
|
signal handler like the following:
|
85
85
|
</p>
|
86
86
|
<div class="example">
|
87
|
-
<a name="auth-observer"></a><p class="title"><b>Example
|
87
|
+
<a name="auth-observer"></a><p class="title"><b>Example 7. Controlling Authentication</b></p>
|
88
88
|
<div class="example-contents">
|
89
89
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
90
90
|
<tbody>
|
@@ -370,7 +370,7 @@ an D-Bus client, it is often easier to use the <a class="link" href="gio-Owning-
|
|
370
370
|
<p>
|
371
371
|
As an exception to the usual GLib rule that a particular object must not be
|
372
372
|
used by two threads at the same time, <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a>'s methods may be
|
373
|
-
called from any thread<a href="#ftn.
|
373
|
+
called from any thread<a href="#ftn.idp56663888" class="footnote"><sup class="footnote"><a name="idp56663888"></a>[1]</sup></a>.
|
374
374
|
</p>
|
375
375
|
<p>
|
376
376
|
Most of the ways to obtain a <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> automatically initialize it
|
@@ -393,7 +393,7 @@ free it with <a href="./../gobject/gobject/gobject-The-Base-Object-Type.html#g-o
|
|
393
393
|
<p>
|
394
394
|
</p>
|
395
395
|
<div class="example">
|
396
|
-
<a name="gdbus-server"></a><p class="title"><b>Example
|
396
|
+
<a name="gdbus-server"></a><p class="title"><b>Example 2. D-Bus server example</b></p>
|
397
397
|
<div class="example-contents">
|
398
398
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
399
399
|
<tbody>
|
@@ -787,7 +787,9 @@ free it with <a href="./../gobject/gobject/gobject-The-Base-Object-Type.html#g-o
|
|
787
787
|
387
|
788
788
|
388
|
789
789
|
389
|
790
|
-
390
|
790
|
+
390
|
791
|
+
391
|
792
|
+
392</pre></td>
|
791
793
|
<td class="listing_code"><pre class="programlisting"><span class="preproc">#include</span><span class="normal"> </span><span class="string"><gio/gio.h></span>
|
792
794
|
<span class="preproc">#include</span><span class="normal"> </span><span class="string"><stdlib.h></span>
|
793
795
|
|
@@ -1153,6 +1155,8 @@ free it with <a href="./../gobject/gobject/gobject-The-Base-Object-Type.html#g-o
|
|
1153
1155
|
<span class="normal"> </span><span class="usertype">guint</span><span class="normal"> owner_id</span><span class="symbol">;</span>
|
1154
1156
|
<span class="normal"> </span><span class="usertype">GMainLoop</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">loop</span><span class="symbol">;</span>
|
1155
1157
|
|
1158
|
+
<span class="normal"> </span><span class="function"><a href="./../gobject/gobject/gobject-Type-Information.html#g-type-init">g_type_init</a></span><span class="normal"> </span><span class="symbol">();</span>
|
1159
|
+
|
1156
1160
|
<span class="normal"> </span><span class="comment">/* We are lazy here - we don't want to manually provide</span>
|
1157
1161
|
<span class="comment"> * the introspection data structures - so we just build</span>
|
1158
1162
|
<span class="comment"> * them from XML.</span>
|
@@ -1189,7 +1193,7 @@ free it with <a href="./../gobject/gobject/gobject-The-Base-Object-Type.html#g-o
|
|
1189
1193
|
<p>
|
1190
1194
|
</p>
|
1191
1195
|
<div class="example">
|
1192
|
-
<a name="gdbus-subtree-server"></a><p class="title"><b>Example
|
1196
|
+
<a name="gdbus-subtree-server"></a><p class="title"><b>Example 3. D-Bus subtree example</b></p>
|
1193
1197
|
<div class="example-contents">
|
1194
1198
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1195
1199
|
<tbody>
|
@@ -1591,7 +1595,9 @@ free it with <a href="./../gobject/gobject/gobject-The-Base-Object-Type.html#g-o
|
|
1591
1595
|
395
|
1592
1596
|
396
|
1593
1597
|
397
|
1594
|
-
398
|
1598
|
+
398
|
1599
|
+
399
|
1600
|
+
400</pre></td>
|
1595
1601
|
<td class="listing_code"><pre class="programlisting"><span class="preproc">#include</span><span class="normal"> </span><span class="string"><gio/gio.h></span>
|
1596
1602
|
<span class="preproc">#include</span><span class="normal"> </span><span class="string"><stdlib.h></span>
|
1597
1603
|
<span class="preproc">#include</span><span class="normal"> </span><span class="string"><string.h></span>
|
@@ -1958,6 +1964,8 @@ free it with <a href="./../gobject/gobject/gobject-The-Base-Object-Type.html#g-o
|
|
1958
1964
|
<span class="normal"> </span><span class="usertype">guint</span><span class="normal"> owner_id</span><span class="symbol">;</span>
|
1959
1965
|
<span class="normal"> </span><span class="usertype">GMainLoop</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">loop</span><span class="symbol">;</span>
|
1960
1966
|
|
1967
|
+
<span class="normal"> </span><span class="function"><a href="./../gobject/gobject/gobject-Type-Information.html#g-type-init">g_type_init</a></span><span class="normal"> </span><span class="symbol">();</span>
|
1968
|
+
|
1961
1969
|
<span class="normal"> </span><span class="comment">/* We are lazy here - we don't want to manually provide</span>
|
1962
1970
|
<span class="comment"> * the introspection data structures - so we just build</span>
|
1963
1971
|
<span class="comment"> * them from XML.</span>
|
@@ -2001,7 +2009,7 @@ free it with <a href="./../gobject/gobject/gobject-The-Base-Object-Type.html#g-o
|
|
2001
2009
|
<p>
|
2002
2010
|
</p>
|
2003
2011
|
<div class="example">
|
2004
|
-
<a name="gdbus-unix-fd-client"></a><p class="title"><b>Example
|
2012
|
+
<a name="gdbus-unix-fd-client"></a><p class="title"><b>Example 4. D-Bus UNIX File Descriptor example</b></p>
|
2005
2013
|
<div class="example-contents">
|
2006
2014
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
2007
2015
|
<tbody>
|
@@ -2137,7 +2145,9 @@ free it with <a href="./../gobject/gobject/gobject-The-Base-Object-Type.html#g-o
|
|
2137
2145
|
129
|
2138
2146
|
130
|
2139
2147
|
131
|
2140
|
-
132
|
2148
|
+
132
|
2149
|
+
133
|
2150
|
+
134</pre></td>
|
2141
2151
|
<td class="listing_code"><pre class="programlisting"><span class="preproc">#include</span><span class="normal"> </span><span class="string"><string.h></span>
|
2142
2152
|
<span class="preproc">#include</span><span class="normal"> </span><span class="string"><stdlib.h></span>
|
2143
2153
|
|
@@ -2256,6 +2266,8 @@ free it with <a href="./../gobject/gobject/gobject-The-Base-Object-Type.html#g-o
|
|
2256
2266
|
<span class="normal"> </span><span class="usertype">guint</span><span class="normal"> watcher_id</span><span class="symbol">;</span>
|
2257
2267
|
<span class="normal"> </span><span class="usertype">GMainLoop</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">loop</span><span class="symbol">;</span>
|
2258
2268
|
|
2269
|
+
<span class="normal"> </span><span class="function"><a href="./../gobject/gobject/gobject-Type-Information.html#g-type-init">g_type_init</a></span><span class="normal"> </span><span class="symbol">();</span>
|
2270
|
+
|
2259
2271
|
<span class="normal"> watcher_id </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="gio-Watching-Bus-Names.html#g-bus-watch-name">g_bus_watch_name</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="GDBusConnection.html#G-BUS-TYPE-SESSION:CAPS">G_BUS_TYPE_SESSION</a></span><span class="symbol">,</span>
|
2260
2272
|
<span class="normal"> </span><span class="string">"org.gtk.GDBus.TestServer"</span><span class="symbol">,</span>
|
2261
2273
|
<span class="normal"> <a href="gio-Watching-Bus-Names.html#G-BUS-NAME-WATCHER-FLAGS-NONE:CAPS">G_BUS_NAME_WATCHER_FLAGS_NONE</a></span><span class="symbol">,</span>
|
@@ -2281,7 +2293,7 @@ free it with <a href="./../gobject/gobject/gobject-The-Base-Object-Type.html#g-o
|
|
2281
2293
|
<p>
|
2282
2294
|
</p>
|
2283
2295
|
<div class="example">
|
2284
|
-
<a name="gdbus-export"></a><p class="title"><b>Example
|
2296
|
+
<a name="gdbus-export"></a><p class="title"><b>Example 5. Exporting a GObject</b></p>
|
2285
2297
|
<div class="example-contents">
|
2286
2298
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
2287
2299
|
<tbody>
|
@@ -2619,7 +2631,9 @@ free it with <a href="./../gobject/gobject/gobject-The-Base-Object-Type.html#g-o
|
|
2619
2631
|
331
|
2620
2632
|
332
|
2621
2633
|
333
|
2622
|
-
334
|
2634
|
+
334
|
2635
|
+
335
|
2636
|
+
336</pre></td>
|
2623
2637
|
<td class="listing_code"><pre class="programlisting"><span class="preproc">#include</span><span class="normal"> </span><span class="string"><gio/gio.h></span>
|
2624
2638
|
<span class="preproc">#include</span><span class="normal"> </span><span class="string"><stdlib.h></span>
|
2625
2639
|
|
@@ -2925,6 +2939,8 @@ free it with <a href="./../gobject/gobject/gobject-The-Base-Object-Type.html#g-o
|
|
2925
2939
|
<span class="normal"> </span><span class="usertype">GMainLoop</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">loop</span><span class="symbol">;</span>
|
2926
2940
|
<span class="normal"> </span><span class="usertype">MyObject</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">myobj</span><span class="symbol">;</span>
|
2927
2941
|
|
2942
|
+
<span class="normal"> </span><span class="function"><a href="./../gobject/gobject/gobject-Type-Information.html#g-type-init">g_type_init</a></span><span class="normal"> </span><span class="symbol">();</span>
|
2943
|
+
|
2928
2944
|
<span class="normal"> </span><span class="comment">/* We are lazy here - we don't want to manually provide</span>
|
2929
2945
|
<span class="comment"> * the introspection data structures - so we just build</span>
|
2930
2946
|
<span class="comment"> * them from XML.</span>
|
@@ -5099,7 +5115,7 @@ If <em class="parameter"><code>connection</code></em> is closed then the operati
|
|
5099
5115
|
the operation fails with <a class="link" href="gio-GIOError.html#G-IO-ERROR-INVALID-ARGUMENT:CAPS"><code class="literal">G_IO_ERROR_INVALID_ARGUMENT</code></a>.
|
5100
5116
|
</p>
|
5101
5117
|
<p>
|
5102
|
-
See <a class="xref" href="GDBusConnection.html#gdbus-server" title="Example
|
5118
|
+
See <a class="xref" href="GDBusConnection.html#gdbus-server" title="Example 2. D-Bus server example">Example 2, “D-Bus server example”</a> and <a class="xref" href="GDBusConnection.html#gdbus-unix-fd-client" title="Example 4. D-Bus UNIX File Descriptor example">Example 4, “D-Bus UNIX File Descriptor example”</a> for an example of how to use this
|
5103
5119
|
low-level API to send and receive UNIX file descriptors.
|
5104
5120
|
</p>
|
5105
5121
|
<p>
|
@@ -5186,7 +5202,7 @@ Note that <em class="parameter"><code>message</code></em> must be unlocked, unle
|
|
5186
5202
|
<a class="link" href="GDBusConnection.html#G-DBUS-SEND-MESSAGE-FLAGS-PRESERVE-SERIAL:CAPS"><code class="literal">G_DBUS_SEND_MESSAGE_FLAGS_PRESERVE_SERIAL</code></a> flag.
|
5187
5203
|
</p>
|
5188
5204
|
<p>
|
5189
|
-
See <a class="xref" href="GDBusConnection.html#gdbus-server" title="Example
|
5205
|
+
See <a class="xref" href="GDBusConnection.html#gdbus-server" title="Example 2. D-Bus server example">Example 2, “D-Bus server example”</a> and <a class="xref" href="GDBusConnection.html#gdbus-unix-fd-client" title="Example 4. D-Bus UNIX File Descriptor example">Example 4, “D-Bus UNIX File Descriptor example”</a> for an example of how to use this
|
5190
5206
|
low-level API to send and receive UNIX file descriptors.
|
5191
5207
|
</p>
|
5192
5208
|
<div class="variablelist"><table border="0" class="variablelist">
|
@@ -5254,7 +5270,7 @@ be of type <a class="link" href="GDBusMessage.html#G-DBUS-MESSAGE-TYPE-ERROR:CAP
|
|
5254
5270
|
<a class="link" href="GDBusMessage.html#g-dbus-message-to-gerror" title="g_dbus_message_to_gerror ()"><code class="function">g_dbus_message_to_gerror()</code></a> to transcode this to a <a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>.
|
5255
5271
|
</p>
|
5256
5272
|
<p>
|
5257
|
-
See <a class="xref" href="GDBusConnection.html#gdbus-server" title="Example
|
5273
|
+
See <a class="xref" href="GDBusConnection.html#gdbus-server" title="Example 2. D-Bus server example">Example 2, “D-Bus server example”</a> and <a class="xref" href="GDBusConnection.html#gdbus-unix-fd-client" title="Example 4. D-Bus UNIX File Descriptor example">Example 4, “D-Bus UNIX File Descriptor example”</a> for an example of how to use this
|
5258
5274
|
low-level API to send and receive UNIX file descriptors.
|
5259
5275
|
</p>
|
5260
5276
|
<div class="variablelist"><table border="0" class="variablelist">
|
@@ -5323,7 +5339,7 @@ be of type <a class="link" href="GDBusMessage.html#G-DBUS-MESSAGE-TYPE-ERROR:CAP
|
|
5323
5339
|
<a class="link" href="GDBusMessage.html#g-dbus-message-to-gerror" title="g_dbus_message_to_gerror ()"><code class="function">g_dbus_message_to_gerror()</code></a> to transcode this to a <a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>.
|
5324
5340
|
</p>
|
5325
5341
|
<p>
|
5326
|
-
See <a class="xref" href="GDBusConnection.html#gdbus-server" title="Example
|
5342
|
+
See <a class="xref" href="GDBusConnection.html#gdbus-server" title="Example 2. D-Bus server example">Example 2, “D-Bus server example”</a> and <a class="xref" href="GDBusConnection.html#gdbus-unix-fd-client" title="Example 4. D-Bus UNIX File Descriptor example">Example 4, “D-Bus UNIX File Descriptor example”</a> for an example of how to use this
|
5327
5343
|
low-level API to send and receive UNIX file descriptors.
|
5328
5344
|
</p>
|
5329
5345
|
<p>
|
@@ -5911,7 +5927,7 @@ reference count is -1, see <a class="link" href="gio-D-Bus-Introspection-Data.ht
|
|
5911
5927
|
as the object is exported. Also note that <em class="parameter"><code>vtable</code></em> will be copied.
|
5912
5928
|
</p>
|
5913
5929
|
<p>
|
5914
|
-
See <a class="xref" href="GDBusConnection.html#gdbus-server" title="Example
|
5930
|
+
See <a class="xref" href="GDBusConnection.html#gdbus-server" title="Example 2. D-Bus server example">Example 2, “D-Bus server example”</a> for an example of how to use this method.
|
5915
5931
|
</p>
|
5916
5932
|
<div class="variablelist"><table border="0" class="variablelist">
|
5917
5933
|
<colgroup>
|
@@ -6285,7 +6301,7 @@ Note that <em class="parameter"><code>vtable</code></em> will be copied so you c
|
|
6285
6301
|
registration.
|
6286
6302
|
</p>
|
6287
6303
|
<p>
|
6288
|
-
See <a class="xref" href="GDBusConnection.html#gdbus-subtree-server" title="Example
|
6304
|
+
See <a class="xref" href="GDBusConnection.html#gdbus-subtree-server" title="Example 3. D-Bus subtree example">Example 3, “D-Bus subtree example”</a> for an example of how to use this method.
|
6289
6305
|
</p>
|
6290
6306
|
<div class="variablelist"><table border="0" class="variablelist">
|
6291
6307
|
<colgroup>
|
@@ -6551,7 +6567,7 @@ remote peer closed its end of the connection.</td>
|
|
6551
6567
|
</div>
|
6552
6568
|
<div class="footnotes">
|
6553
6569
|
<br><hr style="width:100; align:left;">
|
6554
|
-
<div id="ftn.
|
6570
|
+
<div id="ftn.idp56663888" class="footnote"><p><a href="#idp56663888" class="para"><sup class="para">[1] </sup></a>
|
6555
6571
|
This is so that <a class="link" href="GDBusConnection.html#g-bus-get" title="g_bus_get ()"><code class="function">g_bus_get()</code></a> and <a class="link" href="GDBusConnection.html#g-bus-get-sync" title="g_bus_get_sync ()"><code class="function">g_bus_get_sync()</code></a> can safely return the
|
6556
6572
|
same <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> when called from any thread.
|
6557
6573
|
</p></div>
|