glib2 3.0.7-x64-mingw32 → 3.0.8-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +24 -12
- data/ext/glib2/extconf.rb +1 -0
- data/ext/glib2/glib2.def +4 -0
- data/ext/glib2/rbglib-variant.c +163 -12
- data/ext/glib2/rbglib.c +31 -8
- data/ext/glib2/rbglib.h +15 -1
- data/ext/glib2/rbglib2conversions.h +3 -0
- data/ext/glib2/rbglib_iochannel.c +0 -3
- data/ext/glib2/rbglib_iochannel_win32_socket.c +0 -1
- data/ext/glib2/rbglib_matchinfo.c +179 -0
- data/ext/glib2/rbglib_regex.c +484 -0
- data/ext/glib2/rbgobj_value.c +7 -1
- data/ext/glib2/rbgprivate.h +2 -0
- data/ext/glib2/rbgutil.c +7 -0
- data/ext/glib2/rbgutil.h +2 -0
- data/lib/2.2/glib2.so +0 -0
- data/lib/2.3/glib2.so +0 -0
- data/lib/glib2.rb +2 -1
- data/lib/glib2/regex.rb +29 -0
- data/lib/gnome2/rake/external-package.rb +6 -1
- data/lib/gnome2/rake/package-task.rb +1 -1
- data/lib/gnome2/rake/package.rb +9 -0
- data/lib/gnome2/rake/windows-binary-build-task.rb +35 -11
- data/lib/mkmf-gnome2.rb +3 -1
- data/test/test-match-info.rb +113 -0
- data/test/test-regex.rb +320 -0
- data/vendor/local/bin/asn1Coding.exe +0 -0
- data/vendor/local/bin/asn1Decoding.exe +0 -0
- data/vendor/local/bin/asn1Parser.exe +0 -0
- data/vendor/local/bin/envsubst.exe +0 -0
- data/vendor/local/bin/gdbus.exe +0 -0
- data/vendor/local/bin/gettext.exe +0 -0
- data/vendor/local/bin/gettext.sh +1 -1
- 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 +2 -2
- 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-win64-helper-console.exe +0 -0
- data/vendor/local/bin/gspawn-win64-helper.exe +0 -0
- data/vendor/local/bin/iconv.exe +0 -0
- data/vendor/local/bin/idn.exe +0 -0
- data/vendor/local/bin/libasprintf-0.dll +0 -0
- data/vendor/local/bin/libcharset-1.dll +0 -0
- data/vendor/local/bin/libffi-6.dll +0 -0
- data/vendor/local/bin/libgio-2.0-0.dll +0 -0
- data/vendor/local/bin/libglib-2.0-0.dll +0 -0
- data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
- data/vendor/local/bin/libgmp-10.dll +0 -0
- data/vendor/local/bin/libgnutls-30.def +993 -984
- data/vendor/local/bin/libgnutls-30.dll +0 -0
- data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
- data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
- data/vendor/local/bin/libhogweed-4-2.dll +0 -0
- data/vendor/local/bin/libiconv-2.dll +0 -0
- data/vendor/local/bin/libidn-11.dll +0 -0
- data/vendor/local/bin/libintl-8.dll +0 -0
- data/vendor/local/bin/{libnettle-6-1.dll → 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 +133 -0
- data/vendor/local/bin/pcregrep.exe +0 -0
- data/vendor/local/bin/pcretest.exe +0 -0
- data/vendor/local/bin/pkcs1-conv.exe +0 -0
- data/vendor/local/bin/sexp-conv.exe +0 -0
- data/vendor/local/bin/trust.exe +0 -0
- data/vendor/local/include/glib-2.0/gio/gdatagrambased.h +144 -0
- data/vendor/local/include/glib-2.0/gio/gdbusconnection.h +9 -1
- data/vendor/local/include/glib-2.0/gio/gdtlsclientconnection.h +75 -0
- data/vendor/local/include/glib-2.0/gio/gdtlsconnection.h +191 -0
- data/vendor/local/include/glib-2.0/gio/gdtlsserverconnection.h +69 -0
- data/vendor/local/include/glib-2.0/gio/gfileinfo.h +14 -0
- data/vendor/local/include/glib-2.0/gio/gio-autocleanups.h +1 -0
- data/vendor/local/include/glib-2.0/gio/gio.h +4 -0
- data/vendor/local/include/glib-2.0/gio/gioenums.h +69 -13
- data/vendor/local/include/glib-2.0/gio/gioenumtypes.h +2 -0
- data/vendor/local/include/glib-2.0/gio/giotypes.h +77 -0
- data/vendor/local/include/glib-2.0/gio/gliststore.h +5 -0
- data/vendor/local/include/glib-2.0/gio/gnetworkmonitor.h +3 -0
- data/vendor/local/include/glib-2.0/gio/gsettings.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gsettingsschema.h +3 -0
- data/vendor/local/include/glib-2.0/gio/gsimpleasyncresult.h +25 -25
- data/vendor/local/include/glib-2.0/gio/gsocket.h +7 -0
- data/vendor/local/include/glib-2.0/gio/gsocketconnectable.h +6 -0
- data/vendor/local/include/glib-2.0/gio/gsocketlistener.h +4 -1
- data/vendor/local/include/glib-2.0/gio/gtlsbackend.h +14 -0
- data/vendor/local/include/glib-2.0/gio/gtlsclientconnection.h +7 -0
- data/vendor/local/include/glib-2.0/glib/gasyncqueue.h +13 -0
- data/vendor/local/include/glib-2.0/glib/gbacktrace.h +2 -0
- data/vendor/local/include/glib-2.0/glib/glib-autocleanups.h +12 -4
- data/vendor/local/include/glib-2.0/glib/gmacros.h +46 -10
- data/vendor/local/include/glib-2.0/glib/gmain.h +3 -1
- data/vendor/local/include/glib-2.0/glib/gmem.h +7 -5
- data/vendor/local/include/glib-2.0/glib/gmessages.h +8 -8
- data/vendor/local/include/glib-2.0/glib/gnode.h +2 -2
- data/vendor/local/include/glib-2.0/glib/gpoll.h +2 -9
- data/vendor/local/include/glib-2.0/glib/gsequence.h +2 -0
- data/vendor/local/include/glib-2.0/glib/gstdio.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gstrfuncs.h +1 -0
- data/vendor/local/include/glib-2.0/glib/gtestutils.h +15 -2
- data/vendor/local/include/glib-2.0/glib/gthreadpool.h +4 -0
- data/vendor/local/include/glib-2.0/glib/gtrashstack.h +10 -57
- data/vendor/local/include/glib-2.0/glib/gtypes.h +61 -6
- data/vendor/local/include/glib-2.0/glib/gunicode.h +15 -1
- data/vendor/local/include/glib-2.0/glib/gutils.h +36 -57
- data/vendor/local/include/glib-2.0/glib/gversionmacros.h +59 -10
- data/vendor/local/include/glib-2.0/gobject/gboxed.h +3 -3
- data/vendor/local/include/glib-2.0/gobject/gclosure.h +2 -1
- data/vendor/local/include/glib-2.0/gobject/glib-types.h +0 -7
- data/vendor/local/include/glib-2.0/gobject/gobject-autocleanups.h +0 -1
- data/vendor/local/include/glib-2.0/gobject/gobject.h +8 -4
- data/vendor/local/include/glib-2.0/gobject/gparam.h +5 -2
- data/vendor/local/include/glib-2.0/gobject/gsignal.h +3 -0
- data/vendor/local/include/glib-2.0/gobject/gtype.h +47 -26
- data/vendor/local/include/glib-2.0/gobject/gtypemodule.h +1 -0
- data/vendor/local/include/gmp.h +56 -24
- data/vendor/local/include/gnutls/gnutls.h +79 -39
- data/vendor/local/include/gnutls/pkcs11.h +6 -0
- data/vendor/local/include/gnutls/pkcs7.h +17 -4
- data/vendor/local/include/gnutls/x509.h +8 -0
- data/vendor/local/include/libintl.h +1 -1
- data/vendor/local/include/libtasn1.h +1 -1
- data/vendor/local/include/nettle/rsa.h +72 -0
- data/vendor/local/include/nettle/sha3.h +4 -0
- data/vendor/local/include/nettle/version.h +8 -1
- data/vendor/local/include/p11-kit-1/p11-kit/p11-kit.h +1 -0
- data/vendor/local/include/pcre.h +677 -0
- data/vendor/local/include/pcre_scanner.h +172 -0
- data/vendor/local/include/pcre_stringpiece.h +180 -0
- data/vendor/local/include/pcrecpp.h +710 -0
- data/vendor/local/include/pcrecpparg.h +174 -0
- data/vendor/local/include/pcreposix.h +146 -0
- 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 +3 -3
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +4 -16
- data/vendor/local/lib/libasprintf.a +0 -0
- data/vendor/local/lib/libasprintf.dll.a +0 -0
- data/vendor/local/lib/libcharset.a +0 -0
- data/vendor/local/lib/libcharset.dll.a +0 -0
- data/vendor/local/lib/libffi.a +0 -0
- data/vendor/local/lib/libffi.dll.a +0 -0
- data/vendor/local/lib/libgio-2.0.dll.a +0 -0
- data/vendor/local/lib/libgio-2.0.la +5 -5
- data/vendor/local/lib/libglib-2.0.dll.a +0 -0
- data/vendor/local/lib/libglib-2.0.la +5 -5
- data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
- data/vendor/local/lib/libgmodule-2.0.la +5 -5
- data/vendor/local/lib/libgmp.dll.a +0 -0
- data/vendor/local/lib/libgmp.la +4 -4
- data/vendor/local/lib/libgnutls.dll.a +0 -0
- data/vendor/local/lib/libgnutls.la +4 -4
- data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.la +5 -5
- data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
- data/vendor/local/lib/libgthread-2.0.la +5 -5
- data/vendor/local/lib/libhogweed.a +0 -0
- data/vendor/local/lib/libhogweed.dll.a +0 -0
- data/vendor/local/lib/libiconv.dll.a +0 -0
- data/vendor/local/lib/libidn.a +0 -0
- data/vendor/local/lib/libidn.dll.a +0 -0
- data/vendor/local/lib/libidn.la +1 -1
- 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 +1 -1
- data/vendor/local/lib/libpcre.a +0 -0
- data/vendor/local/lib/libpcre.dll.a +0 -0
- data/vendor/local/lib/libpcre.la +41 -0
- data/vendor/local/lib/libpcrecpp.a +0 -0
- data/vendor/local/lib/libpcrecpp.dll.a +0 -0
- data/vendor/local/lib/libpcrecpp.la +41 -0
- data/vendor/local/lib/libpcreposix.a +0 -0
- data/vendor/local/lib/libpcreposix.dll.a +0 -0
- data/vendor/local/lib/libpcreposix.la +41 -0
- data/vendor/local/lib/libtasn1.a +0 -0
- data/vendor/local/lib/libtasn1.dll.a +0 -0
- data/vendor/local/lib/libtasn1.la +1 -1
- data/vendor/local/lib/p11-kit/p11-kit-remote.exe +0 -0
- data/vendor/local/lib/pkcs11/p11-kit-trust.dll +0 -0
- data/vendor/local/lib/pkcs11/p11-kit-trust.dll.a +0 -0
- data/vendor/local/lib/pkcs11/p11-kit-trust.la +1 -1
- 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 +3 -3
- data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-export-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gnutls.pc +2 -2
- 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/lib/pkgconfig/hogweed.pc +1 -1
- data/vendor/local/lib/pkgconfig/libidn.pc +1 -1
- data/vendor/local/lib/pkgconfig/libpcre.pc +13 -0
- data/vendor/local/lib/pkgconfig/libpcrecpp.pc +12 -0
- data/vendor/local/lib/pkgconfig/libpcreposix.pc +13 -0
- data/vendor/local/lib/pkgconfig/libtasn1.pc +1 -1
- data/vendor/local/lib/pkgconfig/nettle.pc +1 -1
- data/vendor/local/lib/pkgconfig/p11-kit-1.pc +1 -1
- data/vendor/local/share/aclocal/glib-gettext.m4 +3 -2
- data/vendor/local/share/doc/pcre/AUTHORS +45 -0
- data/vendor/local/share/doc/pcre/COPYING +5 -0
- data/vendor/local/share/doc/pcre/ChangeLog +5918 -0
- data/vendor/local/share/doc/pcre/LICENCE +93 -0
- data/vendor/local/share/doc/pcre/NEWS +716 -0
- data/vendor/local/share/doc/pcre/README +1002 -0
- data/vendor/local/share/doc/pcre/html/NON-AUTOTOOLS-BUILD.txt +772 -0
- data/vendor/local/share/doc/pcre/html/README.txt +1002 -0
- data/vendor/local/share/doc/pcre/html/index.html +185 -0
- data/vendor/local/share/doc/pcre/html/pcre-config.html +109 -0
- data/vendor/local/share/doc/pcre/html/pcre.html +224 -0
- data/vendor/local/share/doc/pcre/html/pcre16.html +384 -0
- data/vendor/local/share/doc/pcre/html/pcre32.html +382 -0
- data/vendor/local/share/doc/pcre/html/pcre_assign_jit_stack.html +76 -0
- data/vendor/local/share/doc/pcre/html/pcre_compile.html +111 -0
- data/vendor/local/share/doc/pcre/html/pcre_compile2.html +115 -0
- data/vendor/local/share/doc/pcre/html/pcre_config.html +94 -0
- data/vendor/local/share/doc/pcre/html/pcre_copy_named_substring.html +65 -0
- data/vendor/local/share/doc/pcre/html/pcre_copy_substring.html +61 -0
- data/vendor/local/share/doc/pcre/html/pcre_dfa_exec.html +129 -0
- data/vendor/local/share/doc/pcre/html/pcre_exec.html +111 -0
- data/vendor/local/share/doc/pcre/html/pcre_free_study.html +46 -0
- data/vendor/local/share/doc/pcre/html/pcre_free_substring.html +46 -0
- data/vendor/local/share/doc/pcre/html/pcre_free_substring_list.html +46 -0
- data/vendor/local/share/doc/pcre/html/pcre_fullinfo.html +118 -0
- data/vendor/local/share/doc/pcre/html/pcre_get_named_substring.html +68 -0
- data/vendor/local/share/doc/pcre/html/pcre_get_stringnumber.html +57 -0
- data/vendor/local/share/doc/pcre/html/pcre_get_stringtable_entries.html +60 -0
- data/vendor/local/share/doc/pcre/html/pcre_get_substring.html +64 -0
- data/vendor/local/share/doc/pcre/html/pcre_get_substring_list.html +61 -0
- data/vendor/local/share/doc/pcre/html/pcre_jit_exec.html +108 -0
- data/vendor/local/share/doc/pcre/html/pcre_jit_stack_alloc.html +55 -0
- data/vendor/local/share/doc/pcre/html/pcre_jit_stack_free.html +48 -0
- data/vendor/local/share/doc/pcre/html/pcre_maketables.html +48 -0
- data/vendor/local/share/doc/pcre/html/pcre_pattern_to_host_byte_order.html +58 -0
- data/vendor/local/share/doc/pcre/html/pcre_refcount.html +51 -0
- data/vendor/local/share/doc/pcre/html/pcre_study.html +68 -0
- data/vendor/local/share/doc/pcre/html/pcre_utf16_to_host_byte_order.html +57 -0
- data/vendor/local/share/doc/pcre/html/pcre_utf32_to_host_byte_order.html +57 -0
- data/vendor/local/share/doc/pcre/html/pcre_version.html +46 -0
- data/vendor/local/share/doc/pcre/html/pcreapi.html +2922 -0
- data/vendor/local/share/doc/pcre/html/pcrebuild.html +534 -0
- data/vendor/local/share/doc/pcre/html/pcrecallout.html +286 -0
- data/vendor/local/share/doc/pcre/html/pcrecompat.html +235 -0
- data/vendor/local/share/doc/pcre/html/pcrecpp.html +368 -0
- data/vendor/local/share/doc/pcre/html/pcredemo.html +426 -0
- data/vendor/local/share/doc/pcre/html/pcregrep.html +759 -0
- data/vendor/local/share/doc/pcre/html/pcrejit.html +452 -0
- data/vendor/local/share/doc/pcre/html/pcrelimits.html +90 -0
- data/vendor/local/share/doc/pcre/html/pcrematching.html +242 -0
- data/vendor/local/share/doc/pcre/html/pcrepartial.html +509 -0
- data/vendor/local/share/doc/pcre/html/pcrepattern.html +3273 -0
- data/vendor/local/share/doc/pcre/html/pcreperform.html +195 -0
- data/vendor/local/share/doc/pcre/html/pcreposix.html +290 -0
- data/vendor/local/share/doc/pcre/html/pcreprecompile.html +163 -0
- data/vendor/local/share/doc/pcre/html/pcresample.html +110 -0
- data/vendor/local/share/doc/pcre/html/pcrestack.html +225 -0
- data/vendor/local/share/doc/pcre/html/pcresyntax.html +561 -0
- data/vendor/local/share/doc/pcre/html/pcretest.html +1158 -0
- data/vendor/local/share/doc/pcre/html/pcreunicode.html +262 -0
- data/vendor/local/share/doc/pcre/pcre-config.txt +86 -0
- data/vendor/local/share/doc/pcre/pcre.txt +10455 -0
- data/vendor/local/share/doc/pcre/pcregrep.txt +741 -0
- data/vendor/local/share/doc/pcre/pcretest.txt +1087 -0
- data/vendor/local/share/gdb/auto-load/{libglib-2.0.so.0.4400.1-gdb.py → home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libglib-2.0.so.0.4800.0-gdb.py} +0 -0
- data/vendor/local/share/gdb/auto-load/{libgobject-2.0.so.0.4400.1-gdb.py → home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libgobject-2.0.so.0.4800.0-gdb.py} +0 -0
- data/vendor/local/share/gettext/ABOUT-NLS +382 -413
- data/vendor/local/share/gettext/its/gschema.its +25 -0
- data/vendor/local/share/gettext/its/gschema.loc +10 -0
- 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 +22 -0
- data/vendor/local/share/glib-2.0/codegen/codegen.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_main.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_main.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/config.py +1 -1
- data/vendor/local/share/glib-2.0/codegen/config.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/config.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/dbustypes.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/dbustypes.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/parser.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/parser.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/glib-2.0/gdb/glib.py +4 -0
- data/vendor/local/share/glib-2.0/schemas/gschemas.compiled +0 -0
- data/vendor/local/share/gtk-doc/html/gio/GAction.html +58 -64
- data/vendor/local/share/gtk-doc/html/gio/GActionGroup.html +75 -80
- data/vendor/local/share/gtk-doc/html/gio/GActionMap.html +50 -51
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +72 -97
- data/vendor/local/share/gtk-doc/html/gio/GAppInfoMonitor.html +7 -8
- data/vendor/local/share/gtk-doc/html/gio/GApplication.html +174 -160
- data/vendor/local/share/gtk-doc/html/gio/GApplicationCommandLine.html +127 -132
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +90 -92
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +43 -46
- data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +17 -26
- data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +12 -17
- data/vendor/local/share/gtk-doc/html/gio/GBytesIcon.html +10 -11
- data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +45 -52
- data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +14 -18
- data/vendor/local/share/gtk-doc/html/gio/GConverter.html +20 -21
- data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +41 -48
- data/vendor/local/share/gtk-doc/html/gio/GDBusActionGroup.html +9 -10
- data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +34 -40
- data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +337 -258
- data/vendor/local/share/gtk-doc/html/gio/GDBusInterface.html +23 -22
- data/vendor/local/share/gtk-doc/html/gio/GDBusInterfaceSkeleton.html +44 -50
- data/vendor/local/share/gtk-doc/html/gio/GDBusMenuModel.html +9 -10
- data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +143 -158
- data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +59 -54
- data/vendor/local/share/gtk-doc/html/gio/GDBusObject.html +19 -22
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManager.html +25 -27
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerClient.html +48 -52
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerServer.html +34 -31
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectProxy.html +15 -17
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectSkeleton.html +25 -28
- data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +105 -122
- data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +32 -39
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +40 -51
- data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +17 -28
- data/vendor/local/share/gtk-doc/html/gio/GDatagramBased.html +766 -0
- data/vendor/local/share/gtk-doc/html/gio/GDrive.html +56 -75
- data/vendor/local/share/gtk-doc/html/gio/GDtlsClientConnection.html +468 -0
- data/vendor/local/share/gtk-doc/html/gio/GDtlsConnection.html +1521 -0
- data/vendor/local/share/gtk-doc/html/gio/GDtlsServerConnection.html +208 -0
- data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +16 -19
- data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +16 -17
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +204 -240
- data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +9 -11
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +36 -41
- data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +13 -15
- data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +8 -9
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +128 -145
- data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +8 -9
- data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +75 -36
- data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +9 -11
- data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +10 -13
- data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +9 -11
- data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +9 -11
- data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +41 -43
- data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +56 -44
- data/vendor/local/share/gtk-doc/html/gio/GIcon.html +20 -23
- data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +103 -118
- data/vendor/local/share/gtk-doc/html/gio/GInetAddressMask.html +39 -47
- data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +31 -37
- data/vendor/local/share/gtk-doc/html/gio/GInitable.html +17 -19
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +32 -44
- data/vendor/local/share/gtk-doc/html/gio/GListModel.html +28 -29
- data/vendor/local/share/gtk-doc/html/gio/GListStore.html +80 -35
- data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +10 -11
- data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +11 -15
- data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +38 -38
- data/vendor/local/share/gtk-doc/html/gio/GMenu.html +138 -145
- data/vendor/local/share/gtk-doc/html/gio/GMenuModel.html +84 -94
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +54 -66
- data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +34 -42
- data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +26 -28
- data/vendor/local/share/gtk-doc/html/gio/GNetworkMonitor.html +97 -39
- data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +18 -23
- data/vendor/local/share/gtk-doc/html/gio/GNotification.html +49 -47
- data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +39 -56
- data/vendor/local/share/gtk-doc/html/gio/GPermission.html +26 -34
- data/vendor/local/share/gtk-doc/html/gio/GPollableInputStream.html +16 -20
- data/vendor/local/share/gtk-doc/html/gio/GPollableOutputStream.html +16 -20
- data/vendor/local/share/gtk-doc/html/gio/GPropertyAction.html +33 -20
- data/vendor/local/share/gtk-doc/html/gio/GProxy.html +30 -32
- data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +42 -51
- data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +17 -19
- data/vendor/local/share/gtk-doc/html/gio/GRemoteActionGroup.html +15 -16
- data/vendor/local/share/gtk-doc/html/gio/GResolver.html +46 -47
- data/vendor/local/share/gtk-doc/html/gio/GResource.html +79 -74
- data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +12 -18
- data/vendor/local/share/gtk-doc/html/gio/GSettings.html +325 -200
- data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +28 -29
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAction.html +46 -49
- data/vendor/local/share/gtk-doc/html/gio/GSimpleActionGroup.html +21 -23
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +258 -162
- data/vendor/local/share/gtk-doc/html/gio/GSimpleIOStream.html +11 -13
- data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +7 -9
- data/vendor/local/share/gtk-doc/html/gio/GSimpleProxyResolver.html +16 -18
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +470 -281
- data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +27 -32
- data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +76 -85
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +118 -72
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +28 -33
- data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +26 -30
- data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +180 -62
- data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +51 -28
- data/vendor/local/share/gtk-doc/html/gio/GSrvTarget.html +25 -31
- data/vendor/local/share/gtk-doc/html/gio/GSubprocess.html +63 -75
- data/vendor/local/share/gtk-doc/html/gio/GSubprocessLauncher.html +49 -54
- data/vendor/local/share/gtk-doc/html/gio/GTask.html +406 -404
- data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +11 -13
- data/vendor/local/share/gtk-doc/html/gio/GTcpWrapperConnection.html +9 -11
- data/vendor/local/share/gtk-doc/html/gio/GTestDBus.html +36 -38
- data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +30 -31
- data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +11 -14
- data/vendor/local/share/gtk-doc/html/gio/GTlsBackend.html +172 -46
- data/vendor/local/share/gtk-doc/html/gio/GTlsCertificate.html +26 -32
- data/vendor/local/share/gtk-doc/html/gio/GTlsClientConnection.html +96 -37
- data/vendor/local/share/gtk-doc/html/gio/GTlsConnection.html +64 -66
- data/vendor/local/share/gtk-doc/html/gio/GTlsDatabase.html +256 -63
- data/vendor/local/share/gtk-doc/html/gio/GTlsFileDatabase.html +15 -16
- data/vendor/local/share/gtk-doc/html/gio/GTlsInteraction.html +150 -49
- data/vendor/local/share/gtk-doc/html/gio/GTlsPassword.html +46 -51
- data/vendor/local/share/gtk-doc/html/gio/GTlsServerConnection.html +21 -18
- data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +21 -26
- data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +21 -25
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +31 -37
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +24 -28
- data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +15 -19
- data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +15 -19
- data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +43 -47
- data/vendor/local/share/gtk-doc/html/gio/GVfs.html +22 -24
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +43 -54
- data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +26 -27
- data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +15 -17
- data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +11 -13
- data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +21 -6
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-28.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-30.html +11 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-32.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-34.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-36.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-38.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-40.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-42.html +11 -5
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-44.html +5 -6
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-46.html +211 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-48.html +283 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +107 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +459 -8
- data/vendor/local/share/gtk-doc/html/gio/application.html +5 -6
- data/vendor/local/share/gtk-doc/html/gio/async.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/ch01.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/ch02.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/ch03.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/ch32.html +29 -172
- data/vendor/local/share/gtk-doc/html/gio/ch33.html +187 -27
- data/vendor/local/share/gtk-doc/html/gio/ch33s02.html +15 -34
- data/vendor/local/share/gtk-doc/html/gio/ch33s03.html +16 -137
- data/vendor/local/share/gtk-doc/html/gio/ch34.html +26 -87
- data/vendor/local/share/gtk-doc/html/gio/ch34s02.html +37 -121
- data/vendor/local/share/gtk-doc/html/gio/ch34s03.html +132 -176
- data/vendor/local/share/gtk-doc/html/gio/ch34s04.html +19 -71
- data/vendor/local/share/gtk-doc/html/gio/ch34s05.html +24 -908
- data/vendor/local/share/gtk-doc/html/gio/{ch33s06.html → ch34s06.html} +9 -10
- data/vendor/local/share/gtk-doc/html/gio/{ch33s07.html → ch34s07.html} +9 -10
- data/vendor/local/share/gtk-doc/html/gio/ch35.html +94 -0
- data/vendor/local/share/gtk-doc/html/gio/ch35s02.html +141 -0
- data/vendor/local/share/gtk-doc/html/gio/ch35s03.html +201 -0
- data/vendor/local/share/gtk-doc/html/gio/ch35s04.html +96 -0
- data/vendor/local/share/gtk-doc/html/gio/conversion.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/data-models.html +4 -5
- data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/extending.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/file_mon.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/file_ops.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/gapplication-tool.html +11 -12
- data/vendor/local/share/gtk-doc/html/gio/gdbus-codegen.html +199 -200
- data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/gdbus-example-gdbus-codegen.html +89 -0
- data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/gdbus.html +9 -10
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +24 -28
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +77 -87
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +19 -27
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +43 -57
- data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +47 -52
- data/vendor/local/share/gtk-doc/html/gio/gio-GActionGroup-exporter.html +11 -13
- data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +20 -27
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +9 -11
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +9 -11
- data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +59 -67
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +16 -21
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +21 -17
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +9 -12
- data/vendor/local/share/gtk-doc/html/gio/gio-GMenuModel-exporter.html +11 -13
- data/vendor/local/share/gtk-doc/html/gio/gio-GSettingsSchema-GSettingsSchemaSource.html +147 -114
- data/vendor/local/share/gtk-doc/html/gio/gio-GWin32InputStream.html +12 -16
- data/vendor/local/share/gtk-doc/html/gio/gio-GWin32OutputStream.html +13 -17
- data/vendor/local/share/gtk-doc/html/gio/gio-GWin32RegistryKey.html +2066 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +29 -32
- data/vendor/local/share/gtk-doc/html/gio/gio-TLS-Overview.html +16 -13
- data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +54 -75
- data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +27 -30
- data/vendor/local/share/gtk-doc/html/gio/gio-gnetworking.h.html +5 -6
- data/vendor/local/share/gtk-doc/html/gio/gio-gpollableutils.html +16 -21
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +11 -8
- data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +4 -5
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +194 -140
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-resources.html +6 -7
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +12 -6
- data/vendor/local/share/gtk-doc/html/gio/gresource-tool.html +5 -6
- data/vendor/local/share/gtk-doc/html/gio/gsettings-tool.html +5 -6
- data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/icons.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/index.html +41 -45
- data/vendor/local/share/gtk-doc/html/gio/index.sgml +204 -137
- data/vendor/local/share/gtk-doc/html/gio/migrating.html +22 -44
- data/vendor/local/share/gtk-doc/html/gio/networking.html +6 -4
- data/vendor/local/share/gtk-doc/html/gio/permissions.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/pt01.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +20 -5
- data/vendor/local/share/gtk-doc/html/gio/registry.html +32 -0
- data/vendor/local/share/gtk-doc/html/gio/resolver.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/resources.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/running-gio-apps.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/settings.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/streaming.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/style.css +9 -6
- data/vendor/local/share/gtk-doc/html/gio/subprocesses.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/testing.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/tls.html +12 -4
- data/vendor/local/share/gtk-doc/html/gio/tools.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/types.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/utils.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +16 -6
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-28.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-30.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-32.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-34.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-36.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-38.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-40.html +7 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-42.html +12 -6
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-44.html +5 -6
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-46.html +68 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-48.html +68 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +46 -8
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +80 -9
- data/vendor/local/share/gtk-doc/html/glib/deprecated.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +68 -85
- data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +254 -84
- data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +130 -144
- data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +19 -23
- data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +33 -46
- data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +22 -26
- data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +89 -82
- data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +87 -112
- data/vendor/local/share/gtk-doc/html/glib/glib-Bounds-checked-integer-arithmetic.html +384 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +100 -114
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +83 -143
- data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +14 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +49 -64
- data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +141 -156
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +32 -38
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-HMACs.html +24 -31
- data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +28 -32
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +108 -141
- data/vendor/local/share/gtk-doc/html/glib/glib-Deprecated-Thread-APIs.html +98 -113
- data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +89 -112
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +93 -125
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +50 -58
- data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +189 -171
- data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +99 -134
- data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +172 -217
- data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +32 -42
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +430 -451
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +53 -66
- data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +12 -18
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +167 -192
- data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +58 -78
- data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +14 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +70 -79
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +68 -102
- data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +166 -183
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +33 -41
- data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +80 -92
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +101 -119
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +102 -75
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +133 -60
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +192 -162
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +107 -155
- data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +69 -103
- data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +12 -16
- data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +199 -230
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +54 -67
- data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +15 -22
- data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +24 -39
- data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +29 -36
- data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +187 -173
- data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +13 -17
- data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +104 -117
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +62 -89
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +26 -38
- data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +15 -23
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +13 -18
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +210 -261
- data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +95 -101
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +306 -268
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +373 -369
- data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +79 -45
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +316 -319
- data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +12 -15
- data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +44 -26
- data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +20 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-UNIX-specific-utilities-and-integration.html +44 -53
- data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +21 -26
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +200 -220
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +51 -28
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +38 -41
- data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +25 -34
- data/vendor/local/share/gtk-doc/html/glib/glib-building.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-core.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +6 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-programming.html +4 -5
- data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +14 -15
- data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +44 -59
- data/vendor/local/share/gtk-doc/html/glib/glib.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/gtester.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +149 -149
- data/vendor/local/share/gtk-doc/html/glib/gvariant-text.html +11 -12
- data/vendor/local/share/gtk-doc/html/glib/index.html +9 -5
- data/vendor/local/share/gtk-doc/html/glib/index.sgml +36 -2
- data/vendor/local/share/gtk-doc/html/glib/style.css +9 -6
- data/vendor/local/share/gtk-doc/html/glib/tools.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +53 -57
- data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +72 -77
- data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +19 -20
- data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +14 -6
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-28.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-30.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-32.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-34.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-36.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-38.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-40.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-42.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-44.html +5 -6
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-46.html +34 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +7 -8
- data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +22 -17
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +85 -135
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +80 -144
- data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +7 -8
- data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +59 -75
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +20 -21
- data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +19 -20
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +68 -89
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +227 -218
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +48 -57
- data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +125 -96
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +78 -90
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +143 -138
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +226 -285
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +306 -289
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +450 -448
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +22 -23
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +11 -12
- data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +32 -91
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +134 -133
- data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +4 -8
- data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +89 -98
- data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +119 -112
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +199 -183
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +30 -30
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +32 -33
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +80 -32
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +73 -53
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +52 -50
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +255 -133
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +147 -111
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +65 -122
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-override.html +93 -79
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-prerequisite.html +80 -54
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +82 -87
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +126 -62
- data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +61 -54
- data/vendor/local/share/gtk-doc/html/gobject/index.html +10 -10
- data/vendor/local/share/gtk-doc/html/gobject/index.sgml +4 -2
- data/vendor/local/share/gtk-doc/html/gobject/pr01.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/pt01.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/pt02.html +10 -11
- data/vendor/local/share/gtk-doc/html/gobject/pt03.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/rn01.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/rn02.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +98 -198
- data/vendor/local/share/gtk-doc/html/gobject/style.css +9 -6
- data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +10 -11
- data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/config-example.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/config-files.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/config.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/devel-building-style.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/devel-building.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/devel-commands.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/devel-debugging.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/devel-paths.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/devel-testing.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/devel.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/gtk-doc.css +9 -6
- data/vendor/local/share/gtk-doc/html/p11-kit/index.html +2 -3
- data/vendor/local/share/gtk-doc/html/p11-kit/index.sgml +22 -0
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Deprecated.html +3 -13
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Future.html +3 -14
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Modules.html +3 -15
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-PIN-Callbacks.html +3 -14
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-URIs.html +3 -18
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Utilities.html +3 -8
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit.devhelp2 +22 -1
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit.html +2 -3
- data/vendor/local/share/gtk-doc/html/p11-kit/pkcs11-conf.html +7 -8
- data/vendor/local/share/gtk-doc/html/p11-kit/reference.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/sharing-managed.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/sharing.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/tools.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/trust-disable.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/trust-glib-networking.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/trust-module.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/trust-nss.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/trust.html +3 -4
- data/vendor/local/share/info/gmp.info +153 -158
- data/vendor/local/share/info/gmp.info-1 +131 -178
- data/vendor/local/share/info/gmp.info-2 +250 -193
- data/vendor/local/share/info/libtasn1.info +2 -2
- data/vendor/local/share/license/gmp/AUTHORS +1 -1
- data/vendor/local/share/license/pcre/AUTHORS +45 -0
- data/vendor/local/share/license/pcre/COPYING +5 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en@boldquot/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/en@boldquot/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/en@quot/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/en@quot/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/gd/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gettext-runtime.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/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/kk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/gettext-runtime.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/pl/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/gettext-runtime.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/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/gettext-runtime.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/locale/sv/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gettext-runtime.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/envsubst.1 +1 -1
- data/vendor/local/share/man/man1/gapplication.1 +2 -2
- data/vendor/local/share/man/man1/gdbus-codegen.1 +23 -22
- data/vendor/local/share/man/man1/gdbus.1 +2 -2
- data/vendor/local/share/man/man1/gettext.1 +1 -1
- data/vendor/local/share/man/man1/gio-querymodules.1 +2 -2
- data/vendor/local/share/man/man1/glib-compile-resources.1 +2 -2
- data/vendor/local/share/man/man1/glib-compile-schemas.1 +7 -2
- data/vendor/local/share/man/man1/glib-genmarshal.1 +2 -2
- data/vendor/local/share/man/man1/glib-gettextize.1 +2 -2
- data/vendor/local/share/man/man1/glib-mkenums.1 +2 -2
- data/vendor/local/share/man/man1/gobject-query.1 +2 -2
- data/vendor/local/share/man/man1/gresource.1 +2 -2
- data/vendor/local/share/man/man1/gsettings.1 +2 -2
- data/vendor/local/share/man/man1/gtester-report.1 +2 -2
- data/vendor/local/share/man/man1/gtester.1 +2 -2
- data/vendor/local/share/man/man1/ngettext.1 +1 -1
- data/vendor/local/share/man/man1/pcre-config.1 +92 -0
- data/vendor/local/share/man/man1/pcregrep.1 +683 -0
- data/vendor/local/share/man/man1/pcretest.1 +1156 -0
- data/vendor/local/share/man/man3/asn1_array2tree.3 +1 -1
- data/vendor/local/share/man/man3/asn1_bit_der.3 +1 -1
- data/vendor/local/share/man/man3/asn1_check_version.3 +1 -1
- data/vendor/local/share/man/man3/asn1_copy_node.3 +1 -1
- data/vendor/local/share/man/man3/asn1_create_element.3 +1 -1
- data/vendor/local/share/man/man3/asn1_decode_simple_ber.3 +1 -1
- data/vendor/local/share/man/man3/asn1_decode_simple_der.3 +1 -1
- data/vendor/local/share/man/man3/asn1_delete_element.3 +1 -1
- data/vendor/local/share/man/man3/asn1_delete_structure.3 +1 -1
- data/vendor/local/share/man/man3/asn1_delete_structure2.3 +1 -1
- data/vendor/local/share/man/man3/asn1_der_coding.3 +1 -1
- data/vendor/local/share/man/man3/asn1_der_decoding.3 +1 -1
- data/vendor/local/share/man/man3/asn1_der_decoding2.3 +1 -1
- data/vendor/local/share/man/man3/asn1_der_decoding_element.3 +1 -1
- data/vendor/local/share/man/man3/asn1_der_decoding_startEnd.3 +1 -1
- data/vendor/local/share/man/man3/asn1_dup_node.3 +1 -1
- data/vendor/local/share/man/man3/asn1_encode_simple_der.3 +1 -1
- data/vendor/local/share/man/man3/asn1_expand_any_defined_by.3 +1 -1
- data/vendor/local/share/man/man3/asn1_expand_octet_string.3 +1 -1
- data/vendor/local/share/man/man3/asn1_find_node.3 +1 -1
- data/vendor/local/share/man/man3/asn1_find_structure_from_oid.3 +1 -1
- data/vendor/local/share/man/man3/asn1_get_bit_der.3 +1 -1
- data/vendor/local/share/man/man3/asn1_get_length_ber.3 +1 -1
- data/vendor/local/share/man/man3/asn1_get_length_der.3 +1 -1
- data/vendor/local/share/man/man3/asn1_get_object_id_der.3 +1 -1
- data/vendor/local/share/man/man3/asn1_get_octet_der.3 +1 -1
- data/vendor/local/share/man/man3/asn1_get_tag_der.3 +1 -1
- data/vendor/local/share/man/man3/asn1_length_der.3 +1 -1
- data/vendor/local/share/man/man3/asn1_number_of_elements.3 +1 -1
- data/vendor/local/share/man/man3/asn1_octet_der.3 +1 -1
- data/vendor/local/share/man/man3/asn1_parser2array.3 +1 -1
- data/vendor/local/share/man/man3/asn1_parser2tree.3 +1 -1
- data/vendor/local/share/man/man3/asn1_perror.3 +1 -1
- data/vendor/local/share/man/man3/asn1_print_structure.3 +1 -1
- data/vendor/local/share/man/man3/asn1_read_node_value.3 +1 -1
- data/vendor/local/share/man/man3/asn1_read_tag.3 +1 -1
- data/vendor/local/share/man/man3/asn1_read_value.3 +1 -1
- data/vendor/local/share/man/man3/asn1_read_value_type.3 +1 -1
- data/vendor/local/share/man/man3/asn1_strerror.3 +1 -1
- data/vendor/local/share/man/man3/asn1_write_value.3 +1 -1
- data/vendor/local/share/man/man3/bind_textdomain_codeset.3 +1 -1
- data/vendor/local/share/man/man3/bindtextdomain.3 +1 -1
- data/vendor/local/share/man/man3/gettext.3 +1 -1
- data/vendor/local/share/man/man3/ngettext.3 +1 -1
- data/vendor/local/share/man/man3/pcre.3 +230 -0
- data/vendor/local/share/man/man3/pcre16.3 +371 -0
- data/vendor/local/share/man/man3/pcre16_assign_jit_stack.3 +59 -0
- data/vendor/local/share/man/man3/pcre16_compile.3 +96 -0
- data/vendor/local/share/man/man3/pcre16_compile2.3 +101 -0
- data/vendor/local/share/man/man3/pcre16_config.3 +79 -0
- data/vendor/local/share/man/man3/pcre16_copy_named_substring.3 +51 -0
- data/vendor/local/share/man/man3/pcre16_copy_substring.3 +47 -0
- data/vendor/local/share/man/man3/pcre16_dfa_exec.3 +118 -0
- data/vendor/local/share/man/man3/pcre16_exec.3 +99 -0
- data/vendor/local/share/man/man3/pcre16_free_study.3 +31 -0
- data/vendor/local/share/man/man3/pcre16_free_substring.3 +31 -0
- data/vendor/local/share/man/man3/pcre16_free_substring_list.3 +31 -0
- data/vendor/local/share/man/man3/pcre16_fullinfo.3 +103 -0
- data/vendor/local/share/man/man3/pcre16_get_named_substring.3 +54 -0
- data/vendor/local/share/man/man3/pcre16_get_stringnumber.3 +43 -0
- data/vendor/local/share/man/man3/pcre16_get_stringtable_entries.3 +46 -0
- data/vendor/local/share/man/man3/pcre16_get_substring.3 +50 -0
- data/vendor/local/share/man/man3/pcre16_get_substring_list.3 +47 -0
- data/vendor/local/share/man/man3/pcre16_jit_exec.3 +96 -0
- data/vendor/local/share/man/man3/pcre16_jit_stack_alloc.3 +43 -0
- data/vendor/local/share/man/man3/pcre16_jit_stack_free.3 +35 -0
- data/vendor/local/share/man/man3/pcre16_maketables.3 +33 -0
- data/vendor/local/share/man/man3/pcre16_pattern_to_host_byte_order.3 +44 -0
- data/vendor/local/share/man/man3/pcre16_refcount.3 +36 -0
- data/vendor/local/share/man/man3/pcre16_study.3 +54 -0
- data/vendor/local/share/man/man3/pcre16_utf16_to_host_byte_order.3 +45 -0
- data/vendor/local/share/man/man3/pcre16_version.3 +31 -0
- data/vendor/local/share/man/man3/pcre32.3 +369 -0
- data/vendor/local/share/man/man3/pcre32_assign_jit_stack.3 +59 -0
- data/vendor/local/share/man/man3/pcre32_compile.3 +96 -0
- data/vendor/local/share/man/man3/pcre32_compile2.3 +101 -0
- data/vendor/local/share/man/man3/pcre32_config.3 +79 -0
- data/vendor/local/share/man/man3/pcre32_copy_named_substring.3 +51 -0
- data/vendor/local/share/man/man3/pcre32_copy_substring.3 +47 -0
- data/vendor/local/share/man/man3/pcre32_dfa_exec.3 +118 -0
- data/vendor/local/share/man/man3/pcre32_exec.3 +99 -0
- data/vendor/local/share/man/man3/pcre32_free_study.3 +31 -0
- data/vendor/local/share/man/man3/pcre32_free_substring.3 +31 -0
- data/vendor/local/share/man/man3/pcre32_free_substring_list.3 +31 -0
- data/vendor/local/share/man/man3/pcre32_fullinfo.3 +103 -0
- data/vendor/local/share/man/man3/pcre32_get_named_substring.3 +54 -0
- data/vendor/local/share/man/man3/pcre32_get_stringnumber.3 +43 -0
- data/vendor/local/share/man/man3/pcre32_get_stringtable_entries.3 +46 -0
- data/vendor/local/share/man/man3/pcre32_get_substring.3 +50 -0
- data/vendor/local/share/man/man3/pcre32_get_substring_list.3 +47 -0
- data/vendor/local/share/man/man3/pcre32_jit_exec.3 +96 -0
- data/vendor/local/share/man/man3/pcre32_jit_stack_alloc.3 +43 -0
- data/vendor/local/share/man/man3/pcre32_jit_stack_free.3 +35 -0
- data/vendor/local/share/man/man3/pcre32_maketables.3 +33 -0
- data/vendor/local/share/man/man3/pcre32_pattern_to_host_byte_order.3 +44 -0
- data/vendor/local/share/man/man3/pcre32_refcount.3 +36 -0
- data/vendor/local/share/man/man3/pcre32_study.3 +54 -0
- data/vendor/local/share/man/man3/pcre32_utf32_to_host_byte_order.3 +45 -0
- data/vendor/local/share/man/man3/pcre32_version.3 +31 -0
- data/vendor/local/share/man/man3/pcre_assign_jit_stack.3 +59 -0
- data/vendor/local/share/man/man3/pcre_compile.3 +96 -0
- data/vendor/local/share/man/man3/pcre_compile2.3 +101 -0
- data/vendor/local/share/man/man3/pcre_config.3 +79 -0
- data/vendor/local/share/man/man3/pcre_copy_named_substring.3 +51 -0
- data/vendor/local/share/man/man3/pcre_copy_substring.3 +47 -0
- data/vendor/local/share/man/man3/pcre_dfa_exec.3 +118 -0
- data/vendor/local/share/man/man3/pcre_exec.3 +99 -0
- data/vendor/local/share/man/man3/pcre_free_study.3 +31 -0
- data/vendor/local/share/man/man3/pcre_free_substring.3 +31 -0
- data/vendor/local/share/man/man3/pcre_free_substring_list.3 +31 -0
- data/vendor/local/share/man/man3/pcre_fullinfo.3 +103 -0
- data/vendor/local/share/man/man3/pcre_get_named_substring.3 +54 -0
- data/vendor/local/share/man/man3/pcre_get_stringnumber.3 +43 -0
- data/vendor/local/share/man/man3/pcre_get_stringtable_entries.3 +46 -0
- data/vendor/local/share/man/man3/pcre_get_substring.3 +50 -0
- data/vendor/local/share/man/man3/pcre_get_substring_list.3 +47 -0
- data/vendor/local/share/man/man3/pcre_jit_exec.3 +96 -0
- data/vendor/local/share/man/man3/pcre_jit_stack_alloc.3 +43 -0
- data/vendor/local/share/man/man3/pcre_jit_stack_free.3 +35 -0
- data/vendor/local/share/man/man3/pcre_maketables.3 +33 -0
- data/vendor/local/share/man/man3/pcre_pattern_to_host_byte_order.3 +44 -0
- data/vendor/local/share/man/man3/pcre_refcount.3 +36 -0
- data/vendor/local/share/man/man3/pcre_study.3 +54 -0
- data/vendor/local/share/man/man3/pcre_utf16_to_host_byte_order.3 +45 -0
- data/vendor/local/share/man/man3/pcre_utf32_to_host_byte_order.3 +45 -0
- data/vendor/local/share/man/man3/pcre_version.3 +31 -0
- data/vendor/local/share/man/man3/pcreapi.3 +2919 -0
- data/vendor/local/share/man/man3/pcrebuild.3 +550 -0
- data/vendor/local/share/man/man3/pcrecallout.3 +255 -0
- data/vendor/local/share/man/man3/pcrecompat.3 +200 -0
- data/vendor/local/share/man/man3/pcrecpp.3 +348 -0
- data/vendor/local/share/man/man3/pcredemo.3 +424 -0
- data/vendor/local/share/man/man3/pcrejit.3 +431 -0
- data/vendor/local/share/man/man3/pcrelimits.3 +71 -0
- data/vendor/local/share/man/man3/pcrematching.3 +214 -0
- data/vendor/local/share/man/man3/pcrepartial.3 +476 -0
- data/vendor/local/share/man/man3/pcrepattern.3 +3301 -0
- data/vendor/local/share/man/man3/pcreperform.3 +177 -0
- data/vendor/local/share/man/man3/pcreposix.3 +267 -0
- data/vendor/local/share/man/man3/pcreprecompile.3 +155 -0
- data/vendor/local/share/man/man3/pcresample.3 +99 -0
- data/vendor/local/share/man/man3/pcrestack.3 +215 -0
- data/vendor/local/share/man/man3/pcresyntax.3 +540 -0
- data/vendor/local/share/man/man3/pcreunicode.3 +249 -0
- data/vendor/local/share/man/man3/textdomain.3 +1 -1
- metadata +233 -22
- data/lib/2.0/glib2.so +0 -0
- data/lib/2.1/glib2.so +0 -0
- data/vendor/local/bin/libhogweed-4-1.dll +0 -0
- data/vendor/local/share/gtk-doc/html/gio/ExampleAnimal.html +0 -1537
- data/vendor/local/share/gtk-doc/html/gio/ExampleCat.html +0 -679
- data/vendor/local/share/gtk-doc/html/gio/ExampleObject.html +0 -572
- data/vendor/local/share/gtk-doc/html/gio/ExampleObjectManagerClient.html +0 -561
- data/vendor/local/share/gtk-doc/html/gio/ch31.html +0 -75
- data/vendor/local/share/gtk-doc/html/gio/ch32s02.html +0 -41
- data/vendor/local/share/gtk-doc/html/gio/ch32s03.html +0 -39
- data/vendor/local/share/gtk-doc/html/gio/ch33s04.html +0 -46
- data/vendor/local/share/gtk-doc/html/gio/ch33s05.html +0 -48
- data/vendor/local/share/gtk-doc/html/gio/gdbus-org.gtk.GDBus.Example.ObjectManager.Animal.html +0 -161
- data/vendor/local/share/gtk-doc/html/gio/gdbus-org.gtk.GDBus.Example.ObjectManager.Cat.html +0 -51
@@ -2,13 +2,13 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
5
|
+
<title>GConfClient (and GConfBridge) API conversion: GIO Reference Manual</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
7
7
|
<link rel="home" href="index.html" title="GIO Reference Manual">
|
8
|
-
<link rel="up" href="ch34.html" title="Migrating to
|
9
|
-
<link rel="prev" href="ch34s02.html" title="
|
10
|
-
<link rel="next" href="ch34s04.html" title="
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
8
|
+
<link rel="up" href="ch34.html" title="Migrating from GConf to GSettings">
|
9
|
+
<link rel="prev" href="ch34s02.html" title="Conceptual differences">
|
10
|
+
<link rel="next" href="ch34s04.html" title="Change notification">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.24 (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">
|
@@ -21,182 +21,138 @@
|
|
21
21
|
</tr></table>
|
22
22
|
<div class="section">
|
23
23
|
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
|
24
|
-
<a name="id-1.5.
|
24
|
+
<a name="id-1.5.4.4"></a>GConfClient (and GConfBridge) API conversion</h2></div></div></div>
|
25
25
|
<p>
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
<
|
81
|
-
<
|
82
|
-
<
|
83
|
-
|
84
|
-
<
|
85
|
-
<
|
86
|
-
<
|
87
|
-
|
88
|
-
<
|
89
|
-
<
|
90
|
-
<
|
91
|
-
|
92
|
-
<
|
93
|
-
<
|
94
|
-
<
|
95
|
-
|
96
|
-
<
|
97
|
-
<
|
98
|
-
<
|
99
|
-
|
100
|
-
<
|
101
|
-
|
102
|
-
<
|
103
|
-
|
104
|
-
<
|
105
|
-
<
|
106
|
-
<
|
107
|
-
|
108
|
-
<
|
109
|
-
<
|
110
|
-
<
|
111
|
-
<
|
112
|
-
|
113
|
-
|
114
|
-
<
|
115
|
-
<
|
116
|
-
|
117
|
-
|
118
|
-
<
|
119
|
-
<
|
120
|
-
<
|
121
|
-
|
122
|
-
<
|
123
|
-
|
124
|
-
|
125
|
-
|
26
|
+
Most people use GConf via the high-level <span class="type">GConfClient</span> API.
|
27
|
+
The corresponding API is the <a class="link" href="GSettings.html" title="GSettings"><span class="type">GSettings</span></a> object. While not
|
28
|
+
every GConfClient function has a direct GSettings equivalent,
|
29
|
+
many do:
|
30
|
+
</p>
|
31
|
+
<div class="table">
|
32
|
+
<a name="gconf-client-vs-gsettings"></a><p class="title"><b>Table 3. </b></p>
|
33
|
+
<div class="table-contents"><table class="table" border="1">
|
34
|
+
<colgroup>
|
35
|
+
<col>
|
36
|
+
<col>
|
37
|
+
</colgroup>
|
38
|
+
<thead><tr>
|
39
|
+
<th>GConfClient</th>
|
40
|
+
<th>GSettings</th>
|
41
|
+
</tr></thead>
|
42
|
+
<tbody>
|
43
|
+
<tr>
|
44
|
+
<td><code class="function">gconf_client_get_default()</code></td>
|
45
|
+
<td>no direct equivalent,
|
46
|
+
instead you call <a class="link" href="GSettings.html#g-settings-new" title="g_settings_new ()"><code class="function">g_settings_new()</code></a> for the schemas you use</td>
|
47
|
+
</tr>
|
48
|
+
<tr>
|
49
|
+
<td><code class="function">gconf_client_set()</code></td>
|
50
|
+
<td><a class="link" href="GSettings.html#g-settings-set" title="g_settings_set ()"><code class="function">g_settings_set()</code></a></td>
|
51
|
+
</tr>
|
52
|
+
<tr>
|
53
|
+
<td><code class="function">gconf_client_get()</code></td>
|
54
|
+
<td><a class="link" href="GSettings.html#g-settings-get" title="g_settings_get ()"><code class="function">g_settings_get()</code></a></td>
|
55
|
+
</tr>
|
56
|
+
<tr>
|
57
|
+
<td><code class="function">gconf_client_get_bool()</code></td>
|
58
|
+
<td><a class="link" href="GSettings.html#g-settings-get-boolean" title="g_settings_get_boolean ()"><code class="function">g_settings_get_boolean()</code></a></td>
|
59
|
+
</tr>
|
60
|
+
<tr>
|
61
|
+
<td><code class="function">gconf_client_set_bool()</code></td>
|
62
|
+
<td><a class="link" href="GSettings.html#g-settings-set-boolean" title="g_settings_set_boolean ()"><code class="function">g_settings_set_boolean()</code></a></td>
|
63
|
+
</tr>
|
64
|
+
<tr>
|
65
|
+
<td><code class="function">gconf_client_get_int()</code></td>
|
66
|
+
<td><a class="link" href="GSettings.html#g-settings-get-int" title="g_settings_get_int ()"><code class="function">g_settings_get_int()</code></a></td>
|
67
|
+
</tr>
|
68
|
+
<tr>
|
69
|
+
<td><code class="function">gconf_client_set_int()</code></td>
|
70
|
+
<td><a class="link" href="GSettings.html#g-settings-set-int" title="g_settings_set_int ()"><code class="function">g_settings_set_int()</code></a></td>
|
71
|
+
</tr>
|
72
|
+
<tr>
|
73
|
+
<td><code class="function">gconf_client_get_float()</code></td>
|
74
|
+
<td><a class="link" href="GSettings.html#g-settings-get-double" title="g_settings_get_double ()"><code class="function">g_settings_get_double()</code></a></td>
|
75
|
+
</tr>
|
76
|
+
<tr>
|
77
|
+
<td><code class="function">gconf_client_set_float()</code></td>
|
78
|
+
<td><a class="link" href="GSettings.html#g-settings-set-double" title="g_settings_set_double ()"><code class="function">g_settings_set_double()</code></a></td>
|
79
|
+
</tr>
|
80
|
+
<tr>
|
81
|
+
<td><code class="function">gconf_client_get_string()</code></td>
|
82
|
+
<td><a class="link" href="GSettings.html#g-settings-get-string" title="g_settings_get_string ()"><code class="function">g_settings_get_string()</code></a></td>
|
83
|
+
</tr>
|
84
|
+
<tr>
|
85
|
+
<td><code class="function">gconf_client_set_string()</code></td>
|
86
|
+
<td><a class="link" href="GSettings.html#g-settings-set-string" title="g_settings_set_string ()"><code class="function">g_settings_set_string()</code></a></td>
|
87
|
+
</tr>
|
88
|
+
<tr>
|
89
|
+
<td><code class="function">gconf_client_get_list()</code></td>
|
90
|
+
<td>for string lists, see <a class="link" href="GSettings.html#g-settings-get-strv" title="g_settings_get_strv ()"><code class="function">g_settings_get_strv()</code></a>, else see <a class="link" href="GSettings.html#g-settings-get-value" title="g_settings_get_value ()"><code class="function">g_settings_get_value()</code></a> and <a href="../glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> API</td>
|
91
|
+
</tr>
|
92
|
+
<tr>
|
93
|
+
<td><code class="function">gconf_client_set_list()</code></td>
|
94
|
+
<td>for string lists, see <a class="link" href="GSettings.html#g-settings-set-strv" title="g_settings_set_strv ()"><code class="function">g_settings_set_strv()</code></a>, else see <a class="link" href="GSettings.html#g-settings-set-value" title="g_settings_set_value ()"><code class="function">g_settings_set_value()</code></a> and <a href="../glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> API</td>
|
95
|
+
</tr>
|
96
|
+
<tr>
|
97
|
+
<td><code class="function">gconf_entry_get_is_writable()</code></td>
|
98
|
+
<td><a class="link" href="GSettings.html#g-settings-is-writable" title="g_settings_is_writable ()"><code class="function">g_settings_is_writable()</code></a></td>
|
99
|
+
</tr>
|
100
|
+
<tr>
|
101
|
+
<td><code class="function">gconf_client_notify_add()</code></td>
|
102
|
+
<td>not required, the <a class="link" href="GSettings.html#GSettings-changed" title="The “changed” signal"><span class="type">“changed”</span></a> signal is emitted automatically</td>
|
103
|
+
</tr>
|
104
|
+
<tr>
|
105
|
+
<td><code class="function">gconf_client_add_dir()</code></td>
|
106
|
+
<td>not required, each GSettings instance automatically watches all keys in its path</td>
|
107
|
+
</tr>
|
108
|
+
<tr>
|
109
|
+
<td><span class="type">GConfChangeSet</span></td>
|
110
|
+
<td>
|
111
|
+
<a class="link" href="GSettings.html#g-settings-delay" title="g_settings_delay ()"><code class="function">g_settings_delay()</code></a>, <a class="link" href="GSettings.html#g-settings-apply" title="g_settings_apply ()"><code class="function">g_settings_apply()</code></a>
|
112
|
+
</td>
|
113
|
+
</tr>
|
114
|
+
<tr>
|
115
|
+
<td><code class="function">gconf_client_get_default_from_schema()</code></td>
|
116
|
+
<td>no equivalent, applications are expected to know their schema</td>
|
117
|
+
</tr>
|
118
|
+
<tr>
|
119
|
+
<td><code class="function">gconf_client_all_entries()</code></td>
|
120
|
+
<td>no equivalent, applications are expected to know their schema, and GSettings does not allow schema-less entries</td>
|
121
|
+
</tr>
|
122
|
+
<tr>
|
123
|
+
<td><code class="function">gconf_client_get_without_default()</code></td>
|
124
|
+
<td>no equivalent</td>
|
125
|
+
</tr>
|
126
|
+
<tr>
|
127
|
+
<td><code class="function">gconf_bridge_bind_property()</code></td>
|
128
|
+
<td><a class="link" href="GSettings.html#g-settings-bind" title="g_settings_bind ()"><code class="function">g_settings_bind()</code></a></td>
|
129
|
+
</tr>
|
130
|
+
<tr>
|
131
|
+
<td><code class="function">gconf_bridge_bind_property_full()</code></td>
|
132
|
+
<td><a class="link" href="GSettings.html#g-settings-bind-with-mapping" title="g_settings_bind_with_mapping ()"><code class="function">g_settings_bind_with_mapping()</code></a></td>
|
133
|
+
</tr>
|
134
|
+
</tbody>
|
135
|
+
</table></div>
|
126
136
|
</div>
|
127
|
-
|
137
|
+
<p><br class="table-break">
|
138
|
+
</p>
|
128
139
|
<p>
|
129
|
-
|
140
|
+
GConfBridge was a third-party library that used GConf to bind an object property
|
141
|
+
to a particular configuration key. GSettings offers this service itself.
|
142
|
+
</p>
|
130
143
|
<p>
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
<div class="informalexample">
|
136
|
-
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
137
|
-
<tbody>
|
138
|
-
<tr>
|
139
|
-
<td class="listing_lines" align="right"><pre>1
|
140
|
-
2
|
141
|
-
3
|
142
|
-
4
|
143
|
-
5
|
144
|
-
6
|
145
|
-
7
|
146
|
-
8
|
147
|
-
9
|
148
|
-
10
|
149
|
-
11
|
150
|
-
12
|
151
|
-
13
|
152
|
-
14
|
153
|
-
15
|
154
|
-
16
|
155
|
-
17
|
156
|
-
18
|
157
|
-
19
|
158
|
-
20
|
159
|
-
21
|
160
|
-
22</pre></td>
|
161
|
-
<td class="listing_code"><pre class="programlisting"><span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
162
|
-
<span class="function">on_name_acquired</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GDBusConnection</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">connection</span><span class="symbol">,</span>
|
163
|
-
<span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">name</span><span class="symbol">,</span>
|
164
|
-
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
|
165
|
-
<span class="cbracket">{</span>
|
166
|
-
<span class="normal"> </span><span class="comment">/* further setup ... */</span>
|
167
|
-
<span class="cbracket">}</span>
|
168
|
-
|
169
|
-
<span class="comment">/* ... */</span>
|
170
|
-
|
171
|
-
<span class="normal"> owner_id </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="gio-Owning-Bus-Names.html#g-bus-own-name">g_bus_own_name</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="GDBusConnection.html#G-BUS-TYPE-SYSTEM:CAPS">G_BUS_TYPE_SYSTEM</a></span><span class="symbol">,</span>
|
172
|
-
<span class="normal"> NAME_TO_CLAIM</span><span class="symbol">,</span>
|
173
|
-
<span class="normal"> <a href="gio-Owning-Bus-Names.html#G-BUS-NAME-OWNER-FLAGS-ALLOW-REPLACEMENT:CAPS">G_BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT</a></span><span class="symbol">,</span>
|
174
|
-
<span class="normal"> on_bus_acquired</span><span class="symbol">,</span>
|
175
|
-
<span class="normal"> on_name_acquired</span><span class="symbol">,</span>
|
176
|
-
<span class="normal"> on_name_lost</span><span class="symbol">,</span>
|
177
|
-
<span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span>
|
178
|
-
<span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
179
|
-
|
180
|
-
<span class="normal"> </span><span class="function"><a href="../glib/glib-The-Main-Event-Loop.html#g-main-loop-run">g_main_loop_run</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">loop</span><span class="symbol">);</span>
|
181
|
-
|
182
|
-
<span class="normal"> </span><span class="function"><a href="gio-Owning-Bus-Names.html#g-bus-unown-name">g_bus_unown_name</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">owner_id</span><span class="symbol">);</span></pre></td>
|
183
|
-
</tr>
|
184
|
-
</tbody>
|
185
|
-
</table>
|
186
|
-
</div>
|
187
|
-
|
144
|
+
There is a pattern that is sometimes used for GConf, where a setting can have
|
145
|
+
explicit 'value A', explicit 'value B' or 'use the system default'. With GConf,
|
146
|
+
'use the system default' is sometimes implemented by unsetting the user value.
|
147
|
+
</p>
|
188
148
|
<p>
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
name. The <code class="function">on_bus_acquired()</code> callback is the right place to do
|
195
|
-
such preparations.
|
196
|
-
</p>
|
149
|
+
This is not possible in GSettings, since it does not have API to determine if a value
|
150
|
+
is the default and does not let you unset values. The recommended way (and much
|
151
|
+
clearer) way in which this can be implemented in GSettings is to have a separate
|
152
|
+
'use-system-default' boolean setting.
|
153
|
+
</p>
|
197
154
|
</div>
|
198
155
|
<div class="footer">
|
199
|
-
<hr>
|
200
|
-
Generated by GTK-Doc V1.21.1</div>
|
156
|
+
<hr>Generated by GTK-Doc V1.24</div>
|
201
157
|
</body>
|
202
158
|
</html>
|
@@ -2,13 +2,13 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
5
|
+
<title>Change notification: GIO Reference Manual</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
7
7
|
<link rel="home" href="index.html" title="GIO Reference Manual">
|
8
|
-
<link rel="up" href="ch34.html" title="Migrating to
|
9
|
-
<link rel="prev" href="ch34s03.html" title="
|
10
|
-
<link rel="next" href="ch34s05.html" title="
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
8
|
+
<link rel="up" href="ch34.html" title="Migrating from GConf to GSettings">
|
9
|
+
<link rel="prev" href="ch34s03.html" title="GConfClient (and GConfBridge) API conversion">
|
10
|
+
<link rel="next" href="ch34s05.html" title="Change sets">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.24 (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">
|
@@ -21,77 +21,25 @@
|
|
21
21
|
</tr></table>
|
22
22
|
<div class="section">
|
23
23
|
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
|
24
|
-
<a name="id-1.5.
|
24
|
+
<a name="id-1.5.4.5"></a>Change notification</h2></div></div></div>
|
25
25
|
<p>
|
26
|
-
|
27
|
-
|
26
|
+
GConf requires you to call <code class="function">gconf_client_add_dir()</code> and
|
27
|
+
<code class="function">gconf_client_notify_add()</code> to get change notification. With
|
28
|
+
GSettings, this is not necessary; signals get emitted automatically
|
29
|
+
for every change.
|
28
30
|
</p>
|
29
|
-
<div class="informalexample">
|
30
|
-
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
31
|
-
<tbody>
|
32
|
-
<tr>
|
33
|
-
<td class="listing_lines" align="right"><pre>1
|
34
|
-
2
|
35
|
-
3
|
36
|
-
4</pre></td>
|
37
|
-
<td class="listing_code"><pre class="programlisting"><span class="normal">proxy </span><span class="symbol">=</span><span class="normal"> </span><span class="function">dbus_g_proxy_new_for_name</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">system_bus_connection</span><span class="symbol">,</span>
|
38
|
-
<span class="normal"> </span><span class="string">"org.freedesktop.Accounts"</span><span class="symbol">,</span>
|
39
|
-
<span class="normal"> </span><span class="string">"/org/freedesktop/Accounts"</span><span class="symbol">,</span>
|
40
|
-
<span class="normal"> </span><span class="string">"org.freedesktop.Accounts"</span><span class="symbol">);</span></pre></td>
|
41
|
-
</tr>
|
42
|
-
</tbody>
|
43
|
-
</table>
|
44
|
-
</div>
|
45
|
-
|
46
|
-
<p>
|
47
|
-
For a <span class="type">DBusGProxy</span> constructed like this, method calls will be sent to
|
48
|
-
the current owner of the name, and that owner can change over time.
|
49
|
-
</p>
|
50
31
|
<p>
|
51
|
-
|
32
|
+
The <a class="link" href="GSettings.html#GSettings-changed" title="The “changed” signal"><span class="type">“changed”</span></a> signal is emitted for each changed key.
|
33
|
+
There is also a <a class="link" href="GSettings.html#GSettings-change-event" title="The “change-event” signal"><span class="type">“change-event”</span></a> signal that you can handle
|
34
|
+
if you need to see groups of keys that get changed at the same time.
|
52
35
|
</p>
|
53
|
-
<div class="informalexample">
|
54
|
-
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
55
|
-
<tbody>
|
56
|
-
<tr>
|
57
|
-
<td class="listing_lines" align="right"><pre>1
|
58
|
-
2
|
59
|
-
3
|
60
|
-
4
|
61
|
-
5
|
62
|
-
6
|
63
|
-
7
|
64
|
-
8
|
65
|
-
9</pre></td>
|
66
|
-
<td class="listing_code"><pre class="programlisting"><span class="normal">error </span><span class="symbol">=</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
|
67
|
-
<span class="normal">proxy </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GDBusProxy.html#g-dbus-proxy-new-for-bus-sync">g_dbus_proxy_new_for_bus_sync</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="GDBusConnection.html#G-BUS-TYPE-SYSTEM:CAPS">G_BUS_TYPE_SYSTEM</a></span><span class="symbol">,</span>
|
68
|
-
<span class="normal"> <a href="GDBusProxy.html#G-DBUS-PROXY-FLAGS-NONE:CAPS">G_DBUS_PROXY_FLAGS_NONE</a></span><span class="symbol">,</span>
|
69
|
-
<span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> </span><span class="comment">/* GDBusInterfaceInfo */</span>
|
70
|
-
<span class="normal"> </span><span class="string">"org.freedesktop.Accounts"</span><span class="symbol">,</span>
|
71
|
-
<span class="normal"> </span><span class="string">"/org/freedesktop/Accounts"</span><span class="symbol">,</span>
|
72
|
-
<span class="normal"> </span><span class="string">"org.freedesktop.Accounts"</span><span class="symbol">,</span>
|
73
|
-
<span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> </span><span class="comment">/* GCancellable */</span>
|
74
|
-
<span class="normal"> </span><span class="symbol">&</span><span class="normal">error</span><span class="symbol">);</span></pre></td>
|
75
|
-
</tr>
|
76
|
-
</tbody>
|
77
|
-
</table>
|
78
|
-
</div>
|
79
|
-
|
80
36
|
<p>
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
object. It also sets up match rules so D-Bus signals from the
|
86
|
-
remote object are delivered locally.
|
87
|
-
</p>
|
88
|
-
<p>
|
89
|
-
The <a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> type normally isn't used directly - instead
|
90
|
-
proxies subclassing <a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> generated by <span class="command"><strong><a href="gdbus-codegen.html">gdbus-codegen</a></strong></span> is used, see <a class="xref" href="ch34s05.html#gdbus-example-gdbus-codegen" title="Using gdbus-codegen">the section called “Using gdbus-codegen”</a>
|
91
|
-
</p>
|
37
|
+
GSettings also notifies you about changes in writability of keys,
|
38
|
+
with the <a class="link" href="GSettings.html#GSettings-writable-changed" title="The “writable-changed” signal"><span class="type">“writable-changed”</span></a> signal (and the
|
39
|
+
<a class="link" href="GSettings.html#GSettings-writable-change-event" title="The “writable-change-event” signal"><span class="type">“writable-change-event”</span></a> signal).
|
40
|
+
</p>
|
92
41
|
</div>
|
93
42
|
<div class="footer">
|
94
|
-
<hr>
|
95
|
-
Generated by GTK-Doc V1.21.1</div>
|
43
|
+
<hr>Generated by GTK-Doc V1.24</div>
|
96
44
|
</body>
|
97
45
|
</html>
|
@@ -2,13 +2,13 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
5
|
+
<title>Change sets: GIO Reference Manual</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
7
7
|
<link rel="home" href="index.html" title="GIO Reference Manual">
|
8
|
-
<link rel="up" href="ch34.html" title="Migrating to
|
9
|
-
<link rel="prev" href="ch34s04.html" title="
|
10
|
-
<link rel="next" href="
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
8
|
+
<link rel="up" href="ch34.html" title="Migrating from GConf to GSettings">
|
9
|
+
<link rel="prev" href="ch34s04.html" title="Change notification">
|
10
|
+
<link rel="next" href="ch34s06.html" title="Schema conversion">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.24 (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">
|
@@ -17,915 +17,31 @@
|
|
17
17
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
18
18
|
<td><a accesskey="u" href="ch34.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
19
19
|
<td><a accesskey="p" href="ch34s04.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
20
|
-
<td><a accesskey="n" href="
|
20
|
+
<td><a accesskey="n" href="ch34s06.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
21
21
|
</tr></table>
|
22
22
|
<div class="section">
|
23
23
|
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
|
24
|
-
<a name="id-1.5.
|
25
|
-
<div class="section">
|
26
|
-
<div class="titlepage"><div><div><h3 class="title">
|
27
|
-
<a name="gdbus-example-gdbus-codegen"></a>Using gdbus-codegen</h3></div></div></div>
|
24
|
+
<a name="id-1.5.4.6"></a>Change sets</h2></div></div></div>
|
28
25
|
<p>
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
</p>
|
34
|
-
<div class="example">
|
35
|
-
<a name="gdbus-example-codegen-input"></a><p class="title"><b>Example 2. Example D-Bus Introspection XML</b></p>
|
36
|
-
<div class="example-contents">
|
37
|
-
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
38
|
-
<tbody>
|
39
|
-
<tr>
|
40
|
-
<td class="listing_lines" align="right"><pre>1
|
41
|
-
2
|
42
|
-
3
|
43
|
-
4
|
44
|
-
5
|
45
|
-
6
|
46
|
-
7
|
47
|
-
8
|
48
|
-
9
|
49
|
-
10
|
50
|
-
11
|
51
|
-
12
|
52
|
-
13
|
53
|
-
14
|
54
|
-
15
|
55
|
-
16
|
56
|
-
17
|
57
|
-
18
|
58
|
-
19
|
59
|
-
20
|
60
|
-
21
|
61
|
-
22
|
62
|
-
23
|
63
|
-
24
|
64
|
-
25
|
65
|
-
26
|
66
|
-
27
|
67
|
-
28
|
68
|
-
29
|
69
|
-
30
|
70
|
-
31
|
71
|
-
32
|
72
|
-
33
|
73
|
-
34
|
74
|
-
35
|
75
|
-
36
|
76
|
-
37
|
77
|
-
38
|
78
|
-
39
|
79
|
-
40
|
80
|
-
41
|
81
|
-
42
|
82
|
-
43
|
83
|
-
44
|
84
|
-
45
|
85
|
-
46
|
86
|
-
47
|
87
|
-
48
|
88
|
-
49
|
89
|
-
50
|
90
|
-
51
|
91
|
-
52
|
92
|
-
53
|
93
|
-
54
|
94
|
-
55
|
95
|
-
56
|
96
|
-
57
|
97
|
-
58
|
98
|
-
59
|
99
|
-
60
|
100
|
-
61
|
101
|
-
62
|
102
|
-
63
|
103
|
-
64
|
104
|
-
65
|
105
|
-
66
|
106
|
-
67
|
107
|
-
68
|
108
|
-
69
|
109
|
-
70
|
110
|
-
71
|
111
|
-
72
|
112
|
-
73
|
113
|
-
74
|
114
|
-
75
|
115
|
-
76
|
116
|
-
77
|
117
|
-
78</pre></td>
|
118
|
-
<td class="listing_code"><pre class="programlisting"><span class="symbol"><</span><span class="normal">node</span><span class="symbol">></span>
|
119
|
-
<span class="normal"> </span><span class="symbol"><!--</span><span class="normal"> org</span><span class="symbol">.</span><span class="normal">gtk</span><span class="symbol">.</span><span class="normal">GDBus</span><span class="symbol">.</span><span class="normal">Example</span><span class="symbol">.</span><span class="normal">ObjectManager</span><span class="symbol">.</span><span class="normal">Animal</span><span class="symbol">:</span>
|
120
|
-
<span class="normal"> @short_description</span><span class="symbol">:</span><span class="normal"> Example docs generated </span><span class="usertype">by</span><span class="normal"> <a href="gdbus.html">gdbus</a></span><span class="symbol">-</span><span class="normal">codegen</span>
|
121
|
-
<span class="normal"> @since</span><span class="symbol">:</span><span class="normal"> </span><span class="number">2.30</span>
|
122
|
-
|
123
|
-
<span class="normal"> </span><span class="usertype">This</span><span class="normal"> D</span><span class="symbol">-</span><span class="normal">Bus interface is used to describe a </span><span class="usertype">simple</span><span class="normal"> animal</span><span class="symbol">.</span>
|
124
|
-
<span class="normal"> </span><span class="symbol">--></span>
|
125
|
-
<span class="normal"> </span><span class="symbol"><</span><span class="usertype">interface</span><span class="normal"> name</span><span class="symbol">=</span><span class="string">"org.gtk.GDBus.Example.ObjectManager.Animal"</span><span class="symbol">></span>
|
126
|
-
<span class="normal"> </span><span class="symbol"><!--</span><span class="normal"> Mood</span><span class="symbol">:</span><span class="normal"> The mood of </span><span class="usertype">the</span><span class="normal"> animal</span><span class="symbol">.</span>
|
127
|
-
<span class="normal"> @since</span><span class="symbol">:</span><span class="normal"> </span><span class="number">2.30</span>
|
128
|
-
|
129
|
-
<span class="normal"> Known values </span><span class="keyword">for</span><span class="normal"> this property include</span>
|
130
|
-
<span class="normal"> </span><span class="symbol"><</span><span class="normal">literal</span><span class="symbol">></span><span class="usertype">Happy</literal></span><span class="normal"> and </span><span class="symbol"><</span><span class="normal">literal</span><span class="symbol">></span><span class="normal">Sad</span><span class="symbol"></</span><span class="normal">literal</span><span class="symbol">>.</span><span class="normal"> Use the</span>
|
131
|
-
<span class="normal"> org</span><span class="symbol">.</span><span class="normal">gtk</span><span class="symbol">.</span><span class="normal">GDBus</span><span class="symbol">.</span><span class="normal">Example</span><span class="symbol">.</span><span class="normal">ObjectManager</span><span class="symbol">.</span><span class="normal">Animal</span><span class="symbol">.</span><span class="function">Poke</span><span class="symbol">()</span><span class="normal"> method to</span>
|
132
|
-
<span class="normal"> change </span><span class="usertype">this</span><span class="normal"> property</span><span class="symbol">.</span>
|
133
|
-
|
134
|
-
<span class="normal"> This property influences how often the animal jumps up and</span>
|
135
|
-
<span class="normal"> down</span><span class="symbol">,</span><span class="normal"> see the</span>
|
136
|
-
<span class="preproc"> #org</span><span class="symbol">.</span><span class="normal">gtk</span><span class="symbol">.</span><span class="normal">GDBus</span><span class="symbol">.</span><span class="normal">Example</span><span class="symbol">.</span><span class="normal">ObjectManager</span><span class="symbol">.</span><span class="normal">Animal</span><span class="symbol">::</span><span class="normal">Jumped signal</span>
|
137
|
-
<span class="normal"> </span><span class="keyword">for</span><span class="normal"> </span><span class="usertype">more</span><span class="normal"> details</span><span class="symbol">.</span>
|
138
|
-
<span class="normal"> </span><span class="symbol">--></span>
|
139
|
-
<span class="normal"> </span><span class="symbol"><</span><span class="usertype">property</span><span class="normal"> name</span><span class="symbol">=</span><span class="string">"Mood"</span><span class="normal"> type</span><span class="symbol">=</span><span class="string">"s"</span><span class="normal"> access</span><span class="symbol">=</span><span class="string">"read"</span><span class="symbol">/></span>
|
140
|
-
|
141
|
-
<span class="normal"> </span><span class="symbol"><!--</span>
|
142
|
-
<span class="label"> Poke:</span>
|
143
|
-
<span class="normal"> @make_sad</span><span class="symbol">:</span><span class="normal"> Whether to make the </span><span class="usertype">animal</span><span class="normal"> sad</span><span class="symbol">.</span>
|
144
|
-
<span class="normal"> @make_happy</span><span class="symbol">:</span><span class="normal"> Whether to make the </span><span class="usertype">animal</span><span class="normal"> happy</span><span class="symbol">.</span>
|
145
|
-
<span class="normal"> @since</span><span class="symbol">:</span><span class="normal"> </span><span class="number">2.30</span>
|
146
|
-
|
147
|
-
<span class="normal"> Method used to changing the mood of </span><span class="usertype">the</span><span class="normal"> animal</span><span class="symbol">.</span><span class="normal"> See also the</span>
|
148
|
-
<span class="preproc"> #org</span><span class="symbol">.</span><span class="normal">gtk</span><span class="symbol">.</span><span class="normal">GDBus</span><span class="symbol">.</span><span class="normal">Example</span><span class="symbol">.</span><span class="normal">ObjectManager</span><span class="symbol">.</span><span class="normal">Animal</span><span class="symbol">:</span><span class="usertype">Mood</span><span class="normal"> property</span><span class="symbol">.</span>
|
149
|
-
<span class="normal"> </span><span class="symbol">--></span>
|
150
|
-
<span class="normal"> </span><span class="symbol"><</span><span class="usertype">method</span><span class="normal"> name</span><span class="symbol">=</span><span class="string">"Poke"</span><span class="symbol">></span>
|
151
|
-
<span class="normal"> </span><span class="symbol"><</span><span class="usertype">arg</span><span class="normal"> direction</span><span class="symbol">=</span><span class="string">"in"</span><span class="normal"> type</span><span class="symbol">=</span><span class="string">"b"</span><span class="normal"> name</span><span class="symbol">=</span><span class="string">"make_sad"</span><span class="symbol">/></span>
|
152
|
-
<span class="normal"> </span><span class="symbol"><</span><span class="usertype">arg</span><span class="normal"> direction</span><span class="symbol">=</span><span class="string">"in"</span><span class="normal"> type</span><span class="symbol">=</span><span class="string">"b"</span><span class="normal"> name</span><span class="symbol">=</span><span class="string">"make_happy"</span><span class="symbol">/></span>
|
153
|
-
<span class="normal"> </span><span class="symbol"></</span><span class="normal">method</span><span class="symbol">></span>
|
154
|
-
|
155
|
-
<span class="normal"> </span><span class="symbol"><!--</span>
|
156
|
-
<span class="label"> Jumped:</span>
|
157
|
-
<span class="normal"> @height</span><span class="symbol">:</span><span class="normal"> Height</span><span class="symbol">,</span><span class="normal"> </span><span class="usertype">in</span><span class="normal"> meters</span><span class="symbol">,</span><span class="normal"> that the </span><span class="usertype">animal</span><span class="normal"> jumped</span><span class="symbol">.</span>
|
158
|
-
<span class="normal"> @since</span><span class="symbol">:</span><span class="normal"> </span><span class="number">2.30</span>
|
159
|
-
|
160
|
-
<span class="normal"> Emitted when the animal decides </span><span class="usertype">to</span><span class="normal"> jump</span><span class="symbol">.</span>
|
161
|
-
<span class="normal"> </span><span class="symbol">--></span>
|
162
|
-
<span class="normal"> </span><span class="symbol"><</span><span class="usertype">signal</span><span class="normal"> name</span><span class="symbol">=</span><span class="string">"Jumped"</span><span class="symbol">></span>
|
163
|
-
<span class="normal"> </span><span class="symbol"><</span><span class="usertype">arg</span><span class="normal"> type</span><span class="symbol">=</span><span class="string">"d"</span><span class="normal"> name</span><span class="symbol">=</span><span class="string">"height"</span><span class="symbol">/></span>
|
164
|
-
<span class="normal"> </span><span class="symbol"></</span><span class="normal">signal</span><span class="symbol">></span>
|
165
|
-
|
166
|
-
<span class="normal"> </span><span class="symbol"><!--</span>
|
167
|
-
<span class="label"> Foo:</span>
|
168
|
-
<span class="normal"> Property </span><span class="usertype">with</span><span class="normal"> no </span><span class="symbol"><</span><span class="normal">quote</span><span class="symbol">></span><span class="usertype">since</quote></span><span class="normal"> </span><span class="function">annotation</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">should inherit the </span><span class="number">2.30</span><span class="normal"> from its </span><span class="usertype">containing</span><span class="normal"> interface</span><span class="symbol">).</span>
|
169
|
-
<span class="normal"> </span><span class="symbol">--></span>
|
170
|
-
<span class="normal"> </span><span class="symbol"><</span><span class="usertype">property</span><span class="normal"> name</span><span class="symbol">=</span><span class="string">"Foo"</span><span class="normal"> type</span><span class="symbol">=</span><span class="string">"s"</span><span class="normal"> access</span><span class="symbol">=</span><span class="string">"read"</span><span class="symbol">/></span>
|
171
|
-
|
172
|
-
<span class="normal"> </span><span class="symbol"><!--</span>
|
173
|
-
<span class="label"> Bar:</span>
|
174
|
-
<span class="normal"> @since</span><span class="symbol">:</span><span class="normal"> </span><span class="number">2.36</span>
|
175
|
-
<span class="normal"> Property with </span><span class="usertype">a</span><span class="normal"> later </span><span class="symbol"><</span><span class="normal">quote</span><span class="symbol">></span><span class="usertype">since</quote></span><span class="normal"> annotation</span><span class="symbol">.</span>
|
176
|
-
<span class="normal"> </span><span class="symbol">--></span>
|
177
|
-
<span class="normal"> </span><span class="symbol"><</span><span class="usertype">property</span><span class="normal"> name</span><span class="symbol">=</span><span class="string">"Bar"</span><span class="normal"> type</span><span class="symbol">=</span><span class="string">"s"</span><span class="normal"> access</span><span class="symbol">=</span><span class="string">"read"</span><span class="symbol">/></span>
|
178
|
-
<span class="normal"> </span><span class="symbol"></</span><span class="normal">interface</span><span class="symbol">></span>
|
179
|
-
|
180
|
-
<span class="normal"> </span><span class="symbol"><!--</span><span class="normal"> org</span><span class="symbol">.</span><span class="normal">gtk</span><span class="symbol">.</span><span class="normal">GDBus</span><span class="symbol">.</span><span class="normal">Example</span><span class="symbol">.</span><span class="normal">ObjectManager</span><span class="symbol">.</span><span class="normal">Cat</span><span class="symbol">:</span>
|
181
|
-
<span class="normal"> @short_description</span><span class="symbol">:</span><span class="normal"> More example docs generated </span><span class="usertype">by</span><span class="normal"> <a href="gdbus.html">gdbus</a></span><span class="symbol">-</span><span class="normal">codegen</span>
|
182
|
-
|
183
|
-
<span class="normal"> </span><span class="usertype">This</span><span class="normal"> D</span><span class="symbol">-</span><span class="normal">Bus interface is used to describe </span><span class="usertype">a</span><span class="normal"> cat</span><span class="symbol">.</span><span class="normal"> Right now there</span>
|
184
|
-
<span class="normal"> are </span><span class="usertype">no</span><span class="normal"> properties</span><span class="symbol">,</span><span class="normal"> methods or signals associated with this</span>
|
185
|
-
<span class="normal"> interface so it is </span><span class="usertype">essentially</span><span class="normal"> a </span><span class="symbol"><</span><span class="normal">ulink</span>
|
186
|
-
<span class="normal"> url</span><span class="symbol">=</span><span class="string">"http://en.wikipedia.org/wiki/Marker_interface_pattern"</span><span class="symbol">></span><span class="normal">Marker</span>
|
187
|
-
<span class="normal"> Interface</span><span class="symbol"></</span><span class="normal">ulink</span><span class="symbol">>.</span>
|
188
|
-
|
189
|
-
<span class="normal"> Note </span><span class="usertype">that</span><span class="normal"> D</span><span class="symbol">-</span><span class="normal">Bus objects implementing this interface also</span>
|
190
|
-
<span class="normal"> </span><span class="usertype">implement</span><span class="normal"> the #org</span><span class="symbol">.</span><span class="normal">gtk</span><span class="symbol">.</span><span class="normal">GDBus</span><span class="symbol">.</span><span class="normal">Example</span><span class="symbol">.</span><span class="normal">ObjectManager</span><span class="symbol">.</span><span class="normal">Animal</span>
|
191
|
-
<span class="normal"> interface</span><span class="symbol">.</span>
|
192
|
-
<span class="normal"> </span><span class="symbol">--></span>
|
193
|
-
<span class="normal"> </span><span class="symbol"><</span><span class="usertype">interface</span><span class="normal"> name</span><span class="symbol">=</span><span class="string">"org.gtk.GDBus.Example.ObjectManager.Cat"</span><span class="symbol">></span>
|
194
|
-
<span class="normal"> </span><span class="symbol"></</span><span class="normal">interface</span><span class="symbol">></span>
|
195
|
-
<span class="symbol"></</span><span class="normal">node</span><span class="symbol">></span></pre></td>
|
196
|
-
</tr>
|
197
|
-
</tbody>
|
198
|
-
</table>
|
199
|
-
</div>
|
200
|
-
|
201
|
-
</div>
|
202
|
-
<br class="example-break"><p>
|
203
|
-
If this XML is processed like this
|
204
|
-
</p>
|
205
|
-
<div class="informalexample">
|
206
|
-
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
207
|
-
<tbody>
|
208
|
-
<tr>
|
209
|
-
<td class="listing_lines" align="right"><pre>1
|
210
|
-
2
|
211
|
-
3
|
212
|
-
4
|
213
|
-
5
|
214
|
-
6</pre></td>
|
215
|
-
<td class="listing_code"><pre class="programlisting"><span class="normal"><a href="gdbus.html">gdbus</a></span><span class="symbol">-</span><span class="normal">codegen </span><span class="symbol">--</span><span class="normal">interface</span><span class="symbol">-</span><span class="usertype">prefix</span><span class="normal"> org</span><span class="symbol">.</span><span class="normal">gtk</span><span class="symbol">.</span><span class="normal">GDBus</span><span class="symbol">.</span><span class="normal">Example</span><span class="symbol">.</span><span class="normal">ObjectManager</span><span class="symbol">.</span><span class="normal"> </span><span class="symbol">\</span>
|
216
|
-
<span class="normal"> </span><span class="symbol">--</span><span class="normal">generate</span><span class="symbol">-</span><span class="normal">c</span><span class="symbol">-</span><span class="usertype">code</span><span class="normal"> generated</span><span class="symbol">-</span><span class="normal">code </span><span class="symbol">\</span>
|
217
|
-
<span class="normal"> </span><span class="symbol">--</span><span class="normal">c</span><span class="symbol">-</span><span class="usertype">namespace</span><span class="normal"> Example </span><span class="symbol">\</span>
|
218
|
-
<span class="normal"> </span><span class="symbol">--</span><span class="normal">c</span><span class="symbol">-</span><span class="normal">generate</span><span class="symbol">-</span><span class="normal">object</span><span class="symbol">-</span><span class="normal">manager </span><span class="symbol">\</span>
|
219
|
-
<span class="normal"> </span><span class="symbol">--</span><span class="normal">generate</span><span class="symbol">-</span><span class="usertype">docbook</span><span class="normal"> generated</span><span class="symbol">-</span><span class="normal">docs </span><span class="symbol">\</span>
|
220
|
-
<span class="normal"> <a href="gdbus.html">gdbus</a></span><span class="symbol">-</span><span class="normal">example</span><span class="symbol">-</span><span class="normal">objectmanager</span><span class="symbol">.</span><span class="normal">xml</span></pre></td>
|
221
|
-
</tr>
|
222
|
-
</tbody>
|
223
|
-
</table>
|
224
|
-
</div>
|
225
|
-
|
26
|
+
GConf has a a concept of a set of changes which can be applied or reverted
|
27
|
+
at once: <span class="type">GConfChangeSet</span> (GConf doesn't actually apply changes atomically,
|
28
|
+
which is one of its shortcomings).
|
29
|
+
</p>
|
226
30
|
<p>
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
and
|
235
|
-
<a class="link" href="gdbus-org.gtk.GDBus.Example.ObjectManager.Cat.html#gdbus-interface-org-gtk-GDBus-Example-ObjectManager-Cat" title="Description">the Cat D-Bus interface documentation</a>.
|
236
|
-
</p>
|
31
|
+
Instead of a separate object to represent a change set, GSettings has a
|
32
|
+
'delayed-apply' mode, which can be turned on for a GSettings object by
|
33
|
+
calling <a class="link" href="GSettings.html#g-settings-delay" title="g_settings_delay ()"><code class="function">g_settings_delay()</code></a>. In this mode, changes done to the GSettings
|
34
|
+
object are not applied - they are still visible when calling <a class="link" href="GSettings.html#g-settings-get" title="g_settings_get ()"><code class="function">g_settings_get()</code></a>
|
35
|
+
<span class="emphasis"><em>on the same object</em></span>, but not to other GSettings instances
|
36
|
+
or even other processes.
|
37
|
+
</p>
|
237
38
|
<p>
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
<a class="xref" href="ch34s05.html#gdbus-example-codegen-server" title="Example 3. Server-side application using generated code">Example 3, “Server-side application using generated code”</a>
|
243
|
-
and <a class="xref" href="ch34s05.html#gdbus-example-codegen-client" title="Example 4. Client-side application using generated code">Example 4, “Client-side application using generated code”</a>. Additionally, since
|
244
|
-
the generated code has 100% gtk-doc coverage, see
|
245
|
-
<a class="link" href="ExampleAnimal.html" title="ExampleAnimal"><span class="type">ExampleAnimal</span></a>, <a class="link" href="ExampleCat.html" title="ExampleCat"><span class="type">ExampleCat</span></a>, <a class="link" href="ExampleObject.html" title="ExampleObject"><span class="type">ExampleObject</span></a> and
|
246
|
-
<a class="link" href="ExampleObjectManagerClient.html" title="ExampleObjectManagerClient"><span class="type">ExampleObjectManagerClient</span></a> pages for documentation.
|
247
|
-
</p>
|
248
|
-
<div class="example">
|
249
|
-
<a name="gdbus-example-codegen-server"></a><p class="title"><b>Example 3. Server-side application using generated code</b></p>
|
250
|
-
<div class="example-contents">
|
251
|
-
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
252
|
-
<tbody>
|
253
|
-
<tr>
|
254
|
-
<td class="listing_lines" align="right"><pre>1
|
255
|
-
2
|
256
|
-
3
|
257
|
-
4
|
258
|
-
5
|
259
|
-
6
|
260
|
-
7
|
261
|
-
8
|
262
|
-
9
|
263
|
-
10
|
264
|
-
11
|
265
|
-
12
|
266
|
-
13
|
267
|
-
14
|
268
|
-
15
|
269
|
-
16
|
270
|
-
17
|
271
|
-
18
|
272
|
-
19
|
273
|
-
20
|
274
|
-
21
|
275
|
-
22
|
276
|
-
23
|
277
|
-
24
|
278
|
-
25
|
279
|
-
26
|
280
|
-
27
|
281
|
-
28
|
282
|
-
29
|
283
|
-
30
|
284
|
-
31
|
285
|
-
32
|
286
|
-
33
|
287
|
-
34
|
288
|
-
35
|
289
|
-
36
|
290
|
-
37
|
291
|
-
38
|
292
|
-
39
|
293
|
-
40
|
294
|
-
41
|
295
|
-
42
|
296
|
-
43
|
297
|
-
44
|
298
|
-
45
|
299
|
-
46
|
300
|
-
47
|
301
|
-
48
|
302
|
-
49
|
303
|
-
50
|
304
|
-
51
|
305
|
-
52
|
306
|
-
53
|
307
|
-
54
|
308
|
-
55
|
309
|
-
56
|
310
|
-
57
|
311
|
-
58
|
312
|
-
59
|
313
|
-
60
|
314
|
-
61
|
315
|
-
62
|
316
|
-
63
|
317
|
-
64
|
318
|
-
65
|
319
|
-
66
|
320
|
-
67
|
321
|
-
68
|
322
|
-
69
|
323
|
-
70
|
324
|
-
71
|
325
|
-
72
|
326
|
-
73
|
327
|
-
74
|
328
|
-
75
|
329
|
-
76
|
330
|
-
77
|
331
|
-
78
|
332
|
-
79
|
333
|
-
80
|
334
|
-
81
|
335
|
-
82
|
336
|
-
83
|
337
|
-
84
|
338
|
-
85
|
339
|
-
86
|
340
|
-
87
|
341
|
-
88
|
342
|
-
89
|
343
|
-
90
|
344
|
-
91
|
345
|
-
92
|
346
|
-
93
|
347
|
-
94
|
348
|
-
95
|
349
|
-
96
|
350
|
-
97
|
351
|
-
98
|
352
|
-
99
|
353
|
-
100
|
354
|
-
101
|
355
|
-
102
|
356
|
-
103
|
357
|
-
104
|
358
|
-
105
|
359
|
-
106
|
360
|
-
107
|
361
|
-
108
|
362
|
-
109
|
363
|
-
110
|
364
|
-
111
|
365
|
-
112
|
366
|
-
113
|
367
|
-
114
|
368
|
-
115
|
369
|
-
116
|
370
|
-
117
|
371
|
-
118
|
372
|
-
119
|
373
|
-
120
|
374
|
-
121
|
375
|
-
122
|
376
|
-
123
|
377
|
-
124
|
378
|
-
125
|
379
|
-
126
|
380
|
-
127
|
381
|
-
128
|
382
|
-
129
|
383
|
-
130
|
384
|
-
131
|
385
|
-
132
|
386
|
-
133
|
387
|
-
134
|
388
|
-
135
|
389
|
-
136
|
390
|
-
137
|
391
|
-
138
|
392
|
-
139
|
393
|
-
140
|
394
|
-
141
|
395
|
-
142
|
396
|
-
143
|
397
|
-
144
|
398
|
-
145
|
399
|
-
146
|
400
|
-
147
|
401
|
-
148
|
402
|
-
149
|
403
|
-
150
|
404
|
-
151
|
405
|
-
152
|
406
|
-
153
|
407
|
-
154
|
408
|
-
155
|
409
|
-
156
|
410
|
-
157
|
411
|
-
158
|
412
|
-
159</pre></td>
|
413
|
-
<td class="listing_code"><pre class="programlisting"><span class="preproc">#include</span><span class="normal"> </span><span class="string">"gdbus-object-manager-example/gdbus-example-objectmanager-generated.h"</span>
|
414
|
-
|
415
|
-
<span class="comment">/* ---------------------------------------------------------------------------------------------------- */</span>
|
416
|
-
|
417
|
-
<span class="keyword">static</span><span class="normal"> </span><span class="usertype">GDBusObjectManagerServer</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">manager </span><span class="symbol">=</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
|
418
|
-
|
419
|
-
<span class="keyword">static</span><span class="normal"> <a href="../glib/glib-Basic-Types.html#gboolean">gboolean</a></span>
|
420
|
-
<span class="function">on_animal_poke</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">ExampleAnimal</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">animal</span><span class="symbol">,</span>
|
421
|
-
<span class="normal"> </span><span class="usertype">GDBusMethodInvocation</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">invocation</span><span class="symbol">,</span>
|
422
|
-
<span class="normal"> </span><span class="usertype">gboolean</span><span class="normal"> make_sad</span><span class="symbol">,</span>
|
423
|
-
<span class="normal"> </span><span class="usertype">gboolean</span><span class="normal"> make_happy</span><span class="symbol">,</span>
|
424
|
-
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
|
425
|
-
<span class="cbracket">{</span>
|
426
|
-
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">((</span><span class="normal">make_sad </span><span class="symbol">&&</span><span class="normal"> make_happy</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">||</span><span class="normal"> </span><span class="symbol">(!</span><span class="normal">make_sad </span><span class="symbol">&&</span><span class="normal"> </span><span class="symbol">!</span><span class="normal">make_happy</span><span class="symbol">))</span>
|
427
|
-
<span class="normal"> </span><span class="cbracket">{</span>
|
428
|
-
<span class="normal"> </span><span class="function"><a href="GDBusMethodInvocation.html#g-dbus-method-invocation-return-dbus-error">g_dbus_method_invocation_return_dbus_error</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">invocation</span><span class="symbol">,</span>
|
429
|
-
<span class="normal"> </span><span class="string">"org.gtk.GDBus.Examples.ObjectManager.Error.Failed"</span><span class="symbol">,</span>
|
430
|
-
<span class="normal"> </span><span class="string">"Exactly one of make_sad or make_happy must be TRUE"</span><span class="symbol">);</span>
|
431
|
-
<span class="normal"> </span><span class="keyword">goto</span><span class="normal"> out</span><span class="symbol">;</span>
|
432
|
-
<span class="normal"> </span><span class="cbracket">}</span>
|
433
|
-
|
434
|
-
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">make_sad</span><span class="symbol">)</span>
|
435
|
-
<span class="normal"> </span><span class="cbracket">{</span>
|
436
|
-
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="../glib/glib-String-Utility-Functions.html#g-strcmp0">g_strcmp0</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="ExampleAnimal.html#example-animal-get-mood">example_animal_get_mood</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">animal</span><span class="symbol">),</span><span class="normal"> </span><span class="string">"Sad"</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">==</span><span class="normal"> </span><span class="number">0</span><span class="symbol">)</span>
|
437
|
-
<span class="normal"> </span><span class="cbracket">{</span>
|
438
|
-
<span class="normal"> </span><span class="function"><a href="GDBusMethodInvocation.html#g-dbus-method-invocation-return-dbus-error">g_dbus_method_invocation_return_dbus_error</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">invocation</span><span class="symbol">,</span>
|
439
|
-
<span class="normal"> </span><span class="string">"org.gtk.GDBus.Examples.ObjectManager.Error.SadAnimalIsSad"</span><span class="symbol">,</span>
|
440
|
-
<span class="normal"> </span><span class="string">"Sad animal is already sad"</span><span class="symbol">);</span>
|
441
|
-
<span class="normal"> </span><span class="keyword">goto</span><span class="normal"> out</span><span class="symbol">;</span>
|
442
|
-
<span class="normal"> </span><span class="cbracket">}</span>
|
443
|
-
|
444
|
-
<span class="normal"> </span><span class="function"><a href="ExampleAnimal.html#example-animal-set-mood">example_animal_set_mood</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">animal</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Sad"</span><span class="symbol">);</span>
|
445
|
-
<span class="normal"> </span><span class="function"><a href="ExampleAnimal.html#example-animal-complete-poke">example_animal_complete_poke</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">animal</span><span class="symbol">,</span><span class="normal"> invocation</span><span class="symbol">);</span>
|
446
|
-
<span class="normal"> </span><span class="keyword">goto</span><span class="normal"> out</span><span class="symbol">;</span>
|
447
|
-
<span class="normal"> </span><span class="cbracket">}</span>
|
448
|
-
|
449
|
-
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">make_happy</span><span class="symbol">)</span>
|
450
|
-
<span class="normal"> </span><span class="cbracket">{</span>
|
451
|
-
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="../glib/glib-String-Utility-Functions.html#g-strcmp0">g_strcmp0</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="ExampleAnimal.html#example-animal-get-mood">example_animal_get_mood</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">animal</span><span class="symbol">),</span><span class="normal"> </span><span class="string">"Happy"</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">==</span><span class="normal"> </span><span class="number">0</span><span class="symbol">)</span>
|
452
|
-
<span class="normal"> </span><span class="cbracket">{</span>
|
453
|
-
<span class="normal"> </span><span class="function"><a href="GDBusMethodInvocation.html#g-dbus-method-invocation-return-dbus-error">g_dbus_method_invocation_return_dbus_error</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">invocation</span><span class="symbol">,</span>
|
454
|
-
<span class="normal"> </span><span class="string">"org.gtk.GDBus.Examples.ObjectManager.Error.HappyAnimalIsHappy"</span><span class="symbol">,</span>
|
455
|
-
<span class="normal"> </span><span class="string">"Happy animal is already happy"</span><span class="symbol">);</span>
|
456
|
-
<span class="normal"> </span><span class="keyword">goto</span><span class="normal"> out</span><span class="symbol">;</span>
|
457
|
-
<span class="normal"> </span><span class="cbracket">}</span>
|
458
|
-
|
459
|
-
<span class="normal"> </span><span class="function"><a href="ExampleAnimal.html#example-animal-set-mood">example_animal_set_mood</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">animal</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Happy"</span><span class="symbol">);</span>
|
460
|
-
<span class="normal"> </span><span class="function"><a href="ExampleAnimal.html#example-animal-complete-poke">example_animal_complete_poke</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">animal</span><span class="symbol">,</span><span class="normal"> invocation</span><span class="symbol">);</span>
|
461
|
-
<span class="normal"> </span><span class="keyword">goto</span><span class="normal"> out</span><span class="symbol">;</span>
|
462
|
-
<span class="normal"> </span><span class="cbracket">}</span>
|
463
|
-
|
464
|
-
<span class="normal"> </span><span class="function"><a href="../glib/glib-Testing.html#g-assert-not-reached">g_assert_not_reached</a></span><span class="normal"> </span><span class="symbol">();</span>
|
465
|
-
|
466
|
-
<span class="label"> out:</span>
|
467
|
-
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS">TRUE</a></span><span class="symbol">;</span><span class="normal"> </span><span class="comment">/* to indicate that the method was handled */</span>
|
468
|
-
<span class="cbracket">}</span>
|
469
|
-
|
470
|
-
|
471
|
-
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
472
|
-
<span class="function">on_bus_acquired</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GDBusConnection</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">connection</span><span class="symbol">,</span>
|
473
|
-
<span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">name</span><span class="symbol">,</span>
|
474
|
-
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
|
475
|
-
<span class="cbracket">{</span>
|
476
|
-
<span class="normal"> </span><span class="usertype">ExampleObjectSkeleton</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">object</span><span class="symbol">;</span>
|
477
|
-
<span class="normal"> </span><span class="usertype">guint</span><span class="normal"> n</span><span class="symbol">;</span>
|
478
|
-
|
479
|
-
<span class="normal"> </span><span class="function"><a href="../glib/glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Acquired a message bus connection</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">);</span>
|
480
|
-
|
481
|
-
<span class="normal"> </span><span class="comment">/* Create a new org.freedesktop.DBus.ObjectManager rooted at /example/Animals */</span>
|
482
|
-
<span class="normal"> manager </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GDBusObjectManagerServer.html#g-dbus-object-manager-server-new">g_dbus_object_manager_server_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"/example/Animals"</span><span class="symbol">);</span>
|
483
|
-
|
484
|
-
<span class="normal"> </span><span class="keyword">for</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">n </span><span class="symbol">=</span><span class="normal"> </span><span class="number">0</span><span class="symbol">;</span><span class="normal"> n </span><span class="symbol"><</span><span class="normal"> </span><span class="number">10</span><span class="symbol">;</span><span class="normal"> n</span><span class="symbol">++)</span>
|
485
|
-
<span class="normal"> </span><span class="cbracket">{</span>
|
486
|
-
<span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">s</span><span class="symbol">;</span>
|
487
|
-
<span class="normal"> </span><span class="usertype">ExampleAnimal</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">animal</span><span class="symbol">;</span>
|
488
|
-
|
489
|
-
<span class="normal"> </span><span class="comment">/* Create a new D-Bus object at the path /example/Animals/N where N is 000..009 */</span>
|
490
|
-
<span class="normal"> s </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="../glib/glib-String-Utility-Functions.html#g-strdup-printf">g_strdup_printf</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"/example/Animals/%03d"</span><span class="symbol">,</span><span class="normal"> n</span><span class="symbol">);</span>
|
491
|
-
<span class="normal"> object </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ExampleObject.html#example-object-skeleton-new">example_object_skeleton_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">s</span><span class="symbol">);</span>
|
492
|
-
<span class="normal"> </span><span class="function"><a href="../glib/glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">s</span><span class="symbol">);</span>
|
493
|
-
|
494
|
-
<span class="normal"> </span><span class="comment">/* Make the newly created object export the interface</span>
|
495
|
-
<span class="comment"> * org.gtk.GDBus.Example.ObjectManager.Animal (note</span>
|
496
|
-
<span class="comment"> * that @object takes its own reference to @animal).</span>
|
497
|
-
<span class="comment"> */</span>
|
498
|
-
<span class="normal"> animal </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ExampleAnimal.html#example-animal-skeleton-new">example_animal_skeleton_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
499
|
-
<span class="normal"> </span><span class="function"><a href="ExampleAnimal.html#example-animal-set-mood">example_animal_set_mood</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">animal</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Happy"</span><span class="symbol">);</span>
|
500
|
-
<span class="normal"> </span><span class="function"><a href="ExampleObject.html#example-object-skeleton-set-animal">example_object_skeleton_set_animal</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">object</span><span class="symbol">,</span><span class="normal"> animal</span><span class="symbol">);</span>
|
501
|
-
<span class="normal"> </span><span class="function"><a href="../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">animal</span><span class="symbol">);</span>
|
502
|
-
|
503
|
-
<span class="normal"> </span><span class="comment">/* Cats are odd animals - so some of our objects implement the</span>
|
504
|
-
<span class="comment"> * org.gtk.GDBus.Example.ObjectManager.Cat interface in addition</span>
|
505
|
-
<span class="comment"> * to the .Animal interface</span>
|
506
|
-
<span class="comment"> */</span>
|
507
|
-
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">n </span><span class="symbol">%</span><span class="normal"> </span><span class="number">2</span><span class="normal"> </span><span class="symbol">==</span><span class="normal"> </span><span class="number">1</span><span class="symbol">)</span>
|
508
|
-
<span class="normal"> </span><span class="cbracket">{</span>
|
509
|
-
<span class="normal"> </span><span class="usertype">ExampleCat</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cat</span><span class="symbol">;</span>
|
510
|
-
<span class="normal"> cat </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ExampleCat.html#example-cat-skeleton-new">example_cat_skeleton_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
511
|
-
<span class="normal"> </span><span class="function"><a href="ExampleObject.html#example-object-skeleton-set-cat">example_object_skeleton_set_cat</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">object</span><span class="symbol">,</span><span class="normal"> cat</span><span class="symbol">);</span>
|
512
|
-
<span class="normal"> </span><span class="function"><a href="../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">cat</span><span class="symbol">);</span>
|
513
|
-
<span class="normal"> </span><span class="cbracket">}</span>
|
514
|
-
|
515
|
-
<span class="normal"> </span><span class="comment">/* Handle Poke() D-Bus method invocations on the .Animal interface */</span>
|
516
|
-
<span class="normal"> </span><span class="function"><a href="../gobject/gobject-Signals.html#g-signal-connect">g_signal_connect</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">animal</span><span class="symbol">,</span>
|
517
|
-
<span class="normal"> </span><span class="string">"handle-poke"</span><span class="symbol">,</span>
|
518
|
-
<span class="normal"> </span><span class="function"><a href="../gobject/gobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">on_animal_poke</span><span class="symbol">),</span>
|
519
|
-
<span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span><span class="normal"> </span><span class="comment">/* user_data */</span>
|
520
|
-
|
521
|
-
<span class="normal"> </span><span class="comment">/* Export the object (@manager takes its own reference to @object) */</span>
|
522
|
-
<span class="normal"> </span><span class="function"><a href="GDBusObjectManagerServer.html#g-dbus-object-manager-server-export">g_dbus_object_manager_server_export</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">manager</span><span class="symbol">,</span><span class="normal"> </span><span class="function">G_DBUS_OBJECT_SKELETON</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">object</span><span class="symbol">));</span>
|
523
|
-
<span class="normal"> </span><span class="function"><a href="../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">object</span><span class="symbol">);</span>
|
524
|
-
<span class="normal"> </span><span class="cbracket">}</span>
|
525
|
-
|
526
|
-
<span class="normal"> </span><span class="comment">/* Export all objects */</span>
|
527
|
-
<span class="normal"> </span><span class="function"><a href="GDBusObjectManagerServer.html#g-dbus-object-manager-server-set-connection">g_dbus_object_manager_server_set_connection</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">manager</span><span class="symbol">,</span><span class="normal"> connection</span><span class="symbol">);</span>
|
528
|
-
<span class="cbracket">}</span>
|
529
|
-
|
530
|
-
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
531
|
-
<span class="function">on_name_acquired</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GDBusConnection</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">connection</span><span class="symbol">,</span>
|
532
|
-
<span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">name</span><span class="symbol">,</span>
|
533
|
-
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
|
534
|
-
<span class="cbracket">{</span>
|
535
|
-
<span class="normal"> </span><span class="function"><a href="../glib/glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Acquired the name %s</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> name</span><span class="symbol">);</span>
|
536
|
-
<span class="cbracket">}</span>
|
537
|
-
|
538
|
-
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
539
|
-
<span class="function">on_name_lost</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GDBusConnection</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">connection</span><span class="symbol">,</span>
|
540
|
-
<span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">name</span><span class="symbol">,</span>
|
541
|
-
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
|
542
|
-
<span class="cbracket">{</span>
|
543
|
-
<span class="normal"> </span><span class="function"><a href="../glib/glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Lost the name %s</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> name</span><span class="symbol">);</span>
|
544
|
-
<span class="cbracket">}</span>
|
545
|
-
|
546
|
-
|
547
|
-
<span class="normal"><a href="../glib/glib-Basic-Types.html#gint">gint</a></span>
|
548
|
-
<span class="function">main</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">gint</span><span class="normal"> argc</span><span class="symbol">,</span><span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">argv</span><span class="symbol">[])</span>
|
549
|
-
<span class="cbracket">{</span>
|
550
|
-
<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>
|
551
|
-
<span class="normal"> </span><span class="usertype">guint</span><span class="normal"> id</span><span class="symbol">;</span>
|
552
|
-
|
553
|
-
<span class="normal"> loop </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="../glib/glib-The-Main-Event-Loop.html#g-main-loop-new">g_main_loop_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS">FALSE</a></span><span class="symbol">);</span>
|
554
|
-
|
555
|
-
<span class="normal"> id </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="gio-Owning-Bus-Names.html#g-bus-own-name">g_bus_own_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>
|
556
|
-
<span class="normal"> </span><span class="string">"org.gtk.GDBus.Examples.ObjectManager"</span><span class="symbol">,</span>
|
557
|
-
<span class="normal"> <a href="gio-Owning-Bus-Names.html#G-BUS-NAME-OWNER-FLAGS-ALLOW-REPLACEMENT:CAPS">G_BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT</a> </span><span class="symbol">|</span>
|
558
|
-
<span class="normal"> <a href="gio-Owning-Bus-Names.html#G-BUS-NAME-OWNER-FLAGS-REPLACE:CAPS">G_BUS_NAME_OWNER_FLAGS_REPLACE</a></span><span class="symbol">,</span>
|
559
|
-
<span class="normal"> on_bus_acquired</span><span class="symbol">,</span>
|
560
|
-
<span class="normal"> on_name_acquired</span><span class="symbol">,</span>
|
561
|
-
<span class="normal"> on_name_lost</span><span class="symbol">,</span>
|
562
|
-
<span class="normal"> loop</span><span class="symbol">,</span>
|
563
|
-
<span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
564
|
-
|
565
|
-
<span class="normal"> </span><span class="function"><a href="../glib/glib-The-Main-Event-Loop.html#g-main-loop-run">g_main_loop_run</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">loop</span><span class="symbol">);</span>
|
566
|
-
|
567
|
-
<span class="normal"> </span><span class="function"><a href="gio-Owning-Bus-Names.html#g-bus-unown-name">g_bus_unown_name</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">id</span><span class="symbol">);</span>
|
568
|
-
<span class="normal"> </span><span class="function"><a href="../glib/glib-The-Main-Event-Loop.html#g-main-loop-unref">g_main_loop_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">loop</span><span class="symbol">);</span>
|
569
|
-
|
570
|
-
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="number">0</span><span class="symbol">;</span>
|
571
|
-
<span class="cbracket">}</span></pre></td>
|
572
|
-
</tr>
|
573
|
-
</tbody>
|
574
|
-
</table>
|
575
|
-
</div>
|
576
|
-
|
577
|
-
</div>
|
578
|
-
<br class="example-break"><div class="example">
|
579
|
-
<a name="gdbus-example-codegen-client"></a><p class="title"><b>Example 4. Client-side application using generated code</b></p>
|
580
|
-
<div class="example-contents">
|
581
|
-
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
582
|
-
<tbody>
|
583
|
-
<tr>
|
584
|
-
<td class="listing_lines" align="right"><pre>1
|
585
|
-
2
|
586
|
-
3
|
587
|
-
4
|
588
|
-
5
|
589
|
-
6
|
590
|
-
7
|
591
|
-
8
|
592
|
-
9
|
593
|
-
10
|
594
|
-
11
|
595
|
-
12
|
596
|
-
13
|
597
|
-
14
|
598
|
-
15
|
599
|
-
16
|
600
|
-
17
|
601
|
-
18
|
602
|
-
19
|
603
|
-
20
|
604
|
-
21
|
605
|
-
22
|
606
|
-
23
|
607
|
-
24
|
608
|
-
25
|
609
|
-
26
|
610
|
-
27
|
611
|
-
28
|
612
|
-
29
|
613
|
-
30
|
614
|
-
31
|
615
|
-
32
|
616
|
-
33
|
617
|
-
34
|
618
|
-
35
|
619
|
-
36
|
620
|
-
37
|
621
|
-
38
|
622
|
-
39
|
623
|
-
40
|
624
|
-
41
|
625
|
-
42
|
626
|
-
43
|
627
|
-
44
|
628
|
-
45
|
629
|
-
46
|
630
|
-
47
|
631
|
-
48
|
632
|
-
49
|
633
|
-
50
|
634
|
-
51
|
635
|
-
52
|
636
|
-
53
|
637
|
-
54
|
638
|
-
55
|
639
|
-
56
|
640
|
-
57
|
641
|
-
58
|
642
|
-
59
|
643
|
-
60
|
644
|
-
61
|
645
|
-
62
|
646
|
-
63
|
647
|
-
64
|
648
|
-
65
|
649
|
-
66
|
650
|
-
67
|
651
|
-
68
|
652
|
-
69
|
653
|
-
70
|
654
|
-
71
|
655
|
-
72
|
656
|
-
73
|
657
|
-
74
|
658
|
-
75
|
659
|
-
76
|
660
|
-
77
|
661
|
-
78
|
662
|
-
79
|
663
|
-
80
|
664
|
-
81
|
665
|
-
82
|
666
|
-
83
|
667
|
-
84
|
668
|
-
85
|
669
|
-
86
|
670
|
-
87
|
671
|
-
88
|
672
|
-
89
|
673
|
-
90
|
674
|
-
91
|
675
|
-
92
|
676
|
-
93
|
677
|
-
94
|
678
|
-
95
|
679
|
-
96
|
680
|
-
97
|
681
|
-
98
|
682
|
-
99
|
683
|
-
100
|
684
|
-
101
|
685
|
-
102
|
686
|
-
103
|
687
|
-
104
|
688
|
-
105
|
689
|
-
106
|
690
|
-
107
|
691
|
-
108
|
692
|
-
109
|
693
|
-
110
|
694
|
-
111
|
695
|
-
112
|
696
|
-
113
|
697
|
-
114
|
698
|
-
115
|
699
|
-
116
|
700
|
-
117
|
701
|
-
118
|
702
|
-
119
|
703
|
-
120
|
704
|
-
121
|
705
|
-
122
|
706
|
-
123
|
707
|
-
124
|
708
|
-
125
|
709
|
-
126
|
710
|
-
127
|
711
|
-
128
|
712
|
-
129
|
713
|
-
130
|
714
|
-
131
|
715
|
-
132
|
716
|
-
133
|
717
|
-
134
|
718
|
-
135
|
719
|
-
136
|
720
|
-
137
|
721
|
-
138
|
722
|
-
139
|
723
|
-
140
|
724
|
-
141
|
725
|
-
142
|
726
|
-
143
|
727
|
-
144
|
728
|
-
145
|
729
|
-
146
|
730
|
-
147
|
731
|
-
148
|
732
|
-
149
|
733
|
-
150
|
734
|
-
151
|
735
|
-
152
|
736
|
-
153
|
737
|
-
154
|
738
|
-
155
|
739
|
-
156
|
740
|
-
157
|
741
|
-
158
|
742
|
-
159
|
743
|
-
160
|
744
|
-
161
|
745
|
-
162
|
746
|
-
163
|
747
|
-
164
|
748
|
-
165
|
749
|
-
166
|
750
|
-
167</pre></td>
|
751
|
-
<td class="listing_code"><pre class="programlisting"><span class="preproc">#include</span><span class="normal"> </span><span class="string">"gdbus-object-manager-example/gdbus-example-objectmanager-generated.h"</span>
|
752
|
-
|
753
|
-
<span class="comment">/* ---------------------------------------------------------------------------------------------------- */</span>
|
754
|
-
|
755
|
-
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
756
|
-
<span class="function">print_objects</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GDBusObjectManager</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">manager</span><span class="symbol">)</span>
|
757
|
-
<span class="cbracket">{</span>
|
758
|
-
<span class="normal"> </span><span class="usertype">GList</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">objects</span><span class="symbol">;</span>
|
759
|
-
<span class="normal"> </span><span class="usertype">GList</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">l</span><span class="symbol">;</span>
|
760
|
-
|
761
|
-
<span class="normal"> </span><span class="function"><a href="../glib/glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Object manager at %s</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="GDBusObjectManager.html#g-dbus-object-manager-get-object-path">g_dbus_object_manager_get_object_path</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">manager</span><span class="symbol">));</span>
|
762
|
-
<span class="normal"> objects </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GDBusObjectManager.html#g-dbus-object-manager-get-objects">g_dbus_object_manager_get_objects</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">manager</span><span class="symbol">);</span>
|
763
|
-
<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"> objects</span><span class="symbol">;</span><span class="normal"> l </span><span class="symbol">!=</span><span class="normal"> <a href="../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>
|
764
|
-
<span class="normal"> </span><span class="cbracket">{</span>
|
765
|
-
<span class="normal"> </span><span class="usertype">ExampleObject</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">object </span><span class="symbol">=</span><span class="normal"> </span><span class="function">EXAMPLE_OBJECT</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">l</span><span class="symbol">-></span><span class="normal">data</span><span class="symbol">);</span>
|
766
|
-
<span class="normal"> </span><span class="usertype">GList</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">interfaces</span><span class="symbol">;</span>
|
767
|
-
<span class="normal"> </span><span class="usertype">GList</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">ll</span><span class="symbol">;</span>
|
768
|
-
<span class="normal"> </span><span class="function"><a href="../glib/glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">" - Object at %s</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="GDBusObject.html#g-dbus-object-get-object-path">g_dbus_object_get_object_path</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">G_DBUS_OBJECT</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">object</span><span class="symbol">)));</span>
|
769
|
-
|
770
|
-
<span class="normal"> interfaces </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GDBusObject.html#g-dbus-object-get-interfaces">g_dbus_object_get_interfaces</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">G_DBUS_OBJECT</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">object</span><span class="symbol">));</span>
|
771
|
-
<span class="normal"> </span><span class="keyword">for</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">ll </span><span class="symbol">=</span><span class="normal"> interfaces</span><span class="symbol">;</span><span class="normal"> ll </span><span class="symbol">!=</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span><span class="normal"> ll </span><span class="symbol">=</span><span class="normal"> ll</span><span class="symbol">-></span><span class="normal">next</span><span class="symbol">)</span>
|
772
|
-
<span class="normal"> </span><span class="cbracket">{</span>
|
773
|
-
<span class="normal"> </span><span class="usertype">GDBusInterface</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">interface </span><span class="symbol">=</span><span class="normal"> </span><span class="function">G_DBUS_INTERFACE</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">ll</span><span class="symbol">-></span><span class="normal">data</span><span class="symbol">);</span>
|
774
|
-
<span class="normal"> </span><span class="function"><a href="../glib/glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">" - Interface %s</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="GDBusInterface.html#g-dbus-interface-get-info">g_dbus_interface_get_info</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">interface</span><span class="symbol">)-></span><span class="normal">name</span><span class="symbol">);</span>
|
775
|
-
|
776
|
-
<span class="normal"> </span><span class="comment">/* Note that @interface is really a GDBusProxy instance - and additionally also</span>
|
777
|
-
<span class="comment"> * an ExampleAnimal or ExampleCat instance - either of these can be used to</span>
|
778
|
-
<span class="comment"> * invoke methods on the remote object. For example, the generated function</span>
|
779
|
-
<span class="comment"> *</span>
|
780
|
-
<span class="comment"> * void example_animal_call_poke_sync (ExampleAnimal *proxy,</span>
|
781
|
-
<span class="comment"> * gboolean make_sad,</span>
|
782
|
-
<span class="comment"> * gboolean make_happy,</span>
|
783
|
-
<span class="comment"> * GCancellable *cancellable,</span>
|
784
|
-
<span class="comment"> * GError **error);</span>
|
785
|
-
<span class="comment"> *</span>
|
786
|
-
<span class="comment"> * can be used to call the Poke() D-Bus method on the .Animal interface.</span>
|
787
|
-
<span class="comment"> * Additionally, the generated function</span>
|
788
|
-
<span class="comment"> *</span>
|
789
|
-
<span class="comment"> * const gchar *example_animal_get_mood (ExampleAnimal *object);</span>
|
790
|
-
<span class="comment"> *</span>
|
791
|
-
<span class="comment"> * can be used to get the value of the :Mood property.</span>
|
792
|
-
<span class="comment"> */</span>
|
793
|
-
<span class="normal"> </span><span class="cbracket">}</span>
|
794
|
-
<span class="normal"> </span><span class="function"><a href="../glib/glib-Doubly-Linked-Lists.html#g-list-free-full">g_list_free_full</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">interfaces</span><span class="symbol">,</span><span class="normal"> <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="symbol">);</span>
|
795
|
-
<span class="normal"> </span><span class="cbracket">}</span>
|
796
|
-
<span class="normal"> </span><span class="function"><a href="../glib/glib-Doubly-Linked-Lists.html#g-list-free-full">g_list_free_full</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">objects</span><span class="symbol">,</span><span class="normal"> <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="symbol">);</span>
|
797
|
-
<span class="cbracket">}</span>
|
798
|
-
|
799
|
-
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
800
|
-
<span class="function">on_object_added</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GDBusObjectManager</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">manager</span><span class="symbol">,</span>
|
801
|
-
<span class="normal"> </span><span class="usertype">GDBusObject</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">object</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">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">owner</span><span class="symbol">;</span>
|
805
|
-
<span class="normal"> owner </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GDBusObjectManagerClient.html#g-dbus-object-manager-client-get-name-owner">g_dbus_object_manager_client_get_name_owner</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">G_DBUS_OBJECT_MANAGER_CLIENT</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">manager</span><span class="symbol">));</span>
|
806
|
-
<span class="normal"> </span><span class="function"><a href="../glib/glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Added object at %s (owner %s)</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="GDBusObject.html#g-dbus-object-get-object-path">g_dbus_object_get_object_path</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">object</span><span class="symbol">),</span><span class="normal"> owner</span><span class="symbol">);</span>
|
807
|
-
<span class="normal"> </span><span class="function"><a href="../glib/glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">owner</span><span class="symbol">);</span>
|
808
|
-
<span class="cbracket">}</span>
|
809
|
-
|
810
|
-
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
811
|
-
<span class="function">on_object_removed</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GDBusObjectManager</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">manager</span><span class="symbol">,</span>
|
812
|
-
<span class="normal"> </span><span class="usertype">GDBusObject</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">object</span><span class="symbol">,</span>
|
813
|
-
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
|
814
|
-
<span class="cbracket">{</span>
|
815
|
-
<span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">owner</span><span class="symbol">;</span>
|
816
|
-
<span class="normal"> owner </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GDBusObjectManagerClient.html#g-dbus-object-manager-client-get-name-owner">g_dbus_object_manager_client_get_name_owner</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">G_DBUS_OBJECT_MANAGER_CLIENT</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">manager</span><span class="symbol">));</span>
|
817
|
-
<span class="normal"> </span><span class="function"><a href="../glib/glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Removed object at %s (owner %s)</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="GDBusObject.html#g-dbus-object-get-object-path">g_dbus_object_get_object_path</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">object</span><span class="symbol">),</span><span class="normal"> owner</span><span class="symbol">);</span>
|
818
|
-
<span class="normal"> </span><span class="function"><a href="../glib/glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">owner</span><span class="symbol">);</span>
|
819
|
-
<span class="cbracket">}</span>
|
820
|
-
|
821
|
-
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
822
|
-
<span class="function">on_notify_name_owner</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GObject</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">object</span><span class="symbol">,</span>
|
823
|
-
<span class="normal"> </span><span class="usertype">GParamSpec</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">pspec</span><span class="symbol">,</span>
|
824
|
-
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
|
825
|
-
<span class="cbracket">{</span>
|
826
|
-
<span class="normal"> </span><span class="usertype">GDBusObjectManagerClient</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">manager </span><span class="symbol">=</span><span class="normal"> </span><span class="function">G_DBUS_OBJECT_MANAGER_CLIENT</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">object</span><span class="symbol">);</span>
|
827
|
-
<span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">name_owner</span><span class="symbol">;</span>
|
828
|
-
|
829
|
-
<span class="normal"> name_owner </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GDBusObjectManagerClient.html#g-dbus-object-manager-client-get-name-owner">g_dbus_object_manager_client_get_name_owner</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">manager</span><span class="symbol">);</span>
|
830
|
-
<span class="normal"> </span><span class="function"><a href="../glib/glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"name-owner: %s</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> name_owner</span><span class="symbol">);</span>
|
831
|
-
<span class="normal"> </span><span class="function"><a href="../glib/glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">name_owner</span><span class="symbol">);</span>
|
832
|
-
<span class="cbracket">}</span>
|
833
|
-
|
834
|
-
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
835
|
-
<span class="function">on_interface_proxy_properties_changed</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GDBusObjectManagerClient</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">manager</span><span class="symbol">,</span>
|
836
|
-
<span class="normal"> </span><span class="usertype">GDBusObjectProxy</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">object_proxy</span><span class="symbol">,</span>
|
837
|
-
<span class="normal"> </span><span class="usertype">GDBusProxy</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">interface_proxy</span><span class="symbol">,</span>
|
838
|
-
<span class="normal"> </span><span class="usertype">GVariant</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">changed_properties</span><span class="symbol">,</span>
|
839
|
-
<span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="keyword">const</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">invalidated_properties</span><span class="symbol">,</span>
|
840
|
-
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
|
841
|
-
<span class="cbracket">{</span>
|
842
|
-
<span class="normal"> </span><span class="usertype">GVariantIter</span><span class="normal"> iter</span><span class="symbol">;</span>
|
843
|
-
<span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">key</span><span class="symbol">;</span>
|
844
|
-
<span class="normal"> </span><span class="usertype">GVariant</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">value</span><span class="symbol">;</span>
|
845
|
-
<span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">s</span><span class="symbol">;</span>
|
846
|
-
|
847
|
-
<span class="normal"> </span><span class="function"><a href="../glib/glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Properties Changed on %s:</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="GDBusObject.html#g-dbus-object-get-object-path">g_dbus_object_get_object_path</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">G_DBUS_OBJECT</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">object_proxy</span><span class="symbol">)));</span>
|
848
|
-
<span class="normal"> </span><span class="function"><a href="../glib/glib-GVariant.html#g-variant-iter-init">g_variant_iter_init</a></span><span class="normal"> </span><span class="symbol">(&</span><span class="normal">iter</span><span class="symbol">,</span><span class="normal"> changed_properties</span><span class="symbol">);</span>
|
849
|
-
<span class="normal"> </span><span class="keyword">while</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="../glib/glib-GVariant.html#g-variant-iter-next">g_variant_iter_next</a></span><span class="normal"> </span><span class="symbol">(&</span><span class="normal">iter</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"{&sv}"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">key</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">value</span><span class="symbol">))</span>
|
850
|
-
<span class="normal"> </span><span class="cbracket">{</span>
|
851
|
-
<span class="normal"> s </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="../glib/glib-GVariant.html#g-variant-print">g_variant_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">value</span><span class="symbol">,</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS">TRUE</a></span><span class="symbol">);</span>
|
852
|
-
<span class="normal"> </span><span class="function"><a href="../glib/glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">" %s -> %s</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> key</span><span class="symbol">,</span><span class="normal"> s</span><span class="symbol">);</span>
|
853
|
-
<span class="normal"> </span><span class="function"><a href="../glib/glib-GVariant.html#g-variant-unref">g_variant_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">value</span><span class="symbol">);</span>
|
854
|
-
<span class="normal"> </span><span class="function"><a href="../glib/glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">s</span><span class="symbol">);</span>
|
855
|
-
<span class="normal"> </span><span class="cbracket">}</span>
|
856
|
-
<span class="cbracket">}</span>
|
857
|
-
|
858
|
-
<span class="normal"><a href="../glib/glib-Basic-Types.html#gint">gint</a></span>
|
859
|
-
<span class="function">main</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">gint</span><span class="normal"> argc</span><span class="symbol">,</span><span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">argv</span><span class="symbol">[])</span>
|
860
|
-
<span class="cbracket">{</span>
|
861
|
-
<span class="normal"> </span><span class="usertype">GDBusObjectManager</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">manager</span><span class="symbol">;</span>
|
862
|
-
<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>
|
863
|
-
<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>
|
864
|
-
<span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">name_owner</span><span class="symbol">;</span>
|
865
|
-
|
866
|
-
<span class="normal"> manager </span><span class="symbol">=</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
|
867
|
-
<span class="normal"> loop </span><span class="symbol">=</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
|
868
|
-
|
869
|
-
<span class="normal"> loop </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="../glib/glib-The-Main-Event-Loop.html#g-main-loop-new">g_main_loop_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS">FALSE</a></span><span class="symbol">);</span>
|
870
|
-
|
871
|
-
<span class="normal"> error </span><span class="symbol">=</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
|
872
|
-
<span class="normal"> manager </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ExampleObjectManagerClient.html#example-object-manager-client-new-for-bus-sync">example_object_manager_client_new_for_bus_sync</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>
|
873
|
-
<span class="normal"> <a href="GDBusObjectManagerClient.html#G-DBUS-OBJECT-MANAGER-CLIENT-FLAGS-NONE:CAPS">G_DBUS_OBJECT_MANAGER_CLIENT_FLAGS_NONE</a></span><span class="symbol">,</span>
|
874
|
-
<span class="normal"> </span><span class="string">"org.gtk.GDBus.Examples.ObjectManager"</span><span class="symbol">,</span>
|
875
|
-
<span class="normal"> </span><span class="string">"/example/Animals"</span><span class="symbol">,</span>
|
876
|
-
<span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> </span><span class="comment">/* GCancellable */</span>
|
877
|
-
<span class="normal"> </span><span class="symbol">&</span><span class="normal">error</span><span class="symbol">);</span>
|
878
|
-
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">manager </span><span class="symbol">==</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span>
|
879
|
-
<span class="normal"> </span><span class="cbracket">{</span>
|
880
|
-
<span class="normal"> </span><span class="function"><a href="../glib/glib-Warnings-and-Assertions.html#g-printerr">g_printerr</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Error getting object manager client: %s"</span><span class="symbol">,</span><span class="normal"> error</span><span class="symbol">-></span><span class="normal">message</span><span class="symbol">);</span>
|
881
|
-
<span class="normal"> </span><span class="function"><a href="../glib/glib-Error-Reporting.html#g-error-free">g_error_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">error</span><span class="symbol">);</span>
|
882
|
-
<span class="normal"> </span><span class="keyword">goto</span><span class="normal"> out</span><span class="symbol">;</span>
|
883
|
-
<span class="normal"> </span><span class="cbracket">}</span>
|
884
|
-
|
885
|
-
<span class="normal"> name_owner </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GDBusObjectManagerClient.html#g-dbus-object-manager-client-get-name-owner">g_dbus_object_manager_client_get_name_owner</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">G_DBUS_OBJECT_MANAGER_CLIENT</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">manager</span><span class="symbol">));</span>
|
886
|
-
<span class="normal"> </span><span class="function"><a href="../glib/glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"name-owner: %s</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> name_owner</span><span class="symbol">);</span>
|
887
|
-
<span class="normal"> </span><span class="function"><a href="../glib/glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">name_owner</span><span class="symbol">);</span>
|
888
|
-
|
889
|
-
<span class="normal"> </span><span class="function">print_objects</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">manager</span><span class="symbol">);</span>
|
890
|
-
|
891
|
-
<span class="normal"> </span><span class="function"><a href="../gobject/gobject-Signals.html#g-signal-connect">g_signal_connect</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">manager</span><span class="symbol">,</span>
|
892
|
-
<span class="normal"> </span><span class="string">"notify::name-owner"</span><span class="symbol">,</span>
|
893
|
-
<span class="normal"> </span><span class="function"><a href="../gobject/gobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">on_notify_name_owner</span><span class="symbol">),</span>
|
894
|
-
<span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
895
|
-
<span class="normal"> </span><span class="function"><a href="../gobject/gobject-Signals.html#g-signal-connect">g_signal_connect</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">manager</span><span class="symbol">,</span>
|
896
|
-
<span class="normal"> </span><span class="string">"object-added"</span><span class="symbol">,</span>
|
897
|
-
<span class="normal"> </span><span class="function"><a href="../gobject/gobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">on_object_added</span><span class="symbol">),</span>
|
898
|
-
<span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
899
|
-
<span class="normal"> </span><span class="function"><a href="../gobject/gobject-Signals.html#g-signal-connect">g_signal_connect</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">manager</span><span class="symbol">,</span>
|
900
|
-
<span class="normal"> </span><span class="string">"object-removed"</span><span class="symbol">,</span>
|
901
|
-
<span class="normal"> </span><span class="function"><a href="../gobject/gobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">on_object_removed</span><span class="symbol">),</span>
|
902
|
-
<span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
903
|
-
<span class="normal"> </span><span class="function"><a href="../gobject/gobject-Signals.html#g-signal-connect">g_signal_connect</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">manager</span><span class="symbol">,</span>
|
904
|
-
<span class="normal"> </span><span class="string">"interface-proxy-properties-changed"</span><span class="symbol">,</span>
|
905
|
-
<span class="normal"> </span><span class="function"><a href="../gobject/gobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">on_interface_proxy_properties_changed</span><span class="symbol">),</span>
|
906
|
-
<span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
907
|
-
|
908
|
-
<span class="normal"> </span><span class="function"><a href="../glib/glib-The-Main-Event-Loop.html#g-main-loop-run">g_main_loop_run</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">loop</span><span class="symbol">);</span>
|
909
|
-
|
910
|
-
<span class="label"> out:</span>
|
911
|
-
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">manager </span><span class="symbol">!=</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span>
|
912
|
-
<span class="normal"> </span><span class="function"><a href="../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">manager</span><span class="symbol">);</span>
|
913
|
-
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">loop </span><span class="symbol">!=</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span>
|
914
|
-
<span class="normal"> </span><span class="function"><a href="../glib/glib-The-Main-Event-Loop.html#g-main-loop-unref">g_main_loop_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">loop</span><span class="symbol">);</span>
|
915
|
-
|
916
|
-
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="number">0</span><span class="symbol">;</span>
|
917
|
-
<span class="cbracket">}</span></pre></td>
|
918
|
-
</tr>
|
919
|
-
</tbody>
|
920
|
-
</table>
|
921
|
-
</div>
|
922
|
-
|
923
|
-
</div>
|
924
|
-
<br class="example-break">
|
925
|
-
</div>
|
39
|
+
To apply the pending changes all at once (GSettings <span class="emphasis"><em>does</em></span>
|
40
|
+
atomicity here), call <a class="link" href="GSettings.html#g-settings-apply" title="g_settings_apply ()"><code class="function">g_settings_apply()</code></a>. To revert the pending changes,
|
41
|
+
call <a class="link" href="GSettings.html#g-settings-revert" title="g_settings_revert ()"><code class="function">g_settings_revert()</code></a> or just drop the reference to the <a class="link" href="GSettings.html" title="GSettings"><span class="type">GSettings</span></a> object.
|
42
|
+
</p>
|
926
43
|
</div>
|
927
44
|
<div class="footer">
|
928
|
-
<hr>
|
929
|
-
Generated by GTK-Doc V1.21.1</div>
|
45
|
+
<hr>Generated by GTK-Doc V1.24</div>
|
930
46
|
</body>
|
931
47
|
</html>
|