glib2 3.1.6-x64-mingw32 → 3.1.7-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +2 -3
- data/ext/glib2/rbglib-bytes.c +24 -0
- data/ext/glib2/rbglib.c +1 -0
- data/ext/glib2/rbglib.h +1 -1
- data/ext/glib2/rbglib_error.c +15 -1
- data/ext/glib2/rbgprivate.h +1 -0
- data/lib/2.2/glib2.so +0 -0
- data/lib/2.3/glib2.so +0 -0
- data/lib/2.4/glib2.so +0 -0
- data/lib/glib-mkenums.rb +1 -1
- data/lib/glib2.rb +1 -1
- data/lib/mkmf-gnome2.rb +2 -1
- data/vendor/local/bin/asn1Coding.exe +0 -0
- data/vendor/local/bin/asn1Decoding.exe +0 -0
- data/vendor/local/bin/asn1Parser.exe +0 -0
- data/vendor/local/bin/envsubst.exe +0 -0
- data/vendor/local/bin/gdbus.exe +0 -0
- data/vendor/local/bin/gettext.exe +0 -0
- data/vendor/local/bin/gio-querymodules.exe +0 -0
- data/vendor/local/bin/gio.exe +0 -0
- data/vendor/local/bin/glib-compile-resources.exe +0 -0
- data/vendor/local/bin/glib-compile-schemas.exe +0 -0
- data/vendor/local/bin/glib-genmarshal.exe +0 -0
- data/vendor/local/bin/glib-gettextize +1 -1
- data/vendor/local/bin/glib-mkenums +1 -1
- data/vendor/local/bin/gobject-query.exe +0 -0
- data/vendor/local/bin/gresource.exe +0 -0
- data/vendor/local/bin/gsettings.exe +0 -0
- data/vendor/local/bin/gspawn-win64-helper-console.exe +0 -0
- data/vendor/local/bin/gspawn-win64-helper.exe +0 -0
- data/vendor/local/bin/iconv.exe +0 -0
- data/vendor/local/bin/idn.exe +0 -0
- data/vendor/local/bin/libasprintf-0.dll +0 -0
- data/vendor/local/bin/libcharset-1.dll +0 -0
- data/vendor/local/bin/libffi-6.dll +0 -0
- data/vendor/local/bin/libgio-2.0-0.dll +0 -0
- data/vendor/local/bin/libglib-2.0-0.dll +0 -0
- data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
- data/vendor/local/bin/libgmp-10.dll +0 -0
- data/vendor/local/bin/libgnutls-30.dll +0 -0
- data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
- data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
- data/vendor/local/bin/libhogweed-4-2.dll +0 -0
- data/vendor/local/bin/libiconv-2.dll +0 -0
- data/vendor/local/bin/libidn-11.dll +0 -0
- data/vendor/local/bin/libintl-8.dll +0 -0
- data/vendor/local/bin/libnettle-6-2.dll +0 -0
- data/vendor/local/bin/libp11-kit-0.dll +0 -0
- data/vendor/local/bin/libpcre-1.dll +0 -0
- data/vendor/local/bin/libpcrecpp-0.dll +0 -0
- data/vendor/local/bin/libpcreposix-0.dll +0 -0
- data/vendor/local/bin/libtasn1-6.dll +0 -0
- data/vendor/local/bin/nettle-hash.exe +0 -0
- data/vendor/local/bin/nettle-lfib-stream.exe +0 -0
- data/vendor/local/bin/nettle-pbkdf2.exe +0 -0
- data/vendor/local/bin/ngettext.exe +0 -0
- data/vendor/local/bin/p11-kit.exe +0 -0
- data/vendor/local/bin/pcregrep.exe +0 -0
- data/vendor/local/bin/pcretest.exe +0 -0
- data/vendor/local/bin/pkcs1-conv.exe +0 -0
- data/vendor/local/bin/sexp-conv.exe +0 -0
- data/vendor/local/bin/trust.exe +0 -0
- data/vendor/local/include/glib-2.0/glib/gmain.h +4 -1
- data/vendor/local/include/libtasn1.h +4 -1
- data/vendor/local/lib/gio/modules/libgiognutls.a +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.dll +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.dll.a +0 -0
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +1 -1
- data/vendor/local/lib/libasprintf.dll.a +0 -0
- data/vendor/local/lib/libcharset.dll.a +0 -0
- data/vendor/local/lib/libffi.dll.a +0 -0
- data/vendor/local/lib/libgio-2.0.dll.a +0 -0
- data/vendor/local/lib/libgio-2.0.la +1 -1
- data/vendor/local/lib/libglib-2.0.dll.a +0 -0
- data/vendor/local/lib/libglib-2.0.la +1 -1
- data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
- data/vendor/local/lib/libgmodule-2.0.la +1 -1
- data/vendor/local/lib/libgmp.dll.a +0 -0
- data/vendor/local/lib/libgnutls.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.la +1 -1
- data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
- data/vendor/local/lib/libgthread-2.0.la +1 -1
- data/vendor/local/lib/libhogweed.dll.a +0 -0
- data/vendor/local/lib/libiconv.dll.a +0 -0
- data/vendor/local/lib/libidn.dll.a +0 -0
- data/vendor/local/lib/libintl.dll.a +0 -0
- data/vendor/local/lib/libnettle.dll.a +0 -0
- data/vendor/local/lib/libp11-kit.dll.a +0 -0
- data/vendor/local/lib/libpcre.dll.a +0 -0
- data/vendor/local/lib/libpcrecpp.dll.a +0 -0
- data/vendor/local/lib/libpcreposix.dll.a +0 -0
- data/vendor/local/lib/libtasn1.a +0 -0
- data/vendor/local/lib/libtasn1.dll.a +0 -0
- data/vendor/local/lib/libtasn1.la +1 -1
- data/vendor/local/lib/p11-kit/p11-kit-remote.exe +0 -0
- data/vendor/local/lib/pkcs11/p11-kit-trust.dll +0 -0
- data/vendor/local/lib/pkcs11/p11-kit-trust.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gio-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/glib-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-export-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gobject-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gthread-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/libtasn1.pc +1 -1
- data/vendor/local/share/gdb/auto-load/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/{libglib-2.0.so.0.5200.1-gdb.py → libglib-2.0.so.0.5200.3-gdb.py} +0 -0
- data/vendor/local/share/gdb/auto-load/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/{libgobject-2.0.so.0.5200.1-gdb.py → libgobject-2.0.so.0.5200.3-gdb.py} +0 -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.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 +4 -2
- data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_main.py +3 -2
- data/vendor/local/share/glib-2.0/codegen/codegen_main.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_main.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/config.py +1 -1
- data/vendor/local/share/glib-2.0/codegen/config.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/config.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/dbustypes.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/dbustypes.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/parser.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/parser.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/utils.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/utils.pyo +0 -0
- data/vendor/local/share/gtk-doc/html/gio/GAction.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GActionGroup.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GActionMap.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GApplication.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GConverter.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDBusInterface.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDBusObject.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManager.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDatagramBased.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDrive.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDtlsClientConnection.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDtlsConnection.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDtlsServerConnection.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GIcon.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GInitable.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GListModel.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GMenuModel.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/GNetworkMonitor.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GPollableInputStream.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GPollableOutputStream.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GPropertyAction.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/GProxy.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GRemoteActionGroup.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GResource.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GSrvTarget.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GTlsBackend.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GTlsClientConnection.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GTlsFileDatabase.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GTlsServerConnection.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/gdbus-codegen.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/gio-GSettingsSchema-GSettingsSchemaSource.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/index.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +15 -12
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-UNIX-specific-utilities-and-integration.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/index.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/index.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +1 -1
- data/vendor/local/share/info/libtasn1.info +3 -3
- data/vendor/local/share/locale/id/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/man/man1/asn1Coding.1 +3 -3
- data/vendor/local/share/man/man1/asn1Decoding.1 +6 -3
- data/vendor/local/share/man/man1/asn1Parser.1 +3 -3
- data/vendor/local/share/man/man1/gapplication.1 +1 -1
- data/vendor/local/share/man/man1/gdbus-codegen.1 +1 -1
- data/vendor/local/share/man/man1/gdbus.1 +1 -1
- data/vendor/local/share/man/man1/gio-querymodules.1 +1 -1
- data/vendor/local/share/man/man1/gio.1 +1 -1
- data/vendor/local/share/man/man1/glib-compile-resources.1 +1 -1
- data/vendor/local/share/man/man1/glib-compile-schemas.1 +1 -1
- data/vendor/local/share/man/man1/glib-genmarshal.1 +1 -1
- data/vendor/local/share/man/man1/glib-gettextize.1 +1 -1
- data/vendor/local/share/man/man1/glib-mkenums.1 +1 -1
- data/vendor/local/share/man/man1/gobject-query.1 +1 -1
- data/vendor/local/share/man/man1/gresource.1 +1 -1
- data/vendor/local/share/man/man1/gsettings.1 +1 -1
- data/vendor/local/share/man/man1/gtester-report.1 +1 -1
- data/vendor/local/share/man/man1/gtester.1 +1 -1
- metadata +4 -4
@@ -1087,7 +1087,7 @@ Serialised <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><
|
|
1087
1087
|
<p><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> is largely compatible with D-Bus. Almost all types of
|
1088
1088
|
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instances can be sent over D-Bus. See <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> for
|
1089
1089
|
exceptions. (However, <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>'s serialisation format is not the same
|
1090
|
-
as the serialisation format of a D-Bus message body: use <a href="
|
1090
|
+
as the serialisation format of a D-Bus message body: use <a href="../gio/GDBusMessage.html#GDBusMessage-struct"><span class="type">GDBusMessage</span></a>,
|
1091
1091
|
in the gio library, for those.)</p>
|
1092
1092
|
<p>For space-efficiency, the <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> serialisation format does not
|
1093
1093
|
automatically include the variant's length, type or endianness,
|
@@ -1680,7 +1680,7 @@ the data inside of the soon-to-be-freed <a class="link" href="glib-GVariant.html
|
|
1680
1680
|
check fails then a <a class="link" href="glib-Message-Logging.html#g-critical" title="g_critical()"><code class="function">g_critical()</code></a> is printed and <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned.</p>
|
1681
1681
|
<p>This function is meant to be used by functions that wish to provide
|
1682
1682
|
varargs accessors to <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> values of uncertain values (eg:
|
1683
|
-
<a class="link" href="glib-GVariant.html#g-variant-lookup" title="g_variant_lookup ()"><code class="function">g_variant_lookup()</code></a> or <a href="
|
1683
|
+
<a class="link" href="glib-GVariant.html#g-variant-lookup" title="g_variant_lookup ()"><code class="function">g_variant_lookup()</code></a> or <a href="../gio/GMenuModel.html#g-menu-model-get-item-attribute"><code class="function">g_menu_model_get_item_attribute()</code></a>).</p>
|
1684
1684
|
<div class="refsect3">
|
1685
1685
|
<a name="g-variant-check-format-string.parameters"></a><h4>Parameters</h4>
|
1686
1686
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -450,10 +450,10 @@ type".</p>
|
|
450
450
|
<p>This is similar to how instances of abstract classes may not
|
451
451
|
directly exist in other type systems, but instances of their
|
452
452
|
non-abstract subtypes may. For example, in GTK, no object that has
|
453
|
-
the type of <a href="
|
454
|
-
but a <a href="
|
455
|
-
that the <a href="
|
456
|
-
<a href="
|
453
|
+
the type of <a href="../gtk4/GtkBin.html#GtkBin-struct"><span class="type">GtkBin</span></a> can exist (since <a href="../gtk4/GtkBin.html#GtkBin-struct"><span class="type">GtkBin</span></a> is an abstract class),
|
454
|
+
but a <a href="../gtk4/GtkWindow.html#GtkWindow-struct"><span class="type">GtkWindow</span></a> can certainly be instantiated, and you would say
|
455
|
+
that the <a href="../gtk4/GtkWindow.html#GtkWindow-struct"><span class="type">GtkWindow</span></a> is a <a href="../gtk4/GtkBin.html#GtkBin-struct"><span class="type">GtkBin</span></a> (since <a href="../gtk4/GtkWindow.html#GtkWindow-struct"><span class="type">GtkWindow</span></a> is a subclass of
|
456
|
+
<a href="../gtk4/GtkBin.html#GtkBin-struct"><span class="type">GtkBin</span></a>).</p>
|
457
457
|
<div class="refsect3">
|
458
458
|
<a name="id-1.6.18.6.9"></a><h4>GVariant Type Strings</h4>
|
459
459
|
<p>A GVariant type string can be any of the following:</p>
|
@@ -214,8 +214,8 @@ be accessed either with a string or with a <a class="link" href="glib-Quarks.htm
|
|
214
214
|
the string.</p>
|
215
215
|
<p>The <a class="link" href="glib-Quarks.html#GQuark" title="GQuark"><span class="type">GQuark</span></a> methods are quicker, since the strings have to be
|
216
216
|
converted to <a href="glib-Quarks.html#GQuark"><span class="type">GQuarks</span></a> anyway.</p>
|
217
|
-
<p>Data lists are used for associating arbitrary data with <a href="
|
218
|
-
using <a href="
|
217
|
+
<p>Data lists are used for associating arbitrary data with <a href="../gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObjects</span></a>,
|
218
|
+
using <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-set-data"><code class="function">g_object_set_data()</code></a> and related functions.</p>
|
219
219
|
<p>To create a datalist, use <a class="link" href="glib-Keyed-Data-Lists.html#g-datalist-init" title="g_datalist_init ()"><code class="function">g_datalist_init()</code></a>.</p>
|
220
220
|
<p>To add data elements to a datalist use <a class="link" href="glib-Keyed-Data-Lists.html#g-datalist-id-set-data" title="g_datalist_id_set_data()"><code class="function">g_datalist_id_set_data()</code></a>,
|
221
221
|
<a class="link" href="glib-Keyed-Data-Lists.html#g-datalist-id-set-data-full" title="g_datalist_id_set_data_full ()"><code class="function">g_datalist_id_set_data_full()</code></a>, <a class="link" href="glib-Keyed-Data-Lists.html#g-datalist-set-data" title="g_datalist_set_data()"><code class="function">g_datalist_set_data()</code></a> and
|
@@ -877,7 +877,7 @@ g_datalist_set_flags (<em class="parameter"><code><a class="link" href="glib-Key
|
|
877
877
|
to keep a small number of boolean flags in an object with
|
878
878
|
a data list without using any additional space. It is
|
879
879
|
not generally useful except in circumstances where space
|
880
|
-
is very tight. (It is used in the base <a href="
|
880
|
+
is very tight. (It is used in the base <a href="../gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> type, for
|
881
881
|
example.)</p>
|
882
882
|
<div class="refsect3">
|
883
883
|
<a name="g-datalist-set-flags.parameters"></a><h4>Parameters</h4>
|
@@ -1084,7 +1084,7 @@ the following example (which only works on GCC and clang):</p>
|
|
1084
1084
|
<td class="listing_code"><pre class="programlisting">GObject <span class="gtkdoc opt">*</span>
|
1085
1085
|
<span class="function">create_object</span> <span class="gtkdoc opt">(</span><span class="gtkdoc kwb">void</span><span class="gtkdoc opt">)</span>
|
1086
1086
|
<span class="gtkdoc opt">{</span>
|
1087
|
-
<span class="function"><a href="glib-Miscellaneous-Macros.html#g-autoptr">g_autoptr</a></span><span class="gtkdoc opt">(</span>GObject<span class="gtkdoc opt">)</span> obj <span class="gtkdoc opt">=</span> <span class="function"><a href="
|
1087
|
+
<span class="function"><a href="glib-Miscellaneous-Macros.html#g-autoptr">g_autoptr</a></span><span class="gtkdoc opt">(</span>GObject<span class="gtkdoc opt">)</span> obj <span class="gtkdoc opt">=</span> <span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#g-object-new">g_object_new</a></span> <span class="gtkdoc opt">(</span>G_TYPE_OBJECT<span class="gtkdoc opt">,</span> NULL<span class="gtkdoc opt">);</span>
|
1088
1088
|
|
1089
1089
|
<span class="keyword">if</span> <span class="gtkdoc opt">(</span>early_error_case<span class="gtkdoc opt">)</span>
|
1090
1090
|
<span class="keyword">return</span> NULL<span class="gtkdoc opt">;</span>
|
@@ -1119,7 +1119,7 @@ particularly useful for dealing with optional out parameters:</p>
|
|
1119
1119
|
<td class="listing_code"><pre class="programlisting">gboolean
|
1120
1120
|
<span class="function">get_object</span> <span class="gtkdoc opt">(</span>GObject <span class="gtkdoc opt">**</span>obj_out<span class="gtkdoc opt">)</span>
|
1121
1121
|
<span class="gtkdoc opt">{</span>
|
1122
|
-
<span class="function"><a href="glib-Miscellaneous-Macros.html#g-autoptr">g_autoptr</a></span><span class="gtkdoc opt">(</span>GObject<span class="gtkdoc opt">)</span> obj <span class="gtkdoc opt">=</span> <span class="function"><a href="
|
1122
|
+
<span class="function"><a href="glib-Miscellaneous-Macros.html#g-autoptr">g_autoptr</a></span><span class="gtkdoc opt">(</span>GObject<span class="gtkdoc opt">)</span> obj <span class="gtkdoc opt">=</span> <span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#g-object-new">g_object_new</a></span> <span class="gtkdoc opt">(</span>G_TYPE_OBJECT<span class="gtkdoc opt">,</span> NULL<span class="gtkdoc opt">);</span>
|
1123
1123
|
|
1124
1124
|
<span class="keyword">if</span> <span class="gtkdoc opt">(</span>early_error_case<span class="gtkdoc opt">)</span>
|
1125
1125
|
<span class="keyword">return</span> FALSE<span class="gtkdoc opt">;</span>
|
@@ -473,7 +473,7 @@ g_set_application_name (<em class="parameter"><code>const <a class="link" href="
|
|
473
473
|
<p>Sets a human-readable name for the application. This name should be
|
474
474
|
localized if possible, and is intended for display to the user.
|
475
475
|
Contrast with <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-set-prgname" title="g_set_prgname ()"><code class="function">g_set_prgname()</code></a>, which sets a non-localized name.
|
476
|
-
<a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-set-prgname" title="g_set_prgname ()"><code class="function">g_set_prgname()</code></a> will be called automatically by <a href="
|
476
|
+
<a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-set-prgname" title="g_set_prgname ()"><code class="function">g_set_prgname()</code></a> will be called automatically by <a href="../gtk4/gtk4-General.html#gtk-init"><code class="function">gtk_init()</code></a>,
|
477
477
|
but <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-set-application-name" title="g_set_application_name ()"><code class="function">g_set_application_name()</code></a> will not.</p>
|
478
478
|
<p>Note that for thread safety reasons, this function can only
|
479
479
|
be called once.</p>
|
@@ -504,7 +504,7 @@ g_get_prgname (<em class="parameter"><code><span class="type">void</span></code>
|
|
504
504
|
<p>Gets the name of the program. This name should not be localized,
|
505
505
|
in contrast to <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-application-name" title="g_get_application_name ()"><code class="function">g_get_application_name()</code></a>.</p>
|
506
506
|
<p>If you are using GDK or GTK+ the program name is set in <code class="function">gdk_init()</code>,
|
507
|
-
which is called by <a href="
|
507
|
+
which is called by <a href="../gtk4/gtk4-General.html#gtk-init"><code class="function">gtk_init()</code></a>. The program name is found by taking
|
508
508
|
the last component of <em class="parameter"><code>argv</code></em>
|
509
509
|
[0].</p>
|
510
510
|
<div class="refsect3">
|
@@ -146,7 +146,7 @@ convenient than the bare UNIX <code class="function">fork()</code> and <code cla
|
|
146
146
|
and asynchronous variants (<a class="link" href="glib-Spawning-Processes.html#g-spawn-async" title="g_spawn_async ()"><code class="function">g_spawn_async()</code></a>, <a class="link" href="glib-Spawning-Processes.html#g-spawn-async-with-pipes" title="g_spawn_async_with_pipes ()"><code class="function">g_spawn_async_with_pipes()</code></a>),
|
147
147
|
as well as convenience variants that take a complete shell-like
|
148
148
|
commandline (<a class="link" href="glib-Spawning-Processes.html#g-spawn-command-line-sync" title="g_spawn_command_line_sync ()"><code class="function">g_spawn_command_line_sync()</code></a>, <a class="link" href="glib-Spawning-Processes.html#g-spawn-command-line-async" title="g_spawn_command_line_async ()"><code class="function">g_spawn_command_line_async()</code></a>).</p>
|
149
|
-
<p>See <a href="
|
149
|
+
<p>See <a href="../gio/GSubprocess.html#GSubprocess-struct"><span class="type">GSubprocess</span></a> in GIO for a higher-level API that provides
|
150
150
|
stream interfaces for communication with child processes.</p>
|
151
151
|
</div>
|
152
152
|
<div class="refsect1">
|
@@ -435,7 +435,7 @@ bytes</p>
|
|
435
435
|
<tbody>
|
436
436
|
<tr>
|
437
437
|
<td class="parameter_name"><p>struct_type</p></td>
|
438
|
-
<td class="parameter_description"><p>a structure type, e.g. <a href="
|
438
|
+
<td class="parameter_description"><p>a structure type, e.g. <a href="../gtk4/GtkWidget.html#GtkWidget-struct"><span class="type">GtkWidget</span></a></p></td>
|
439
439
|
<td class="parameter_annotations"> </td>
|
440
440
|
</tr>
|
441
441
|
<tr>
|
@@ -725,8 +725,8 @@ nicely formatted test reports.</p>
|
|
725
725
|
<span class="function">my_object_fixture_tear_down</span> <span class="gtkdoc opt">(</span>MyObjectFixture <span class="gtkdoc opt">*</span>fixture<span class="gtkdoc opt">,</span>
|
726
726
|
gconstpointer user_data<span class="gtkdoc opt">)</span>
|
727
727
|
<span class="gtkdoc opt">{</span>
|
728
|
-
<span class="function"><a href="
|
729
|
-
<span class="function"><a href="
|
728
|
+
<span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#g-clear-object">g_clear_object</a></span> <span class="gtkdoc opt">(&</span>fixture<span class="gtkdoc opt">-></span>helper<span class="gtkdoc opt">);</span>
|
729
|
+
<span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#g-clear-object">g_clear_object</a></span> <span class="gtkdoc opt">(&</span>fixture<span class="gtkdoc opt">-></span>obj<span class="gtkdoc opt">);</span>
|
730
730
|
<span class="gtkdoc opt">}</span>
|
731
731
|
|
732
732
|
<span class="gtkdoc kwb">static void</span>
|
@@ -1807,9 +1807,9 @@ callback A before callback B will cause <code class="function">B()</code> to be
|
|
1807
1807
|
<div class="refsect2">
|
1808
1808
|
<a name="g-test-queue-unref"></a><h3>g_test_queue_unref()</h3>
|
1809
1809
|
<pre class="programlisting">#define g_test_queue_unref(gobject)</pre>
|
1810
|
-
<p>Enqueue an object to be released with <a href="
|
1810
|
+
<p>Enqueue an object to be released with <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> during
|
1811
1811
|
the next teardown phase. This is equivalent to calling
|
1812
|
-
<a class="link" href="glib-Testing.html#g-test-queue-destroy" title="g_test_queue_destroy ()"><code class="function">g_test_queue_destroy()</code></a> with a destroy callback of <a href="
|
1812
|
+
<a class="link" href="glib-Testing.html#g-test-queue-destroy" title="g_test_queue_destroy ()"><code class="function">g_test_queue_destroy()</code></a> with a destroy callback of <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.</p>
|
1813
1813
|
<div class="refsect3">
|
1814
1814
|
<a name="g-test-queue-unref.parameters"></a><h4>Parameters</h4>
|
1815
1815
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -899,8 +899,8 @@ This is often used in GTK+ applications when showing modal dialog
|
|
899
899
|
boxes. Note that event sources are associated with a particular
|
900
900
|
<a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a>, and will be checked and dispatched for all main
|
901
901
|
loops associated with that GMainContext.</p>
|
902
|
-
<p>GTK+ contains wrappers of some of these functions, e.g. <a href="
|
903
|
-
<a href="
|
902
|
+
<p>GTK+ contains wrappers of some of these functions, e.g. <a href="../gtk4/gtk4-General.html#gtk-main"><code class="function">gtk_main()</code></a>,
|
903
|
+
<a href="../gtk4/gtk4-General.html#gtk-main-quit"><code class="function">gtk_main_quit()</code></a> and <a href="../gtk4/gtk4-General.html#gtk-events-pending"><code class="function">gtk_events_pending()</code></a>.</p>
|
904
904
|
<div class="refsect3">
|
905
905
|
<a name="id-1.4.2.6.9"></a><h4>Creating new source types</h4>
|
906
906
|
<p>One of the unusual features of the <a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="type">GMainLoop</span></a> functionality
|
@@ -2346,7 +2346,7 @@ these checks all over your code, since there are doubtless many,
|
|
2346
2346
|
many things that the user could do. Instead, you can use the
|
2347
2347
|
following techniques:</p>
|
2348
2348
|
<div class="orderedlist"><ol class="orderedlist" type="1">
|
2349
|
-
<li class="listitem"><p>Use <a href="
|
2349
|
+
<li class="listitem"><p>Use <a href="../gtk4/GtkWidget.html#gtk-widget-set-sensitive"><code class="function">gtk_widget_set_sensitive()</code></a> or modal dialogs to prevent
|
2350
2350
|
the user from interacting with elements while the main
|
2351
2351
|
loop is recursing.</p></li>
|
2352
2352
|
<li class="listitem"><p>Avoid main loop recursion in situations where you can't handle
|
@@ -2607,7 +2607,7 @@ ensure that no other asynchronous operations accidentally get
|
|
2607
2607
|
started while the non-default context is active.</p>
|
2608
2608
|
<p>Beware that libraries that predate this function may not correctly
|
2609
2609
|
handle being used from a thread with a thread-default context. Eg,
|
2610
|
-
see <a href="
|
2610
|
+
see <a href="../gio/GFile.html#g-file-supports-thread-contexts"><code class="function">g_file_supports_thread_contexts()</code></a>.</p>
|
2611
2611
|
<div class="refsect3">
|
2612
2612
|
<a name="g-main-context-push-thread-default.parameters"></a><h4>Parameters</h4>
|
2613
2613
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -3442,7 +3442,7 @@ if the call was interrupted.</p>
|
|
3442
3442
|
<a name="GSourceDummyMarshal"></a><h3>GSourceDummyMarshal ()</h3>
|
3443
3443
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
3444
3444
|
<span class="c_punctuation">(</span>*GSourceDummyMarshal<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
3445
|
-
<p>This is just a placeholder for <a href="
|
3445
|
+
<p>This is just a placeholder for <a href="../gobject/gobject-Closures.html#GClosureMarshal"><span class="type">GClosureMarshal</span></a>,
|
3446
3446
|
which cannot be used here for dependency reasons.</p>
|
3447
3447
|
</div>
|
3448
3448
|
<hr>
|
@@ -3679,10 +3679,10 @@ before the dispatch of your idle handler.</p>
|
|
3679
3679
|
<span class="gtkdoc opt">{</span>
|
3680
3680
|
SomeWidget <span class="gtkdoc opt">*</span>self <span class="gtkdoc opt">=</span> data<span class="gtkdoc opt">;</span>
|
3681
3681
|
|
3682
|
-
<span class="function"><a href="
|
3682
|
+
<span class="function"><a href="../gdk4/gdk4-Threads.html#GDK-THREADS-ENTER:CAPS">GDK_THREADS_ENTER</a></span> <span class="gtkdoc opt">();</span>
|
3683
3683
|
<span class="gtkdoc slc">// do stuff with self</span>
|
3684
3684
|
self<span class="gtkdoc opt">-></span>idle_id <span class="gtkdoc opt">=</span> <span class="number">0</span><span class="gtkdoc opt">;</span>
|
3685
|
-
<span class="function"><a href="
|
3685
|
+
<span class="function"><a href="../gdk4/gdk4-Threads.html#GDK-THREADS-LEAVE:CAPS">GDK_THREADS_LEAVE</a></span> <span class="gtkdoc opt">();</span>
|
3686
3686
|
|
3687
3687
|
<span class="keyword">return</span> G_SOURCE_REMOVE<span class="gtkdoc opt">;</span>
|
3688
3688
|
<span class="gtkdoc opt">}</span>
|
@@ -3701,7 +3701,7 @@ before the dispatch of your idle handler.</p>
|
|
3701
3701
|
<span class="keyword">if</span> <span class="gtkdoc opt">(</span>self<span class="gtkdoc opt">-></span>idle_id<span class="gtkdoc opt">)</span>
|
3702
3702
|
<span class="function"><a href="glib-The-Main-Event-Loop.html#g-source-remove">g_source_remove</a></span> <span class="gtkdoc opt">(</span>self<span class="gtkdoc opt">-></span>idle_id<span class="gtkdoc opt">);</span>
|
3703
3703
|
|
3704
|
-
<span class="function"><a href="
|
3704
|
+
<span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#G-OBJECT-CLASS:CAPS">G_OBJECT_CLASS</a></span> <span class="gtkdoc opt">(</span>parent_class<span class="gtkdoc opt">)-></span><span class="function">finalize</span> <span class="gtkdoc opt">(</span>object<span class="gtkdoc opt">);</span>
|
3705
3705
|
<span class="gtkdoc opt">}</span></pre></td>
|
3706
3706
|
</tr>
|
3707
3707
|
</tbody>
|
@@ -3737,12 +3737,12 @@ has already been destroy within the callback.</p>
|
|
3737
3737
|
<span class="gtkdoc opt">{</span>
|
3738
3738
|
SomeWidget <span class="gtkdoc opt">*</span>self <span class="gtkdoc opt">=</span> data<span class="gtkdoc opt">;</span>
|
3739
3739
|
|
3740
|
-
<span class="function"><a href="
|
3740
|
+
<span class="function"><a href="../gdk4/gdk4-Threads.html#GDK-THREADS-ENTER:CAPS">GDK_THREADS_ENTER</a></span> <span class="gtkdoc opt">();</span>
|
3741
3741
|
<span class="keyword">if</span> <span class="gtkdoc opt">(!</span><span class="function"><a href="glib-The-Main-Event-Loop.html#g-source-is-destroyed">g_source_is_destroyed</a></span> <span class="gtkdoc opt">(</span><span class="function"><a href="glib-The-Main-Event-Loop.html#g-main-current-source">g_main_current_source</a></span> <span class="gtkdoc opt">()))</span>
|
3742
3742
|
<span class="gtkdoc opt">{</span>
|
3743
3743
|
<span class="gtkdoc slc">// do stuff with self</span>
|
3744
3744
|
<span class="gtkdoc opt">}</span>
|
3745
|
-
<span class="function"><a href="
|
3745
|
+
<span class="function"><a href="../gdk4/gdk4-Threads.html#GDK-THREADS-LEAVE:CAPS">GDK_THREADS_LEAVE</a></span> <span class="gtkdoc opt">();</span>
|
3746
3746
|
|
3747
3747
|
<span class="keyword">return</span> FALSE<span class="gtkdoc opt">;</span>
|
3748
3748
|
<span class="gtkdoc opt">}</span></pre></td>
|
@@ -4564,7 +4564,7 @@ callback), and when <em class="parameter"><code>source</code></em>
|
|
4564
4564
|
its own prepare/check functions indicate that it is ready.)</p>
|
4565
4565
|
<p>If you don't need <em class="parameter"><code>child_source</code></em>
|
4566
4566
|
to do anything on its own when it
|
4567
|
-
triggers, you can call <a href="
|
4567
|
+
triggers, you can call <a href="../gobject/gobject-Closures.html#g-source-set-dummy-callback"><code class="function">g_source_set_dummy_callback()</code></a> on it to set a
|
4568
4568
|
callback that does nothing (except return <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if appropriate).</p>
|
4569
4569
|
<p><em class="parameter"><code>source</code></em>
|
4570
4570
|
will hold a reference on <em class="parameter"><code>child_source</code></em>
|
@@ -5061,7 +5061,10 @@ removed or <a class="link" href="glib-The-Main-Event-Loop.html#G-SOURCE-CONTINUE
|
|
5061
5061
|
</tr>
|
5062
5062
|
<tr>
|
5063
5063
|
<td class="struct_member_name"><p><em class="structfield"><code><a name="GSourceFuncs.finalize"></a>finalize</code></em> ()</p></td>
|
5064
|
-
<td class="struct_member_description"><p>Called when the source is finalized
|
5064
|
+
<td class="struct_member_description"><p>Called when the source is finalized. At this point, the source
|
5065
|
+
will have been destroyed, had its callback cleared, and have been removed
|
5066
|
+
from its <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a>, but it will still have its final reference count;
|
5067
|
+
so methods can be called on it from within this function.</p></td>
|
5065
5068
|
<td class="struct_member_annotations"> </td>
|
5066
5069
|
</tr>
|
5067
5070
|
</tbody>
|
@@ -607,18 +607,18 @@ you must coordinate accesses to the same <a class="link" href="glib-Hash-Tables.
|
|
607
607
|
threads. The two notable exceptions from this rule are <a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="type">GMainLoop</span></a>
|
608
608
|
and <a class="link" href="glib-Asynchronous-Queues.html#GAsyncQueue" title="GAsyncQueue"><span class="type">GAsyncQueue</span></a>, which are thread-safe and need no further
|
609
609
|
application-level locking to be accessed from multiple threads.
|
610
|
-
Most refcounting functions such as <a href="
|
610
|
+
Most refcounting functions such as <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a> are also thread-safe.</p>
|
611
611
|
<p>A common use for <a href="glib-Threads.html#GThread"><span class="type">GThreads</span></a> is to move a long-running blocking operation out
|
612
612
|
of the main thread and into a worker thread. For GLib functions, such as
|
613
613
|
single GIO operations, this is not necessary, and complicates the code.
|
614
614
|
Instead, the <code class="literal">…<code class="function">_async()</code></code> version of the function should be used from the main
|
615
615
|
thread, eliminating the need for locking and synchronisation between multiple
|
616
616
|
threads. If an operation does need to be moved to a worker thread, consider
|
617
|
-
using <a href="
|
617
|
+
using <a href="../gio/GTask.html#g-task-run-in-thread"><code class="function">g_task_run_in_thread()</code></a>, or a <a class="link" href="glib-Thread-Pools.html#GThreadPool" title="struct GThreadPool"><span class="type">GThreadPool</span></a>. <a class="link" href="glib-Thread-Pools.html#GThreadPool" title="struct GThreadPool"><span class="type">GThreadPool</span></a> is often a
|
618
618
|
better choice than <a class="link" href="glib-Threads.html#GThread" title="GThread"><span class="type">GThread</span></a>, as it handles thread reuse and task queueing;
|
619
|
-
<a href="
|
619
|
+
<a href="../gio/GTask.html#GTask-struct"><span class="type">GTask</span></a> uses this internally.</p>
|
620
620
|
<p>However, if multiple blocking operations need to be performed in sequence,
|
621
|
-
and it is not possible to use <a href="
|
621
|
+
and it is not possible to use <a href="../gio/GTask.html#GTask-struct"><span class="type">GTask</span></a> for them, moving them to a worker thread
|
622
622
|
can clarify the code.</p>
|
623
623
|
</div>
|
624
624
|
<div class="refsect1">
|
@@ -605,7 +605,7 @@ exported enumeration mapping <code class="literal">errno</code>. Instead, all fu
|
|
605
605
|
error message is always generated via <a class="link" href="glib-String-Utility-Functions.html#g-strerror" title="g_strerror ()"><code class="function">g_strerror()</code></a>.</p>
|
606
606
|
<p>It is expected that most code will not look at <code class="literal">errno</code> from these APIs.
|
607
607
|
Important cases where one would want to differentiate between errors are
|
608
|
-
already covered by existing cross-platform GLib API, such as e.g. <a href="
|
608
|
+
already covered by existing cross-platform GLib API, such as e.g. <a href="../gio/GFile.html#GFile-struct"><span class="type">GFile</span></a>
|
609
609
|
wrapping <code class="literal">ENOENT</code>. However, it is provided for completeness, at least.</p>
|
610
610
|
</div>
|
611
611
|
</div>
|
@@ -1563,7 +1563,7 @@ g_unichar_break_type (<em class="parameter"><code><a class="link" href="glib-Uni
|
|
1563
1563
|
<a class="link" href="glib-Unicode-Manipulation.html#g-utf8-get-char" title="g_utf8_get_char ()"><code class="function">g_utf8_get_char()</code></a>). The break type is used to find word and line
|
1564
1564
|
breaks ("text boundaries"), Pango implements the Unicode boundary
|
1565
1565
|
resolution algorithms and normally you would use a function such
|
1566
|
-
as <a href="
|
1566
|
+
as <a href="../pango/pango-Text-Processing.html#pango-break"><code class="function">pango_break()</code></a> instead of caring about break types yourself.</p>
|
1567
1567
|
<div class="refsect3">
|
1568
1568
|
<a name="g-unichar-break-type.parameters"></a><h4>Parameters</h4>
|
1569
1569
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -1744,7 +1744,7 @@ by Unicode Standard Annex #24). No check is made for <em class="parameter"><code
|
|
1744
1744
|
being a
|
1745
1745
|
valid Unicode character; if you pass in invalid character, the
|
1746
1746
|
result is undefined.</p>
|
1747
|
-
<p>This function is equivalent to <a href="
|
1747
|
+
<p>This function is equivalent to <a href="../pango/pango-Scripts-and-Languages.html#pango-script-for-unichar"><code class="function">pango_script_for_unichar()</code></a> and the
|
1748
1748
|
two are interchangeable.</p>
|
1749
1749
|
<div class="refsect3">
|
1750
1750
|
<a name="g-unichar-get-script.parameters"></a><h4>Parameters</h4>
|
@@ -4003,7 +4003,7 @@ to handle unknown values. They may be regarded as <a class="link" href="glib-Uni
|
|
4003
4003
|
<p>The <a class="link" href="glib-Unicode-Manipulation.html#GUnicodeScript" title="enum GUnicodeScript"><span class="type">GUnicodeScript</span></a> enumeration identifies different writing
|
4004
4004
|
systems. The values correspond to the names as defined in the
|
4005
4005
|
Unicode standard. The enumeration has been added in GLib 2.14,
|
4006
|
-
and is interchangeable with <a href="
|
4006
|
+
and is interchangeable with <a href="../pango/pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a>.</p>
|
4007
4007
|
<p>Note that new types may be added in the future. Applications
|
4008
4008
|
should be ready to handle unknown values.
|
4009
4009
|
See <a class="ulink" href="http://www.unicode.org/reports/tr24/" target="_top">Unicode Standard Annex <span class="type">24</span>: Script names</a>.</p>
|
@@ -355,7 +355,7 @@ linked against at application run time.</p>
|
|
355
355
|
<hr>
|
356
356
|
<div class="refsect2">
|
357
357
|
<a name="GLIB-MICRO-VERSION:CAPS"></a><h3>GLIB_MICRO_VERSION</h3>
|
358
|
-
<pre class="programlisting">#define GLIB_MICRO_VERSION
|
358
|
+
<pre class="programlisting">#define GLIB_MICRO_VERSION 3
|
359
359
|
</pre>
|
360
360
|
<p>The micro version number of the GLib library.</p>
|
361
361
|
<p>Like <span class="type">gtk_micro_version</span>, but from the headers used at
|
@@ -530,7 +530,7 @@ a stack trace. The prompt is then shown again.</p>
|
|
530
530
|
option. If <em class="parameter"><code>prg_name</code></em>
|
531
531
|
is <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-prgname" title="g_get_prgname ()"><code class="function">g_get_prgname()</code></a> is called to get
|
532
532
|
the program name (which will work correctly if <code class="function">gdk_init()</code> or
|
533
|
-
<a href="
|
533
|
+
<a href="../gtk4/gtk4-General.html#gtk-init"><code class="function">gtk_init()</code></a> has been called)</p></td>
|
534
534
|
<td class="parameter_annotations"> </td>
|
535
535
|
</tr></tbody>
|
536
536
|
</table></div>
|
@@ -544,7 +544,7 @@ g_on_error_stack_trace (<em class="parameter"><code>const <a class="link" href="
|
|
544
544
|
<p>Invokes gdb, which attaches to the current process and shows a
|
545
545
|
stack trace. Called by <a class="link" href="glib-Warnings-and-Assertions.html#g-on-error-query" title="g_on_error_query ()"><code class="function">g_on_error_query()</code></a> when the "[S]tack trace"
|
546
546
|
option is selected. You can get the current process's program name
|
547
|
-
with <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-prgname" title="g_get_prgname ()"><code class="function">g_get_prgname()</code></a>, assuming that you have called <a href="
|
547
|
+
with <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-prgname" title="g_get_prgname ()"><code class="function">g_get_prgname()</code></a>, assuming that you have called <a href="../gtk4/gtk4-General.html#gtk-init"><code class="function">gtk_init()</code></a> or
|
548
548
|
<code class="function">gdk_init()</code>.</p>
|
549
549
|
<p>This function may cause different actions on non-UNIX platforms.</p>
|
550
550
|
<div class="refsect3">
|
@@ -239,7 +239,7 @@ This will get the "full Unicode" commandline arguments using
|
|
239
239
|
<code class="function">GetCommandLineW()</code> and convert it to the GLib filename encoding (which
|
240
240
|
is UTF-8 on Windows).</p>
|
241
241
|
<p>The strings returned by this function are suitable for use with
|
242
|
-
functions such as <a class="link" href="glib-File-Utilities.html#g-open" title="g_open ()"><code class="function">g_open()</code></a> and <a href="
|
242
|
+
functions such as <a class="link" href="glib-File-Utilities.html#g-open" title="g_open ()"><code class="function">g_open()</code></a> and <a href="../gio/GFile.html#g-file-new-for-commandline-arg"><code class="function">g_file_new_for_commandline_arg()</code></a> but
|
243
243
|
are not suitable for use with <a class="link" href="glib-Commandline-option-parser.html#g-option-context-parse" title="g_option_context_parse ()"><code class="function">g_option_context_parse()</code></a>, which assumes
|
244
244
|
that its input will be in the system codepage. The return value is
|
245
245
|
suitable for use with <a class="link" href="glib-Commandline-option-parser.html#g-option-context-parse-strv" title="g_option_context_parse_strv ()"><code class="function">g_option_context_parse_strv()</code></a>, however, which
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<div>
|
16
16
|
<div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">GLib Reference Manual</p></th></tr></table></div>
|
17
17
|
<div><p class="releaseinfo">
|
18
|
-
for GLib 2.52.
|
18
|
+
for GLib 2.52.3
|
19
19
|
|
20
20
|
The latest version of this documentation can be found on-line at
|
21
21
|
<a class="ulink" href="https://developer.gnome.org/glib/unstable/" target="_top">https://developer.gnome.org/glib/unstable/</a>.
|
@@ -129,7 +129,7 @@
|
|
129
129
|
</div>
|
130
130
|
<div class="refsect1">
|
131
131
|
<a name="GTypePlugin.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
132
|
-
<pre class="screen"> <a href="
|
132
|
+
<pre class="screen"> <a href="/home/mclasen/gnome/share/gtk-doc/html/gobject/GTypeModule.html">GInterface</a>
|
133
133
|
<span class="lineart">╰──</span> GTypePlugin
|
134
134
|
</pre>
|
135
135
|
</div>
|
@@ -1435,7 +1435,7 @@ parameters avoids the need to write a wrapper function.</p>
|
|
1435
1435
|
<td class="listing_code"><pre class="programlisting"><span class="gtkdoc kwb">static void</span>
|
1436
1436
|
<span class="function">button_clicked_cb</span> <span class="gtkdoc opt">(</span>GtkButton <span class="gtkdoc opt">*</span>button<span class="gtkdoc opt">,</span> GtkWidget <span class="gtkdoc opt">*</span>other_widget<span class="gtkdoc opt">)</span>
|
1437
1437
|
<span class="gtkdoc opt">{</span>
|
1438
|
-
<span class="function"><a href="
|
1438
|
+
<span class="function"><a href="../gtk4/GtkWidget.html#gtk-widget-hide">gtk_widget_hide</a></span> <span class="gtkdoc opt">(</span>other_widget<span class="gtkdoc opt">);</span>
|
1439
1439
|
<span class="gtkdoc opt">}</span>
|
1440
1440
|
|
1441
1441
|
<span class="gtkdoc opt">...</span>
|
@@ -718,7 +718,7 @@ language bindings that provide automated reference and memory ownership
|
|
718
718
|
maintenance (such as smart pointers or garbage collection) should not
|
719
719
|
expose floating references in their API.</p>
|
720
720
|
<p>Some object implementations may need to save an objects floating state
|
721
|
-
across certain code portions (an example is <a href="
|
721
|
+
across certain code portions (an example is <a href="../gtk4/GtkMenu.html#GtkMenu-struct"><span class="type">GtkMenu</span></a>), to achieve this,
|
722
722
|
the following sequence can be used:</p>
|
723
723
|
<div class="informalexample">
|
724
724
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
@@ -46,8 +46,8 @@
|
|
46
46
|
<p>
|
47
47
|
It is important to note that object construction cannot <span class="emphasis"><em>ever</em></span>
|
48
48
|
fail. If you require a fallible GObject construction, you can use the
|
49
|
-
<a href="
|
50
|
-
<a href="
|
49
|
+
<a href="../gio/GInitable.html#GInitable-struct"><span class="type">GInitable</span></a> and
|
50
|
+
<a href="../gio/GAsyncInitable.html#GAsyncInitable-struct"><span class="type">GAsyncInitable</span></a>
|
51
51
|
interfaces provided by the GIO library.
|
52
52
|
</p>
|
53
53
|
<p>
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<div>
|
16
16
|
<div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">GObject Reference Manual</p></th></tr></table></div>
|
17
17
|
<div><p class="releaseinfo">
|
18
|
-
for GObject 2.52.
|
18
|
+
for GObject 2.52.3
|
19
19
|
|
20
20
|
The latest version of this documentation can be found on-line at
|
21
21
|
<a class="ulink" href="https://developer.gnome.org/gobject/unstable/" target="_top">https://developer.gnome.org/gobject/unstable/</a>.
|
@@ -59,7 +59,7 @@
|
|
59
59
|
<span class="comment"> * This is the analogue of g_object_freeze_notify() for child properties.</span>
|
60
60
|
<span class="comment"> **/</span>
|
61
61
|
<span class="gtkdoc kwb">void</span>
|
62
|
-
<span class="function"><a href="
|
62
|
+
<span class="function"><a href="../gtk4/GtkWidget.html#gtk-widget-freeze-child-notify">gtk_widget_freeze_child_notify</a></span> <span class="gtkdoc opt">(</span>GtkWidget <span class="gtkdoc opt">*</span>widget<span class="gtkdoc opt">)</span>
|
63
63
|
<span class="gtkdoc opt">{</span>
|
64
64
|
<span class="gtkdoc opt">...</span></pre></td>
|
65
65
|
</tr>
|
@@ -1,7 +1,7 @@
|
|
1
|
-
This is libtasn1.info, produced by makeinfo version 6.
|
1
|
+
This is libtasn1.info, produced by makeinfo version 6.3 from
|
2
2
|
libtasn1.texi.
|
3
3
|
|
4
|
-
This manual is for GNU Libtasn1 (version 4.
|
4
|
+
This manual is for GNU Libtasn1 (version 4.12, 4 April 2016), which is a
|
5
5
|
library for Abstract Syntax Notation One (ASN.1) and Distinguished
|
6
6
|
Encoding Rules (DER) manipulation.
|
7
7
|
|
@@ -24,7 +24,7 @@ File: libtasn1.info, Node: Top, Next: Introduction, Up: (dir)
|
|
24
24
|
Libtasn1
|
25
25
|
********
|
26
26
|
|
27
|
-
This manual is for GNU Libtasn1 (version 4.
|
27
|
+
This manual is for GNU Libtasn1 (version 4.12, 4 April 2016), which is a
|
28
28
|
library for Abstract Syntax Notation One (ASN.1) and Distinguished
|
29
29
|
Encoding Rules (DER) manipulation.
|
30
30
|
|
Binary file
|
@@ -1,5 +1,5 @@
|
|
1
|
-
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.
|
2
|
-
.TH ASN1CODING "1" "
|
1
|
+
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.4.
|
2
|
+
.TH ASN1CODING "1" "May 2017" "asn1Coding (libtasn1) 4.12" "User Commands"
|
3
3
|
.SH NAME
|
4
4
|
asn1Coding \- ASN.1 DER encoder
|
5
5
|
.SH SYNOPSIS
|
@@ -31,7 +31,7 @@ GNU Libtasn1 home page: <http://www.gnu.org/software/libtasn1/>
|
|
31
31
|
.br
|
32
32
|
General help using GNU software: <http://www.gnu.org/gethelp/>
|
33
33
|
.SH COPYRIGHT
|
34
|
-
Copyright \(co
|
34
|
+
Copyright \(co 2017 Free Software Foundation, Inc.
|
35
35
|
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
|
36
36
|
.br
|
37
37
|
This is free software: you are free to change and redistribute it.
|
@@ -1,5 +1,5 @@
|
|
1
|
-
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.
|
2
|
-
.TH ASN1DECODING "1" "
|
1
|
+
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.4.
|
2
|
+
.TH ASN1DECODING "1" "May 2017" "asn1Decoding (libtasn1) 4.12" "User Commands"
|
3
3
|
.SH NAME
|
4
4
|
asn1Decoding \- ASN.1 DER decoder
|
5
5
|
.SH SYNOPSIS
|
@@ -15,6 +15,9 @@ perform a benchmark on decoding
|
|
15
15
|
\fB\-s\fR, \fB\-\-strict\fR
|
16
16
|
use strict DER decoding
|
17
17
|
.TP
|
18
|
+
\fB\-t\fR, \fB\-\-no\-time\-strict\fR
|
19
|
+
use strict DER decoding but not in time fields
|
20
|
+
.TP
|
18
21
|
\fB\-h\fR, \fB\-\-help\fR
|
19
22
|
display this help and exit
|
20
23
|
.TP
|
@@ -29,7 +32,7 @@ GNU Libtasn1 home page: <http://www.gnu.org/software/libtasn1/>
|
|
29
32
|
.br
|
30
33
|
General help using GNU software: <http://www.gnu.org/gethelp/>
|
31
34
|
.SH COPYRIGHT
|
32
|
-
Copyright \(co
|
35
|
+
Copyright \(co 2017 Free Software Foundation, Inc.
|
33
36
|
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
|
34
37
|
.br
|
35
38
|
This is free software: you are free to change and redistribute it.
|