glib2 1.1.8-x86-mingw32 → 1.1.9-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +51 -9
- data/ext/glib2/extconf.rb +2 -2
- data/ext/glib2/rbglib.h +3 -2
- data/ext/glib2/rbglib_win32.c +0 -17
- data/ext/glib2/rbgobj_type.c +10 -5
- data/ext/glib2/rbgobject.h +3 -1
- data/lib/1.8/glib2.so +0 -0
- data/lib/1.9/glib2.so +0 -0
- data/lib/gnome2-win32-binary-build-task.rb +42 -15
- data/vendor/local/bin/certtool.exe +0 -0
- data/vendor/local/bin/danetool.exe +0 -0
- data/vendor/local/bin/gdbus-codegen +41 -0
- data/vendor/local/bin/gdbus.exe +0 -0
- data/vendor/local/bin/gio-querymodules.exe +0 -0
- data/vendor/local/bin/glib-compile-resources.exe +0 -0
- data/vendor/local/bin/glib-compile-schemas.exe +0 -0
- data/vendor/local/bin/glib-genmarshal.exe +0 -0
- data/vendor/local/bin/glib-gettextize +3 -3
- data/vendor/local/bin/glib-mkenums +41 -14
- data/vendor/local/bin/gnutls-cli-debug.exe +0 -0
- data/vendor/local/bin/gnutls-cli.exe +0 -0
- data/vendor/local/bin/gnutls-serv.exe +0 -0
- data/vendor/local/bin/gobject-query.exe +0 -0
- data/vendor/local/bin/gresource.exe +0 -0
- data/vendor/local/bin/gsettings.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper-console.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper.exe +0 -0
- data/vendor/local/bin/libffi-5.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-28.def +807 -0
- data/vendor/local/bin/libgnutls-28.dll +0 -0
- data/vendor/local/bin/libgnutls-openssl-27.dll +0 -0
- data/vendor/local/bin/libgnutls-openssl-28.def +304 -0
- data/vendor/local/bin/libgnutlsxx-28.dll +0 -0
- data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
- data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
- data/vendor/local/bin/libhogweed-2-2.dll +0 -0
- data/vendor/local/bin/libnettle-4-4.dll +0 -0
- data/vendor/local/bin/nettle-hash.exe +0 -0
- data/vendor/local/bin/nettle-lfib-stream.exe +0 -0
- data/vendor/local/bin/ocsptool.exe +0 -0
- data/vendor/local/bin/pkcs1-conv.exe +0 -0
- data/vendor/local/bin/psktool.exe +0 -0
- data/vendor/local/bin/sexp-conv.exe +0 -0
- data/vendor/local/bin/srptool.exe +0 -0
- data/vendor/local/bin/zlib1.dll +0 -0
- data/vendor/local/include/glib-2.0/gio/gaction.h +5 -18
- data/vendor/local/include/glib-2.0/gio/gactiongroup.h +19 -21
- data/vendor/local/include/glib-2.0/gio/gactiongroupexporter.h +47 -0
- data/vendor/local/include/glib-2.0/gio/gactionmap.h +97 -0
- data/vendor/local/include/glib-2.0/gio/gappinfo.h +48 -30
- data/vendor/local/include/glib-2.0/gio/gapplication.h +24 -31
- data/vendor/local/include/glib-2.0/gio/gapplicationcommandline.h +4 -16
- data/vendor/local/include/glib-2.0/gio/gasyncresult.h +11 -0
- data/vendor/local/include/glib-2.0/gio/gcontenttype.h +5 -0
- data/vendor/local/include/glib-2.0/gio/gdatainputstream.h +10 -0
- data/vendor/local/include/glib-2.0/gio/gdbusactiongroup.h +55 -0
- data/vendor/local/include/glib-2.0/gio/gdbusauthobserver.h +4 -0
- data/vendor/local/include/glib-2.0/gio/gdbusconnection.h +37 -0
- data/vendor/local/include/glib-2.0/gio/gdbusinterface.h +79 -0
- data/vendor/local/include/glib-2.0/gio/gdbusinterfaceskeleton.h +115 -0
- data/vendor/local/include/glib-2.0/gio/gdbusintrospection.h +25 -15
- data/vendor/local/include/glib-2.0/gio/gdbusmenumodel.h +45 -0
- data/vendor/local/include/glib-2.0/gio/gdbusmethodinvocation.h +5 -0
- data/vendor/local/include/glib-2.0/gio/gdbusnamewatching.h +6 -1
- data/vendor/local/include/glib-2.0/gio/gdbusobject.h +76 -0
- data/vendor/local/include/glib-2.0/gio/gdbusobjectmanager.h +91 -0
- data/vendor/local/include/glib-2.0/gio/gdbusobjectmanagerclient.h +137 -0
- data/vendor/local/include/glib-2.0/gio/gdbusobjectmanagerserver.h +87 -0
- data/vendor/local/include/glib-2.0/gio/gdbusobjectproxy.h +78 -0
- data/vendor/local/include/glib-2.0/gio/gdbusobjectskeleton.h +91 -0
- data/vendor/local/include/glib-2.0/gio/gdbusproxy.h +23 -0
- data/vendor/local/include/glib-2.0/gio/gdbusutils.h +5 -0
- data/vendor/local/include/glib-2.0/gio/gdrive.h +17 -6
- data/vendor/local/include/glib-2.0/gio/gfile.h +48 -20
- data/vendor/local/include/glib-2.0/gio/gfileattribute.h +3 -1
- data/vendor/local/include/glib-2.0/gio/gfileenumerator.h +3 -0
- data/vendor/local/include/glib-2.0/gio/gfileinfo.h +36 -3
- data/vendor/local/include/glib-2.0/gio/ginetaddress.h +3 -0
- data/vendor/local/include/glib-2.0/gio/ginetaddressmask.h +87 -0
- data/vendor/local/include/glib-2.0/gio/ginetsocketaddress.h +9 -5
- data/vendor/local/include/glib-2.0/gio/ginputstream.h +16 -0
- data/vendor/local/include/glib-2.0/gio/gio.h +30 -3
- data/vendor/local/include/glib-2.0/gio/gioenums.h +286 -14
- data/vendor/local/include/glib-2.0/gio/gioenumtypes.h +26 -0
- data/vendor/local/include/glib-2.0/gio/giomodule.h +18 -1
- data/vendor/local/include/glib-2.0/gio/gioscheduler.h +4 -0
- data/vendor/local/include/glib-2.0/gio/giotypes.h +60 -10
- data/vendor/local/include/glib-2.0/gio/gmemoryinputstream.h +6 -0
- data/vendor/local/include/glib-2.0/gio/gmemoryoutputstream.h +5 -0
- data/vendor/local/include/glib-2.0/gio/gmenu.h +177 -0
- data/vendor/local/include/glib-2.0/gio/gmenuexporter.h +42 -0
- data/vendor/local/include/glib-2.0/gio/gmenumodel.h +214 -0
- data/vendor/local/include/glib-2.0/gio/gmount.h +16 -4
- data/vendor/local/include/glib-2.0/gio/gmountoperation.h +5 -1
- data/vendor/local/include/glib-2.0/gio/gnetworking.h +83 -0
- data/vendor/local/include/glib-2.0/gio/gnetworkmonitor.h +91 -0
- data/vendor/local/include/glib-2.0/gio/goutputstream.h +16 -0
- data/vendor/local/include/glib-2.0/gio/gpollableinputstream.h +6 -5
- data/vendor/local/include/glib-2.0/gio/gpollableoutputstream.h +6 -2
- data/vendor/local/include/glib-2.0/gio/gpollableutils.h +65 -0
- data/vendor/local/include/glib-2.0/gio/gproxy.h +2 -1
- data/vendor/local/include/glib-2.0/gio/gproxyaddress.h +5 -0
- data/vendor/local/include/glib-2.0/gio/gproxyresolver.h +0 -5
- data/vendor/local/include/glib-2.0/gio/gremoteactiongroup.h +77 -0
- data/vendor/local/include/glib-2.0/gio/gresolver.h +35 -3
- data/vendor/local/include/glib-2.0/gio/gresource.h +131 -0
- data/vendor/local/include/glib-2.0/gio/gseekable.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gsettings.h +26 -9
- data/vendor/local/include/glib-2.0/gio/gsettingsschema.h +65 -0
- data/vendor/local/include/glib-2.0/gio/gsimpleaction.h +4 -42
- data/vendor/local/include/glib-2.0/gio/gsimpleactiongroup.h +7 -0
- data/vendor/local/include/glib-2.0/gio/gsimpleasyncresult.h +3 -0
- data/vendor/local/include/glib-2.0/gio/gsocket.h +57 -0
- data/vendor/local/include/glib-2.0/gio/gsocketclient.h +5 -1
- data/vendor/local/include/glib-2.0/gio/gsocketconnection.h +19 -0
- data/vendor/local/include/glib-2.0/gio/gtask.h +160 -0
- data/vendor/local/include/glib-2.0/gio/gtestdbus.h +74 -0
- data/vendor/local/include/glib-2.0/gio/gtlsbackend.h +18 -20
- data/vendor/local/include/glib-2.0/gio/gtlscertificate.h +4 -0
- data/vendor/local/include/glib-2.0/gio/gtlsclientconnection.h +0 -8
- data/vendor/local/include/glib-2.0/gio/gtlsconnection.h +12 -10
- data/vendor/local/include/glib-2.0/gio/gtlsdatabase.h +235 -0
- data/vendor/local/include/glib-2.0/gio/gtlsfiledatabase.h +56 -0
- data/vendor/local/include/glib-2.0/gio/gtlsinteraction.h +102 -0
- data/vendor/local/include/glib-2.0/gio/gtlspassword.h +101 -0
- data/vendor/local/include/glib-2.0/gio/gvolume.h +36 -8
- data/vendor/local/include/glib-2.0/gio/gvolumemonitor.h +1 -2
- data/vendor/local/include/glib-2.0/glib-object.h +14 -14
- data/vendor/local/include/glib-2.0/glib-unix.h +90 -0
- data/vendor/local/include/glib-2.0/glib.h +16 -3
- data/vendor/local/include/glib-2.0/glib/deprecated/gallocator.h +90 -0
- data/vendor/local/include/glib-2.0/glib/deprecated/gcache.h +73 -0
- data/vendor/local/include/glib-2.0/glib/deprecated/gcompletion.h +85 -0
- data/vendor/local/include/glib-2.0/glib/deprecated/gmain.h +138 -0
- data/vendor/local/include/glib-2.0/glib/deprecated/grel.h +107 -0
- data/vendor/local/include/glib-2.0/glib/deprecated/gthread.h +286 -0
- data/vendor/local/include/glib-2.0/glib/galloca.h +1 -1
- data/vendor/local/include/glib-2.0/glib/garray.h +9 -1
- data/vendor/local/include/glib-2.0/glib/gasyncqueue.h +30 -59
- data/vendor/local/include/glib-2.0/glib/gatomic.h +197 -82
- data/vendor/local/include/glib-2.0/glib/gbacktrace.h +8 -12
- data/vendor/local/include/glib-2.0/glib/gbase64.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gbitlock.h +30 -1
- data/vendor/local/include/glib-2.0/glib/gbookmarkfile.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gbytes.h +78 -0
- data/vendor/local/include/glib-2.0/glib/gcharset.h +40 -0
- data/vendor/local/include/glib-2.0/glib/gchecksum.h +10 -3
- data/vendor/local/include/glib-2.0/glib/gconvert.h +26 -11
- data/vendor/local/include/glib-2.0/glib/gdataset.h +19 -4
- data/vendor/local/include/glib-2.0/glib/gdate.h +2 -1
- data/vendor/local/include/glib-2.0/glib/gdatetime.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gdir.h +12 -10
- data/vendor/local/include/glib-2.0/glib/genviron.h +69 -0
- data/vendor/local/include/glib-2.0/glib/gerror.h +10 -1
- data/vendor/local/include/glib-2.0/glib/gfileutils.h +94 -40
- data/vendor/local/include/glib-2.0/glib/ggettext.h +59 -0
- data/vendor/local/include/glib-2.0/glib/ghash.h +63 -82
- data/vendor/local/include/glib-2.0/glib/ghmac.h +80 -0
- data/vendor/local/include/glib-2.0/glib/ghook.h +1 -1
- data/vendor/local/include/glib-2.0/glib/giochannel.h +38 -20
- data/vendor/local/include/glib-2.0/glib/gkeyfile.h +3 -1
- data/vendor/local/include/glib-2.0/glib/glist.h +8 -6
- data/vendor/local/include/glib-2.0/glib/gmacros.h +66 -7
- data/vendor/local/include/glib-2.0/glib/gmain.h +53 -112
- data/vendor/local/include/glib-2.0/glib/gmappedfile.h +8 -3
- data/vendor/local/include/glib-2.0/glib/gmarkup.h +3 -3
- data/vendor/local/include/glib-2.0/glib/gmem.h +25 -49
- data/vendor/local/include/glib-2.0/glib/gmessages.h +76 -15
- data/vendor/local/include/glib-2.0/glib/gnode.h +14 -6
- data/vendor/local/include/glib-2.0/glib/goption.h +3 -3
- data/vendor/local/include/glib-2.0/glib/gpattern.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gpoll.h +3 -0
- data/vendor/local/include/glib-2.0/glib/gprimes.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gqsort.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gquark.h +16 -4
- data/vendor/local/include/glib-2.0/glib/gqueue.h +62 -37
- data/vendor/local/include/glib-2.0/glib/grand.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gregex.h +116 -26
- data/vendor/local/include/glib-2.0/glib/gscanner.h +9 -3
- data/vendor/local/include/glib-2.0/glib/gsequence.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gshell.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gslice.h +9 -1
- data/vendor/local/include/glib-2.0/glib/gslist.h +7 -6
- data/vendor/local/include/glib-2.0/glib/gspawn.h +164 -13
- data/vendor/local/include/glib-2.0/glib/gstdio.h +3 -1
- data/vendor/local/include/glib-2.0/glib/gstrfuncs.h +15 -37
- data/vendor/local/include/glib-2.0/glib/gstring.h +84 -104
- data/vendor/local/include/glib-2.0/glib/gstringchunk.h +53 -0
- data/vendor/local/include/glib-2.0/glib/gtestutils.h +23 -1
- data/vendor/local/include/glib-2.0/glib/gthread.h +172 -325
- data/vendor/local/include/glib-2.0/glib/gthreadpool.h +26 -60
- data/vendor/local/include/glib-2.0/glib/gtimer.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gtimezone.h +3 -3
- data/vendor/local/include/glib-2.0/glib/gtrashstack.h +103 -0
- data/vendor/local/include/glib-2.0/glib/gtree.h +2 -3
- data/vendor/local/include/glib-2.0/glib/gtypes.h +50 -18
- data/vendor/local/include/glib-2.0/glib/gunicode.h +420 -95
- data/vendor/local/include/glib-2.0/glib/gurifuncs.h +2 -2
- data/vendor/local/include/glib-2.0/glib/gutils.h +68 -192
- data/vendor/local/include/glib-2.0/glib/gvariant.h +25 -3
- data/vendor/local/include/glib-2.0/glib/gvarianttype.h +20 -2
- data/vendor/local/include/glib-2.0/glib/gversion.h +56 -0
- data/vendor/local/include/glib-2.0/glib/gversionmacros.h +274 -0
- data/vendor/local/include/glib-2.0/glib/gwin32.h +15 -4
- data/vendor/local/include/glib-2.0/gmodule.h +14 -8
- data/vendor/local/include/glib-2.0/gobject/gbinding.h +2 -2
- data/vendor/local/include/glib-2.0/gobject/gboxed.h +41 -175
- data/vendor/local/include/glib-2.0/gobject/gclosure.h +40 -10
- data/vendor/local/include/glib-2.0/gobject/glib-types.h +310 -0
- data/vendor/local/include/glib-2.0/gobject/gmarshal.h +338 -183
- data/vendor/local/include/glib-2.0/gobject/gobject.h +56 -28
- data/vendor/local/include/glib-2.0/gobject/gobjectnotifyqueue.c +6 -0
- data/vendor/local/include/glib-2.0/gobject/gparam.h +11 -12
- data/vendor/local/include/glib-2.0/gobject/gparamspecs.h +6 -0
- data/vendor/local/include/glib-2.0/gobject/gsignal.h +42 -9
- data/vendor/local/include/glib-2.0/gobject/gsourceclosure.h +1 -16
- data/vendor/local/include/glib-2.0/gobject/gtype.h +28 -31
- data/vendor/local/include/glib-2.0/gobject/gtypemodule.h +1 -1
- data/vendor/local/include/glib-2.0/gobject/gvalue.h +21 -5
- data/vendor/local/include/glib-2.0/gobject/gvaluearray.h +31 -2
- data/vendor/local/include/glib-2.0/gobject/gvaluecollector.h +32 -3
- data/vendor/local/include/glib-2.0/gobject/gvaluetypes.h +12 -8
- data/vendor/local/include/gmp.h +2229 -0
- data/vendor/local/include/gnutls/abstract.h +401 -0
- data/vendor/local/include/gnutls/compat.h +290 -56
- data/vendor/local/include/gnutls/crypto.h +80 -47
- data/vendor/local/include/gnutls/dtls.h +88 -0
- data/vendor/local/include/gnutls/gnutls.h +1357 -550
- data/vendor/local/include/gnutls/gnutlsxx.h +400 -362
- data/vendor/local/include/gnutls/ocsp.h +259 -0
- data/vendor/local/include/gnutls/openpgp.h +235 -147
- data/vendor/local/include/gnutls/openssl.h +22 -24
- data/vendor/local/include/gnutls/pkcs11.h +322 -0
- data/vendor/local/include/gnutls/pkcs12.h +66 -38
- data/vendor/local/include/gnutls/tpm.h +74 -0
- data/vendor/local/include/gnutls/x509.h +771 -348
- data/vendor/local/include/nettle/aes.h +85 -0
- data/vendor/local/include/nettle/arcfour.h +66 -0
- data/vendor/local/include/nettle/arctwo.h +82 -0
- data/vendor/local/include/nettle/asn1.h +144 -0
- data/vendor/local/include/nettle/base16.h +106 -0
- data/vendor/local/include/nettle/base64.h +153 -0
- data/vendor/local/include/nettle/bignum.h +121 -0
- data/vendor/local/include/nettle/blowfish.h +76 -0
- data/vendor/local/include/nettle/buffer.h +98 -0
- data/vendor/local/include/nettle/camellia.h +82 -0
- data/vendor/local/include/nettle/cast128.h +77 -0
- data/vendor/local/include/nettle/cbc.h +76 -0
- data/vendor/local/include/nettle/ctr.h +62 -0
- data/vendor/local/include/nettle/des-compat.h +154 -0
- data/vendor/local/include/nettle/des.h +111 -0
- data/vendor/local/include/nettle/dsa.h +292 -0
- data/vendor/local/include/nettle/gcm.h +186 -0
- data/vendor/local/include/nettle/hmac.h +201 -0
- data/vendor/local/include/nettle/knuth-lfib.h +75 -0
- data/vendor/local/include/nettle/macros.h +216 -0
- data/vendor/local/include/nettle/md2.h +69 -0
- data/vendor/local/include/nettle/md4.h +73 -0
- data/vendor/local/include/nettle/md5-compat.h +50 -0
- data/vendor/local/include/nettle/md5.h +76 -0
- data/vendor/local/include/nettle/memxor.h +22 -0
- data/vendor/local/include/nettle/nettle-meta.h +227 -0
- data/vendor/local/include/nettle/nettle-stdint.h +286 -0
- data/vendor/local/include/nettle/nettle-types.h +92 -0
- data/vendor/local/include/nettle/pgp.h +240 -0
- data/vendor/local/include/nettle/pkcs1.h +106 -0
- data/vendor/local/include/nettle/realloc.h +41 -0
- data/vendor/local/include/nettle/ripemd160.h +78 -0
- data/vendor/local/include/nettle/rsa-compat.h +131 -0
- data/vendor/local/include/nettle/rsa.h +418 -0
- data/vendor/local/include/nettle/salsa20.h +82 -0
- data/vendor/local/include/nettle/serpent.h +81 -0
- data/vendor/local/include/nettle/sexp.h +212 -0
- data/vendor/local/include/nettle/sha.h +193 -0
- data/vendor/local/include/nettle/twofish.h +78 -0
- data/vendor/local/include/nettle/yarrow.h +137 -0
- data/vendor/local/include/zconf.h +461 -0
- data/vendor/local/include/zlib.h +1589 -0
- data/vendor/local/lib/charset.alias +4 -0
- data/vendor/local/lib/gio-2.0.def +505 -147
- 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 +2 -2
- data/vendor/local/lib/glib-2.0.def +298 -167
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +32 -115
- data/vendor/local/lib/gmodule-2.0.def +0 -0
- data/vendor/local/lib/gobject-2.0.def +71 -23
- data/vendor/local/lib/gthread-2.0.def +0 -0
- data/vendor/local/lib/libffi-3.0.6/include/ffi.h +393 -0
- data/vendor/local/lib/libffi-3.0.6/include/ffitarget.h +90 -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 +41 -0
- data/vendor/local/lib/libglib-2.0.dll.a +0 -0
- data/vendor/local/lib/libglib-2.0.la +41 -0
- data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
- data/vendor/local/lib/libgmodule-2.0.la +41 -0
- data/vendor/local/lib/libgmp.dll.a +0 -0
- data/vendor/local/lib/libgmp.la +41 -0
- data/vendor/local/lib/libgnutls-openssl.a +0 -0
- data/vendor/local/lib/libgnutls-openssl.dll.a +0 -0
- data/vendor/local/lib/libgnutls-openssl.la +41 -0
- data/vendor/local/lib/libgnutls.a +0 -0
- data/vendor/local/lib/libgnutls.dll.a +0 -0
- data/vendor/local/lib/libgnutls.la +41 -0
- data/vendor/local/lib/libgnutlsxx.a +0 -0
- data/vendor/local/lib/libgnutlsxx.dll.a +0 -0
- data/vendor/local/lib/libgnutlsxx.la +41 -0
- data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.la +41 -0
- data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
- data/vendor/local/lib/libgthread-2.0.la +41 -0
- data/vendor/local/lib/libhogweed.a +0 -0
- data/vendor/local/lib/libhogweed.dll.a +0 -0
- data/vendor/local/lib/libnettle.a +0 -0
- data/vendor/local/lib/libnettle.dll.a +0 -0
- data/vendor/local/lib/libz.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gio-2.0.pc +7 -4
- data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/glib-2.0.pc +3 -2
- data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-export-2.0.pc +14 -0
- data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gnutls-dane.pc +24 -0
- data/vendor/local/lib/pkgconfig/gnutls.pc +13 -12
- data/vendor/local/lib/pkgconfig/gobject-2.0.pc +3 -2
- data/vendor/local/lib/pkgconfig/gthread-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/hogweed.pc +18 -0
- data/vendor/local/lib/pkgconfig/nettle.pc +11 -0
- data/vendor/local/lib/zdll.lib +0 -0
- data/vendor/local/lib/zlib.def +67 -0
- data/vendor/local/manifest/libffi-dev_3.0.6-1_win32.mft +9 -0
- data/vendor/local/manifest/libffi_3.0.6-1_win32.mft +2 -0
- data/vendor/local/manifest/zlib-dev_1.2.5-2_win32.mft +8 -0
- data/vendor/local/manifest/zlib_1.2.5-2_win32.mft +2 -0
- data/vendor/local/share/aclocal/glib-2.0.m4 +3 -0
- data/vendor/local/share/aclocal/glib-gettext.m4 +4 -0
- data/vendor/local/share/aclocal/gsettings.m4 +1 -1
- data/vendor/local/share/bash-completion/completions/gdbus +33 -0
- data/vendor/local/share/bash-completion/completions/gresource +58 -0
- data/vendor/local/share/bash-completion/completions/gsettings +84 -0
- data/vendor/local/share/gdb/auto-load/libglib-2.0.so.0.3503.0-gdb.py +10 -0
- data/vendor/local/share/gdb/auto-load/libgobject-2.0.so.0.3503.0-gdb.py +10 -0
- data/vendor/local/share/glib-2.0/codegen/__init__.py +29 -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 +3375 -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.py +323 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_main.py +203 -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 +27 -0
- data/vendor/local/share/glib-2.0/codegen/config.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/config.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/dbustypes.py +426 -0
- data/vendor/local/share/glib-2.0/codegen/dbustypes.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/dbustypes.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/parser.py +290 -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.py +104 -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 +15 -11
- data/vendor/local/share/glib-2.0/gdb/gobject.py +0 -0
- data/vendor/local/share/glib-2.0/gettext/po/Makefile.in.in +9 -20
- data/vendor/local/share/gtk-doc/html/gio/ExampleAnimal.html +1301 -0
- data/vendor/local/share/gtk-doc/html/gio/ExampleCat.html +594 -0
- data/vendor/local/share/gtk-doc/html/gio/ExampleObject.html +461 -0
- data/vendor/local/share/gtk-doc/html/gio/ExampleObjectManagerClient.html +486 -0
- data/vendor/local/share/gtk-doc/html/gio/GAction.html +174 -73
- data/vendor/local/share/gtk-doc/html/gio/GActionGroup.html +465 -130
- data/vendor/local/share/gtk-doc/html/gio/GActionMap.html +440 -0
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +470 -183
- data/vendor/local/share/gtk-doc/html/gio/GApplication.html +862 -225
- data/vendor/local/share/gtk-doc/html/gio/GApplicationCommandLine.html +139 -76
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +141 -135
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +148 -37
- data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +110 -67
- data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +55 -29
- data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +135 -79
- data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +42 -30
- data/vendor/local/share/gtk-doc/html/gio/GConverter.html +49 -42
- data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +78 -43
- data/vendor/local/share/gtk-doc/html/gio/GDBusActionGroup.html +138 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +107 -24
- data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +1369 -836
- data/vendor/local/share/gtk-doc/html/gio/GDBusError.html +92 -92
- data/vendor/local/share/gtk-doc/html/gio/GDBusInterface.html +268 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusInterfaceSkeleton.html +691 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusMenuModel.html +126 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +381 -215
- data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +212 -81
- data/vendor/local/share/gtk-doc/html/gio/GDBusObject.html +312 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManager.html +462 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerClient.html +1095 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerServer.html +397 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectProxy.html +206 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectSkeleton.html +385 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +679 -330
- data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +161 -129
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +396 -210
- data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +143 -102
- data/vendor/local/share/gtk-doc/html/gio/GDrive.html +323 -162
- data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +35 -24
- data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +30 -15
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +2551 -1662
- data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +16 -5
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +151 -64
- data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +34 -22
- data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +15 -8
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +731 -342
- data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +31 -22
- data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +53 -38
- data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +34 -22
- data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +37 -22
- data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +24 -15
- data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +24 -15
- data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +259 -22
- data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +91 -55
- data/vendor/local/share/gtk-doc/html/gio/GIcon.html +51 -34
- data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +189 -101
- data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +99 -15
- data/vendor/local/share/gtk-doc/html/gio/GInitable.html +116 -80
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +339 -110
- data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +33 -21
- data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +33 -20
- data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +84 -49
- data/vendor/local/share/gtk-doc/html/gio/GMenu.html +1562 -0
- data/vendor/local/share/gtk-doc/html/gio/GMenuModel.html +1064 -0
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +325 -174
- data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +217 -94
- data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +72 -49
- data/vendor/local/share/gtk-doc/html/gio/GNetworkMonitor.html +435 -0
- data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +53 -35
- data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +392 -138
- data/vendor/local/share/gtk-doc/html/gio/GPermission.html +104 -74
- data/vendor/local/share/gtk-doc/html/gio/GPollableInputStream.html +58 -104
- data/vendor/local/share/gtk-doc/html/gio/GPollableOutputStream.html +60 -45
- data/vendor/local/share/gtk-doc/html/gio/GProxy.html +48 -30
- data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +157 -51
- data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +50 -37
- data/vendor/local/share/gtk-doc/html/gio/GRemoteActionGroup.html +262 -0
- data/vendor/local/share/gtk-doc/html/gio/GResolver.html +348 -128
- data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +66 -48
- data/vendor/local/share/gtk-doc/html/gio/GSettings.html +790 -390
- data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +106 -75
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAction.html +188 -76
- data/vendor/local/share/gtk-doc/html/gio/GSimpleActionGroup.html +79 -22
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +334 -180
- data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +12 -9
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +1183 -407
- data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +51 -42
- data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +556 -217
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +55 -37
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +243 -49
- data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +35 -20
- data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +159 -122
- data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +57 -34
- data/vendor/local/share/gtk-doc/html/gio/GSrvTarget.html +56 -32
- data/vendor/local/share/gtk-doc/html/gio/GTask.html +2296 -0
- data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +22 -16
- data/vendor/local/share/gtk-doc/html/gio/GTcpWrapperConnection.html +13 -9
- data/vendor/local/share/gtk-doc/html/gio/GTestDBus.html +331 -0
- data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +43 -25
- data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +30 -24
- data/vendor/local/share/gtk-doc/html/gio/GTlsBackend.html +123 -36
- data/vendor/local/share/gtk-doc/html/gio/GTlsCertificate.html +145 -76
- data/vendor/local/share/gtk-doc/html/gio/GTlsClientConnection.html +67 -42
- data/vendor/local/share/gtk-doc/html/gio/GTlsConnection.html +297 -90
- data/vendor/local/share/gtk-doc/html/gio/GTlsDatabase.html +993 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsFileDatabase.html +172 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsInteraction.html +385 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsPassword.html +511 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsServerConnection.html +19 -16
- data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +244 -41
- data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +25 -13
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +70 -51
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +47 -34
- data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +44 -30
- data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +46 -32
- data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +76 -53
- data/vendor/local/share/gtk-doc/html/gio/GVfs.html +55 -33
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +260 -110
- data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +127 -70
- data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +32 -24
- data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +19 -13
- data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +10 -10
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +14 -10
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +8 -16
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +74 -31
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-28.html +21 -41
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-30.html +691 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-32.html +698 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-34.html +231 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +55 -7
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +2101 -230
- data/vendor/local/share/gtk-doc/html/gio/application.html +33 -9
- data/vendor/local/share/gtk-doc/html/gio/async.html +6 -3
- data/vendor/local/share/gtk-doc/html/gio/ch01.html +43 -18
- data/vendor/local/share/gtk-doc/html/gio/ch02.html +86 -22
- data/vendor/local/share/gtk-doc/html/gio/ch03.html +23 -152
- data/vendor/local/share/gtk-doc/html/gio/ch27.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/ch28s03.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch28s06.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch29.html +54 -49
- data/vendor/local/share/gtk-doc/html/gio/ch29s02.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch29s03.html +19 -19
- data/vendor/local/share/gtk-doc/html/gio/ch29s04.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch29s05.html +81 -81
- data/vendor/local/share/gtk-doc/html/gio/ch29s06.html +67 -67
- data/vendor/local/share/gtk-doc/html/gio/ch30.html +217 -0
- data/vendor/local/share/gtk-doc/html/gio/ch30s02.html +41 -0
- data/vendor/local/share/gtk-doc/html/gio/ch30s03.html +39 -0
- data/vendor/local/share/gtk-doc/html/gio/ch31.html +57 -0
- data/vendor/local/share/gtk-doc/html/gio/ch31s02.html +59 -0
- data/vendor/local/share/gtk-doc/html/gio/ch31s03.html +159 -0
- data/vendor/local/share/gtk-doc/html/gio/ch31s04.html +46 -0
- data/vendor/local/share/gtk-doc/html/gio/ch31s05.html +48 -0
- data/vendor/local/share/gtk-doc/html/gio/ch31s06.html +278 -0
- data/vendor/local/share/gtk-doc/html/gio/ch31s07.html +160 -0
- data/vendor/local/share/gtk-doc/html/gio/ch32.html +113 -0
- data/vendor/local/share/gtk-doc/html/gio/ch32s02.html +142 -0
- data/vendor/local/share/gtk-doc/html/gio/ch32s03.html +202 -0
- data/vendor/local/share/gtk-doc/html/gio/ch32s04.html +97 -0
- data/vendor/local/share/gtk-doc/html/gio/ch32s05.html +931 -0
- data/vendor/local/share/gtk-doc/html/gio/conversion.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +14 -5
- data/vendor/local/share/gtk-doc/html/gio/extending.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/file_mon.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/file_ops.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/gdbus-codegen.html +1080 -0
- data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +28 -4
- data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/gdbus-org.gtk.GDBus.Example.ObjectManager.Animal.html +167 -0
- data/vendor/local/share/gtk-doc/html/gio/gdbus-org.gtk.GDBus.Example.ObjectManager.Cat.html +54 -0
- data/vendor/local/share/gtk-doc/html/gio/gdbus.html +87 -30
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +70 -49
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +420 -187
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +200 -27
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +497 -23
- data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +88 -48
- data/vendor/local/share/gtk-doc/html/gio/gio-GActionGroup-exporter.html +176 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +162 -68
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +26 -8
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +24 -6
- data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +919 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +113 -97
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +38 -32
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +85 -62
- data/vendor/local/share/gtk-doc/html/gio/gio-GInetAddressMask.html +330 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GMenuModel-exporter.html +164 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GResource.html +917 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GSettingsSchema-GSettingsSchemaSource.html +614 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GWin32InputStream.html +213 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GWin32OutputStream.html +210 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +154 -134
- data/vendor/local/share/gtk-doc/html/gio/gio-TLS-Overview.html +22 -17
- data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +272 -92
- data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +136 -105
- data/vendor/local/share/gtk-doc/html/gio/gio-gnetworking.h.html +91 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-gpollableutils.html +396 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +53 -52
- data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +790 -157
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-resources.html +209 -0
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +25 -18
- data/vendor/local/share/gtk-doc/html/gio/gresource-tool.html +111 -0
- data/vendor/local/share/gtk-doc/html/gio/gsettings-tool.html +27 -15
- data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +10 -7
- data/vendor/local/share/gtk-doc/html/gio/icons.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/index.html +160 -34
- data/vendor/local/share/gtk-doc/html/gio/index.sgml +1009 -179
- data/vendor/local/share/gtk-doc/html/gio/menu-example.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/menu-model.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/migrating.html +45 -25
- data/vendor/local/share/gtk-doc/html/gio/networking.html +11 -5
- data/vendor/local/share/gtk-doc/html/gio/permissions.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/pt01.html +7 -6
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +115 -13
- data/vendor/local/share/gtk-doc/html/gio/resolver.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/resources.html +33 -0
- data/vendor/local/share/gtk-doc/html/gio/running-gio-apps.html +176 -0
- data/vendor/local/share/gtk-doc/html/gio/settings.html +9 -5
- data/vendor/local/share/gtk-doc/html/gio/streaming.html +12 -3
- data/vendor/local/share/gtk-doc/html/gio/testing.html +33 -0
- data/vendor/local/share/gtk-doc/html/gio/tls.html +17 -5
- data/vendor/local/share/gtk-doc/html/gio/tools.html +13 -4
- data/vendor/local/share/gtk-doc/html/gio/types.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/utils.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +28 -7
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +6 -14
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +19 -11
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +17 -6
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +15 -7
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +8 -8
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +13 -5
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +20 -5
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-28.html +22 -7
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-30.html +257 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-32.html +348 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-34.html +121 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +26 -18
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +20 -16
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +11 -7
- data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +152 -78
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +729 -249
- data/vendor/local/share/gtk-doc/html/glib/deprecated.html +47 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +135 -28
- data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +383 -170
- data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +525 -142
- data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +71 -32
- data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +97 -38
- data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +68 -30
- data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +724 -106
- data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +187 -67
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +715 -29
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +368 -194
- data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +105 -50
- data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +126 -59
- data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +163 -62
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +106 -25
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-HMACs.html +452 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +61 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +394 -162
- data/vendor/local/share/gtk-doc/html/glib/glib-Deprecated-Thread-APIs.html +1772 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +241 -63
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +236 -95
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +174 -100
- data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +259 -168
- data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +710 -221
- data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +409 -167
- data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +86 -53
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +1077 -281
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +234 -187
- data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +28 -10
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +545 -211
- data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +234 -108
- data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +23 -8
- data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +138 -77
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +259 -105
- data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +436 -206
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +263 -38
- data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +540 -362
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +165 -37
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +146 -79
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +214 -104
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +489 -438
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +690 -202
- data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +230 -118
- data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +23 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +538 -102
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +135 -33
- data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +79 -23
- data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +75 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +57 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +308 -111
- data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +20 -9
- data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +88 -37
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +228 -86
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +271 -109
- data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +108 -63
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +42 -24
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +578 -315
- data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +241 -94
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +647 -189
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +592 -210
- data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +162 -100
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +1345 -1882
- data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +33 -23
- data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +40 -18
- data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +42 -25
- data/vendor/local/share/gtk-doc/html/glib/glib-UNIX-specific-utilities-and-integration.html +334 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +55 -25
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +852 -253
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +204 -41
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +146 -85
- data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +106 -44
- data/vendor/local/share/gtk-doc/html/glib/glib-building.html +298 -333
- data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +11 -11
- data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +69 -39
- data/vendor/local/share/gtk-doc/html/glib/glib-core.html +13 -8
- data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +10 -5
- data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +15 -38
- data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +9 -11
- data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +13 -10
- data/vendor/local/share/gtk-doc/html/glib/glib-programming.html +76 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +58 -58
- data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +12 -9
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +133 -112
- data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +24 -16
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +434 -267
- data/vendor/local/share/gtk-doc/html/glib/glib.html +16 -24
- data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +12 -9
- data/vendor/local/share/gtk-doc/html/glib/gtester.html +68 -12
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +67 -25
- data/vendor/local/share/gtk-doc/html/glib/gvariant-text.html +15 -8
- data/vendor/local/share/gtk-doc/html/glib/index.html +66 -59
- data/vendor/local/share/gtk-doc/html/glib/index.sgml +383 -215
- data/vendor/local/share/gtk-doc/html/glib/tools.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +56 -25
- data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +58 -19
- data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +39 -12
- data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-28.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-30.html +70 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-32.html +81 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-34.html +63 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +9 -9
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +94 -7
- data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +296 -76
- data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +10 -10
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +13 -13
- data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +14 -14
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +120 -108
- data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +157 -133
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +171 -27
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +741 -86
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +113 -41
- data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +182 -65
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +124 -37
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +365 -136
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +837 -244
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +773 -102
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +545 -158
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +149 -34
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +26 -11
- data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +226 -105
- data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +29 -18
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +92 -34
- data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +11 -10
- data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +10 -9
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +104 -42
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +68 -21
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +11 -11
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +33 -18
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-override.html +135 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-prerequisite.html +123 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +27 -39
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +40 -51
- data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/index.html +19 -15
- data/vendor/local/share/gtk-doc/html/gobject/index.sgml +59 -3
- data/vendor/local/share/gtk-doc/html/gobject/pr01.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/pt01.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/pt02.html +12 -11
- data/vendor/local/share/gtk-doc/html/gobject/pt03.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/rn01.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/rn02.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +16 -15
- data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +3 -3
- data/vendor/local/share/info/dir +40 -0
- data/vendor/local/share/info/gmp.info +183 -0
- data/vendor/local/share/info/gmp.info-1 +7078 -0
- data/vendor/local/share/info/gmp.info-2 +3513 -0
- data/vendor/local/share/info/gnutls-client-server-use-case.png +0 -0
- data/vendor/local/share/info/gnutls-guile.info +1580 -0
- data/vendor/local/share/info/gnutls-handshake-sequence.png +0 -0
- data/vendor/local/share/info/gnutls-handshake-state.png +0 -0
- data/vendor/local/share/info/gnutls-internals.png +0 -0
- data/vendor/local/share/info/gnutls-layers.png +0 -0
- data/vendor/local/share/info/gnutls-modauth.png +0 -0
- data/vendor/local/share/info/gnutls-pgp.png +0 -0
- data/vendor/local/share/info/gnutls-x509.png +0 -0
- data/vendor/local/share/info/gnutls.info +1237 -683
- data/vendor/local/share/info/gnutls.info-1 +5355 -8447
- data/vendor/local/share/info/gnutls.info-2 +9995 -5771
- data/vendor/local/share/info/gnutls.info-3 +8788 -1871
- data/vendor/local/share/info/gnutls.info-4 +5085 -0
- data/vendor/local/share/info/nettle.info +3355 -0
- data/vendor/local/share/info/pkcs11-vision.png +0 -0
- data/vendor/local/share/license/glib-networking/COPYING +9 -10
- data/vendor/local/share/license/glib/AUTHORS +40 -0
- data/vendor/local/share/license/glib/COPYING +482 -0
- data/vendor/local/share/license/gmp/AUTHORS +79 -0
- data/vendor/local/share/license/gmp/COPYING +674 -0
- data/vendor/local/share/license/gmp/COPYING.LIB +165 -0
- data/vendor/local/share/license/gnutls/AUTHORS +92 -0
- data/vendor/local/share/license/gnutls/COPYING +674 -0
- data/vendor/local/share/license/nettle/AUTHORS +1 -0
- data/vendor/local/share/license/nettle/COPYING.LIB +510 -0
- data/vendor/local/share/locale/af/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/am/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/be@latin/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/cy/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/dz/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en@boldquot/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/en@quot/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hy/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/is/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ka/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/kk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/km/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ku/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mai/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ms/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/glib-networking.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nds/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/ps/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/rw/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/si/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr@ije/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/glib-networking.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/ta/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/wa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/yi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/man/man1/certtool.1 +644 -130
- data/vendor/local/share/man/man1/gdbus-codegen.1 +751 -0
- data/vendor/local/share/man/man1/gdbus.1 +93 -15
- data/vendor/local/share/man/man1/gio-querymodules.1 +6 -6
- data/vendor/local/share/man/man1/glib-compile-resources.1 +167 -0
- data/vendor/local/share/man/man1/glib-compile-schemas.1 +20 -15
- data/vendor/local/share/man/man1/glib-genmarshal.1 +88 -70
- data/vendor/local/share/man/man1/glib-gettextize.1 +7 -7
- data/vendor/local/share/man/man1/glib-mkenums.1 +110 -101
- data/vendor/local/share/man/man1/gnutls-cli-debug.1 +133 -27
- data/vendor/local/share/man/man1/gnutls-cli.1 +308 -154
- data/vendor/local/share/man/man1/gnutls-serv.1 +416 -126
- data/vendor/local/share/man/man1/gobject-query.1 +13 -13
- data/vendor/local/share/man/man1/gresource.1 +95 -0
- data/vendor/local/share/man/man1/gsettings.1 +22 -10
- data/vendor/local/share/man/man1/gtester-report.1 +53 -0
- data/vendor/local/share/man/man1/gtester.1 +142 -0
- data/vendor/local/share/man/man1/ocsptool.1 +308 -0
- data/vendor/local/share/man/man1/p11tool.1 +230 -0
- data/vendor/local/share/man/man1/psktool.1 +96 -26
- data/vendor/local/share/man/man1/srptool.1 +117 -59
- data/vendor/local/share/man/man1/tpmtool.1 +197 -0
- data/vendor/local/share/man/man3/ffi.3 +31 -0
- data/vendor/local/share/man/man3/ffi_call.3 +103 -0
- data/vendor/local/share/man/man3/ffi_prep_cif.3 +66 -0
- data/vendor/local/share/man/man3/gnutls_alert_get.3 +19 -12
- data/vendor/local/share/man/man3/gnutls_alert_get_name.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_alert_get_strname.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_alert_send.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_alert_send_appropriate.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_anon_allocate_client_credentials.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_anon_allocate_server_credentials.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_anon_free_client_credentials.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_anon_free_server_credentials.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_anon_set_params_function.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_anon_set_server_dh_params.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_anon_set_server_params_function.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_auth_client_get_type.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_auth_get_type.3 +19 -10
- data/vendor/local/share/man/man3/gnutls_auth_server_get_type.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_bye.3 +23 -15
- data/vendor/local/share/man/man3/gnutls_certificate_activation_time_peers.3 +17 -6
- data/vendor/local/share/man/man3/gnutls_certificate_allocate_credentials.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_certificate_client_get_request_status.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_certificate_expiration_time_peers.3 +17 -6
- data/vendor/local/share/man/man3/gnutls_certificate_free_ca_names.3 +24 -12
- data/vendor/local/share/man/man3/gnutls_certificate_free_cas.3 +20 -11
- data/vendor/local/share/man/man3/gnutls_certificate_free_credentials.3 +20 -11
- data/vendor/local/share/man/man3/gnutls_certificate_free_crls.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_certificate_free_keys.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_certificate_get_issuer.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_certificate_get_ours.3 +20 -11
- data/vendor/local/share/man/man3/gnutls_certificate_get_peers.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_certificate_get_peers_subkey_id.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_certificate_send_x509_rdn_sequence.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_certificate_server_set_request.3 +21 -13
- data/vendor/local/share/man/man3/gnutls_certificate_set_dh_params.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_certificate_set_key.3 +63 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_ocsp_status_request_file.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_ocsp_status_request_function.3 +63 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key.3 +30 -15
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key_file.3 +20 -12
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key_file2.3 +24 -14
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key_mem.3 +24 -13
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key_mem2.3 +26 -16
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_keyring_file.3 +18 -8
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_keyring_mem.3 +21 -11
- data/vendor/local/share/man/man3/gnutls_certificate_set_params_function.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_certificate_set_pin_function.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_retrieve_function.3 +74 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_retrieve_function2.3 +77 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_rsa_export_params.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_certificate_set_verify_flags.3 +20 -11
- data/vendor/local/share/man/man3/gnutls_certificate_set_verify_function.3 +60 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_verify_limits.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_crl.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_crl_file.3 +19 -10
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_crl_mem.3 +19 -10
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_key.3 +22 -11
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_key_file.3 +28 -16
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_key_mem.3 +24 -21
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_simple_pkcs12_file.3 +20 -14
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_simple_pkcs12_mem.3 +69 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_system_trust.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_trust.3 +18 -8
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_trust_file.3 +23 -10
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_trust_mem.3 +21 -12
- data/vendor/local/share/man/man3/gnutls_certificate_type_get.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_certificate_type_get_id.3 +19 -10
- data/vendor/local/share/man/man3/gnutls_certificate_type_get_name.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_certificate_type_list.3 +17 -10
- data/vendor/local/share/man/man3/gnutls_certificate_type_set_priority.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_certificate_verification_status_print.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_certificate_verify_peers2.3 +28 -22
- data/vendor/local/share/man/man3/gnutls_certificate_verify_peers3.3 +64 -0
- data/vendor/local/share/man/man3/gnutls_check_version.3 +24 -17
- data/vendor/local/share/man/man3/gnutls_cipher_add_auth.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_cipher_decrypt.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_cipher_decrypt2.3 +55 -0
- data/vendor/local/share/man/man3/gnutls_cipher_deinit.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_cipher_encrypt.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_cipher_encrypt2.3 +55 -0
- data/vendor/local/share/man/man3/gnutls_cipher_get.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_cipher_get_block_size.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_cipher_get_id.3 +18 -8
- data/vendor/local/share/man/man3/gnutls_cipher_get_key_size.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_cipher_get_name.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_cipher_init.3 +55 -0
- data/vendor/local/share/man/man3/gnutls_cipher_list.3 +18 -7
- data/vendor/local/share/man/man3/gnutls_cipher_set_iv.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_cipher_set_priority.3 +22 -14
- data/vendor/local/share/man/man3/gnutls_cipher_suite_get_name.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_cipher_suite_info.3 +19 -10
- data/vendor/local/share/man/man3/gnutls_cipher_tag.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_compression_get.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_compression_get_id.3 +18 -8
- data/vendor/local/share/man/man3/gnutls_compression_get_name.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_compression_list.3 +16 -9
- data/vendor/local/share/man/man3/gnutls_compression_set_priority.3 +23 -14
- data/vendor/local/share/man/man3/gnutls_credentials_clear.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_credentials_set.3 +34 -19
- data/vendor/local/share/man/man3/gnutls_db_check_entry.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_db_get_ptr.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_db_remove_session.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_db_set_cache_expiration.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_db_set_ptr.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_db_set_remove_function.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_db_set_retrieve_function.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_db_set_store_function.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_deinit.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_dh_get_group.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_dh_get_peers_public_bits.3 +18 -10
- data/vendor/local/share/man/man3/gnutls_dh_get_prime_bits.3 +22 -10
- data/vendor/local/share/man/man3/gnutls_dh_get_pubkey.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_dh_get_secret_bits.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_dh_params_cpy.3 +18 -6
- data/vendor/local/share/man/man3/gnutls_dh_params_deinit.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_dh_params_export2_pkcs3.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_dh_params_export_pkcs3.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_dh_params_export_raw.3 +23 -10
- data/vendor/local/share/man/man3/gnutls_dh_params_generate2.3 +22 -9
- data/vendor/local/share/man/man3/gnutls_dh_params_import_pkcs3.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_dh_params_import_raw.3 +21 -9
- data/vendor/local/share/man/man3/gnutls_dh_params_init.3 +18 -6
- data/vendor/local/share/man/man3/gnutls_dh_set_prime_bits.3 +21 -7
- data/vendor/local/share/man/man3/gnutls_dtls_cookie_send.3 +61 -0
- data/vendor/local/share/man/man3/gnutls_dtls_cookie_verify.3 +59 -0
- data/vendor/local/share/man/man3/gnutls_dtls_get_data_mtu.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_dtls_get_mtu.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_dtls_get_timeout.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_dtls_prestate_set.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_dtls_set_data_mtu.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_dtls_set_mtu.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_dtls_set_timeouts.3 +58 -0
- data/vendor/local/share/man/man3/gnutls_ecc_curve_get.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_ecc_curve_get_name.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_ecc_curve_get_size.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_ecc_curve_list.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_error_is_fatal.3 +26 -16
- data/vendor/local/share/man/man3/gnutls_error_to_alert.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_fingerprint.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_global_deinit.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_global_init.3 +23 -18
- data/vendor/local/share/man/man3/gnutls_global_set_audit_log_function.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_global_set_log_function.3 +20 -11
- data/vendor/local/share/man/man3/gnutls_global_set_log_level.3 +20 -11
- data/vendor/local/share/man/man3/gnutls_global_set_mem_functions.3 +24 -14
- data/vendor/local/share/man/man3/gnutls_global_set_mutex.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_global_set_time_function.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_handshake.3 +20 -9
- data/vendor/local/share/man/man3/gnutls_handshake_get_last_in.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_handshake_get_last_out.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_handshake_set_max_packet_length.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_handshake_set_post_client_hello_function.3 +18 -8
- data/vendor/local/share/man/man3/gnutls_handshake_set_private_extensions.3 +18 -11
- data/vendor/local/share/man/man3/gnutls_handshake_set_timeout.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_hash.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_hash_deinit.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_hash_fast.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_hash_get_len.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_hash_init.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_hash_output.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_heartbeat_allowed.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_heartbeat_enable.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_heartbeat_get_timeout.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_heartbeat_ping.3 +57 -0
- data/vendor/local/share/man/man3/gnutls_heartbeat_pong.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_heartbeat_set_timeouts.3 +58 -0
- data/vendor/local/share/man/man3/gnutls_hex2bin.3 +20 -11
- data/vendor/local/share/man/man3/gnutls_hex_decode.3 +19 -10
- data/vendor/local/share/man/man3/gnutls_hex_encode.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_hmac.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_hmac_deinit.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_hmac_fast.3 +57 -0
- data/vendor/local/share/man/man3/gnutls_hmac_get_len.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_hmac_init.3 +55 -0
- data/vendor/local/share/man/man3/gnutls_hmac_output.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_init.3 +27 -10
- data/vendor/local/share/man/man3/gnutls_key_generate.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_kx_get.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_kx_get_id.3 +18 -8
- data/vendor/local/share/man/man3/gnutls_kx_get_name.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_kx_list.3 +18 -7
- data/vendor/local/share/man/man3/gnutls_kx_set_priority.3 +21 -12
- data/vendor/local/share/man/man3/gnutls_load_file.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_mac_get.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_mac_get_id.3 +20 -10
- data/vendor/local/share/man/man3/gnutls_mac_get_key_size.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_mac_get_name.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_mac_list.3 +18 -7
- data/vendor/local/share/man/man3/gnutls_mac_set_priority.3 +21 -12
- data/vendor/local/share/man/man3/gnutls_ocsp_req_add_cert.3 +55 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_add_cert_id.3 +66 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_deinit.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_export.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_get_cert_id.3 +70 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_get_extension.3 +63 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_get_nonce.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_get_version.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_import.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_init.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_print.3 +55 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_randomize_nonce.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_set_extension.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_set_nonce.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_check_crt.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_deinit.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_export.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_certs.3 +60 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_extension.3 +63 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_nonce.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_produced.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_responder.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_response.3 +58 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_signature.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_signature_algorithm.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_single.3 +73 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_status.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_version.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_import.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_init.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_print.3 +55 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_verify.3 +68 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_verify_direct.3 +62 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_status_request_enable_client.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_status_request_get.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_status_request_is_checked.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_check_hostname.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_deinit.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_export.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_export2.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_auth_subkey.3 +18 -8
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_creation_time.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_expiration_time.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_fingerprint.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_key_id.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_key_usage.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_name.3 +19 -9
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_pk_algorithm.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_pk_dsa_raw.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_pk_rsa_raw.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_preferred_key_id.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_revoked_status.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_count.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_creation_time.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_expiration_time.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_fingerprint.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_id.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_idx.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_pk_algorithm.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_pk_dsa_raw.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_pk_rsa_raw.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_revoked_status.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_usage.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_version.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_import.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_init.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_print.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_set_preferred_key_id.3 +21 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_verify_ring.3 +20 -7
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_verify_self.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_openpgp_keyring_check_id.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_keyring_deinit.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_keyring_get_crt.3 +17 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_keyring_get_crt_count.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_openpgp_keyring_import.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_keyring_init.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_deinit.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export.3 +19 -10
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export2.3 +55 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export_dsa_raw.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export_rsa_raw.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export_subkey_dsa_raw.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export_subkey_rsa_raw.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_fingerprint.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_key_id.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_pk_algorithm.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_preferred_key_id.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_revoked_status.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_count.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_creation_time.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_fingerprint.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_id.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_idx.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_pk_algorithm.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_revoked_status.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_import.3 +20 -11
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_init.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_sec_param.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_set_preferred_key_id.3 +22 -9
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_sign_hash.3 +21 -10
- data/vendor/local/share/man/man3/gnutls_openpgp_send_cert.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_set_recv_key_function.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_pcert_deinit.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_pcert_import_openpgp.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_pcert_import_openpgp_raw.3 +57 -0
- data/vendor/local/share/man/man3/gnutls_pcert_import_x509.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_pcert_import_x509_raw.3 +55 -0
- data/vendor/local/share/man/man3/gnutls_pcert_list_import_x509_raw.3 +59 -0
- data/vendor/local/share/man/man3/gnutls_pem_base64_decode.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_pem_base64_decode_alloc.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_pem_base64_encode.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_pem_base64_encode_alloc.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_perror.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_pk_algorithm_get_name.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_pk_bits_to_sec_param.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_pk_get_id.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_pk_get_name.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_pk_list.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_pk_to_sign.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_add_provider.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_copy_secret_key.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_copy_x509_crt.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_copy_x509_privkey.3 +57 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_deinit.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_delete_url.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_get_pin_function.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_init.3 +57 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_deinit.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_export.3 +61 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_export2.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_export_url.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_get_info.3 +55 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_get_type.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_import_url.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_init.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_list_import_url.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_list_import_url2.3 +57 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_set_pin_function.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_deinit.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_export_url.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_generate.3 +57 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_generate2.3 +63 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_get_info.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_get_pk_algorithm.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_import_url.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_init.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_set_pin_function.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_reinit.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_set_pin_function.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_set_token_function.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_token_get_flags.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_token_get_info.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_token_get_mechanism.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_token_get_url.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_token_init.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_token_set_pin.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_type_get_name.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_decrypt.3 +21 -8
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_deinit.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_encrypt.3 +21 -9
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_count.3 +19 -7
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_data.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_friendly_name.3 +20 -10
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_key_id.3 +19 -9
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_type.3 +18 -8
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_init.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_crl.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_crt.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_data.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_friendly_name.3 +21 -11
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_key_id.3 +21 -11
- data/vendor/local/share/man/man3/gnutls_pkcs12_deinit.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_pkcs12_export.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_pkcs12_export2.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_generate_mac.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_pkcs12_get_bag.3 +19 -10
- data/vendor/local/share/man/man3/gnutls_pkcs12_import.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_pkcs12_init.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_pkcs12_set_bag.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_pkcs12_simple_parse.3 +93 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_verify_mac.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_pkcs7_deinit.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_pkcs7_delete_crl.3 +17 -7
- data/vendor/local/share/man/man3/gnutls_pkcs7_delete_crt.3 +17 -7
- data/vendor/local/share/man/man3/gnutls_pkcs7_export.3 +19 -10
- data/vendor/local/share/man/man3/gnutls_pkcs7_export2.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_get_crl_count.3 +17 -7
- data/vendor/local/share/man/man3/gnutls_pkcs7_get_crl_raw.3 +18 -8
- data/vendor/local/share/man/man3/gnutls_pkcs7_get_crt_count.3 +17 -7
- data/vendor/local/share/man/man3/gnutls_pkcs7_get_crt_raw.3 +18 -8
- data/vendor/local/share/man/man3/gnutls_pkcs7_import.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_pkcs7_init.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_pkcs7_set_crl.3 +17 -7
- data/vendor/local/share/man/man3/gnutls_pkcs7_set_crl_raw.3 +17 -7
- data/vendor/local/share/man/man3/gnutls_pkcs7_set_crt.3 +17 -7
- data/vendor/local/share/man/man3/gnutls_pkcs7_set_crt_raw.3 +17 -7
- data/vendor/local/share/man/man3/gnutls_prf.3 +28 -19
- data/vendor/local/share/man/man3/gnutls_prf_raw.3 +25 -16
- data/vendor/local/share/man/man3/gnutls_priority_certificate_type_list.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_priority_compression_list.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_priority_deinit.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_priority_ecc_curve_list.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_priority_get_cipher_suite_index.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_priority_init.3 +58 -53
- data/vendor/local/share/man/man3/gnutls_priority_protocol_list.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_priority_set.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_priority_set_direct.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_priority_sign_list.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_privkey_decrypt_data.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_privkey_deinit.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_privkey_get_pk_algorithm.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_privkey_get_type.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_privkey_import_ext.3 +59 -0
- data/vendor/local/share/man/man3/gnutls_privkey_import_ext2.3 +62 -0
- data/vendor/local/share/man/man3/gnutls_privkey_import_openpgp.3 +59 -0
- data/vendor/local/share/man/man3/gnutls_privkey_import_openpgp_raw.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_privkey_import_pkcs11.3 +58 -0
- data/vendor/local/share/man/man3/gnutls_privkey_import_pkcs11_url.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_privkey_import_tpm_raw.3 +60 -0
- data/vendor/local/share/man/man3/gnutls_privkey_import_tpm_url.3 +64 -0
- data/vendor/local/share/man/man3/gnutls_privkey_import_url.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_privkey_import_x509.3 +58 -0
- data/vendor/local/share/man/man3/gnutls_privkey_import_x509_raw.3 +59 -0
- data/vendor/local/share/man/man3/gnutls_privkey_init.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_privkey_set_pin_function.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_privkey_sign_data.3 +61 -0
- data/vendor/local/share/man/man3/gnutls_privkey_sign_hash.3 +61 -0
- data/vendor/local/share/man/man3/gnutls_protocol_get_id.3 +18 -8
- data/vendor/local/share/man/man3/gnutls_protocol_get_name.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_protocol_get_version.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_protocol_list.3 +18 -7
- data/vendor/local/share/man/man3/gnutls_protocol_set_priority.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_psk_allocate_client_credentials.3 +18 -8
- data/vendor/local/share/man/man3/gnutls_psk_allocate_server_credentials.3 +18 -8
- data/vendor/local/share/man/man3/gnutls_psk_client_get_hint.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_psk_free_client_credentials.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_psk_free_server_credentials.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_psk_server_get_username.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_psk_set_client_credentials.3 +25 -13
- data/vendor/local/share/man/man3/gnutls_psk_set_client_credentials_function.3 +20 -11
- data/vendor/local/share/man/man3/gnutls_psk_set_params_function.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_psk_set_server_credentials_file.3 +20 -10
- data/vendor/local/share/man/man3/gnutls_psk_set_server_credentials_function.3 +20 -11
- data/vendor/local/share/man/man3/gnutls_psk_set_server_credentials_hint.3 +18 -8
- data/vendor/local/share/man/man3/gnutls_psk_set_server_dh_params.3 +19 -10
- data/vendor/local/share/man/man3/gnutls_psk_set_server_params_function.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_pubkey_deinit.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_encrypt_data.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_export.3 +63 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_export2.3 +58 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_get_key_id.3 +61 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_get_key_usage.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_get_openpgp_key_id.3 +62 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_get_pk_algorithm.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_get_pk_dsa_raw.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_get_pk_ecc_raw.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_get_pk_ecc_x962.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_get_pk_rsa_raw.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_get_preferred_hash_algorithm.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_get_verify_algorithm.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import.3 +55 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_dsa_raw.3 +57 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_ecc_raw.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_ecc_x962.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_openpgp.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_openpgp_raw.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_pkcs11.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_pkcs11_url.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_privkey.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_rsa_raw.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_tpm_raw.3 +59 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_tpm_url.3 +60 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_url.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_x509.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_x509_crq.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_x509_raw.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_init.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_print.3 +57 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_set_key_usage.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_set_pin_function.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_verify_data.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_verify_data2.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_verify_hash.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_verify_hash2.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_random_art.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_record_check_pending.3 +21 -12
- data/vendor/local/share/man/man3/gnutls_record_disable_padding.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_record_get_direction.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_record_get_discarded.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_record_get_max_size.3 +19 -9
- data/vendor/local/share/man/man3/gnutls_record_recv.3 +25 -19
- data/vendor/local/share/man/man3/gnutls_record_recv_seq.3 +59 -0
- data/vendor/local/share/man/man3/gnutls_record_send.3 +26 -18
- data/vendor/local/share/man/man3/gnutls_record_set_max_size.3 +21 -9
- data/vendor/local/share/man/man3/gnutls_rehandshake.3 +23 -7
- data/vendor/local/share/man/man3/gnutls_rnd.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_rsa_export_get_modulus_bits.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_rsa_export_get_pubkey.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_rsa_params_cpy.3 +18 -7
- data/vendor/local/share/man/man3/gnutls_rsa_params_deinit.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_rsa_params_export_pkcs1.3 +20 -12
- data/vendor/local/share/man/man3/gnutls_rsa_params_export_raw.3 +20 -9
- data/vendor/local/share/man/man3/gnutls_rsa_params_generate2.3 +21 -10
- data/vendor/local/share/man/man3/gnutls_rsa_params_import_pkcs1.3 +21 -13
- data/vendor/local/share/man/man3/gnutls_rsa_params_import_raw.3 +20 -8
- data/vendor/local/share/man/man3/gnutls_rsa_params_init.3 +18 -7
- data/vendor/local/share/man/man3/gnutls_safe_renegotiation_status.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_sec_param_get_name.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_sec_param_to_pk_bits.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_server_name_get.3 +30 -15
- data/vendor/local/share/man/man3/gnutls_server_name_set.3 +26 -13
- data/vendor/local/share/man/man3/gnutls_session_channel_binding.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_session_enable_compatibility_mode.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_session_get_data.3 +19 -14
- data/vendor/local/share/man/man3/gnutls_session_get_data2.3 +21 -14
- data/vendor/local/share/man/man3/gnutls_session_get_id.3 +19 -10
- data/vendor/local/share/man/man3/gnutls_session_get_id2.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_session_get_ptr.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_session_get_random.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_session_is_resumed.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_session_resumption_requested.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_session_set_data.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_session_set_premaster.3 +64 -0
- data/vendor/local/share/man/man3/gnutls_session_set_ptr.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_session_ticket_enable_client.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_session_ticket_enable_server.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_session_ticket_key_generate.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_set_default_export_priority.3 +18 -8
- data/vendor/local/share/man/man3/gnutls_set_default_priority.3 +17 -7
- data/vendor/local/share/man/man3/gnutls_sign_algorithm_get.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_sign_algorithm_get_requested.3 +59 -0
- data/vendor/local/share/man/man3/gnutls_sign_callback_get.3 +18 -7
- data/vendor/local/share/man/man3/gnutls_sign_callback_set.3 +18 -7
- data/vendor/local/share/man/man3/gnutls_sign_get_hash_algorithm.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_sign_get_id.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_sign_get_name.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_sign_get_pk_algorithm.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_sign_is_secure.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_sign_list.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_srp_allocate_client_credentials.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_srp_allocate_server_credentials.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_srp_base64_decode.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_srp_base64_decode_alloc.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_srp_base64_encode.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_srp_base64_encode_alloc.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_srp_free_client_credentials.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_srp_free_server_credentials.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_srp_server_get_username.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_srp_set_client_credentials.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_srp_set_client_credentials_function.3 +23 -15
- data/vendor/local/share/man/man3/gnutls_srp_set_prime_bits.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_srp_set_server_credentials_file.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_srp_set_server_credentials_function.3 +24 -15
- data/vendor/local/share/man/man3/gnutls_srp_verifier.3 +19 -12
- data/vendor/local/share/man/man3/gnutls_srtp_get_keys.3 +63 -0
- data/vendor/local/share/man/man3/gnutls_srtp_get_mki.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_srtp_get_profile_id.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_srtp_get_profile_name.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_srtp_get_selected_profile.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_srtp_set_mki.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_srtp_set_profile.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_srtp_set_profile_direct.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_store_commitment.3 +69 -0
- data/vendor/local/share/man/man3/gnutls_store_pubkey.3 +67 -0
- data/vendor/local/share/man/man3/gnutls_strerror.3 +23 -10
- data/vendor/local/share/man/man3/gnutls_strerror_name.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_supplemental_get_name.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_tdb_deinit.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_tdb_init.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_tdb_set_store_commitment_func.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_tdb_set_store_func.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_tdb_set_verify_func.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_tpm_get_registered.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_tpm_key_list_deinit.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_tpm_key_list_get_url.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_tpm_privkey_delete.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_tpm_privkey_generate.3 +73 -0
- data/vendor/local/share/man/man3/gnutls_transport_get_ptr.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_transport_get_ptr2.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_transport_set_errno.3 +21 -17
- data/vendor/local/share/man/man3/gnutls_transport_set_errno_function.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_transport_set_ptr.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_transport_set_ptr2.3 +19 -10
- data/vendor/local/share/man/man3/gnutls_transport_set_pull_function.3 +22 -12
- data/vendor/local/share/man/man3/gnutls_transport_set_pull_timeout_function.3 +55 -0
- data/vendor/local/share/man/man3/gnutls_transport_set_push_function.3 +24 -13
- data/vendor/local/share/man/man3/gnutls_transport_set_vec_push_function.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_url_is_supported.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_verify_stored_pubkey.3 +76 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_check_issuer.3 +24 -13
- data/vendor/local/share/man/man3/gnutls_x509_crl_deinit.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_x509_crl_export.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_x509_crl_export2.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_authority_key_gn_serial.3 +66 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_authority_key_id.3 +60 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_crt_count.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_crt_serial.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_dn_oid.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_extension_data.3 +62 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_extension_info.3 +65 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_extension_oid.3 +57 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_issuer_dn.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_issuer_dn_by_oid.3 +22 -13
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_next_update.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_number.3 +55 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_raw_issuer_dn.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_signature.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_signature_algorithm.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_this_update.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_version.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_x509_crl_import.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_x509_crl_init.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_x509_crl_list_import.3 +58 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_list_import2.3 +59 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_print.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_x509_crl_privkey_sign.3 +59 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_authority_key_id.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_crt.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_crt_serial.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_next_update.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_number.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_this_update.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_version.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_x509_crl_sign.3 +19 -8
- data/vendor/local/share/man/man3/gnutls_x509_crl_sign2.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_x509_crl_verify.3 +19 -9
- data/vendor/local/share/man/man3/gnutls_x509_crq_deinit.3 +17 -7
- data/vendor/local/share/man/man3/gnutls_x509_crq_export.3 +23 -13
- data/vendor/local/share/man/man3/gnutls_x509_crq_export2.3 +57 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_attribute_by_oid.3 +25 -15
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_attribute_data.3 +62 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_attribute_info.3 +63 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_basic_constraints.3 +61 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_challenge_password.3 +22 -12
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_dn.3 +25 -17
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_dn_by_oid.3 +23 -16
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_dn_oid.3 +22 -15
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_extension_by_oid.3 +62 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_extension_data.3 +62 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_extension_info.3 +65 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_key_id.3 +61 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_key_purpose_oid.3 +59 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_key_rsa_raw.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_key_usage.3 +59 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_pk_algorithm.3 +22 -14
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_private_key_usage_period.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_subject_alt_name.3 +69 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_subject_alt_othername_oid.3 +67 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_version.3 +19 -9
- data/vendor/local/share/man/man3/gnutls_x509_crq_import.3 +21 -10
- data/vendor/local/share/man/man3/gnutls_x509_crq_init.3 +18 -8
- data/vendor/local/share/man/man3/gnutls_x509_crq_print.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_privkey_sign.3 +61 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_attribute_by_oid.3 +22 -12
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_basic_constraints.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_challenge_password.3 +20 -10
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_dn_by_oid.3 +24 -14
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_key.3 +19 -10
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_key_purpose_oid.3 +55 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_key_rsa_raw.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_key_usage.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_private_key_usage_period.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_pubkey.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_subject_alt_name.3 +57 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_version.3 +19 -10
- data/vendor/local/share/man/man3/gnutls_x509_crq_sign.3 +22 -11
- data/vendor/local/share/man/man3/gnutls_x509_crq_sign2.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_x509_crq_verify.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_check_hostname.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_x509_crt_check_issuer.3 +21 -10
- data/vendor/local/share/man/man3/gnutls_x509_crt_check_revocation.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_x509_crt_cpy_crl_dist_points.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_x509_crt_deinit.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_x509_crt_export.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_x509_crt_export2.3 +55 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_activation_time.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_authority_info_access.3 +109 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_authority_key_gn_serial.3 +67 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_authority_key_id.3 +30 -16
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_basic_constraints.3 +23 -14
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_ca_status.3 +20 -11
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_crl_dist_points.3 +22 -26
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_dn.3 +26 -17
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_dn_by_oid.3 +32 -21
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_dn_oid.3 +25 -14
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_expiration_time.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_extension_by_oid.3 +27 -17
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_extension_data.3 +22 -12
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_extension_info.3 +29 -18
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_extension_oid.3 +26 -13
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_fingerprint.3 +19 -10
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer.3 +20 -11
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_alt_name.3 +73 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_alt_name2.3 +67 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_alt_othername_oid.3 +70 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_dn.3 +21 -12
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_dn_by_oid.3 +30 -19
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_dn_oid.3 +25 -14
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_unique_id.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_key_id.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_key_purpose_oid.3 +24 -13
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_key_usage.3 +21 -12
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_pk_algorithm.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_pk_dsa_raw.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_pk_rsa_raw.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_policy.3 +57 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_preferred_hash_algorithm.3 +55 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_private_key_usage_period.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_proxy.3 +26 -18
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_raw_dn.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_raw_issuer_dn.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_serial.3 +21 -13
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_signature.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_signature_algorithm.3 +18 -8
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject.3 +20 -11
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_alt_name.3 +24 -18
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_alt_name2.3 +33 -17
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_alt_othername_oid.3 +23 -11
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_key_id.3 +21 -12
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_unique_id.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_verify_algorithm.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_version.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_x509_crt_import.3 +20 -10
- data/vendor/local/share/man/man3/gnutls_x509_crt_import_pkcs11.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_import_pkcs11_url.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_init.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_x509_crt_list_import.3 +23 -8
- data/vendor/local/share/man/man3/gnutls_x509_crt_list_import2.3 +59 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_list_import_pkcs11.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_list_verify.3 +28 -25
- data/vendor/local/share/man/man3/gnutls_x509_crt_print.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_x509_crt_privkey_sign.3 +57 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_activation_time.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_authority_info_access.3 +59 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_authority_key_id.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_basic_constraints.3 +19 -10
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_ca_status.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_crl_dist_points.3 +19 -10
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_crl_dist_points2.3 +55 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_crq.3 +20 -11
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_crq_extensions.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_dn_by_oid.3 +19 -10
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_expiration_time.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_extension_by_oid.3 +20 -11
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_issuer_dn_by_oid.3 +19 -10
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_key.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_key_purpose_oid.3 +19 -9
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_key_usage.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_pin_function.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_policy.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_private_key_usage_period.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_proxy.3 +22 -13
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_proxy_dn.3 +20 -12
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_pubkey.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_serial.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_subject_alt_name.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_subject_alternative_name.3 +25 -12
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_subject_key_id.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_version.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_x509_crt_sign.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_x509_crt_sign2.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_x509_crt_verify.3 +19 -10
- data/vendor/local/share/man/man3/gnutls_x509_crt_verify_data.3 +20 -9
- data/vendor/local/share/man/man3/gnutls_x509_crt_verify_hash.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_x509_dn_deinit.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_x509_dn_export.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_x509_dn_export2.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_x509_dn_get_rdn_ava.3 +28 -9
- data/vendor/local/share/man/man3/gnutls_x509_dn_import.3 +17 -13
- data/vendor/local/share/man/man3/gnutls_x509_dn_init.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_x509_dn_oid_known.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_x509_dn_oid_name.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_x509_policy_release.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_cpy.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_x509_privkey_deinit.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export2.3 +58 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export2_pkcs8.3 +67 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export_dsa_raw.3 +17 -7
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export_ecc_raw.3 +57 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export_pkcs8.3 +20 -11
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export_rsa_raw.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export_rsa_raw2.3 +65 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_fix.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_x509_privkey_generate.3 +19 -8
- data/vendor/local/share/man/man3/gnutls_x509_privkey_get_key_id.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_x509_privkey_get_pk_algorithm.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_x509_privkey_get_pk_algorithm2.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import.3 +20 -10
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import2.3 +61 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import_dsa_raw.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import_ecc_raw.3 +57 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import_openssl.3 +57 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import_pkcs8.3 +29 -15
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import_rsa_raw.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import_rsa_raw2.3 +63 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_init.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_x509_privkey_sec_param.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_sign_data.3 +23 -9
- data/vendor/local/share/man/man3/gnutls_x509_privkey_sign_hash.3 +23 -9
- data/vendor/local/share/man/man3/gnutls_x509_privkey_verify_params.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_x509_rdn_get.3 +19 -10
- data/vendor/local/share/man/man3/gnutls_x509_rdn_get_by_oid.3 +20 -11
- data/vendor/local/share/man/man3/gnutls_x509_rdn_get_oid.3 +19 -8
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_cas.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_crls.3 +59 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_named_crt.3 +65 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_system_trust.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_trust_file.3 +58 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_trust_mem.3 +57 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_deinit.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_get_issuer.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_init.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_verify_crt.3 +61 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_verify_named_crt.3 +62 -0
- data/vendor/local/src/tml/make/libffi_3.0.6-1_win32.log +265 -0
- data/vendor/local/src/tml/make/libffi_3.0.6-1_win32.sh +76 -0
- data/vendor/local/src/tml/packaging/zlib_1.2.5-2_win32.log +42 -0
- data/vendor/local/src/tml/packaging/zlib_1.2.5-2_win32.sh +189 -0
- metadata +668 -4
@@ -3,18 +3,18 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>GApplication</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
|
7
7
|
<link rel="home" href="index.html" title="GIO Reference Manual">
|
8
8
|
<link rel="up" href="application.html" title="Application support">
|
9
|
-
<link rel="prev" href="
|
9
|
+
<link rel="prev" href="application.html" title="Application support">
|
10
10
|
<link rel="next" href="GApplicationCommandLine.html" title="GApplicationCommandLine">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
15
|
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
16
16
|
<tr valign="middle">
|
17
|
-
<td><a accesskey="p" href="
|
17
|
+
<td><a accesskey="p" href="application.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
18
|
<td><a accesskey="u" href="application.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
19
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
20
|
<th width="100%" align="center">GIO Reference Manual</th>
|
@@ -48,53 +48,58 @@
|
|
48
48
|
<a name="GApplicationFlags"></a><pre class="synopsis"> <a class="link" href="GApplication.html#GApplication-struct" title="GApplication">GApplication</a>;
|
49
49
|
struct <a class="link" href="GApplication.html#GApplicationClass" title="struct GApplicationClass">GApplicationClass</a>;
|
50
50
|
|
51
|
-
enum <a class="link" href="GApplication.html#GApplicationFlags">GApplicationFlags</a>;
|
52
|
-
<a href="
|
53
|
-
<a class="link" href="GApplication.html" title="GApplication"><span class="returnvalue">GApplication</span></a> *
|
51
|
+
enum <a class="link" href="GApplication.html#GApplicationFlags-enum" title="enum GApplicationFlags">GApplicationFlags</a>;
|
52
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GApplication.html#g-application-id-is-valid" title="g_application_id_is_valid ()">g_application_id_is_valid</a> (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *application_id</code></em>);
|
53
|
+
<a class="link" href="GApplication.html" title="GApplication"><span class="returnvalue">GApplication</span></a> * <a class="link" href="GApplication.html#g-application-new" title="g_application_new ()">g_application_new</a> (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *application_id</code></em>,
|
54
54
|
<em class="parameter"><code><a class="link" href="GApplication.html#GApplicationFlags"><span class="type">GApplicationFlags</span></a> flags</code></em>);
|
55
55
|
|
56
|
-
const <a href="
|
57
|
-
(<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>);
|
56
|
+
const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GApplication.html#g-application-get-application-id" title="g_application_get_application_id ()">g_application_get_application_id</a> (<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>);
|
58
57
|
<span class="returnvalue">void</span> <a class="link" href="GApplication.html#g-application-set-application-id" title="g_application_set_application_id ()">g_application_set_application_id</a> (<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>,
|
59
|
-
<em class="parameter"><code>const <a href="
|
58
|
+
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *application_id</code></em>);
|
60
59
|
|
61
|
-
<a href="
|
60
|
+
<a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="GApplication.html#g-application-get-inactivity-timeout" title="g_application_get_inactivity_timeout ()">g_application_get_inactivity_timeout</a>
|
62
61
|
(<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>);
|
63
62
|
<span class="returnvalue">void</span> <a class="link" href="GApplication.html#g-application-set-inactivity-timeout" title="g_application_set_inactivity_timeout ()">g_application_set_inactivity_timeout</a>
|
64
63
|
(<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>,
|
65
|
-
<em class="parameter"><code><a href="
|
64
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> inactivity_timeout</code></em>);
|
66
65
|
|
67
66
|
<a class="link" href="GApplication.html#GApplicationFlags"><span class="returnvalue">GApplicationFlags</span></a> <a class="link" href="GApplication.html#g-application-get-flags" title="g_application_get_flags ()">g_application_get_flags</a> (<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>);
|
68
67
|
<span class="returnvalue">void</span> <a class="link" href="GApplication.html#g-application-set-flags" title="g_application_set_flags ()">g_application_set_flags</a> (<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>,
|
69
68
|
<em class="parameter"><code><a class="link" href="GApplication.html#GApplicationFlags"><span class="type">GApplicationFlags</span></a> flags</code></em>);
|
70
69
|
|
70
|
+
<a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="returnvalue">GDBusConnection</span></a> * <a class="link" href="GApplication.html#g-application-get-dbus-connection" title="g_application_get_dbus_connection ()">g_application_get_dbus_connection</a> (<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>);
|
71
|
+
const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GApplication.html#g-application-get-dbus-object-path" title="g_application_get_dbus_object_path ()">g_application_get_dbus_object_path</a> (<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>);
|
72
|
+
|
71
73
|
<span class="returnvalue">void</span> <a class="link" href="GApplication.html#g-application-set-action-group" title="g_application_set_action_group ()">g_application_set_action_group</a> (<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>,
|
72
74
|
<em class="parameter"><code><a class="link" href="GActionGroup.html" title="GActionGroup"><span class="type">GActionGroup</span></a> *action_group</code></em>);
|
73
75
|
|
74
|
-
<a href="
|
75
|
-
<a href="
|
76
|
-
<a href="
|
76
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GApplication.html#g-application-get-is-registered" title="g_application_get_is_registered ()">g_application_get_is_registered</a> (<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>);
|
77
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GApplication.html#g-application-get-is-remote" title="g_application_get_is_remote ()">g_application_get_is_remote</a> (<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>);
|
78
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GApplication.html#g-application-register" title="g_application_register ()">g_application_register</a> (<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>,
|
77
79
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
78
|
-
<em class="parameter"><code><a href="
|
80
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
79
81
|
|
80
82
|
<span class="returnvalue">void</span> <a class="link" href="GApplication.html#g-application-hold" title="g_application_hold ()">g_application_hold</a> (<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>);
|
81
83
|
<span class="returnvalue">void</span> <a class="link" href="GApplication.html#g-application-release" title="g_application_release ()">g_application_release</a> (<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>);
|
84
|
+
<span class="returnvalue">void</span> <a class="link" href="GApplication.html#g-application-quit" title="g_application_quit ()">g_application_quit</a> (<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>);
|
82
85
|
|
83
86
|
<span class="returnvalue">void</span> <a class="link" href="GApplication.html#g-application-activate" title="g_application_activate ()">g_application_activate</a> (<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>);
|
84
87
|
<span class="returnvalue">void</span> <a class="link" href="GApplication.html#g-application-open" title="g_application_open ()">g_application_open</a> (<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>,
|
85
88
|
<em class="parameter"><code><a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a> **files</code></em>,
|
86
|
-
<em class="parameter"><code><a href="
|
87
|
-
<em class="parameter"><code>const <a href="
|
89
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_files</code></em>,
|
90
|
+
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *hint</code></em>);
|
88
91
|
|
89
92
|
<span class="returnvalue">int</span> <a class="link" href="GApplication.html#g-application-run" title="g_application_run ()">g_application_run</a> (<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>,
|
90
93
|
<em class="parameter"><code><span class="type">int</span> argc</code></em>,
|
91
94
|
<em class="parameter"><code><span class="type">char</span> **argv</code></em>);
|
95
|
+
<span class="returnvalue">void</span> <a class="link" href="GApplication.html#g-application-set-default" title="g_application_set_default ()">g_application_set_default</a> (<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>);
|
96
|
+
<a class="link" href="GApplication.html" title="GApplication"><span class="returnvalue">GApplication</span></a> * <a class="link" href="GApplication.html#g-application-get-default" title="g_application_get_default ()">g_application_get_default</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
92
97
|
</pre>
|
93
98
|
</div>
|
94
99
|
<div class="refsect1">
|
95
100
|
<a name="GApplication.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
96
101
|
<pre class="synopsis">
|
97
|
-
<a href="
|
102
|
+
<a href="./../gobject/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
98
103
|
+----GApplication
|
99
104
|
</pre>
|
100
105
|
<pre class="synopsis">
|
@@ -106,89 +111,109 @@ const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.htm
|
|
106
111
|
<a name="GApplication.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
107
112
|
<p>
|
108
113
|
GApplication implements
|
109
|
-
<a class="link" href="GActionGroup.html" title="GActionGroup">GActionGroup</a>.</p>
|
114
|
+
<a class="link" href="GActionGroup.html" title="GActionGroup">GActionGroup</a> and <a class="link" href="GActionMap.html" title="GActionMap">GActionMap</a>.</p>
|
110
115
|
</div>
|
111
116
|
<div class="refsect1">
|
112
117
|
<a name="GApplication.properties"></a><h2>Properties</h2>
|
113
118
|
<pre class="synopsis">
|
114
119
|
"<a class="link" href="GApplication.html#GApplication--action-group" title='The "action-group" property'>action-group</a>" <a class="link" href="GActionGroup.html" title="GActionGroup"><span class="type">GActionGroup</span></a>* : Write
|
115
|
-
"<a class="link" href="GApplication.html#GApplication--application-id" title='The "application-id" property'>application-id</a>" <a href="
|
120
|
+
"<a class="link" href="GApplication.html#GApplication--application-id" title='The "application-id" property'>application-id</a>" <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct
|
116
121
|
"<a class="link" href="GApplication.html#GApplication--flags" title='The "flags" property'>flags</a>" <a class="link" href="GApplication.html#GApplicationFlags"><span class="type">GApplicationFlags</span></a> : Read / Write
|
117
|
-
"<a class="link" href="GApplication.html#GApplication--inactivity-timeout" title='The "inactivity-timeout" property'>inactivity-timeout</a>" <a href="
|
118
|
-
"<a class="link" href="GApplication.html#GApplication--is-registered" title='The "is-registered" property'>is-registered</a>" <a href="
|
119
|
-
"<a class="link" href="GApplication.html#GApplication--is-remote" title='The "is-remote" property'>is-remote</a>" <a href="
|
122
|
+
"<a class="link" href="GApplication.html#GApplication--inactivity-timeout" title='The "inactivity-timeout" property'>inactivity-timeout</a>" <a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write
|
123
|
+
"<a class="link" href="GApplication.html#GApplication--is-registered" title='The "is-registered" property'>is-registered</a>" <a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read
|
124
|
+
"<a class="link" href="GApplication.html#GApplication--is-remote" title='The "is-remote" property'>is-remote</a>" <a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read
|
120
125
|
</pre>
|
121
126
|
</div>
|
122
127
|
<div class="refsect1">
|
123
128
|
<a name="GApplication.signals"></a><h2>Signals</h2>
|
124
129
|
<pre class="synopsis">
|
125
|
-
"<a class="link" href="GApplication.html#GApplication-activate" title='The "activate" signal'>activate</a>" : <a href="
|
126
|
-
"<a class="link" href="GApplication.html#GApplication-command-line" title='The "command-line" signal'>command-line</a>" : <a href="
|
127
|
-
"<a class="link" href="GApplication.html#GApplication-open" title='The "open" signal'>open</a>" : <a href="
|
128
|
-
"<a class="link" href="GApplication.html#GApplication-
|
130
|
+
"<a class="link" href="GApplication.html#GApplication-activate" title='The "activate" signal'>activate</a>" : <a href="./../gobject/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
|
131
|
+
"<a class="link" href="GApplication.html#GApplication-command-line" title='The "command-line" signal'>command-line</a>" : <a href="./../gobject/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
|
132
|
+
"<a class="link" href="GApplication.html#GApplication-open" title='The "open" signal'>open</a>" : <a href="./../gobject/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
|
133
|
+
"<a class="link" href="GApplication.html#GApplication-shutdown" title='The "shutdown" signal'>shutdown</a>" : <a href="./../gobject/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
|
134
|
+
"<a class="link" href="GApplication.html#GApplication-startup" title='The "startup" signal'>startup</a>" : <a href="./../gobject/gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a>
|
129
135
|
</pre>
|
130
136
|
</div>
|
131
137
|
<div class="refsect1">
|
132
138
|
<a name="GApplication.description"></a><h2>Description</h2>
|
133
139
|
<p>
|
134
|
-
A <a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> is the foundation of an application
|
135
|
-
given application identifier. The GApplication class wraps some
|
140
|
+
A <a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> is the foundation of an application. It wraps some
|
136
141
|
low-level platform-specific services and is intended to act as the
|
137
142
|
foundation for higher-level application classes such as
|
138
|
-
<a href="http://
|
143
|
+
<a href="http://developer.gnome.org/gtk2/GtkApplication.html"><span class="type">GtkApplication</span></a> or <a href="/usr/share/gtk-doc/html/mx/MxApplication.html"><span class="type">MxApplication</span></a>. In general, you should not use
|
139
144
|
this class outside of a higher level framework.
|
140
145
|
</p>
|
141
146
|
<p>
|
142
|
-
One of the core features that GApplication provides is process
|
143
|
-
uniqueness, in the context of a "session". The session concept is
|
144
|
-
platform-dependent, but corresponds roughly to a graphical desktop
|
145
|
-
login. When your application is launched again, its arguments
|
146
|
-
are passed through platform communication to the already running
|
147
|
-
program. The already running instance of the program is called the
|
148
|
-
<em class="firstterm">primary instance</em>.
|
149
|
-
</p>
|
150
|
-
<p>
|
151
|
-
Before using GApplication, you must choose an "application identifier".
|
152
|
-
The expected form of an application identifier is very close to that of
|
153
|
-
of a <a class="ulink" href="http://dbus.freedesktop.org/doc/dbus-specification.html#message-protocol-names-interface" target="_top">DBus bus name</a>.
|
154
|
-
Examples include: "com.example.MyApp", "org.example.internal-apps.Calculator".
|
155
|
-
For details on valid application identifiers, see
|
156
|
-
<a class="link" href="GApplication.html#g-application-id-is-valid" title="g_application_id_is_valid ()"><code class="function">g_application_id_is_valid()</code></a>.
|
157
|
-
</p>
|
158
|
-
<p>
|
159
|
-
The application identifier is claimed by the application as a
|
160
|
-
well-known bus name on the user's session bus. This means that the
|
161
|
-
uniqueness of your application is scoped to the current session. It
|
162
|
-
also means that your application may provide additional services
|
163
|
-
(through registration of other object paths) at that bus name.
|
164
|
-
</p>
|
165
|
-
<p>
|
166
|
-
The registration of these object paths should be done with the shared
|
167
|
-
GDBus session bus. Note that due to the internal architecture of
|
168
|
-
GDBus, method calls can be dispatched at any time (even if a main
|
169
|
-
loop is not running). For this reason, you must ensure that any
|
170
|
-
object paths that you wish to register are registered before
|
171
|
-
<a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> attempts to acquire the bus name of your application
|
172
|
-
(which happens in <a class="link" href="GApplication.html#g-application-register" title="g_application_register ()"><code class="function">g_application_register()</code></a>). Unfortunately, this
|
173
|
-
means that you can not use <a class="link" href="GApplication.html#g-application-get-is-remote" title="g_application_get_is_remote ()"><code class="function">g_application_get_is_remote()</code></a> to decide if
|
174
|
-
you want to register object paths.
|
175
|
-
</p>
|
176
|
-
<p>
|
177
147
|
GApplication provides convenient life cycle management by maintaining
|
178
148
|
a <em class="firstterm">use count</em> for the primary application instance.
|
179
149
|
The use count can be changed using <a class="link" href="GApplication.html#g-application-hold" title="g_application_hold ()"><code class="function">g_application_hold()</code></a> and
|
180
150
|
<a class="link" href="GApplication.html#g-application-release" title="g_application_release ()"><code class="function">g_application_release()</code></a>. If it drops to zero, the application exits.
|
151
|
+
Higher-level classes such as <a href="http://developer.gnome.org/gtk2/GtkApplication.html"><span class="type">GtkApplication</span></a> employ the use count to
|
152
|
+
ensure that the application stays alive as long as it has any opened
|
153
|
+
windows.
|
154
|
+
</p>
|
155
|
+
<p>
|
156
|
+
Another feature that GApplication (optionally) provides is process
|
157
|
+
uniqueness. Applications can make use of this functionality by
|
158
|
+
providing a unique application ID. If given, only one application
|
159
|
+
with this ID can be running at a time per session. The session
|
160
|
+
concept is platform-dependent, but corresponds roughly to a graphical
|
161
|
+
desktop login. When your application is launched again, its
|
162
|
+
arguments are passed through platform communication to the already
|
163
|
+
running program. The already running instance of the program is
|
164
|
+
called the <em class="firstterm">primary instance</em>; for non-unique
|
165
|
+
applications this is the always the current instance.
|
166
|
+
On Linux, the D-Bus session bus is used for communication.
|
167
|
+
</p>
|
168
|
+
<p>
|
169
|
+
The use of <a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> differs from some other commonly-used
|
170
|
+
uniqueness libraries (such as libunique) in important ways. The
|
171
|
+
application is not expected to manually register itself and check if
|
172
|
+
it is the primary instance. Instead, the <code class="code"><code class="function">main()</code></code>
|
173
|
+
function of a <a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> should do very little more than
|
174
|
+
instantiating the application instance, possibly connecting signal
|
175
|
+
handlers, then calling <a class="link" href="GApplication.html#g-application-run" title="g_application_run ()"><code class="function">g_application_run()</code></a>. All checks for
|
176
|
+
uniqueness are done internally. If the application is the primary
|
177
|
+
instance then the startup signal is emitted and the mainloop runs.
|
178
|
+
If the application is not the primary instance then a signal is sent
|
179
|
+
to the primary instance and <a class="link" href="GApplication.html#g-application-run" title="g_application_run ()"><code class="function">g_application_run()</code></a> promptly returns.
|
180
|
+
See the code examples below.
|
181
|
+
</p>
|
182
|
+
<p>
|
183
|
+
If used, the expected form of an application identifier is very close
|
184
|
+
to that of of a
|
185
|
+
<a class="ulink" href="http://dbus.freedesktop.org/doc/dbus-specification.html#message-protocol-names-interface" target="_top">DBus bus name</a>.
|
186
|
+
Examples include: "com.example.MyApp", "org.example.internal-apps.Calculator".
|
187
|
+
For details on valid application identifiers, see <a class="link" href="GApplication.html#g-application-id-is-valid" title="g_application_id_is_valid ()"><code class="function">g_application_id_is_valid()</code></a>.
|
181
188
|
</p>
|
182
189
|
<p>
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
190
|
+
On Linux, the application identifier is claimed as a well-known bus name
|
191
|
+
on the user's session bus. This means that the uniqueness of your
|
192
|
+
application is scoped to the current session. It also means that your
|
193
|
+
application may provide additional services (through registration of other
|
194
|
+
object paths) at that bus name. The registration of these object paths
|
195
|
+
should be done with the shared GDBus session bus. Note that due to the
|
196
|
+
internal architecture of GDBus, method calls can be dispatched at any time
|
197
|
+
(even if a main loop is not running). For this reason, you must ensure that
|
198
|
+
any object paths that you wish to register are registered before <a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a>
|
199
|
+
attempts to acquire the bus name of your application (which happens in
|
200
|
+
<a class="link" href="GApplication.html#g-application-register" title="g_application_register ()"><code class="function">g_application_register()</code></a>). Unfortunately, this means that you cannot use
|
201
|
+
<a class="link" href="GApplication.html#g-application-get-is-remote" title="g_application_get_is_remote ()"><code class="function">g_application_get_is_remote()</code></a> to decide if you want to register object paths.
|
187
202
|
</p>
|
188
203
|
<p>
|
189
|
-
|
204
|
+
GApplication also implements the <a class="link" href="GActionGroup.html" title="GActionGroup"><span class="type">GActionGroup</span></a> and <a class="link" href="GActionMap.html" title="GActionMap"><span class="type">GActionMap</span></a>
|
205
|
+
interfaces and lets you easily export actions by adding them with
|
206
|
+
<a class="link" href="GActionMap.html#g-action-map-add-action" title="g_action_map_add_action ()"><code class="function">g_action_map_add_action()</code></a>. When invoking an action by calling
|
207
|
+
<a class="link" href="GActionGroup.html#g-action-group-activate-action" title="g_action_group_activate_action ()"><code class="function">g_action_group_activate_action()</code></a> on the application, it is always
|
208
|
+
invoked in the primary instance. The actions are also exported on
|
209
|
+
the session bus, and GIO provides the <a class="link" href="GDBusActionGroup.html" title="GDBusActionGroup"><span class="type">GDBusActionGroup</span></a> wrapper to
|
210
|
+
conveniently access them remotely. GIO provides a <a class="link" href="GDBusMenuModel.html" title="GDBusMenuModel"><span class="type">GDBusMenuModel</span></a> wrapper
|
211
|
+
for remote access to exported <a href="GMenuModel.html"><span class="type">GMenuModels</span></a>.
|
190
212
|
</p>
|
191
|
-
<
|
213
|
+
<p>
|
214
|
+
There is a number of different entry points into a GApplication:
|
215
|
+
</p>
|
216
|
+
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
|
192
217
|
<li class="listitem">via 'Activate' (i.e. just starting the application)</li>
|
193
218
|
<li class="listitem">via 'Open' (i.e. opening some files)</li>
|
194
219
|
<li class="listitem">by handling a command-line</li>
|
@@ -202,10 +227,10 @@ initialization for all of these in a single place.
|
|
202
227
|
Regardless of which of these entry points is used to start the application,
|
203
228
|
GApplication passes some <em class="firstterm"><a name="platform-data"></a>platform
|
204
229
|
data</em> from the launching instance to the primary instance,
|
205
|
-
in the form of a <a href="
|
230
|
+
in the form of a <a href="./../glib/glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> dictionary mapping strings to variants.
|
206
231
|
To use platform data, override the <em class="parameter"><code>before_emit</code></em> or <em class="parameter"><code>after_emit</code></em> virtual
|
207
232
|
functions in your <a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> subclass. When dealing with
|
208
|
-
<span class="type">
|
233
|
+
<a class="link" href="GApplicationCommandLine.html" title="GApplicationCommandLine"><span class="type">GApplicationCommandLine</span></a> objects, the platform data is directly
|
209
234
|
available via <a class="link" href="GApplicationCommandLine.html#g-application-command-line-get-cwd" title="g_application_command_line_get_cwd ()"><code class="function">g_application_command_line_get_cwd()</code></a>,
|
210
235
|
<a class="link" href="GApplicationCommandLine.html#g-application-command-line-get-environ" title="g_application_command_line_get_environ ()"><code class="function">g_application_command_line_get_environ()</code></a> and
|
211
236
|
<a class="link" href="GApplicationCommandLine.html#g-application-command-line-get-platform-data" title="g_application_command_line_get_platform_data ()"><code class="function">g_application_command_line_get_platform_data()</code></a>.
|
@@ -216,9 +241,9 @@ operating system, but it always includes the current directory (key
|
|
216
241
|
"cwd"), and optionally the environment (ie the set of environment
|
217
242
|
variables and their values) of the calling process (key "environ").
|
218
243
|
The environment is only added to the platform data if the
|
219
|
-
<
|
244
|
+
<a class="link" href="GApplication.html#G-APPLICATION-SEND-ENVIRONMENT:CAPS"><code class="literal">G_APPLICATION_SEND_ENVIRONMENT</code></a> flag is set. <a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> subclasses
|
220
245
|
can add their own platform data by overriding the <em class="parameter"><code>add_platform_data</code></em>
|
221
|
-
virtual function. For instance, <a href="http://
|
246
|
+
virtual function. For instance, <a href="http://developer.gnome.org/gtk2/GtkApplication.html"><span class="type">GtkApplication</span></a> adds startup notification
|
222
247
|
data in this way.
|
223
248
|
</p>
|
224
249
|
<p>
|
@@ -230,7 +255,7 @@ respectively.
|
|
230
255
|
<p>
|
231
256
|
</p>
|
232
257
|
<div class="example">
|
233
|
-
<a name="gapplication-example-open"></a><p class="title"><b>Example
|
258
|
+
<a name="gapplication-example-open"></a><p class="title"><b>Example 18. Opening files with a GApplication</b></p>
|
234
259
|
<div class="example-contents">
|
235
260
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
236
261
|
<tbody>
|
@@ -298,7 +323,7 @@ respectively.
|
|
298
323
|
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
299
324
|
<span class="function">activate</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GApplication</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">application</span><span class="symbol">)</span>
|
300
325
|
<span class="cbracket">{</span>
|
301
|
-
<span class="normal"> </span><span class="function"><a href="
|
326
|
+
<span class="normal"> </span><span class="function"><a href="./../glib/glib/glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"activated</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">);</span>
|
302
327
|
|
303
328
|
<span class="normal"> </span><span class="comment">/* Note: when doing a longer-lasting action here that returns</span>
|
304
329
|
<span class="comment"> * to the mainloop, you should use g_application_hold() and</span>
|
@@ -318,8 +343,8 @@ respectively.
|
|
318
343
|
<span class="normal"> </span><span class="keyword">for</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">i </span><span class="symbol">=</span><span class="normal"> </span><span class="number">0</span><span class="symbol">;</span><span class="normal"> i </span><span class="symbol"><</span><span class="normal"> n_files</span><span class="symbol">;</span><span class="normal"> i</span><span class="symbol">++)</span>
|
319
344
|
<span class="normal"> </span><span class="cbracket">{</span>
|
320
345
|
<span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">uri </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GFile.html#g-file-get-uri">g_file_get_uri</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">files</span><span class="symbol">[</span><span class="normal">i</span><span class="symbol">]);</span>
|
321
|
-
<span class="normal"> </span><span class="function"><a href="
|
322
|
-
<span class="normal"> </span><span class="function"><a href="
|
346
|
+
<span class="normal"> </span><span class="function"><a href="./../glib/glib/glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"open %s</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> uri</span><span class="symbol">);</span>
|
347
|
+
<span class="normal"> </span><span class="function"><a href="./../glib/glib/glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">uri</span><span class="symbol">);</span>
|
323
348
|
<span class="normal"> </span><span class="cbracket">}</span>
|
324
349
|
|
325
350
|
<span class="normal"> </span><span class="comment">/* Note: when doing a longer-lasting action here that returns</span>
|
@@ -337,13 +362,13 @@ respectively.
|
|
337
362
|
|
338
363
|
<span class="normal"> app </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GApplication.html#g-application-new">g_application_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"org.gtk.TestApplication"</span><span class="symbol">,</span>
|
339
364
|
<span class="normal"> <a href="GApplication.html#G-APPLICATION-HANDLES-OPEN:CAPS">G_APPLICATION_HANDLES_OPEN</a></span><span class="symbol">);</span>
|
340
|
-
<span class="normal"> </span><span class="function"><a href="
|
341
|
-
<span class="normal"> </span><span class="function"><a href="
|
365
|
+
<span class="normal"> </span><span class="function"><a href="./../gobject/gobject/gobject-Signals.html#g-signal-connect">g_signal_connect</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">app</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"activate"</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="./../gobject/gobject/gobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">activate</span><span class="symbol">),</span><span class="normal"> <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
366
|
+
<span class="normal"> </span><span class="function"><a href="./../gobject/gobject/gobject-Signals.html#g-signal-connect">g_signal_connect</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">app</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"open"</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="./../gobject/gobject/gobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">open</span><span class="symbol">),</span><span class="normal"> <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
342
367
|
<span class="normal"> </span><span class="function"><a href="GApplication.html#g-application-set-inactivity-timeout">g_application_set_inactivity_timeout</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">app</span><span class="symbol">,</span><span class="normal"> </span><span class="number">10000</span><span class="symbol">);</span>
|
343
368
|
|
344
369
|
<span class="normal"> status </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GApplication.html#g-application-run">g_application_run</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">app</span><span class="symbol">,</span><span class="normal"> argc</span><span class="symbol">,</span><span class="normal"> argv</span><span class="symbol">);</span>
|
345
370
|
|
346
|
-
<span class="normal"> </span><span class="function"><a href="
|
371
|
+
<span class="normal"> </span><span class="function"><a href="./../gobject/gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">app</span><span class="symbol">);</span>
|
347
372
|
|
348
373
|
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> status</span><span class="symbol">;</span>
|
349
374
|
<span class="cbracket">}</span></pre></td>
|
@@ -358,7 +383,7 @@ respectively.
|
|
358
383
|
<p>
|
359
384
|
</p>
|
360
385
|
<div class="example">
|
361
|
-
<a name="gapplication-example-actions"></a><p class="title"><b>Example
|
386
|
+
<a name="gapplication-example-actions"></a><p class="title"><b>Example 19. A GApplication with actions</b></p>
|
362
387
|
<div class="example-contents">
|
363
388
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
364
389
|
<tbody>
|
@@ -451,7 +476,40 @@ respectively.
|
|
451
476
|
86
|
452
477
|
87
|
453
478
|
88
|
454
|
-
89
|
479
|
+
89
|
480
|
+
90
|
481
|
+
91
|
482
|
+
92
|
483
|
+
93
|
484
|
+
94
|
485
|
+
95
|
486
|
+
96
|
487
|
+
97
|
488
|
+
98
|
489
|
+
99
|
490
|
+
100
|
491
|
+
101
|
492
|
+
102
|
493
|
+
103
|
494
|
+
104
|
495
|
+
105
|
496
|
+
106
|
497
|
+
107
|
498
|
+
108
|
499
|
+
109
|
500
|
+
110
|
501
|
+
111
|
502
|
+
112
|
503
|
+
113
|
504
|
+
114
|
505
|
+
115
|
506
|
+
116
|
507
|
+
117
|
508
|
+
118
|
509
|
+
119
|
510
|
+
120
|
511
|
+
121
|
512
|
+
122</pre></td>
|
455
513
|
<td class="listing_code"><pre class="programlisting"><span class="preproc">#include</span><span class="normal"> </span><span class="string"><gio/gio.h></span>
|
456
514
|
<span class="preproc">#include</span><span class="normal"> </span><span class="string"><stdlib.h></span>
|
457
515
|
<span class="preproc">#include</span><span class="normal"> </span><span class="string"><string.h></span>
|
@@ -459,7 +517,9 @@ respectively.
|
|
459
517
|
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
460
518
|
<span class="function">activate</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GApplication</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">application</span><span class="symbol">)</span>
|
461
519
|
<span class="cbracket">{</span>
|
462
|
-
<span class="normal"> </span><span class="function"><a href="
|
520
|
+
<span class="normal"> </span><span class="function"><a href="GApplication.html#g-application-hold">g_application_hold</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">application</span><span class="symbol">);</span>
|
521
|
+
<span class="normal"> </span><span class="function"><a href="./../glib/glib/glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"activated</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">);</span>
|
522
|
+
<span class="normal"> </span><span class="function"><a href="GApplication.html#g-application-release">g_application_release</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">application</span><span class="symbol">);</span>
|
463
523
|
<span class="cbracket">}</span>
|
464
524
|
|
465
525
|
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
@@ -467,47 +527,78 @@ respectively.
|
|
467
527
|
<span class="normal"> </span><span class="usertype">GVariant</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">parameter</span><span class="symbol">,</span>
|
468
528
|
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> data</span><span class="symbol">)</span>
|
469
529
|
<span class="cbracket">{</span>
|
470
|
-
<span class="normal"> </span><span class="
|
530
|
+
<span class="normal"> </span><span class="usertype">GApplication</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">application </span><span class="symbol">=</span><span class="normal"> </span><span class="function">G_APPLICATION</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">data</span><span class="symbol">);</span>
|
531
|
+
|
532
|
+
<span class="normal"> </span><span class="function"><a href="GApplication.html#g-application-hold">g_application_hold</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">application</span><span class="symbol">);</span>
|
533
|
+
<span class="normal"> </span><span class="function"><a href="./../glib/glib/glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"action %s activated</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="GAction.html#g-action-get-name">g_action_get_name</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">action</span><span class="symbol">));</span>
|
534
|
+
<span class="normal"> </span><span class="function"><a href="GApplication.html#g-application-release">g_application_release</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">application</span><span class="symbol">);</span>
|
471
535
|
<span class="cbracket">}</span>
|
472
536
|
|
473
537
|
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
474
|
-
<span class="function">activate_toggle_action</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">
|
475
|
-
<span class="normal"> </span><span class="usertype">GVariant</span><span class="normal">
|
476
|
-
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal">
|
538
|
+
<span class="function">activate_toggle_action</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GSimpleAction</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">action</span><span class="symbol">,</span>
|
539
|
+
<span class="normal"> </span><span class="usertype">GVariant</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">parameter</span><span class="symbol">,</span>
|
540
|
+
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> data</span><span class="symbol">)</span>
|
477
541
|
<span class="cbracket">{</span>
|
542
|
+
<span class="normal"> </span><span class="usertype">GApplication</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">application </span><span class="symbol">=</span><span class="normal"> </span><span class="function">G_APPLICATION</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">data</span><span class="symbol">);</span>
|
478
543
|
<span class="normal"> </span><span class="usertype">GVariant</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">state</span><span class="symbol">;</span>
|
479
544
|
<span class="normal"> </span><span class="usertype">gboolean</span><span class="normal"> b</span><span class="symbol">;</span>
|
480
545
|
|
481
|
-
<span class="normal"> </span><span class="function"><a href="
|
546
|
+
<span class="normal"> </span><span class="function"><a href="./../glib/glib/glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"action %s activated</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="GAction.html#g-action-get-name">g_action_get_name</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">G_ACTION</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">action</span><span class="symbol">)));</span>
|
482
547
|
|
483
|
-
<span class="normal">
|
484
|
-
<span class="normal">
|
485
|
-
<span class="normal"> </span><span class="function"><a href="
|
486
|
-
<span class="normal"> </span><span class="function"><a href="
|
487
|
-
<span class="normal"> </span><span class="function"><a href="
|
548
|
+
<span class="normal"> </span><span class="function"><a href="GApplication.html#g-application-hold">g_application_hold</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">application</span><span class="symbol">);</span>
|
549
|
+
<span class="normal"> state </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GAction.html#g-action-get-state">g_action_get_state</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">G_ACTION</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">action</span><span class="symbol">));</span>
|
550
|
+
<span class="normal"> b </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="./../glib/glib/glib-GVariant.html#g-variant-get-boolean">g_variant_get_boolean</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">state</span><span class="symbol">);</span>
|
551
|
+
<span class="normal"> </span><span class="function"><a href="./../glib/glib/glib-GVariant.html#g-variant-unref">g_variant_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">state</span><span class="symbol">);</span>
|
552
|
+
<span class="normal"> </span><span class="function"><a href="GSimpleAction.html#g-simple-action-set-state">g_simple_action_set_state</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">action</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="./../glib/glib/glib-GVariant.html#g-variant-new-boolean">g_variant_new_boolean</a></span><span class="normal"> </span><span class="symbol">(!</span><span class="normal">b</span><span class="symbol">));</span>
|
553
|
+
<span class="normal"> </span><span class="function"><a href="./../glib/glib/glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"state change %d -> %d</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> b</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">!</span><span class="normal">b</span><span class="symbol">);</span>
|
554
|
+
<span class="normal"> </span><span class="function"><a href="GApplication.html#g-application-release">g_application_release</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">application</span><span class="symbol">);</span>
|
488
555
|
<span class="cbracket">}</span>
|
489
556
|
|
490
557
|
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
491
558
|
<span class="function">add_actions</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GApplication</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">app</span><span class="symbol">)</span>
|
492
559
|
<span class="cbracket">{</span>
|
493
|
-
<span class="normal"> </span><span class="usertype">GSimpleActionGroup</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">actions</span><span class="symbol">;</span>
|
494
560
|
<span class="normal"> </span><span class="usertype">GSimpleAction</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">action</span><span class="symbol">;</span>
|
495
561
|
|
496
|
-
<span class="normal">
|
562
|
+
<span class="normal"> action </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GSimpleAction.html#g-simple-action-new">g_simple_action_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"simple-action"</span><span class="symbol">,</span><span class="normal"> <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
563
|
+
<span class="normal"> </span><span class="function"><a href="./../gobject/gobject/gobject-Signals.html#g-signal-connect">g_signal_connect</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">action</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"activate"</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="./../gobject/gobject/gobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">activate_action</span><span class="symbol">),</span><span class="normal"> app</span><span class="symbol">);</span>
|
564
|
+
<span class="normal"> </span><span class="function"><a href="GActionMap.html#g-action-map-add-action">g_action_map_add_action</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">G_ACTION_MAP</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">app</span><span class="symbol">),</span><span class="normal"> </span><span class="function">G_ACTION</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">action</span><span class="symbol">));</span>
|
565
|
+
<span class="normal"> </span><span class="function"><a href="./../gobject/gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">action</span><span class="symbol">);</span>
|
566
|
+
|
567
|
+
<span class="normal"> action </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GSimpleAction.html#g-simple-action-new-stateful">g_simple_action_new_stateful</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"toggle-action"</span><span class="symbol">,</span><span class="normal"> <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span>
|
568
|
+
<span class="normal"> </span><span class="function"><a href="./../glib/glib/glib-GVariant.html#g-variant-new-boolean">g_variant_new_boolean</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS">FALSE</a></span><span class="symbol">));</span>
|
569
|
+
<span class="normal"> </span><span class="function"><a href="./../gobject/gobject/gobject-Signals.html#g-signal-connect">g_signal_connect</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">action</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"activate"</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="./../gobject/gobject/gobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">activate_toggle_action</span><span class="symbol">),</span><span class="normal"> app</span><span class="symbol">);</span>
|
570
|
+
<span class="normal"> </span><span class="function"><a href="GActionMap.html#g-action-map-add-action">g_action_map_add_action</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">G_ACTION_MAP</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">app</span><span class="symbol">),</span><span class="normal"> </span><span class="function">G_ACTION</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">action</span><span class="symbol">));</span>
|
571
|
+
<span class="normal"> </span><span class="function"><a href="./../gobject/gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">action</span><span class="symbol">);</span>
|
572
|
+
<span class="cbracket">}</span>
|
573
|
+
|
574
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
575
|
+
<span class="function">describe_and_activate_action</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GActionGroup</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">group</span><span class="symbol">,</span>
|
576
|
+
<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>
|
577
|
+
<span class="cbracket">{</span>
|
578
|
+
<span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="usertype">GVariantType</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">param_type</span><span class="symbol">;</span>
|
579
|
+
<span class="normal"> </span><span class="usertype">GVariant</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">state</span><span class="symbol">;</span>
|
580
|
+
<span class="normal"> </span><span class="usertype">gboolean</span><span class="normal"> enabled</span><span class="symbol">;</span>
|
581
|
+
<span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">tmp</span><span class="symbol">;</span>
|
582
|
+
|
583
|
+
<span class="normal"> param_type </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GActionGroup.html#g-action-group-get-action-parameter-type">g_action_group_get_action_parameter_type</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">group</span><span class="symbol">,</span><span class="normal"> name</span><span class="symbol">);</span>
|
584
|
+
<span class="normal"> state </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GActionGroup.html#g-action-group-get-action-state">g_action_group_get_action_state</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">group</span><span class="symbol">,</span><span class="normal"> name</span><span class="symbol">);</span>
|
585
|
+
<span class="normal"> enabled </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GActionGroup.html#g-action-group-get-action-enabled">g_action_group_get_action_enabled</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">group</span><span class="symbol">,</span><span class="normal"> name</span><span class="symbol">);</span>
|
497
586
|
|
498
|
-
<span class="normal">
|
499
|
-
<span class="normal"> </span><span class="
|
500
|
-
<span class="normal"> </span><span class="function"><a href="
|
501
|
-
<span class="normal"> </span><span class="function"><a href="
|
587
|
+
<span class="normal"> </span><span class="function"><a href="./../glib/glib/glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"action 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>
|
588
|
+
<span class="normal"> tmp </span><span class="symbol">=</span><span class="normal"> param_type </span><span class="symbol">?</span><span class="normal"> </span><span class="function"><a href="./../glib/glib/glib-GVariantType.html#g-variant-type-dup-string">g_variant_type_dup_string</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">param_type</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
|
589
|
+
<span class="normal"> </span><span class="function"><a href="./../glib/glib/glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"parameter type: %s</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> tmp </span><span class="symbol">?</span><span class="normal"> tmp </span><span class="symbol">:</span><span class="normal"> </span><span class="string">"<none>"</span><span class="symbol">);</span>
|
590
|
+
<span class="normal"> </span><span class="function"><a href="./../glib/glib/glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">tmp</span><span class="symbol">);</span>
|
591
|
+
<span class="normal"> </span><span class="function"><a href="./../glib/glib/glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"state type: %s</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span>
|
592
|
+
<span class="normal"> state </span><span class="symbol">?</span><span class="normal"> </span><span class="function"><a href="./../glib/glib/glib-GVariant.html#g-variant-get-type-string">g_variant_get_type_string</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">state</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="string">"<none>"</span><span class="symbol">);</span>
|
593
|
+
<span class="normal"> tmp </span><span class="symbol">=</span><span class="normal"> state </span><span class="symbol">?</span><span class="normal"> </span><span class="function"><a href="./../glib/glib/glib-GVariant.html#g-variant-print">g_variant_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">state</span><span class="symbol">,</span><span class="normal"> <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS">FALSE</a></span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
|
594
|
+
<span class="normal"> </span><span class="function"><a href="./../glib/glib/glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"state: %s</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> tmp </span><span class="symbol">?</span><span class="normal"> tmp </span><span class="symbol">:</span><span class="normal"> </span><span class="string">"<none>"</span><span class="symbol">);</span>
|
595
|
+
<span class="normal"> </span><span class="function"><a href="./../glib/glib/glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">tmp</span><span class="symbol">);</span>
|
596
|
+
<span class="normal"> </span><span class="function"><a href="./../glib/glib/glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"enabled: %s</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> enabled </span><span class="symbol">?</span><span class="normal"> </span><span class="string">"true"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="string">"false"</span><span class="symbol">);</span>
|
502
597
|
|
503
|
-
<span class="normal">
|
504
|
-
<span class="normal">
|
505
|
-
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#g-signal-connect">g_signal_connect</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">action</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"activate"</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">activate_toggle_action</span><span class="symbol">),</span><span class="normal"> app</span><span class="symbol">);</span>
|
506
|
-
<span class="normal"> </span><span class="function"><a href="GSimpleActionGroup.html#g-simple-action-group-insert">g_simple_action_group_insert</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">actions</span><span class="symbol">,</span><span class="normal"> </span><span class="function">G_ACTION</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">action</span><span class="symbol">));</span>
|
507
|
-
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/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">action</span><span class="symbol">);</span>
|
598
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">state </span><span class="symbol">!=</span><span class="normal"> <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span>
|
599
|
+
<span class="normal"> </span><span class="function"><a href="./../glib/glib/glib-GVariant.html#g-variant-unref">g_variant_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">state</span><span class="symbol">);</span>
|
508
600
|
|
509
|
-
<span class="normal"> </span><span class="function"><a href="
|
510
|
-
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/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">actions</span><span class="symbol">);</span>
|
601
|
+
<span class="normal"> </span><span class="function"><a href="GActionGroup.html#g-action-group-activate-action">g_action_group_activate_action</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">group</span><span class="symbol">,</span><span class="normal"> name</span><span class="symbol">,</span><span class="normal"> <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
511
602
|
<span class="cbracket">}</span>
|
512
603
|
|
513
604
|
<span class="type">int</span>
|
@@ -517,27 +608,255 @@ respectively.
|
|
517
608
|
<span class="normal"> </span><span class="type">int</span><span class="normal"> status</span><span class="symbol">;</span>
|
518
609
|
|
519
610
|
<span class="normal"> app </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GApplication.html#g-application-new">g_application_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"org.gtk.TestApplication"</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">);</span>
|
520
|
-
<span class="normal"> </span><span class="function"><a href="
|
611
|
+
<span class="normal"> </span><span class="function"><a href="./../gobject/gobject/gobject-Signals.html#g-signal-connect">g_signal_connect</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">app</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"activate"</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="./../gobject/gobject/gobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">activate</span><span class="symbol">),</span><span class="normal"> <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
521
612
|
<span class="normal"> </span><span class="function"><a href="GApplication.html#g-application-set-inactivity-timeout">g_application_set_inactivity_timeout</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">app</span><span class="symbol">,</span><span class="normal"> </span><span class="number">10000</span><span class="symbol">);</span>
|
522
613
|
|
523
614
|
<span class="normal"> </span><span class="function">add_actions</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">app</span><span class="symbol">);</span>
|
524
615
|
|
525
616
|
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">argc </span><span class="symbol">></span><span class="normal"> </span><span class="number">1</span><span class="normal"> </span><span class="symbol">&&</span><span class="normal"> </span><span class="function">strcmp</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">argv</span><span class="symbol">[</span><span class="number">1</span><span class="symbol">],</span><span class="normal"> </span><span class="string">"--simple-action"</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>
|
526
617
|
<span class="normal"> </span><span class="cbracket">{</span>
|
527
|
-
<span class="normal"> </span><span class="function"><a href="GApplication.html#g-application-register">g_application_register</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">app</span><span class="symbol">,</span><span class="normal"> <a href="
|
528
|
-
<span class="normal"> </span><span class="function"
|
618
|
+
<span class="normal"> </span><span class="function"><a href="GApplication.html#g-application-register">g_application_register</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">app</span><span class="symbol">,</span><span class="normal"> <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
619
|
+
<span class="normal"> </span><span class="function">describe_and_activate_action</span><span class="normal"> </span><span class="symbol">(</span><span class="function">G_ACTION_GROUP</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">app</span><span class="symbol">),</span><span class="normal"> </span><span class="string">"simple-action"</span><span class="symbol">);</span>
|
529
620
|
<span class="normal"> </span><span class="function">exit</span><span class="normal"> </span><span class="symbol">(</span><span class="number">0</span><span class="symbol">);</span>
|
530
621
|
<span class="normal"> </span><span class="cbracket">}</span>
|
531
622
|
<span class="normal"> </span><span class="keyword">else</span><span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">argc </span><span class="symbol">></span><span class="normal"> </span><span class="number">1</span><span class="normal"> </span><span class="symbol">&&</span><span class="normal"> </span><span class="function">strcmp</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">argv</span><span class="symbol">[</span><span class="number">1</span><span class="symbol">],</span><span class="normal"> </span><span class="string">"--toggle-action"</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>
|
532
623
|
<span class="normal"> </span><span class="cbracket">{</span>
|
533
|
-
<span class="normal"> </span><span class="function"><a href="GApplication.html#g-application-register">g_application_register</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">app</span><span class="symbol">,</span><span class="normal"> <a href="
|
534
|
-
<span class="normal"> </span><span class="function"
|
624
|
+
<span class="normal"> </span><span class="function"><a href="GApplication.html#g-application-register">g_application_register</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">app</span><span class="symbol">,</span><span class="normal"> <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
625
|
+
<span class="normal"> </span><span class="function">describe_and_activate_action</span><span class="normal"> </span><span class="symbol">(</span><span class="function">G_ACTION_GROUP</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">app</span><span class="symbol">),</span><span class="normal"> </span><span class="string">"toggle-action"</span><span class="symbol">);</span>
|
535
626
|
<span class="normal"> </span><span class="function">exit</span><span class="normal"> </span><span class="symbol">(</span><span class="number">0</span><span class="symbol">);</span>
|
536
627
|
<span class="normal"> </span><span class="cbracket">}</span>
|
537
628
|
|
538
629
|
<span class="normal"> status </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GApplication.html#g-application-run">g_application_run</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">app</span><span class="symbol">,</span><span class="normal"> argc</span><span class="symbol">,</span><span class="normal"> argv</span><span class="symbol">);</span>
|
539
630
|
|
540
|
-
<span class="normal"> </span><span class="function"><a href="
|
631
|
+
<span class="normal"> </span><span class="function"><a href="./../gobject/gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">app</span><span class="symbol">);</span>
|
632
|
+
|
633
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> status</span><span class="symbol">;</span>
|
634
|
+
<span class="cbracket">}</span></pre></td>
|
635
|
+
</tr>
|
636
|
+
</tbody>
|
637
|
+
</table>
|
638
|
+
</div>
|
639
|
+
|
640
|
+
</div>
|
641
|
+
<p><br class="example-break">
|
642
|
+
</p>
|
643
|
+
<p>
|
644
|
+
</p>
|
645
|
+
<div class="example">
|
646
|
+
<a name="gapplication-example-menu"></a><p class="title"><b>Example 20. A GApplication with menus</b></p>
|
647
|
+
<div class="example-contents">
|
648
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
649
|
+
<tbody>
|
650
|
+
<tr>
|
651
|
+
<td class="listing_lines" align="right"><pre>1</pre></td>
|
652
|
+
<td class="listing_code"><pre class="programlisting"><span class="normal">FIXME</span><span class="symbol">:</span><span class="normal"> MISSING XINCLUDE CONTENT</span></pre></td>
|
653
|
+
</tr>
|
654
|
+
</tbody>
|
655
|
+
</table>
|
656
|
+
</div>
|
657
|
+
|
658
|
+
</div>
|
659
|
+
<p><br class="example-break">
|
660
|
+
</p>
|
661
|
+
<p>
|
662
|
+
</p>
|
663
|
+
<div class="example">
|
664
|
+
<a name="gapplication-example-dbushooks"></a><p class="title"><b>Example 21. Using extra D-Bus hooks with a GApplication</b></p>
|
665
|
+
<div class="example-contents">
|
666
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
667
|
+
<tbody>
|
668
|
+
<tr>
|
669
|
+
<td class="listing_lines" align="right"><pre>1
|
670
|
+
2
|
671
|
+
3
|
672
|
+
4
|
673
|
+
5
|
674
|
+
6
|
675
|
+
7
|
676
|
+
8
|
677
|
+
9
|
678
|
+
10
|
679
|
+
11
|
680
|
+
12
|
681
|
+
13
|
682
|
+
14
|
683
|
+
15
|
684
|
+
16
|
685
|
+
17
|
686
|
+
18
|
687
|
+
19
|
688
|
+
20
|
689
|
+
21
|
690
|
+
22
|
691
|
+
23
|
692
|
+
24
|
693
|
+
25
|
694
|
+
26
|
695
|
+
27
|
696
|
+
28
|
697
|
+
29
|
698
|
+
30
|
699
|
+
31
|
700
|
+
32
|
701
|
+
33
|
702
|
+
34
|
703
|
+
35
|
704
|
+
36
|
705
|
+
37
|
706
|
+
38
|
707
|
+
39
|
708
|
+
40
|
709
|
+
41
|
710
|
+
42
|
711
|
+
43
|
712
|
+
44
|
713
|
+
45
|
714
|
+
46
|
715
|
+
47
|
716
|
+
48
|
717
|
+
49
|
718
|
+
50
|
719
|
+
51
|
720
|
+
52
|
721
|
+
53
|
722
|
+
54
|
723
|
+
55
|
724
|
+
56
|
725
|
+
57
|
726
|
+
58
|
727
|
+
59
|
728
|
+
60
|
729
|
+
61
|
730
|
+
62
|
731
|
+
63
|
732
|
+
64
|
733
|
+
65
|
734
|
+
66
|
735
|
+
67
|
736
|
+
68
|
737
|
+
69
|
738
|
+
70
|
739
|
+
71
|
740
|
+
72
|
741
|
+
73
|
742
|
+
74
|
743
|
+
75
|
744
|
+
76
|
745
|
+
77
|
746
|
+
78
|
747
|
+
79
|
748
|
+
80
|
749
|
+
81
|
750
|
+
82
|
751
|
+
83
|
752
|
+
84
|
753
|
+
85
|
754
|
+
86
|
755
|
+
87
|
756
|
+
88
|
757
|
+
89
|
758
|
+
90
|
759
|
+
91
|
760
|
+
92
|
761
|
+
93
|
762
|
+
94
|
763
|
+
95
|
764
|
+
96
|
765
|
+
97</pre></td>
|
766
|
+
<td class="listing_code"><pre class="programlisting"><span class="preproc">#include</span><span class="normal"> </span><span class="string"><gio/gio.h></span>
|
767
|
+
<span class="preproc">#include</span><span class="normal"> </span><span class="string"><stdlib.h></span>
|
768
|
+
<span class="preproc">#include</span><span class="normal"> </span><span class="string"><string.h></span>
|
769
|
+
|
770
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
771
|
+
<span class="function">activate</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GApplication</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">application</span><span class="symbol">)</span>
|
772
|
+
<span class="cbracket">{</span>
|
773
|
+
<span class="normal"> </span><span class="function"><a href="./../glib/glib/glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"activated</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">);</span>
|
774
|
+
|
775
|
+
<span class="normal"> </span><span class="comment">/* Note: when doing a longer-lasting action here that returns</span>
|
776
|
+
<span class="comment"> * to the mainloop, you should use g_application_hold() and</span>
|
777
|
+
<span class="comment"> * g_application_release() to keep the application alive until</span>
|
778
|
+
<span class="comment"> * the action is completed.</span>
|
779
|
+
<span class="comment"> */</span>
|
780
|
+
<span class="cbracket">}</span>
|
781
|
+
|
782
|
+
<span class="keyword">typedef</span><span class="normal"> </span><span class="usertype">GApplication</span><span class="normal"> TestApplication</span><span class="symbol">;</span>
|
783
|
+
<span class="keyword">typedef</span><span class="normal"> </span><span class="usertype">GApplicationClass</span><span class="normal"> TestApplicationClass</span><span class="symbol">;</span>
|
784
|
+
|
785
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="usertype">GType</span><span class="normal"> </span><span class="function">test_application_get_type</span><span class="normal"> </span><span class="symbol">(</span><span class="type">void</span><span class="symbol">);</span>
|
786
|
+
<span class="function"><a href="./../gobject/gobject/gobject-Type-Information.html#G-DEFINE-TYPE:CAPS">G_DEFINE_TYPE</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">TestApplication</span><span class="symbol">,</span><span class="normal"> test_application</span><span class="symbol">,</span><span class="normal"> G_TYPE_APPLICATION</span><span class="symbol">)</span>
|
787
|
+
|
788
|
+
<span class="keyword">static</span><span class="normal"> <a href="./../glib/glib/glib-Basic-Types.html#gboolean">gboolean</a></span>
|
789
|
+
<span class="function">test_application_dbus_register</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GApplication</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">application</span><span class="symbol">,</span>
|
790
|
+
<span class="normal"> </span><span class="usertype">GDBusConnection</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">connection</span><span class="symbol">,</span>
|
791
|
+
<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">object_path</span><span class="symbol">,</span>
|
792
|
+
<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>
|
793
|
+
<span class="cbracket">{</span>
|
794
|
+
<span class="normal"> </span><span class="comment">/* We must chain up to the parent class */</span>
|
795
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(!</span><span class="function">G_APPLICATION_CLASS</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">test_application_parent_class</span><span class="symbol">)-></span><span class="function">dbus_register</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">application</span><span class="symbol">,</span>
|
796
|
+
<span class="normal"> connection</span><span class="symbol">,</span>
|
797
|
+
<span class="normal"> object_path</span><span class="symbol">,</span>
|
798
|
+
<span class="normal"> error</span><span class="symbol">))</span>
|
799
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS">FALSE</a></span><span class="symbol">;</span>
|
800
|
+
|
801
|
+
<span class="normal"> </span><span class="comment">/* Now we can do our own stuff here. For example, we could export some D-Bus objects */</span>
|
802
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS">TRUE</a></span><span class="symbol">;</span>
|
803
|
+
<span class="cbracket">}</span>
|
804
|
+
|
805
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
806
|
+
<span class="function">test_application_dbus_unregister</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GApplication</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">application</span><span class="symbol">,</span>
|
807
|
+
<span class="normal"> </span><span class="usertype">GDBusConnection</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">connection</span><span class="symbol">,</span>
|
808
|
+
<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">object_path</span><span class="symbol">)</span>
|
809
|
+
<span class="cbracket">{</span>
|
810
|
+
<span class="normal"> </span><span class="comment">/* Do our own stuff here, e.g. unexport any D-Bus objects we exported in the dbus_register</span>
|
811
|
+
<span class="comment"> * hook above. Be sure to check that we actually did export them, since the hook</span>
|
812
|
+
<span class="comment"> * above might have returned early due to the parent class' hook returning FALSE!</span>
|
813
|
+
<span class="comment"> */</span>
|
814
|
+
|
815
|
+
<span class="normal"> </span><span class="comment">/* Lastly, we must chain up to the parent class */</span>
|
816
|
+
<span class="normal"> </span><span class="function">G_APPLICATION_CLASS</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">test_application_parent_class</span><span class="symbol">)-></span><span class="function">dbus_unregister</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">application</span><span class="symbol">,</span>
|
817
|
+
<span class="normal"> connection</span><span class="symbol">,</span>
|
818
|
+
<span class="normal"> object_path</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">test_application_init</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">TestApplication</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">app</span><span class="symbol">)</span>
|
823
|
+
<span class="cbracket">{</span>
|
824
|
+
<span class="cbracket">}</span>
|
825
|
+
|
826
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
827
|
+
<span class="function">test_application_class_init</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">TestApplicationClass</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">class</span><span class="symbol">)</span>
|
828
|
+
<span class="cbracket">{</span>
|
829
|
+
<span class="normal"> </span><span class="usertype">GApplicationClass</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">g_application_class </span><span class="symbol">=</span><span class="normal"> </span><span class="function">G_APPLICATION_CLASS</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">class</span><span class="symbol">);</span>
|
830
|
+
|
831
|
+
<span class="normal"> g_application_class</span><span class="symbol">-></span><span class="normal">dbus_register </span><span class="symbol">=</span><span class="normal"> test_application_dbus_register</span><span class="symbol">;</span>
|
832
|
+
<span class="normal"> g_application_class</span><span class="symbol">-></span><span class="normal">dbus_unregister </span><span class="symbol">=</span><span class="normal"> test_application_dbus_unregister</span><span class="symbol">;</span>
|
833
|
+
<span class="cbracket">}</span>
|
834
|
+
|
835
|
+
<span class="keyword">static</span><span class="normal"> <a href="GApplication.html">GApplication</a> </span><span class="symbol">*</span>
|
836
|
+
<span class="function">test_application_new</span><span class="normal"> </span><span class="symbol">(</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">application_id</span><span class="symbol">,</span>
|
837
|
+
<span class="normal"> </span><span class="usertype">GApplicationFlags</span><span class="normal"> flags</span><span class="symbol">)</span>
|
838
|
+
<span class="cbracket">{</span>
|
839
|
+
<span class="normal"> </span><span class="function"><a href="./../glib/glib/glib-Warnings-and-Assertions.html#g-return-val-if-fail">g_return_val_if_fail</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="GApplication.html#g-application-id-is-valid">g_application_id_is_valid</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">application_id</span><span class="symbol">),</span><span class="normal"> <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
840
|
+
|
841
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="function"><a href="./../gobject/gobject/gobject-The-Base-Object-Type.html#g-object-new">g_object_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">test_application_get_type</span><span class="normal"> </span><span class="symbol">(),</span>
|
842
|
+
<span class="normal"> </span><span class="string">"application-id"</span><span class="symbol">,</span><span class="normal"> application_id</span><span class="symbol">,</span>
|
843
|
+
<span class="normal"> </span><span class="string">"flags"</span><span class="symbol">,</span><span class="normal"> flags</span><span class="symbol">,</span>
|
844
|
+
<span class="normal"> <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
845
|
+
<span class="cbracket">}</span>
|
846
|
+
|
847
|
+
<span class="type">int</span>
|
848
|
+
<span class="function">main</span><span class="normal"> </span><span class="symbol">(</span><span class="type">int</span><span class="normal"> argc</span><span class="symbol">,</span><span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">**</span><span class="normal">argv</span><span class="symbol">)</span>
|
849
|
+
<span class="cbracket">{</span>
|
850
|
+
<span class="normal"> </span><span class="usertype">GApplication</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">app</span><span class="symbol">;</span>
|
851
|
+
<span class="normal"> </span><span class="type">int</span><span class="normal"> status</span><span class="symbol">;</span>
|
852
|
+
|
853
|
+
<span class="normal"> app </span><span class="symbol">=</span><span class="normal"> </span><span class="function">test_application_new</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"org.gtk.TestApplication"</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">);</span>
|
854
|
+
<span class="normal"> </span><span class="function"><a href="./../gobject/gobject/gobject-Signals.html#g-signal-connect">g_signal_connect</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">app</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"activate"</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="./../gobject/gobject/gobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">activate</span><span class="symbol">),</span><span class="normal"> <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
855
|
+
<span class="normal"> </span><span class="function"><a href="GApplication.html#g-application-set-inactivity-timeout">g_application_set_inactivity_timeout</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">app</span><span class="symbol">,</span><span class="normal"> </span><span class="number">10000</span><span class="symbol">);</span>
|
856
|
+
|
857
|
+
<span class="normal"> status </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GApplication.html#g-application-run">g_application_run</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">app</span><span class="symbol">,</span><span class="normal"> argc</span><span class="symbol">,</span><span class="normal"> argv</span><span class="symbol">);</span>
|
858
|
+
|
859
|
+
<span class="normal"> </span><span class="function"><a href="./../gobject/gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">app</span><span class="symbol">);</span>
|
541
860
|
|
542
861
|
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> status</span><span class="symbol">;</span>
|
543
862
|
<span class="cbracket">}</span></pre></td>
|
@@ -555,10 +874,6 @@ respectively.
|
|
555
874
|
<div class="refsect2">
|
556
875
|
<a name="GApplication-struct"></a><h3>GApplication</h3>
|
557
876
|
<pre class="programlisting">typedef struct _GApplication GApplication;</pre>
|
558
|
-
<p>
|
559
|
-
The <span class="structname">GApplication</span> structure contains private
|
560
|
-
data and should only be accessed using the provided API
|
561
|
-
</p>
|
562
877
|
<p class="since">Since 2.28</p>
|
563
878
|
</div>
|
564
879
|
<hr>
|
@@ -591,10 +906,25 @@ data and should only be accessed using the provided API
|
|
591
906
|
GVariantBuilder *builder);
|
592
907
|
void (* quit_mainloop) (GApplication *application);
|
593
908
|
void (* run_mainloop) (GApplication *application);
|
909
|
+
void (* shutdown) (GApplication *application);
|
910
|
+
|
911
|
+
gboolean (* dbus_register) (GApplication *application,
|
912
|
+
GDBusConnection *connection,
|
913
|
+
const gchar *object_path,
|
914
|
+
GError **error);
|
915
|
+
void (* dbus_unregister) (GApplication *application,
|
916
|
+
GDBusConnection *connection,
|
917
|
+
const gchar *object_path);
|
594
918
|
};
|
595
919
|
</pre>
|
596
|
-
<
|
920
|
+
<p>
|
921
|
+
Virtual function table for <a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a>.
|
922
|
+
</p>
|
923
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
924
|
+
<colgroup>
|
597
925
|
<col align="left" valign="top">
|
926
|
+
<col>
|
927
|
+
</colgroup>
|
598
928
|
<tbody>
|
599
929
|
<tr>
|
600
930
|
<td><p><span class="term"><em class="structfield"><code><a name="GApplicationClass.startup"></a>startup</code></em> ()</span></p></td>
|
@@ -616,9 +946,10 @@ not handled locally</td>
|
|
616
946
|
<tr>
|
617
947
|
<td><p><span class="term"><em class="structfield"><code><a name="GApplicationClass.local-command-line"></a>local_command_line</code></em> ()</span></p></td>
|
618
948
|
<td>invoked (locally) when the process has been invoked
|
619
|
-
via commandline execution
|
620
|
-
|
621
|
-
|
949
|
+
via commandline execution (as opposed to, say, D-Bus activation - which
|
950
|
+
is not currently supported by GApplication). The virtual function has
|
951
|
+
the chance to inspect (and possibly replace) the list of command line
|
952
|
+
arguments. See <a class="link" href="GApplication.html#g-application-run" title="g_application_run ()"><code class="function">g_application_run()</code></a> for more information.</td>
|
622
953
|
</tr>
|
623
954
|
<tr>
|
624
955
|
<td><p><span class="term"><em class="structfield"><code><a name="GApplicationClass.before-emit"></a>before_emit</code></em> ()</span></p></td>
|
@@ -639,14 +970,37 @@ the primary instance when activating, opening or invoking actions</td>
|
|
639
970
|
</tr>
|
640
971
|
<tr>
|
641
972
|
<td><p><span class="term"><em class="structfield"><code><a name="GApplicationClass.quit-mainloop"></a>quit_mainloop</code></em> ()</span></p></td>
|
642
|
-
<td>invoked on the primary instance when the use
|
643
|
-
application drops to zero (and after any inactivity
|
644
|
-
requested)</td>
|
973
|
+
<td>Used to be invoked on the primary instance when the use
|
974
|
+
count of the application drops to zero (and after any inactivity
|
975
|
+
timeout, if requested). Not used anymore since 2.32</td>
|
645
976
|
</tr>
|
646
977
|
<tr>
|
647
978
|
<td><p><span class="term"><em class="structfield"><code><a name="GApplicationClass.run-mainloop"></a>run_mainloop</code></em> ()</span></p></td>
|
648
|
-
<td>invoked on the primary instance from
|
649
|
-
if the use-count is non-zero
|
979
|
+
<td>Used to be invoked on the primary instance from
|
980
|
+
<a class="link" href="GApplication.html#g-application-run" title="g_application_run ()"><code class="function">g_application_run()</code></a> if the use-count is non-zero. Since 2.32,
|
981
|
+
GApplication is iterating the main context directly and is not
|
982
|
+
using <em class="parameter"><code>run_mainloop</code></em> anymore</td>
|
983
|
+
</tr>
|
984
|
+
<tr>
|
985
|
+
<td><p><span class="term"><em class="structfield"><code><a name="GApplicationClass.shutdown"></a>shutdown</code></em> ()</span></p></td>
|
986
|
+
<td>invoked only on the registered primary instance immediately
|
987
|
+
after the main loop terminates</td>
|
988
|
+
</tr>
|
989
|
+
<tr>
|
990
|
+
<td><p><span class="term"><em class="structfield"><code><a name="GApplicationClass.dbus-register"></a>dbus_register</code></em> ()</span></p></td>
|
991
|
+
<td>invoked locally during registration, if the application is
|
992
|
+
using its D-Bus backend. You can use this to export extra objects on the
|
993
|
+
bus, that need to exist before the application tries to own the bus name.
|
994
|
+
The function is passed the <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> to to session bus, and the
|
995
|
+
object path that <a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> will use to export is D-Bus API.
|
996
|
+
If this function returns <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, registration will proceed; otherwise
|
997
|
+
registration will abort. Since: 2.34</td>
|
998
|
+
</tr>
|
999
|
+
<tr>
|
1000
|
+
<td><p><span class="term"><em class="structfield"><code><a name="GApplicationClass.dbus-unregister"></a>dbus_unregister</code></em> ()</span></p></td>
|
1001
|
+
<td>invoked locally during unregistration, if the application
|
1002
|
+
is using its D-Bus backend. Use this to undo anything done by the
|
1003
|
+
<em class="parameter"><code>dbus_register</code></em> vfunc. Since: 2.34</td>
|
650
1004
|
</tr>
|
651
1005
|
</tbody>
|
652
1006
|
</table></div>
|
@@ -654,23 +1008,27 @@ if the use-count is non-zero</td>
|
|
654
1008
|
</div>
|
655
1009
|
<hr>
|
656
1010
|
<div class="refsect2">
|
657
|
-
<a name="GApplicationFlags"></a><h3>enum GApplicationFlags</h3>
|
658
|
-
<pre class="programlisting">typedef enum
|
659
|
-
{
|
1011
|
+
<a name="GApplicationFlags-enum"></a><h3>enum GApplicationFlags</h3>
|
1012
|
+
<pre class="programlisting">typedef enum {
|
660
1013
|
G_APPLICATION_FLAGS_NONE,
|
661
1014
|
G_APPLICATION_IS_SERVICE = (1 << 0),
|
662
1015
|
G_APPLICATION_IS_LAUNCHER = (1 << 1),
|
663
1016
|
|
664
1017
|
G_APPLICATION_HANDLES_OPEN = (1 << 2),
|
665
1018
|
G_APPLICATION_HANDLES_COMMAND_LINE = (1 << 3),
|
666
|
-
G_APPLICATION_SEND_ENVIRONMENT = (1 << 4)
|
1019
|
+
G_APPLICATION_SEND_ENVIRONMENT = (1 << 4),
|
1020
|
+
|
1021
|
+
G_APPLICATION_NON_UNIQUE = (1 << 5)
|
667
1022
|
} GApplicationFlags;
|
668
1023
|
</pre>
|
669
1024
|
<p>
|
670
1025
|
Flags used to define the behaviour of a <a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a>.
|
671
1026
|
</p>
|
672
|
-
<div class="variablelist"><table border="0">
|
1027
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1028
|
+
<colgroup>
|
673
1029
|
<col align="left" valign="top">
|
1030
|
+
<col>
|
1031
|
+
</colgroup>
|
674
1032
|
<tbody>
|
675
1033
|
<tr>
|
676
1034
|
<td><p><a name="G-APPLICATION-FLAGS-NONE:CAPS"></a><span class="term"><code class="literal">G_APPLICATION_FLAGS_NONE</code></span></p></td>
|
@@ -718,6 +1076,16 @@ Flags used to define the behaviour of a <a class="link" href="GApplication.html"
|
|
718
1076
|
<a class="link" href="GApplicationCommandLine.html#g-application-command-line-getenv" title="g_application_command_line_getenv ()"><code class="function">g_application_command_line_getenv()</code></a>.
|
719
1077
|
</td>
|
720
1078
|
</tr>
|
1079
|
+
<tr>
|
1080
|
+
<td><p><a name="G-APPLICATION-NON-UNIQUE:CAPS"></a><span class="term"><code class="literal">G_APPLICATION_NON_UNIQUE</code></span></p></td>
|
1081
|
+
<td>Make no attempts to do any of the typical
|
1082
|
+
single-instance application negotiation, even if the application
|
1083
|
+
ID is given. The application neither attempts to become the
|
1084
|
+
owner of the application ID nor does it check if an existing
|
1085
|
+
owner already exists. Everything occurs in the local process.
|
1086
|
+
Since: 2.30.
|
1087
|
+
</td>
|
1088
|
+
</tr>
|
721
1089
|
</tbody>
|
722
1090
|
</table></div>
|
723
1091
|
<p class="since">Since 2.28</p>
|
@@ -725,7 +1093,7 @@ Flags used to define the behaviour of a <a class="link" href="GApplication.html"
|
|
725
1093
|
<hr>
|
726
1094
|
<div class="refsect2">
|
727
1095
|
<a name="g-application-id-is-valid"></a><h3>g_application_id_is_valid ()</h3>
|
728
|
-
<pre class="programlisting"><a href="
|
1096
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_application_id_is_valid (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *application_id</code></em>);</pre>
|
729
1097
|
<p>
|
730
1098
|
Checks if <em class="parameter"><code>application_id</code></em> is a valid application identifier.
|
731
1099
|
</p>
|
@@ -737,7 +1105,7 @@ A valid ID is required for calls to <a class="link" href="GApplication.html#g-ap
|
|
737
1105
|
For convenience, the restrictions on application identifiers are
|
738
1106
|
reproduced here:
|
739
1107
|
</p>
|
740
|
-
<div class="itemizedlist"><ul class="itemizedlist"
|
1108
|
+
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
|
741
1109
|
<li class="listitem">Application identifiers must contain only the ASCII characters "[A-Z][a-z][0-9]_-." and must not begin with a digit.</li>
|
742
1110
|
<li class="listitem">Application identifiers must contain at least one '.' (period) character (and thus at least three elements).</li>
|
743
1111
|
<li class="listitem">Application identifiers must not begin or end with a '.' (period) character.</li>
|
@@ -746,8 +1114,11 @@ reproduced here:
|
|
746
1114
|
</ul></div>
|
747
1115
|
<p>
|
748
1116
|
</p>
|
749
|
-
<div class="variablelist"><table border="0">
|
1117
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1118
|
+
<colgroup>
|
750
1119
|
<col align="left" valign="top">
|
1120
|
+
<col>
|
1121
|
+
</colgroup>
|
751
1122
|
<tbody>
|
752
1123
|
<tr>
|
753
1124
|
<td><p><span class="term"><em class="parameter"><code>application_id</code></em> :</span></p></td>
|
@@ -756,7 +1127,7 @@ reproduced here:
|
|
756
1127
|
<tr>
|
757
1128
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
758
1129
|
<td>
|
759
|
-
<a href="
|
1130
|
+
<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>application_id</code></em> is valid</td>
|
760
1131
|
</tr>
|
761
1132
|
</tbody>
|
762
1133
|
</table></div>
|
@@ -764,23 +1135,29 @@ reproduced here:
|
|
764
1135
|
<hr>
|
765
1136
|
<div class="refsect2">
|
766
1137
|
<a name="g-application-new"></a><h3>g_application_new ()</h3>
|
767
|
-
<pre class="programlisting"><a class="link" href="GApplication.html" title="GApplication"><span class="returnvalue">GApplication</span></a> *
|
1138
|
+
<pre class="programlisting"><a class="link" href="GApplication.html" title="GApplication"><span class="returnvalue">GApplication</span></a> * g_application_new (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *application_id</code></em>,
|
768
1139
|
<em class="parameter"><code><a class="link" href="GApplication.html#GApplicationFlags"><span class="type">GApplicationFlags</span></a> flags</code></em>);</pre>
|
769
1140
|
<p>
|
770
1141
|
Creates a new <a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> instance.
|
771
1142
|
</p>
|
772
1143
|
<p>
|
773
|
-
|
1144
|
+
If non-<a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the application id must be valid. See
|
1145
|
+
<a class="link" href="GApplication.html#g-application-id-is-valid" title="g_application_id_is_valid ()"><code class="function">g_application_id_is_valid()</code></a>.
|
774
1146
|
</p>
|
775
1147
|
<p>
|
776
|
-
|
1148
|
+
If no application ID is given then some features of <a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a>
|
1149
|
+
(most notably application uniqueness) will be disabled.
|
777
1150
|
</p>
|
778
|
-
<div class="variablelist"><table border="0">
|
1151
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1152
|
+
<colgroup>
|
779
1153
|
<col align="left" valign="top">
|
1154
|
+
<col>
|
1155
|
+
</colgroup>
|
780
1156
|
<tbody>
|
781
1157
|
<tr>
|
782
1158
|
<td><p><span class="term"><em class="parameter"><code>application_id</code></em> :</span></p></td>
|
783
|
-
<td>the application id</
|
1159
|
+
<td>the application id. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1160
|
+
</td>
|
784
1161
|
</tr>
|
785
1162
|
<tr>
|
786
1163
|
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
|
@@ -796,13 +1173,15 @@ The application id must be valid. See <a class="link" href="GApplication.html#g
|
|
796
1173
|
<hr>
|
797
1174
|
<div class="refsect2">
|
798
1175
|
<a name="g-application-get-application-id"></a><h3>g_application_get_application_id ()</h3>
|
799
|
-
<pre class="programlisting">const <a href="
|
800
|
-
(<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>);</pre>
|
1176
|
+
<pre class="programlisting">const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * g_application_get_application_id (<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>);</pre>
|
801
1177
|
<p>
|
802
1178
|
Gets the unique identifier for <em class="parameter"><code>application</code></em>.
|
803
1179
|
</p>
|
804
|
-
<div class="variablelist"><table border="0">
|
1180
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1181
|
+
<colgroup>
|
805
1182
|
<col align="left" valign="top">
|
1183
|
+
<col>
|
1184
|
+
</colgroup>
|
806
1185
|
<tbody>
|
807
1186
|
<tr>
|
808
1187
|
<td><p><span class="term"><em class="parameter"><code>application</code></em> :</span></p></td>
|
@@ -822,7 +1201,7 @@ Gets the unique identifier for <em class="parameter"><code>application</code></e
|
|
822
1201
|
<div class="refsect2">
|
823
1202
|
<a name="g-application-set-application-id"></a><h3>g_application_set_application_id ()</h3>
|
824
1203
|
<pre class="programlisting"><span class="returnvalue">void</span> g_application_set_application_id (<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>,
|
825
|
-
<em class="parameter"><code>const <a href="
|
1204
|
+
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *application_id</code></em>);</pre>
|
826
1205
|
<p>
|
827
1206
|
Sets the unique identifier for <em class="parameter"><code>application</code></em>.
|
828
1207
|
</p>
|
@@ -831,10 +1210,14 @@ The application id can only be modified if <em class="parameter"><code>applicati
|
|
831
1210
|
been registered.
|
832
1211
|
</p>
|
833
1212
|
<p>
|
834
|
-
|
1213
|
+
If non-<a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the application id must be valid. See
|
1214
|
+
<a class="link" href="GApplication.html#g-application-id-is-valid" title="g_application_id_is_valid ()"><code class="function">g_application_id_is_valid()</code></a>.
|
835
1215
|
</p>
|
836
|
-
<div class="variablelist"><table border="0">
|
1216
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1217
|
+
<colgroup>
|
837
1218
|
<col align="left" valign="top">
|
1219
|
+
<col>
|
1220
|
+
</colgroup>
|
838
1221
|
<tbody>
|
839
1222
|
<tr>
|
840
1223
|
<td><p><span class="term"><em class="parameter"><code>application</code></em> :</span></p></td>
|
@@ -843,7 +1226,7 @@ The application id must be valid. See <a class="link" href="GApplication.html#g
|
|
843
1226
|
</tr>
|
844
1227
|
<tr>
|
845
1228
|
<td><p><span class="term"><em class="parameter"><code>application_id</code></em> :</span></p></td>
|
846
|
-
<td>the identifier for <em class="parameter"><code>application</code></em>
|
1229
|
+
<td>the identifier for <em class="parameter"><code>application</code></em>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
847
1230
|
</td>
|
848
1231
|
</tr>
|
849
1232
|
</tbody>
|
@@ -853,7 +1236,7 @@ The application id must be valid. See <a class="link" href="GApplication.html#g
|
|
853
1236
|
<hr>
|
854
1237
|
<div class="refsect2">
|
855
1238
|
<a name="g-application-get-inactivity-timeout"></a><h3>g_application_get_inactivity_timeout ()</h3>
|
856
|
-
<pre class="programlisting"><a href="
|
1239
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> g_application_get_inactivity_timeout
|
857
1240
|
(<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>);</pre>
|
858
1241
|
<p>
|
859
1242
|
Gets the current inactivity timeout for the application.
|
@@ -862,8 +1245,11 @@ Gets the current inactivity timeout for the application.
|
|
862
1245
|
This is the amount of time (in milliseconds) after the last call to
|
863
1246
|
<a class="link" href="GApplication.html#g-application-release" title="g_application_release ()"><code class="function">g_application_release()</code></a> before the application stops running.
|
864
1247
|
</p>
|
865
|
-
<div class="variablelist"><table border="0">
|
1248
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1249
|
+
<colgroup>
|
866
1250
|
<col align="left" valign="top">
|
1251
|
+
<col>
|
1252
|
+
</colgroup>
|
867
1253
|
<tbody>
|
868
1254
|
<tr>
|
869
1255
|
<td><p><span class="term"><em class="parameter"><code>application</code></em> :</span></p></td>
|
@@ -883,7 +1269,7 @@ This is the amount of time (in milliseconds) after the last call to
|
|
883
1269
|
<a name="g-application-set-inactivity-timeout"></a><h3>g_application_set_inactivity_timeout ()</h3>
|
884
1270
|
<pre class="programlisting"><span class="returnvalue">void</span> g_application_set_inactivity_timeout
|
885
1271
|
(<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>,
|
886
|
-
<em class="parameter"><code><a href="
|
1272
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> inactivity_timeout</code></em>);</pre>
|
887
1273
|
<p>
|
888
1274
|
Sets the current inactivity timeout for the application.
|
889
1275
|
</p>
|
@@ -896,8 +1282,11 @@ This call has no side effects of its own. The value set here is only
|
|
896
1282
|
used for next time <a class="link" href="GApplication.html#g-application-release" title="g_application_release ()"><code class="function">g_application_release()</code></a> drops the use count to
|
897
1283
|
zero. Any timeouts currently in progress are not impacted.
|
898
1284
|
</p>
|
899
|
-
<div class="variablelist"><table border="0">
|
1285
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1286
|
+
<colgroup>
|
900
1287
|
<col align="left" valign="top">
|
1288
|
+
<col>
|
1289
|
+
</colgroup>
|
901
1290
|
<tbody>
|
902
1291
|
<tr>
|
903
1292
|
<td><p><span class="term"><em class="parameter"><code>application</code></em> :</span></p></td>
|
@@ -922,8 +1311,11 @@ Gets the flags for <em class="parameter"><code>application</code></em>.
|
|
922
1311
|
<p>
|
923
1312
|
See <a class="link" href="GApplication.html#GApplicationFlags"><span class="type">GApplicationFlags</span></a>.
|
924
1313
|
</p>
|
925
|
-
<div class="variablelist"><table border="0">
|
1314
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1315
|
+
<colgroup>
|
926
1316
|
<col align="left" valign="top">
|
1317
|
+
<col>
|
1318
|
+
</colgroup>
|
927
1319
|
<tbody>
|
928
1320
|
<tr>
|
929
1321
|
<td><p><span class="term"><em class="parameter"><code>application</code></em> :</span></p></td>
|
@@ -954,8 +1346,11 @@ registered.
|
|
954
1346
|
<p>
|
955
1347
|
See <a class="link" href="GApplication.html#GApplicationFlags"><span class="type">GApplicationFlags</span></a>.
|
956
1348
|
</p>
|
957
|
-
<div class="variablelist"><table border="0">
|
1349
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1350
|
+
<colgroup>
|
958
1351
|
<col align="left" valign="top">
|
1352
|
+
<col>
|
1353
|
+
</colgroup>
|
959
1354
|
<tbody>
|
960
1355
|
<tr>
|
961
1356
|
<td><p><span class="term"><em class="parameter"><code>application</code></em> :</span></p></td>
|
@@ -973,21 +1368,111 @@ See <a class="link" href="GApplication.html#GApplicationFlags"><span class="type
|
|
973
1368
|
</div>
|
974
1369
|
<hr>
|
975
1370
|
<div class="refsect2">
|
976
|
-
<a name="g-application-
|
977
|
-
<pre class="programlisting"><span class="returnvalue">
|
978
|
-
<em class="parameter"><code><a class="link" href="GActionGroup.html" title="GActionGroup"><span class="type">GActionGroup</span></a> *action_group</code></em>);</pre>
|
1371
|
+
<a name="g-application-get-dbus-connection"></a><h3>g_application_get_dbus_connection ()</h3>
|
1372
|
+
<pre class="programlisting"><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="returnvalue">GDBusConnection</span></a> * g_application_get_dbus_connection (<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>);</pre>
|
979
1373
|
<p>
|
980
|
-
|
1374
|
+
Gets the <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> being used by the application, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
981
1375
|
</p>
|
982
1376
|
<p>
|
983
|
-
|
1377
|
+
If <a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> is using its D-Bus backend then this function will
|
1378
|
+
return the <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> being used for uniqueness and
|
1379
|
+
communication with the desktop environment and other instances of the
|
1380
|
+
application.
|
984
1381
|
</p>
|
985
1382
|
<p>
|
986
|
-
|
987
|
-
|
1383
|
+
If <a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> is not using D-Bus then this function will return
|
1384
|
+
<a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. This includes the situation where the D-Bus backend would
|
1385
|
+
normally be in use but we were unable to connect to the bus.
|
1386
|
+
</p>
|
1387
|
+
<p>
|
1388
|
+
This function must not be called before the application has been
|
1389
|
+
registered. See <a class="link" href="GApplication.html#g-application-get-is-registered" title="g_application_get_is_registered ()"><code class="function">g_application_get_is_registered()</code></a>.
|
988
1390
|
</p>
|
989
|
-
<div class="variablelist"><table border="0">
|
1391
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1392
|
+
<colgroup>
|
990
1393
|
<col align="left" valign="top">
|
1394
|
+
<col>
|
1395
|
+
</colgroup>
|
1396
|
+
<tbody>
|
1397
|
+
<tr>
|
1398
|
+
<td><p><span class="term"><em class="parameter"><code>application</code></em> :</span></p></td>
|
1399
|
+
<td>a <a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a>
|
1400
|
+
</td>
|
1401
|
+
</tr>
|
1402
|
+
<tr>
|
1403
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1404
|
+
<td>a <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a>, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
1405
|
+
</td>
|
1406
|
+
</tr>
|
1407
|
+
</tbody>
|
1408
|
+
</table></div>
|
1409
|
+
<p class="since">Since 2.34</p>
|
1410
|
+
</div>
|
1411
|
+
<hr>
|
1412
|
+
<div class="refsect2">
|
1413
|
+
<a name="g-application-get-dbus-object-path"></a><h3>g_application_get_dbus_object_path ()</h3>
|
1414
|
+
<pre class="programlisting">const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * g_application_get_dbus_object_path (<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>);</pre>
|
1415
|
+
<p>
|
1416
|
+
Gets the D-Bus object path being used by the application, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
1417
|
+
</p>
|
1418
|
+
<p>
|
1419
|
+
If <a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> is using its D-Bus backend then this function will
|
1420
|
+
return the D-Bus object path that <a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> is using. If the
|
1421
|
+
application is the primary instance then there is an object published
|
1422
|
+
at this path. If the application is not the primary instance then
|
1423
|
+
the result of this function is undefined.
|
1424
|
+
</p>
|
1425
|
+
<p>
|
1426
|
+
If <a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> is not using D-Bus then this function will return
|
1427
|
+
<a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. This includes the situation where the D-Bus backend would
|
1428
|
+
normally be in use but we were unable to connect to the bus.
|
1429
|
+
</p>
|
1430
|
+
<p>
|
1431
|
+
This function must not be called before the application has been
|
1432
|
+
registered. See <a class="link" href="GApplication.html#g-application-get-is-registered" title="g_application_get_is_registered ()"><code class="function">g_application_get_is_registered()</code></a>.
|
1433
|
+
</p>
|
1434
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1435
|
+
<colgroup>
|
1436
|
+
<col align="left" valign="top">
|
1437
|
+
<col>
|
1438
|
+
</colgroup>
|
1439
|
+
<tbody>
|
1440
|
+
<tr>
|
1441
|
+
<td><p><span class="term"><em class="parameter"><code>application</code></em> :</span></p></td>
|
1442
|
+
<td>a <a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a>
|
1443
|
+
</td>
|
1444
|
+
</tr>
|
1445
|
+
<tr>
|
1446
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1447
|
+
<td>the object path, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1448
|
+
</td>
|
1449
|
+
</tr>
|
1450
|
+
</tbody>
|
1451
|
+
</table></div>
|
1452
|
+
<p class="since">Since 2.34</p>
|
1453
|
+
</div>
|
1454
|
+
<hr>
|
1455
|
+
<div class="refsect2">
|
1456
|
+
<a name="g-application-set-action-group"></a><h3>g_application_set_action_group ()</h3>
|
1457
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_application_set_action_group (<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>,
|
1458
|
+
<em class="parameter"><code><a class="link" href="GActionGroup.html" title="GActionGroup"><span class="type">GActionGroup</span></a> *action_group</code></em>);</pre>
|
1459
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1460
|
+
<h3 class="title">Warning</h3>
|
1461
|
+
<p><code class="literal">g_application_set_action_group</code> has been deprecated since version 2.32 and should not be used in newly-written code. Use the <a class="link" href="GActionMap.html" title="GActionMap"><span class="type">GActionMap</span></a> interface instead. Never ever
|
1462
|
+
mix use of this API with use of <a class="link" href="GActionMap.html" title="GActionMap"><span class="type">GActionMap</span></a> on the same <em class="parameter"><code>application</code></em>
|
1463
|
+
or things will go very badly wrong. This function is known to
|
1464
|
+
introduce buggy behaviour (ie: signals not emitted on changes to the
|
1465
|
+
action group), so you should really use <a class="link" href="GActionMap.html" title="GActionMap"><span class="type">GActionMap</span></a> instead.</p>
|
1466
|
+
</div>
|
1467
|
+
<p>
|
1468
|
+
This used to be how actions were associated with a <a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a>.
|
1469
|
+
Now there is <a class="link" href="GActionMap.html" title="GActionMap"><span class="type">GActionMap</span></a> for that.
|
1470
|
+
</p>
|
1471
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1472
|
+
<colgroup>
|
1473
|
+
<col align="left" valign="top">
|
1474
|
+
<col>
|
1475
|
+
</colgroup>
|
991
1476
|
<tbody>
|
992
1477
|
<tr>
|
993
1478
|
<td><p><span class="term"><em class="parameter"><code>application</code></em> :</span></p></td>
|
@@ -996,7 +1481,7 @@ registered.
|
|
996
1481
|
</tr>
|
997
1482
|
<tr>
|
998
1483
|
<td><p><span class="term"><em class="parameter"><code>action_group</code></em> :</span></p></td>
|
999
|
-
<td>a <a class="link" href="GActionGroup.html" title="GActionGroup"><span class="type">GActionGroup</span></a>, or <a href="
|
1484
|
+
<td>a <a class="link" href="GActionGroup.html" title="GActionGroup"><span class="type">GActionGroup</span></a>, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1000
1485
|
</td>
|
1001
1486
|
</tr>
|
1002
1487
|
</tbody>
|
@@ -1006,7 +1491,7 @@ registered.
|
|
1006
1491
|
<hr>
|
1007
1492
|
<div class="refsect2">
|
1008
1493
|
<a name="g-application-get-is-registered"></a><h3>g_application_get_is_registered ()</h3>
|
1009
|
-
<pre class="programlisting"><a href="
|
1494
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_application_get_is_registered (<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>);</pre>
|
1010
1495
|
<p>
|
1011
1496
|
Checks if <em class="parameter"><code>application</code></em> is registered.
|
1012
1497
|
</p>
|
@@ -1014,8 +1499,11 @@ Checks if <em class="parameter"><code>application</code></em> is registered.
|
|
1014
1499
|
An application is registered if <a class="link" href="GApplication.html#g-application-register" title="g_application_register ()"><code class="function">g_application_register()</code></a> has been
|
1015
1500
|
successfully called.
|
1016
1501
|
</p>
|
1017
|
-
<div class="variablelist"><table border="0">
|
1502
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1503
|
+
<colgroup>
|
1018
1504
|
<col align="left" valign="top">
|
1505
|
+
<col>
|
1506
|
+
</colgroup>
|
1019
1507
|
<tbody>
|
1020
1508
|
<tr>
|
1021
1509
|
<td><p><span class="term"><em class="parameter"><code>application</code></em> :</span></p></td>
|
@@ -1025,7 +1513,7 @@ successfully called.
|
|
1025
1513
|
<tr>
|
1026
1514
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1027
1515
|
<td>
|
1028
|
-
<a href="
|
1516
|
+
<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>application</code></em> is registered</td>
|
1029
1517
|
</tr>
|
1030
1518
|
</tbody>
|
1031
1519
|
</table></div>
|
@@ -1034,7 +1522,7 @@ successfully called.
|
|
1034
1522
|
<hr>
|
1035
1523
|
<div class="refsect2">
|
1036
1524
|
<a name="g-application-get-is-remote"></a><h3>g_application_get_is_remote ()</h3>
|
1037
|
-
<pre class="programlisting"><a href="
|
1525
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_application_get_is_remote (<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>);</pre>
|
1038
1526
|
<p>
|
1039
1527
|
Checks if <em class="parameter"><code>application</code></em> is remote.
|
1040
1528
|
</p>
|
@@ -1045,12 +1533,15 @@ perform actions on <em class="parameter"><code>application</code></em> will resu
|
|
1045
1533
|
performed by the primary instance.
|
1046
1534
|
</p>
|
1047
1535
|
<p>
|
1048
|
-
The value of this property
|
1536
|
+
The value of this property cannot be accessed before
|
1049
1537
|
<a class="link" href="GApplication.html#g-application-register" title="g_application_register ()"><code class="function">g_application_register()</code></a> has been called. See
|
1050
1538
|
<a class="link" href="GApplication.html#g-application-get-is-registered" title="g_application_get_is_registered ()"><code class="function">g_application_get_is_registered()</code></a>.
|
1051
1539
|
</p>
|
1052
|
-
<div class="variablelist"><table border="0">
|
1540
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1541
|
+
<colgroup>
|
1053
1542
|
<col align="left" valign="top">
|
1543
|
+
<col>
|
1544
|
+
</colgroup>
|
1054
1545
|
<tbody>
|
1055
1546
|
<tr>
|
1056
1547
|
<td><p><span class="term"><em class="parameter"><code>application</code></em> :</span></p></td>
|
@@ -1060,7 +1551,7 @@ The value of this property can not be accessed before
|
|
1060
1551
|
<tr>
|
1061
1552
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1062
1553
|
<td>
|
1063
|
-
<a href="
|
1554
|
+
<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>application</code></em> is remote</td>
|
1064
1555
|
</tr>
|
1065
1556
|
</tbody>
|
1066
1557
|
</table></div>
|
@@ -1069,9 +1560,9 @@ The value of this property can not be accessed before
|
|
1069
1560
|
<hr>
|
1070
1561
|
<div class="refsect2">
|
1071
1562
|
<a name="g-application-register"></a><h3>g_application_register ()</h3>
|
1072
|
-
<pre class="programlisting"><a href="
|
1563
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_application_register (<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>,
|
1073
1564
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
1074
|
-
<em class="parameter"><code><a href="
|
1565
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1075
1566
|
<p>
|
1076
1567
|
Attempts registration of the application.
|
1077
1568
|
</p>
|
@@ -1083,22 +1574,27 @@ application identifier as a unique bus name on the session bus using
|
|
1083
1574
|
GDBus.
|
1084
1575
|
</p>
|
1085
1576
|
<p>
|
1577
|
+
If there is no application ID or if <a class="link" href="GApplication.html#G-APPLICATION-NON-UNIQUE:CAPS"><code class="literal">G_APPLICATION_NON_UNIQUE</code></a> was
|
1578
|
+
given, then this process will always become the primary instance.
|
1579
|
+
</p>
|
1580
|
+
<p>
|
1086
1581
|
Due to the internal architecture of GDBus, method calls can be
|
1087
1582
|
dispatched at any time (even if a main loop is not running). For
|
1088
1583
|
this reason, you must ensure that any object paths that you wish to
|
1089
1584
|
register are registered before calling this function.
|
1090
1585
|
</p>
|
1091
1586
|
<p>
|
1092
|
-
If the application has already been registered then <a href="
|
1587
|
+
If the application has already been registered then <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> is
|
1093
1588
|
returned with no work performed.
|
1094
1589
|
</p>
|
1095
1590
|
<p>
|
1096
1591
|
The <a class="link" href="GApplication.html#GApplication-startup" title='The "startup" signal'><span class="type">"startup"</span></a> signal is emitted if registration succeeds
|
1097
|
-
and <em class="parameter"><code>application</code></em> is the primary instance
|
1592
|
+
and <em class="parameter"><code>application</code></em> is the primary instance (including the non-unique
|
1593
|
+
case).
|
1098
1594
|
</p>
|
1099
1595
|
<p>
|
1100
1596
|
In the event of an error (such as <em class="parameter"><code>cancellable</code></em> being cancelled, or a
|
1101
|
-
failure to connect to the session bus), <a href="
|
1597
|
+
failure to connect to the session bus), <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> is returned and <em class="parameter"><code>error</code></em>
|
1102
1598
|
is set appropriately.
|
1103
1599
|
</p>
|
1104
1600
|
<p>
|
@@ -1106,8 +1602,11 @@ Note: the return value of this function is not an indicator that this
|
|
1106
1602
|
instance is or is not the primary instance of the application. See
|
1107
1603
|
<a class="link" href="GApplication.html#g-application-get-is-remote" title="g_application_get_is_remote ()"><code class="function">g_application_get_is_remote()</code></a> for that.
|
1108
1604
|
</p>
|
1109
|
-
<div class="variablelist"><table border="0">
|
1605
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1606
|
+
<colgroup>
|
1110
1607
|
<col align="left" valign="top">
|
1608
|
+
<col>
|
1609
|
+
</colgroup>
|
1111
1610
|
<tbody>
|
1112
1611
|
<tr>
|
1113
1612
|
<td><p><span class="term"><em class="parameter"><code>application</code></em> :</span></p></td>
|
@@ -1116,18 +1615,18 @@ instance is or is not the primary instance of the application. See
|
|
1116
1615
|
</tr>
|
1117
1616
|
<tr>
|
1118
1617
|
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
1119
|
-
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a>, or <a href="
|
1618
|
+
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a>, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1120
1619
|
</td>
|
1121
1620
|
</tr>
|
1122
1621
|
<tr>
|
1123
1622
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1124
|
-
<td>a pointer to a NULL <a href="
|
1623
|
+
<td>a pointer to a NULL <a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1125
1624
|
</td>
|
1126
1625
|
</tr>
|
1127
1626
|
<tr>
|
1128
1627
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1129
1628
|
<td>
|
1130
|
-
<a href="
|
1629
|
+
<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if registration succeeded</td>
|
1131
1630
|
</tr>
|
1132
1631
|
</tbody>
|
1133
1632
|
</table></div>
|
@@ -1142,14 +1641,17 @@ Increases the use count of <em class="parameter"><code>application</code></em>.
|
|
1142
1641
|
</p>
|
1143
1642
|
<p>
|
1144
1643
|
Use this function to indicate that the application has a reason to
|
1145
|
-
continue to run. For example, <a class="link" href="GApplication.html#g-application-hold" title="g_application_hold ()"><code class="function">g_application_hold()</code></a> is called by GTK+
|
1644
|
+
continue to run. For example, <a class="link" href="GApplication.html#g-application-hold" title="g_application_hold ()"><code class="function">g_application_hold()</code></a> is called by GTK+
|
1146
1645
|
when a toplevel window is on the screen.
|
1147
1646
|
</p>
|
1148
1647
|
<p>
|
1149
1648
|
To cancel the hold, call <a class="link" href="GApplication.html#g-application-release" title="g_application_release ()"><code class="function">g_application_release()</code></a>.
|
1150
1649
|
</p>
|
1151
|
-
<div class="variablelist"><table border="0">
|
1650
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1651
|
+
<colgroup>
|
1152
1652
|
<col align="left" valign="top">
|
1653
|
+
<col>
|
1654
|
+
</colgroup>
|
1153
1655
|
<tbody><tr>
|
1154
1656
|
<td><p><span class="term"><em class="parameter"><code>application</code></em> :</span></p></td>
|
1155
1657
|
<td>a <a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a>
|
@@ -1171,8 +1673,11 @@ When the use count reaches zero, the application will stop running.
|
|
1171
1673
|
Never call this function except to cancel the effect of a previous
|
1172
1674
|
call to <a class="link" href="GApplication.html#g-application-hold" title="g_application_hold ()"><code class="function">g_application_hold()</code></a>.
|
1173
1675
|
</p>
|
1174
|
-
<div class="variablelist"><table border="0">
|
1676
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1677
|
+
<colgroup>
|
1175
1678
|
<col align="left" valign="top">
|
1679
|
+
<col>
|
1680
|
+
</colgroup>
|
1176
1681
|
<tbody><tr>
|
1177
1682
|
<td><p><span class="term"><em class="parameter"><code>application</code></em> :</span></p></td>
|
1178
1683
|
<td>a <a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a>
|
@@ -1182,20 +1687,54 @@ call to <a class="link" href="GApplication.html#g-application-hold" title="g_app
|
|
1182
1687
|
</div>
|
1183
1688
|
<hr>
|
1184
1689
|
<div class="refsect2">
|
1690
|
+
<a name="g-application-quit"></a><h3>g_application_quit ()</h3>
|
1691
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_application_quit (<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>);</pre>
|
1692
|
+
<p>
|
1693
|
+
Immediately quits the application.
|
1694
|
+
</p>
|
1695
|
+
<p>
|
1696
|
+
Upon return to the mainloop, <a class="link" href="GApplication.html#g-application-run" title="g_application_run ()"><code class="function">g_application_run()</code></a> will return,
|
1697
|
+
calling only the 'shutdown' function before doing so.
|
1698
|
+
</p>
|
1699
|
+
<p>
|
1700
|
+
The hold count is ignored.
|
1701
|
+
</p>
|
1702
|
+
<p>
|
1703
|
+
The result of calling <a class="link" href="GApplication.html#g-application-run" title="g_application_run ()"><code class="function">g_application_run()</code></a> again after it returns is
|
1704
|
+
unspecified.
|
1705
|
+
</p>
|
1706
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1707
|
+
<colgroup>
|
1708
|
+
<col align="left" valign="top">
|
1709
|
+
<col>
|
1710
|
+
</colgroup>
|
1711
|
+
<tbody><tr>
|
1712
|
+
<td><p><span class="term"><em class="parameter"><code>application</code></em> :</span></p></td>
|
1713
|
+
<td>a <a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a>
|
1714
|
+
</td>
|
1715
|
+
</tr></tbody>
|
1716
|
+
</table></div>
|
1717
|
+
<p class="since">Since 2.32</p>
|
1718
|
+
</div>
|
1719
|
+
<hr>
|
1720
|
+
<div class="refsect2">
|
1185
1721
|
<a name="g-application-activate"></a><h3>g_application_activate ()</h3>
|
1186
1722
|
<pre class="programlisting"><span class="returnvalue">void</span> g_application_activate (<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>);</pre>
|
1187
1723
|
<p>
|
1188
1724
|
Activates the application.
|
1189
1725
|
</p>
|
1190
1726
|
<p>
|
1191
|
-
In essence, this results in the <a class="link" href="GApplication.html" title="
|
1727
|
+
In essence, this results in the <a class="link" href="GApplication.html#GApplication-activate" title='The "activate" signal'><span class="type">"activate"</span></a> signal being
|
1192
1728
|
emitted in the primary instance.
|
1193
1729
|
</p>
|
1194
1730
|
<p>
|
1195
1731
|
The application must be registered before calling this function.
|
1196
1732
|
</p>
|
1197
|
-
<div class="variablelist"><table border="0">
|
1733
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1734
|
+
<colgroup>
|
1198
1735
|
<col align="left" valign="top">
|
1736
|
+
<col>
|
1737
|
+
</colgroup>
|
1199
1738
|
<tbody><tr>
|
1200
1739
|
<td><p><span class="term"><em class="parameter"><code>application</code></em> :</span></p></td>
|
1201
1740
|
<td>a <a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a>
|
@@ -1209,8 +1748,8 @@ The application must be registered before calling this function.
|
|
1209
1748
|
<a name="g-application-open"></a><h3>g_application_open ()</h3>
|
1210
1749
|
<pre class="programlisting"><span class="returnvalue">void</span> g_application_open (<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>,
|
1211
1750
|
<em class="parameter"><code><a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a> **files</code></em>,
|
1212
|
-
<em class="parameter"><code><a href="
|
1213
|
-
<em class="parameter"><code>const <a href="
|
1751
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_files</code></em>,
|
1752
|
+
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *hint</code></em>);</pre>
|
1214
1753
|
<p>
|
1215
1754
|
Opens the given files.
|
1216
1755
|
</p>
|
@@ -1231,8 +1770,11 @@ for this functionality, you should use "".
|
|
1231
1770
|
The application must be registered before calling this function
|
1232
1771
|
and it must have the <a class="link" href="GApplication.html#G-APPLICATION-HANDLES-OPEN:CAPS"><code class="literal">G_APPLICATION_HANDLES_OPEN</code></a> flag set.
|
1233
1772
|
</p>
|
1234
|
-
<div class="variablelist"><table border="0">
|
1773
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1774
|
+
<colgroup>
|
1235
1775
|
<col align="left" valign="top">
|
1776
|
+
<col>
|
1777
|
+
</colgroup>
|
1236
1778
|
<tbody>
|
1237
1779
|
<tr>
|
1238
1780
|
<td><p><span class="term"><em class="parameter"><code>application</code></em> :</span></p></td>
|
@@ -1250,7 +1792,7 @@ and it must have the <a class="link" href="GApplication.html#G-APPLICATION-HANDL
|
|
1250
1792
|
</tr>
|
1251
1793
|
<tr>
|
1252
1794
|
<td><p><span class="term"><em class="parameter"><code>hint</code></em> :</span></p></td>
|
1253
|
-
<td>a hint (or ""), but never <a href="
|
1795
|
+
<td>a hint (or ""), but never <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1254
1796
|
</td>
|
1255
1797
|
</tr>
|
1256
1798
|
</tbody>
|
@@ -1270,16 +1812,16 @@ Runs the application.
|
|
1270
1812
|
This function is intended to be run from <code class="function">main()</code> and its return value
|
1271
1813
|
is intended to be returned by <code class="function">main()</code>. Although you are expected to pass
|
1272
1814
|
the <em class="parameter"><code>argc</code></em>, <em class="parameter"><code>argv</code></em> parameters from <code class="function">main()</code> to this function, it is possible
|
1273
|
-
to pass <a href="
|
1815
|
+
to pass <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>argv</code></em> is not available or commandline handling is not
|
1274
1816
|
required.
|
1275
1817
|
</p>
|
1276
1818
|
<p>
|
1277
1819
|
First, the <code class="function">local_command_line()</code> virtual function is invoked.
|
1278
1820
|
This function always runs on the local instance. It gets passed a pointer
|
1279
|
-
to a <a href="
|
1821
|
+
to a <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated copy of <em class="parameter"><code>argv</code></em> and is expected to remove the arguments
|
1280
1822
|
that it handled (shifting up remaining arguments). See
|
1281
|
-
<a class="xref" href="GApplicationCommandLine.html#gapplication-example-cmdline2" title="Example
|
1282
|
-
parsing <em class="parameter"><code>argv</code></em> manually. Alternatively, you may use the <a href="
|
1823
|
+
<a class="xref" href="GApplicationCommandLine.html#gapplication-example-cmdline2" title="Example 23. Split commandline handling">Example 23, “Split commandline handling”</a> for an example of
|
1824
|
+
parsing <em class="parameter"><code>argv</code></em> manually. Alternatively, you may use the <a href="./../glib/glib/glib-Commandline-option-parser.html#GOptionContext"><span class="type">GOptionContext</span></a> API,
|
1283
1825
|
after setting <code class="literal">argc = g_strv_length (argv);</code>.
|
1284
1826
|
</p>
|
1285
1827
|
<p>
|
@@ -1288,22 +1830,22 @@ variable which can used to set the exit status that is returned from
|
|
1288
1830
|
<a class="link" href="GApplication.html#g-application-run" title="g_application_run ()"><code class="function">g_application_run()</code></a>.
|
1289
1831
|
</p>
|
1290
1832
|
<p>
|
1291
|
-
If <code class="function">local_command_line()</code> returns <a href="
|
1833
|
+
If <code class="function">local_command_line()</code> returns <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the command line is expected
|
1292
1834
|
to be completely handled, including possibly registering as the primary
|
1293
1835
|
instance, calling <a class="link" href="GApplication.html#g-application-activate" title="g_application_activate ()"><code class="function">g_application_activate()</code></a> or <a class="link" href="GApplication.html#g-application-open" title="g_application_open ()"><code class="function">g_application_open()</code></a>, etc.
|
1294
1836
|
</p>
|
1295
1837
|
<p>
|
1296
|
-
If <code class="function">local_command_line()</code> returns <a href="
|
1838
|
+
If <code class="function">local_command_line()</code> returns <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> then the application is registered
|
1297
1839
|
and the <a class="link" href="GApplication.html#GApplication-command-line" title='The "command-line" signal'><span class="type">"command-line"</span></a> signal is emitted in the primary
|
1298
1840
|
instance (which may or may not be this instance). The signal handler
|
1299
|
-
gets passed a <span class="type">
|
1841
|
+
gets passed a <a class="link" href="GApplicationCommandLine.html" title="GApplicationCommandLine"><span class="type">GApplicationCommandLine</span></a> object that (among other things)
|
1300
1842
|
contains the remaining commandline arguments that have not been handled
|
1301
1843
|
by <code class="function">local_command_line()</code>.
|
1302
1844
|
</p>
|
1303
1845
|
<p>
|
1304
1846
|
If the application has the <a class="link" href="GApplication.html#G-APPLICATION-HANDLES-COMMAND-LINE:CAPS"><code class="literal">G_APPLICATION_HANDLES_COMMAND_LINE</code></a>
|
1305
1847
|
flag set then the default implementation of <code class="function">local_command_line()</code>
|
1306
|
-
always returns <a href="
|
1848
|
+
always returns <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> immediately, resulting in the commandline
|
1307
1849
|
always being handled in the primary instance.
|
1308
1850
|
</p>
|
1309
1851
|
<p>
|
@@ -1319,31 +1861,34 @@ are assumed to be filenames and <a class="link" href="GApplication.html#g-applic
|
|
1319
1861
|
<p>
|
1320
1862
|
If you need to handle commandline arguments that are not filenames,
|
1321
1863
|
and you don't mind commandline handling to happen in the primary
|
1322
|
-
instance, you should set <code class="literal">
|
1864
|
+
instance, you should set <a class="link" href="GApplication.html#G-APPLICATION-HANDLES-COMMAND-LINE:CAPS"><code class="literal">G_APPLICATION_HANDLES_COMMAND_LINE</code></a> and
|
1323
1865
|
process the commandline arguments in your <a class="link" href="GApplication.html#GApplication-command-line" title='The "command-line" signal'><span class="type">"command-line"</span></a>
|
1324
|
-
signal handler, either manually or using the <a href="
|
1866
|
+
signal handler, either manually or using the <a href="./../glib/glib/glib-Commandline-option-parser.html#GOptionContext"><span class="type">GOptionContext</span></a> API.
|
1325
1867
|
</p>
|
1326
1868
|
<p>
|
1327
1869
|
If you are interested in doing more complicated local handling of the
|
1328
1870
|
commandline then you should implement your own <a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> subclass
|
1329
1871
|
and override <code class="function">local_command_line()</code>. In this case, you most likely want
|
1330
|
-
to return <a href="
|
1872
|
+
to return <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> from your <code class="function">local_command_line()</code> implementation to
|
1331
1873
|
suppress the default handling. See
|
1332
|
-
<a class="xref" href="GApplicationCommandLine.html#gapplication-example-cmdline2" title="Example
|
1874
|
+
<a class="xref" href="GApplicationCommandLine.html#gapplication-example-cmdline2" title="Example 23. Split commandline handling">Example 23, “Split commandline handling”</a> for an example.
|
1333
1875
|
</p>
|
1334
1876
|
<p>
|
1335
1877
|
If, after the above is done, the use count of the application is zero
|
1336
1878
|
then the exit status is returned immediately. If the use count is
|
1337
|
-
non-zero then the
|
1338
|
-
at which point 0 is returned.
|
1879
|
+
non-zero then the default main context is iterated until the use count
|
1880
|
+
falls to zero, at which point 0 is returned.
|
1339
1881
|
</p>
|
1340
1882
|
<p>
|
1341
1883
|
If the <a class="link" href="GApplication.html#G-APPLICATION-IS-SERVICE:CAPS"><code class="literal">G_APPLICATION_IS_SERVICE</code></a> flag is set, then the exiting at
|
1342
1884
|
use count of zero is delayed for a while (ie: the instance stays
|
1343
1885
|
around to provide its <span class="emphasis"><em>service</em></span> to others).
|
1344
1886
|
</p>
|
1345
|
-
<div class="variablelist"><table border="0">
|
1887
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1888
|
+
<colgroup>
|
1346
1889
|
<col align="left" valign="top">
|
1890
|
+
<col>
|
1891
|
+
</colgroup>
|
1347
1892
|
<tbody>
|
1348
1893
|
<tr>
|
1349
1894
|
<td><p><span class="term"><em class="parameter"><code>application</code></em> :</span></p></td>
|
@@ -1352,11 +1897,11 @@ around to provide its <span class="emphasis"><em>service</em></span> to others).
|
|
1352
1897
|
</tr>
|
1353
1898
|
<tr>
|
1354
1899
|
<td><p><span class="term"><em class="parameter"><code>argc</code></em> :</span></p></td>
|
1355
|
-
<td>the argc from <code class="function">main()</code> (or 0 if <em class="parameter"><code>argv</code></em> is <a href="
|
1900
|
+
<td>the argc from <code class="function">main()</code> (or 0 if <em class="parameter"><code>argv</code></em> is <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>)</td>
|
1356
1901
|
</tr>
|
1357
1902
|
<tr>
|
1358
1903
|
<td><p><span class="term"><em class="parameter"><code>argv</code></em> :</span></p></td>
|
1359
|
-
<td>the argv from <code class="function">main()</code>, or <a href="
|
1904
|
+
<td>the argv from <code class="function">main()</code>, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=argc][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1360
1905
|
</td>
|
1361
1906
|
</tr>
|
1362
1907
|
<tr>
|
@@ -1367,6 +1912,60 @@ around to provide its <span class="emphasis"><em>service</em></span> to others).
|
|
1367
1912
|
</table></div>
|
1368
1913
|
<p class="since">Since 2.28</p>
|
1369
1914
|
</div>
|
1915
|
+
<hr>
|
1916
|
+
<div class="refsect2">
|
1917
|
+
<a name="g-application-set-default"></a><h3>g_application_set_default ()</h3>
|
1918
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_application_set_default (<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>);</pre>
|
1919
|
+
<p>
|
1920
|
+
Sets or unsets the default application for the process, as returned
|
1921
|
+
by <a class="link" href="GApplication.html#g-application-get-default" title="g_application_get_default ()"><code class="function">g_application_get_default()</code></a>.
|
1922
|
+
</p>
|
1923
|
+
<p>
|
1924
|
+
This function does not take its own reference on <em class="parameter"><code>application</code></em>. If
|
1925
|
+
<em class="parameter"><code>application</code></em> is destroyed then the default application will revert
|
1926
|
+
back to <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
1927
|
+
</p>
|
1928
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1929
|
+
<colgroup>
|
1930
|
+
<col align="left" valign="top">
|
1931
|
+
<col>
|
1932
|
+
</colgroup>
|
1933
|
+
<tbody><tr>
|
1934
|
+
<td><p><span class="term"><em class="parameter"><code>application</code></em> :</span></p></td>
|
1935
|
+
<td>the application to set as default, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1936
|
+
</td>
|
1937
|
+
</tr></tbody>
|
1938
|
+
</table></div>
|
1939
|
+
<p class="since">Since 2.32</p>
|
1940
|
+
</div>
|
1941
|
+
<hr>
|
1942
|
+
<div class="refsect2">
|
1943
|
+
<a name="g-application-get-default"></a><h3>g_application_get_default ()</h3>
|
1944
|
+
<pre class="programlisting"><a class="link" href="GApplication.html" title="GApplication"><span class="returnvalue">GApplication</span></a> * g_application_get_default (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
1945
|
+
<p>
|
1946
|
+
Returns the default <a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> instance for this process.
|
1947
|
+
</p>
|
1948
|
+
<p>
|
1949
|
+
Normally there is only one <a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> per process and it becomes
|
1950
|
+
the default when it is created. You can exercise more control over
|
1951
|
+
this by using <a class="link" href="GApplication.html#g-application-set-default" title="g_application_set_default ()"><code class="function">g_application_set_default()</code></a>.
|
1952
|
+
</p>
|
1953
|
+
<p>
|
1954
|
+
If there is no default application then <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned.
|
1955
|
+
</p>
|
1956
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1957
|
+
<colgroup>
|
1958
|
+
<col align="left" valign="top">
|
1959
|
+
<col>
|
1960
|
+
</colgroup>
|
1961
|
+
<tbody><tr>
|
1962
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1963
|
+
<td>the default application for this process, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
1964
|
+
</td>
|
1965
|
+
</tr></tbody>
|
1966
|
+
</table></div>
|
1967
|
+
<p class="since">Since 2.32</p>
|
1968
|
+
</div>
|
1370
1969
|
</div>
|
1371
1970
|
<div class="refsect1">
|
1372
1971
|
<a name="GApplication.property-details"></a><h2>Property Details</h2>
|
@@ -1378,7 +1977,7 @@ around to provide its <span class="emphasis"><em>service</em></span> to others).
|
|
1378
1977
|
<hr>
|
1379
1978
|
<div class="refsect2">
|
1380
1979
|
<a name="GApplication--application-id"></a><h3>The <code class="literal">"application-id"</code> property</h3>
|
1381
|
-
<pre class="programlisting"> "application-id" <a href="
|
1980
|
+
<pre class="programlisting"> "application-id" <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct</pre>
|
1382
1981
|
<p>The unique identifier for the application.</p>
|
1383
1982
|
<p>Default value: NULL</p>
|
1384
1983
|
</div>
|
@@ -1391,21 +1990,21 @@ around to provide its <span class="emphasis"><em>service</em></span> to others).
|
|
1391
1990
|
<hr>
|
1392
1991
|
<div class="refsect2">
|
1393
1992
|
<a name="GApplication--inactivity-timeout"></a><h3>The <code class="literal">"inactivity-timeout"</code> property</h3>
|
1394
|
-
<pre class="programlisting"> "inactivity-timeout" <a href="
|
1395
|
-
<p>
|
1993
|
+
<pre class="programlisting"> "inactivity-timeout" <a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write</pre>
|
1994
|
+
<p>Time (ms) to stay alive after becoming idle.</p>
|
1396
1995
|
<p>Default value: 0</p>
|
1397
1996
|
</div>
|
1398
1997
|
<hr>
|
1399
1998
|
<div class="refsect2">
|
1400
1999
|
<a name="GApplication--is-registered"></a><h3>The <code class="literal">"is-registered"</code> property</h3>
|
1401
|
-
<pre class="programlisting"> "is-registered" <a href="
|
2000
|
+
<pre class="programlisting"> "is-registered" <a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read</pre>
|
1402
2001
|
<p>If g_application_register() has been called.</p>
|
1403
2002
|
<p>Default value: FALSE</p>
|
1404
2003
|
</div>
|
1405
2004
|
<hr>
|
1406
2005
|
<div class="refsect2">
|
1407
2006
|
<a name="GApplication--is-remote"></a><h3>The <code class="literal">"is-remote"</code> property</h3>
|
1408
|
-
<pre class="programlisting"> "is-remote" <a href="
|
2007
|
+
<pre class="programlisting"> "is-remote" <a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read</pre>
|
1409
2008
|
<p>If this application instance is remote.</p>
|
1410
2009
|
<p>Default value: FALSE</p>
|
1411
2010
|
</div>
|
@@ -1415,13 +2014,16 @@ around to provide its <span class="emphasis"><em>service</em></span> to others).
|
|
1415
2014
|
<div class="refsect2">
|
1416
2015
|
<a name="GApplication-activate"></a><h3>The <code class="literal">"activate"</code> signal</h3>
|
1417
2016
|
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application,
|
1418
|
-
<a href="
|
2017
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="./../gobject/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
|
1419
2018
|
<p>
|
1420
2019
|
The ::activate signal is emitted on the primary instance when an
|
1421
2020
|
activation occurs. See <a class="link" href="GApplication.html#g-application-activate" title="g_application_activate ()"><code class="function">g_application_activate()</code></a>.
|
1422
2021
|
</p>
|
1423
|
-
<div class="variablelist"><table border="0">
|
2022
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2023
|
+
<colgroup>
|
1424
2024
|
<col align="left" valign="top">
|
2025
|
+
<col>
|
2026
|
+
</colgroup>
|
1425
2027
|
<tbody>
|
1426
2028
|
<tr>
|
1427
2029
|
<td><p><span class="term"><em class="parameter"><code>application</code></em> :</span></p></td>
|
@@ -1437,16 +2039,19 @@ activation occurs. See <a class="link" href="GApplication.html#g-application-act
|
|
1437
2039
|
<hr>
|
1438
2040
|
<div class="refsect2">
|
1439
2041
|
<a name="GApplication-command-line"></a><h3>The <code class="literal">"command-line"</code> signal</h3>
|
1440
|
-
<pre class="programlisting"><a href="
|
2042
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> user_function (<a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application,
|
1441
2043
|
<a class="link" href="GApplicationCommandLine.html" title="GApplicationCommandLine"><span class="type">GApplicationCommandLine</span></a> *command_line,
|
1442
|
-
<a href="
|
2044
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="./../gobject/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
|
1443
2045
|
<p>
|
1444
2046
|
The ::command-line signal is emitted on the primary instance when
|
1445
2047
|
a commandline is not handled locally. See <a class="link" href="GApplication.html#g-application-run" title="g_application_run ()"><code class="function">g_application_run()</code></a> and
|
1446
|
-
the <span class="type">
|
2048
|
+
the <a class="link" href="GApplicationCommandLine.html" title="GApplicationCommandLine"><span class="type">GApplicationCommandLine</span></a> documentation for more information.
|
1447
2049
|
</p>
|
1448
|
-
<div class="variablelist"><table border="0">
|
2050
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2051
|
+
<colgroup>
|
1449
2052
|
<col align="left" valign="top">
|
2053
|
+
<col>
|
2054
|
+
</colgroup>
|
1450
2055
|
<tbody>
|
1451
2056
|
<tr>
|
1452
2057
|
<td><p><span class="term"><em class="parameter"><code>application</code></em> :</span></p></td>
|
@@ -1473,16 +2078,19 @@ process. See <a class="link" href="GApplicationCommandLine.html#g-application-co
|
|
1473
2078
|
<div class="refsect2">
|
1474
2079
|
<a name="GApplication-open"></a><h3>The <code class="literal">"open"</code> signal</h3>
|
1475
2080
|
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application,
|
1476
|
-
<a href="
|
1477
|
-
<a href="
|
1478
|
-
<a href="
|
1479
|
-
<a href="
|
2081
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> files,
|
2082
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_files,
|
2083
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *hint,
|
2084
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="./../gobject/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
|
1480
2085
|
<p>
|
1481
2086
|
The ::open signal is emitted on the primary instance when there are
|
1482
2087
|
files to open. See <a class="link" href="GApplication.html#g-application-open" title="g_application_open ()"><code class="function">g_application_open()</code></a> for more information.
|
1483
2088
|
</p>
|
1484
|
-
<div class="variablelist"><table border="0">
|
2089
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2090
|
+
<colgroup>
|
1485
2091
|
<col align="left" valign="top">
|
2092
|
+
<col>
|
2093
|
+
</colgroup>
|
1486
2094
|
<tbody>
|
1487
2095
|
<tr>
|
1488
2096
|
<td><p><span class="term"><em class="parameter"><code>application</code></em> :</span></p></td>
|
@@ -1511,15 +2119,44 @@ files to open. See <a class="link" href="GApplication.html#g-application-open" t
|
|
1511
2119
|
</div>
|
1512
2120
|
<hr>
|
1513
2121
|
<div class="refsect2">
|
2122
|
+
<a name="GApplication-shutdown"></a><h3>The <code class="literal">"shutdown"</code> signal</h3>
|
2123
|
+
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application,
|
2124
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="./../gobject/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
|
2125
|
+
<p>
|
2126
|
+
The ::shutdown signal is emitted only on the registered primary instance
|
2127
|
+
immediately after the main loop terminates.
|
2128
|
+
</p>
|
2129
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2130
|
+
<colgroup>
|
2131
|
+
<col align="left" valign="top">
|
2132
|
+
<col>
|
2133
|
+
</colgroup>
|
2134
|
+
<tbody>
|
2135
|
+
<tr>
|
2136
|
+
<td><p><span class="term"><em class="parameter"><code>application</code></em> :</span></p></td>
|
2137
|
+
<td>the application</td>
|
2138
|
+
</tr>
|
2139
|
+
<tr>
|
2140
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
2141
|
+
<td>user data set when the signal handler was connected.</td>
|
2142
|
+
</tr>
|
2143
|
+
</tbody>
|
2144
|
+
</table></div>
|
2145
|
+
</div>
|
2146
|
+
<hr>
|
2147
|
+
<div class="refsect2">
|
1514
2148
|
<a name="GApplication-startup"></a><h3>The <code class="literal">"startup"</code> signal</h3>
|
1515
2149
|
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application,
|
1516
|
-
<a href="
|
2150
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="./../gobject/gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a></pre>
|
1517
2151
|
<p>
|
1518
2152
|
The ::startup signal is emitted on the primary instance immediately
|
1519
2153
|
after registration. See <a class="link" href="GApplication.html#g-application-register" title="g_application_register ()"><code class="function">g_application_register()</code></a>.
|
1520
2154
|
</p>
|
1521
|
-
<div class="variablelist"><table border="0">
|
2155
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2156
|
+
<colgroup>
|
1522
2157
|
<col align="left" valign="top">
|
2158
|
+
<col>
|
2159
|
+
</colgroup>
|
1523
2160
|
<tbody>
|
1524
2161
|
<tr>
|
1525
2162
|
<td><p><span class="term"><em class="parameter"><code>application</code></em> :</span></p></td>
|
@@ -1536,6 +2173,6 @@ after registration. See <a class="link" href="GApplication.html#g-application-re
|
|
1536
2173
|
</div>
|
1537
2174
|
<div class="footer">
|
1538
2175
|
<hr>
|
1539
|
-
Generated by GTK-Doc V1.
|
2176
|
+
Generated by GTK-Doc V1.18</div>
|
1540
2177
|
</body>
|
1541
2178
|
</html>
|