gobject-introspection 3.0.9-x64-mingw32 → 3.1.0-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +2 -2
  3. data/ext/gobject-introspection/rb-gi-argument.c +205 -47
  4. data/ext/gobject-introspection/rb-gi-constructor-info.c +9 -15
  5. data/ext/gobject-introspection/rb-gi-function-info.c +147 -46
  6. data/ext/gobject-introspection/rb-gi-method-info.c +5 -3
  7. data/ext/gobject-introspection/rb-gi-private.h +3 -1
  8. data/lib/2.2/gobject_introspection.so +0 -0
  9. data/lib/2.3/gobject_introspection.so +0 -0
  10. data/lib/gi.rb +19 -0
  11. data/lib/gobject-introspection.rb +10 -0
  12. data/lib/gobject-introspection/callable-info.rb +19 -5
  13. data/lib/gobject-introspection/loader.rb +113 -82
  14. data/vendor/local/bin/g-ir-compiler.exe +0 -0
  15. data/vendor/local/bin/g-ir-generate.exe +0 -0
  16. data/vendor/local/bin/g-ir-inspect.exe +0 -0
  17. data/vendor/local/bin/libgirepository-1.0-1.dll +0 -0
  18. data/vendor/local/lib/girepository-1.0/GIRepository-2.0.typelib +0 -0
  19. data/vendor/local/lib/girepository-1.0/GLib-2.0.typelib +0 -0
  20. data/vendor/local/lib/girepository-1.0/Gio-2.0.typelib +0 -0
  21. data/vendor/local/lib/gobject-introspection/giscanner/__init__.pyc +0 -0
  22. data/vendor/local/lib/gobject-introspection/giscanner/__init__.pyo +0 -0
  23. data/vendor/local/lib/gobject-introspection/giscanner/annotationmain.pyc +0 -0
  24. data/vendor/local/lib/gobject-introspection/giscanner/annotationmain.pyo +0 -0
  25. data/vendor/local/lib/gobject-introspection/giscanner/annotationparser.pyc +0 -0
  26. data/vendor/local/lib/gobject-introspection/giscanner/annotationparser.pyo +0 -0
  27. data/vendor/local/lib/gobject-introspection/giscanner/ast.py +2 -1
  28. data/vendor/local/lib/gobject-introspection/giscanner/ast.pyc +0 -0
  29. data/vendor/local/lib/gobject-introspection/giscanner/ast.pyo +0 -0
  30. data/vendor/local/lib/gobject-introspection/giscanner/cachestore.pyc +0 -0
  31. data/vendor/local/lib/gobject-introspection/giscanner/cachestore.pyo +0 -0
  32. data/vendor/local/lib/gobject-introspection/giscanner/ccompiler.pyc +0 -0
  33. data/vendor/local/lib/gobject-introspection/giscanner/ccompiler.pyo +0 -0
  34. data/vendor/local/lib/gobject-introspection/giscanner/codegen.pyc +0 -0
  35. data/vendor/local/lib/gobject-introspection/giscanner/codegen.pyo +0 -0
  36. data/vendor/local/lib/gobject-introspection/giscanner/collections/__init__.pyc +0 -0
  37. data/vendor/local/lib/gobject-introspection/giscanner/collections/__init__.pyo +0 -0
  38. data/vendor/local/lib/gobject-introspection/giscanner/collections/counter.pyc +0 -0
  39. data/vendor/local/lib/gobject-introspection/giscanner/collections/counter.pyo +0 -0
  40. data/vendor/local/lib/gobject-introspection/giscanner/collections/ordereddict.pyc +0 -0
  41. data/vendor/local/lib/gobject-introspection/giscanner/collections/ordereddict.pyo +0 -0
  42. data/vendor/local/lib/gobject-introspection/giscanner/docmain.pyc +0 -0
  43. data/vendor/local/lib/gobject-introspection/giscanner/docmain.pyo +0 -0
  44. data/vendor/local/lib/gobject-introspection/giscanner/docwriter.pyc +0 -0
  45. data/vendor/local/lib/gobject-introspection/giscanner/docwriter.pyo +0 -0
  46. data/vendor/local/lib/gobject-introspection/giscanner/dumper.pyc +0 -0
  47. data/vendor/local/lib/gobject-introspection/giscanner/dumper.pyo +0 -0
  48. data/vendor/local/lib/gobject-introspection/giscanner/gdumpparser.pyc +0 -0
  49. data/vendor/local/lib/gobject-introspection/giscanner/gdumpparser.pyo +0 -0
  50. data/vendor/local/lib/gobject-introspection/giscanner/girparser.pyc +0 -0
  51. data/vendor/local/lib/gobject-introspection/giscanner/girparser.pyo +0 -0
  52. data/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyc +0 -0
  53. data/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyo +0 -0
  54. data/vendor/local/lib/gobject-introspection/giscanner/introspectablepass.pyc +0 -0
  55. data/vendor/local/lib/gobject-introspection/giscanner/introspectablepass.pyo +0 -0
  56. data/vendor/local/lib/gobject-introspection/giscanner/libtoolimporter.pyc +0 -0
  57. data/vendor/local/lib/gobject-introspection/giscanner/libtoolimporter.pyo +0 -0
  58. data/vendor/local/lib/gobject-introspection/giscanner/maintransformer.pyc +0 -0
  59. data/vendor/local/lib/gobject-introspection/giscanner/maintransformer.pyo +0 -0
  60. data/vendor/local/lib/gobject-introspection/giscanner/message.pyc +0 -0
  61. data/vendor/local/lib/gobject-introspection/giscanner/message.pyo +0 -0
  62. data/vendor/local/lib/gobject-introspection/giscanner/msvccompiler.pyc +0 -0
  63. data/vendor/local/lib/gobject-introspection/giscanner/msvccompiler.pyo +0 -0
  64. data/vendor/local/lib/gobject-introspection/giscanner/scannermain.pyc +0 -0
  65. data/vendor/local/lib/gobject-introspection/giscanner/scannermain.pyo +0 -0
  66. data/vendor/local/lib/gobject-introspection/giscanner/sectionparser.pyc +0 -0
  67. data/vendor/local/lib/gobject-introspection/giscanner/sectionparser.pyo +0 -0
  68. data/vendor/local/lib/gobject-introspection/giscanner/shlibs.pyc +0 -0
  69. data/vendor/local/lib/gobject-introspection/giscanner/shlibs.pyo +0 -0
  70. data/vendor/local/lib/gobject-introspection/giscanner/sourcescanner.pyc +0 -0
  71. data/vendor/local/lib/gobject-introspection/giscanner/sourcescanner.pyo +0 -0
  72. data/vendor/local/lib/gobject-introspection/giscanner/testcodegen.pyc +0 -0
  73. data/vendor/local/lib/gobject-introspection/giscanner/testcodegen.pyo +0 -0
  74. data/vendor/local/lib/gobject-introspection/giscanner/transformer.pyc +0 -0
  75. data/vendor/local/lib/gobject-introspection/giscanner/transformer.pyo +0 -0
  76. data/vendor/local/lib/gobject-introspection/giscanner/utils.pyc +0 -0
  77. data/vendor/local/lib/gobject-introspection/giscanner/utils.pyo +0 -0
  78. data/vendor/local/lib/gobject-introspection/giscanner/xmlwriter.pyc +0 -0
  79. data/vendor/local/lib/gobject-introspection/giscanner/xmlwriter.pyo +0 -0
  80. data/vendor/local/lib/libgirepository-1.0.a +0 -0
  81. data/vendor/local/lib/libgirepository-1.0.dll.a +0 -0
  82. data/vendor/local/lib/libgirepository-1.0.la +2 -2
  83. data/vendor/local/lib/pkgconfig/gobject-introspection-1.0.pc +1 -1
  84. data/vendor/local/lib/pkgconfig/gobject-introspection-no-export-1.0.pc +1 -1
  85. data/vendor/local/share/gir-1.0/GIRepository-2.0.gir +10 -4
  86. data/vendor/local/share/gir-1.0/GLib-2.0.gir +939 -162
  87. data/vendor/local/share/gir-1.0/GObject-2.0.gir +389 -565
  88. data/vendor/local/share/gir-1.0/Gio-2.0.gir +594 -173
  89. data/vendor/local/share/gobject-introspection-1.0/gdump.c +8 -1
  90. data/vendor/local/share/gobject-introspection-1.0/tests/regress.h +13 -0
  91. metadata +7 -5
@@ -130,10 +130,9 @@ empty or contains characters other than alphanumerics, '-' and '.'.</doc>
130
130
 
131
131
  It is an error to call this function with an invalid action name.
132
132
 
133
- This function is the opposite of
134
- g_action_parse_detailed_action_name(). It will produce a string that
135
- can be parsed back to the @action_name and @target_value by that
136
- function.
133
+ This function is the opposite of g_action_parse_detailed_name().
134
+ It will produce a string that can be parsed back to the @action_name
135
+ and @target_value by that function.
137
136
 
138
137
  See that function for the types of strings that will be printed by
139
138
  this function.</doc>
@@ -2540,11 +2539,71 @@ required.</doc>
2540
2539
  transfer-ownership="none"
2541
2540
  nullable="1"
2542
2541
  allow-none="1">
2543
- <doc xml:space="preserve">an optional #GAppLaunchContext.</doc>
2542
+ <doc xml:space="preserve">an optional #GAppLaunchContext</doc>
2544
2543
  <type name="AppLaunchContext" c:type="GAppLaunchContext*"/>
2545
2544
  </parameter>
2546
2545
  </parameters>
2547
2546
  </function>
2547
+ <function name="launch_default_for_uri_async"
2548
+ c:identifier="g_app_info_launch_default_for_uri_async"
2549
+ version="2.50">
2550
+ <doc xml:space="preserve">Async version of g_app_info_launch_default_for_uri().
2551
+
2552
+ This version is useful if you are interested in receiving
2553
+ error information in the case where the application is
2554
+ sandboxed and the portal may present an application chooser
2555
+ dialog to the user.</doc>
2556
+ <return-value transfer-ownership="none">
2557
+ <type name="none" c:type="void"/>
2558
+ </return-value>
2559
+ <parameters>
2560
+ <parameter name="uri" transfer-ownership="none">
2561
+ <doc xml:space="preserve">the uri to show</doc>
2562
+ <type name="utf8" c:type="const char*"/>
2563
+ </parameter>
2564
+ <parameter name="launch_context" transfer-ownership="none">
2565
+ <type name="AppLaunchContext" c:type="GAppLaunchContext*"/>
2566
+ </parameter>
2567
+ <parameter name="cancellable"
2568
+ transfer-ownership="none"
2569
+ nullable="1"
2570
+ allow-none="1">
2571
+ <type name="Cancellable" c:type="GCancellable*"/>
2572
+ </parameter>
2573
+ <parameter name="callback"
2574
+ transfer-ownership="none"
2575
+ nullable="1"
2576
+ allow-none="1"
2577
+ scope="async"
2578
+ closure="4">
2579
+ <doc xml:space="preserve">a #GASyncReadyCallback to call when the request is done</doc>
2580
+ <type name="AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
2581
+ </parameter>
2582
+ <parameter name="user_data"
2583
+ transfer-ownership="none"
2584
+ nullable="1"
2585
+ allow-none="1">
2586
+ <doc xml:space="preserve">data to pass to @callback</doc>
2587
+ <type name="gpointer" c:type="gpointer"/>
2588
+ </parameter>
2589
+ </parameters>
2590
+ </function>
2591
+ <function name="launch_default_for_uri_finish"
2592
+ c:identifier="g_app_info_launch_default_for_uri_finish"
2593
+ version="2.50"
2594
+ throws="1">
2595
+ <doc xml:space="preserve">Finishes an asynchronous launch-default-for-uri operation.</doc>
2596
+ <return-value transfer-ownership="none">
2597
+ <doc xml:space="preserve">%TRUE if the launch was successful, %FALSE if @error is set</doc>
2598
+ <type name="gboolean" c:type="gboolean"/>
2599
+ </return-value>
2600
+ <parameters>
2601
+ <parameter name="result" transfer-ownership="none">
2602
+ <doc xml:space="preserve">a #GAsyncResult</doc>
2603
+ <type name="AsyncResult" c:type="GAsyncResult*"/>
2604
+ </parameter>
2605
+ </parameters>
2606
+ </function>
2548
2607
  <function name="reset_type_associations"
2549
2608
  c:identifier="g_app_info_reset_type_associations"
2550
2609
  version="2.20">
@@ -2659,19 +2718,12 @@ See g_app_info_can_delete().</doc>
2659
2718
  </parameter>
2660
2719
  </parameters>
2661
2720
  </virtual-method>
2662
- <virtual-method name="get_commandline"
2663
- invoker="get_commandline"
2664
- version="2.20">
2665
- <doc xml:space="preserve">Gets the commandline with which the application will be
2666
- started.</doc>
2721
+ <virtual-method name="get_commandline">
2667
2722
  <return-value transfer-ownership="none">
2668
- <doc xml:space="preserve">a string containing the @appinfo's commandline,
2669
- or %NULL if this information is not available</doc>
2670
2723
  <type name="utf8" c:type="const char*"/>
2671
2724
  </return-value>
2672
2725
  <parameters>
2673
2726
  <instance-parameter name="appinfo" transfer-ownership="none">
2674
- <doc xml:space="preserve">a #GAppInfo</doc>
2675
2727
  <type name="AppInfo" c:type="GAppInfo*"/>
2676
2728
  </instance-parameter>
2677
2729
  </parameters>
@@ -2707,16 +2759,12 @@ no display name is available.</doc>
2707
2759
  </instance-parameter>
2708
2760
  </parameters>
2709
2761
  </virtual-method>
2710
- <virtual-method name="get_executable" invoker="get_executable">
2711
- <doc xml:space="preserve">Gets the executable's name for the installed application.</doc>
2762
+ <virtual-method name="get_executable">
2712
2763
  <return-value transfer-ownership="none">
2713
- <doc xml:space="preserve">a string containing the @appinfo's application
2714
- binaries name</doc>
2715
2764
  <type name="utf8" c:type="const char*"/>
2716
2765
  </return-value>
2717
2766
  <parameters>
2718
2767
  <instance-parameter name="appinfo" transfer-ownership="none">
2719
- <doc xml:space="preserve">a #GAppInfo</doc>
2720
2768
  <type name="AppInfo" c:type="GAppInfo*"/>
2721
2769
  </instance-parameter>
2722
2770
  </parameters>
@@ -2916,8 +2964,9 @@ no way to detect this.</doc>
2916
2964
  <type name="AppInfo" c:type="GAppInfo*"/>
2917
2965
  </instance-parameter>
2918
2966
  <parameter name="extension" transfer-ownership="none">
2919
- <doc xml:space="preserve">a string containing the file extension (without the dot).</doc>
2920
- <type name="utf8" c:type="const char*"/>
2967
+ <doc xml:space="preserve">a string containing the file extension
2968
+ (without the dot).</doc>
2969
+ <type name="filename" c:type="char*"/>
2921
2970
  </parameter>
2922
2971
  </parameters>
2923
2972
  </virtual-method>
@@ -3108,7 +3157,7 @@ started.</doc>
3108
3157
  <return-value transfer-ownership="none">
3109
3158
  <doc xml:space="preserve">a string containing the @appinfo's commandline,
3110
3159
  or %NULL if this information is not available</doc>
3111
- <type name="utf8" c:type="const char*"/>
3160
+ <type name="filename" c:type="char*"/>
3112
3161
  </return-value>
3113
3162
  <parameters>
3114
3163
  <instance-parameter name="appinfo" transfer-ownership="none">
@@ -3153,7 +3202,7 @@ no display name is available.</doc>
3153
3202
  <return-value transfer-ownership="none">
3154
3203
  <doc xml:space="preserve">a string containing the @appinfo's application
3155
3204
  binaries name</doc>
3156
- <type name="utf8" c:type="const char*"/>
3205
+ <type name="filename" c:type="char*"/>
3157
3206
  </return-value>
3158
3207
  <parameters>
3159
3208
  <instance-parameter name="appinfo" transfer-ownership="none">
@@ -3359,8 +3408,9 @@ no way to detect this.</doc>
3359
3408
  <type name="AppInfo" c:type="GAppInfo*"/>
3360
3409
  </instance-parameter>
3361
3410
  <parameter name="extension" transfer-ownership="none">
3362
- <doc xml:space="preserve">a string containing the file extension (without the dot).</doc>
3363
- <type name="utf8" c:type="const char*"/>
3411
+ <doc xml:space="preserve">a string containing the file extension
3412
+ (without the dot).</doc>
3413
+ <type name="filename" c:type="char*"/>
3364
3414
  </parameter>
3365
3415
  </parameters>
3366
3416
  </method>
@@ -3562,13 +3612,10 @@ application @appinfo, or %NULL if none.</doc>
3562
3612
  <field name="get_executable">
3563
3613
  <callback name="get_executable">
3564
3614
  <return-value transfer-ownership="none">
3565
- <doc xml:space="preserve">a string containing the @appinfo's application
3566
- binaries name</doc>
3567
3615
  <type name="utf8" c:type="const char*"/>
3568
3616
  </return-value>
3569
3617
  <parameters>
3570
3618
  <parameter name="appinfo" transfer-ownership="none">
3571
- <doc xml:space="preserve">a #GAppInfo</doc>
3572
3619
  <type name="AppInfo" c:type="GAppInfo*"/>
3573
3620
  </parameter>
3574
3621
  </parameters>
@@ -3721,8 +3768,9 @@ if there is no default icon.</doc>
3721
3768
  <type name="AppInfo" c:type="GAppInfo*"/>
3722
3769
  </parameter>
3723
3770
  <parameter name="extension" transfer-ownership="none">
3724
- <doc xml:space="preserve">a string containing the file extension (without the dot).</doc>
3725
- <type name="utf8" c:type="const char*"/>
3771
+ <doc xml:space="preserve">a string containing the file extension
3772
+ (without the dot).</doc>
3773
+ <type name="filename" c:type="char*"/>
3726
3774
  </parameter>
3727
3775
  </parameters>
3728
3776
  </callback>
@@ -3809,13 +3857,10 @@ if there is no default icon.</doc>
3809
3857
  <field name="get_commandline">
3810
3858
  <callback name="get_commandline">
3811
3859
  <return-value transfer-ownership="none">
3812
- <doc xml:space="preserve">a string containing the @appinfo's commandline,
3813
- or %NULL if this information is not available</doc>
3814
3860
  <type name="utf8" c:type="const char*"/>
3815
3861
  </return-value>
3816
3862
  <parameters>
3817
3863
  <parameter name="appinfo" transfer-ownership="none">
3818
- <doc xml:space="preserve">a #GAppInfo</doc>
3819
3864
  <type name="AppInfo" c:type="GAppInfo*"/>
3820
3865
  </parameter>
3821
3866
  </parameters>
@@ -6414,9 +6459,9 @@ directory, so this may be %NULL.
6414
6459
 
6415
6460
  The return value should not be modified or freed and is valid for as
6416
6461
  long as @cmdline exists.</doc>
6417
- <return-value transfer-ownership="none">
6462
+ <return-value transfer-ownership="none" nullable="1">
6418
6463
  <doc xml:space="preserve">the current directory, or %NULL</doc>
6419
- <type name="utf8" c:type="const gchar*"/>
6464
+ <type name="filename" c:type="gchar*"/>
6420
6465
  </return-value>
6421
6466
  <parameters>
6422
6467
  <instance-parameter name="cmdline" transfer-ownership="none">
@@ -10259,31 +10304,31 @@ returned string may change in future GLib release.</doc>
10259
10304
  value="1"
10260
10305
  c:identifier="G_CREDENTIALS_TYPE_LINUX_UCRED"
10261
10306
  glib:nick="linux-ucred">
10262
- <doc xml:space="preserve">The native credentials type is a &lt;type&gt;struct ucred&lt;/type&gt;.</doc>
10307
+ <doc xml:space="preserve">The native credentials type is a struct ucred.</doc>
10263
10308
  </member>
10264
10309
  <member name="freebsd_cmsgcred"
10265
10310
  value="2"
10266
10311
  c:identifier="G_CREDENTIALS_TYPE_FREEBSD_CMSGCRED"
10267
10312
  glib:nick="freebsd-cmsgcred">
10268
- <doc xml:space="preserve">The native credentials type is a &lt;type&gt;struct cmsgcred&lt;/type&gt;.</doc>
10313
+ <doc xml:space="preserve">The native credentials type is a struct cmsgcred.</doc>
10269
10314
  </member>
10270
10315
  <member name="openbsd_sockpeercred"
10271
10316
  value="3"
10272
10317
  c:identifier="G_CREDENTIALS_TYPE_OPENBSD_SOCKPEERCRED"
10273
10318
  glib:nick="openbsd-sockpeercred">
10274
- <doc xml:space="preserve">The native credentials type is a &lt;type&gt;struct sockpeercred&lt;/type&gt;. Added in 2.30.</doc>
10319
+ <doc xml:space="preserve">The native credentials type is a struct sockpeercred. Added in 2.30.</doc>
10275
10320
  </member>
10276
10321
  <member name="solaris_ucred"
10277
10322
  value="4"
10278
10323
  c:identifier="G_CREDENTIALS_TYPE_SOLARIS_UCRED"
10279
10324
  glib:nick="solaris-ucred">
10280
- <doc xml:space="preserve">The native credentials type is a &lt;type&gt;ucred_t&lt;/type&gt;. Added in 2.40.</doc>
10325
+ <doc xml:space="preserve">The native credentials type is a ucred_t. Added in 2.40.</doc>
10281
10326
  </member>
10282
10327
  <member name="netbsd_unpcbid"
10283
10328
  value="5"
10284
10329
  c:identifier="G_CREDENTIALS_TYPE_NETBSD_UNPCBID"
10285
10330
  glib:nick="netbsd-unpcbid">
10286
- <doc xml:space="preserve">The native credentials type is a &lt;type&gt;struct unpcbid&lt;/type&gt;.</doc>
10331
+ <doc xml:space="preserve">The native credentials type is a struct unpcbid.</doc>
10287
10332
  </member>
10288
10333
  </enumeration>
10289
10334
  <class name="DBusActionGroup"
@@ -18085,7 +18130,8 @@ is available at the well-known name `net.example.ExampleService1`, the object
18085
18130
  manager should typically be exported at `/net/example/ExampleService1`, or
18086
18131
  below (to allow for multiple object managers in a service).
18087
18132
 
18088
- It is not supported to export an object manager at the root path, `/`.
18133
+ It is supported, but not recommended, to export an object manager at the root
18134
+ path, `/`.
18089
18135
 
18090
18136
  See #GDBusObjectManagerClient for the client-side code that is
18091
18137
  intended to be used with #GDBusObjectManagerServer or any D-Bus
@@ -18109,8 +18155,7 @@ signals being emitted.</doc>
18109
18155
  </return-value>
18110
18156
  <parameters>
18111
18157
  <parameter name="object_path" transfer-ownership="none">
18112
- <doc xml:space="preserve">The object path to export the manager object at, which should
18113
- not be `/`.</doc>
18158
+ <doc xml:space="preserve">The object path to export the manager object at.</doc>
18114
18159
  <type name="utf8" c:type="const gchar*"/>
18115
18160
  </parameter>
18116
18161
  </parameters>
@@ -19979,7 +20024,7 @@ This function is called in the
19979
20024
  that @manager was constructed in.</doc>
19980
20025
  <return-value transfer-ownership="none">
19981
20026
  <doc xml:space="preserve">A #GType to use for the remote object. The returned type
19982
- must be a #GDBusProxy&lt;!-- --&gt;- or #GDBusObjectProxy&lt;!-- --&gt;-derived
20027
+ must be a #GDBusProxy or #GDBusObjectProxy -derived
19983
20028
  type.</doc>
19984
20029
  <type name="GType" c:type="GType"/>
19985
20030
  </return-value>
@@ -21866,12 +21911,13 @@ condition in the application, but it can also happen for other reasons. For
21866
21911
  instance, on Windows a socket is always seen as writable until a write
21867
21912
  returns %G_IO_ERROR_WOULD_BLOCK.
21868
21913
 
21869
- As with #GSocket, #GDatagramBaseds can be either connection oriented or
21870
- connectionless. The interface does not cover connection establishment use
21871
- methods on the underlying type to establish a connection before sending and
21872
- receiving data through the #GDatagramBased API. For connectionless socket
21873
- types the target/source address is specified or received in each I/O
21874
- operation.
21914
+ As with #GSocket, #GDatagramBaseds can be either connection oriented (for
21915
+ example, SCTP) or connectionless (for example, UDP). #GDatagramBaseds must be
21916
+ datagram-based, not stream-based. The interface does not cover connection
21917
+ establishment use methods on the underlying type to establish a connection
21918
+ before sending and receiving data through the #GDatagramBased API. For
21919
+ connectionless socket types the target/source address is specified or
21920
+ received in each I/O operation.
21875
21921
 
21876
21922
  Like most other APIs in GLib, #GDatagramBased is not inherently thread safe.
21877
21923
  To use a #GDatagramBased concurrently from multiple threads, you must
@@ -23161,6 +23207,22 @@ for more details.</doc>
23161
23207
  </instance-parameter>
23162
23208
  </parameters>
23163
23209
  </virtual-method>
23210
+ <virtual-method name="is_removable"
23211
+ invoker="is_removable"
23212
+ version="2.50">
23213
+ <doc xml:space="preserve">Checks if the #GDrive and/or its media is considered removable by the user.
23214
+ See g_drive_is_media_removable().</doc>
23215
+ <return-value transfer-ownership="none">
23216
+ <doc xml:space="preserve">%TRUE if @drive and/or its media is considered removable, %FALSE otherwise.</doc>
23217
+ <type name="gboolean" c:type="gboolean"/>
23218
+ </return-value>
23219
+ <parameters>
23220
+ <instance-parameter name="drive" transfer-ownership="none">
23221
+ <doc xml:space="preserve">a #GDrive.</doc>
23222
+ <type name="Drive" c:type="GDrive*"/>
23223
+ </instance-parameter>
23224
+ </parameters>
23225
+ </virtual-method>
23164
23226
  <virtual-method name="poll_for_media" invoker="poll_for_media">
23165
23227
  <doc xml:space="preserve">Asynchronously polls @drive to see if media has been inserted or removed.
23166
23228
 
@@ -23776,6 +23838,22 @@ for more details.</doc>
23776
23838
  </instance-parameter>
23777
23839
  </parameters>
23778
23840
  </method>
23841
+ <method name="is_removable"
23842
+ c:identifier="g_drive_is_removable"
23843
+ version="2.50">
23844
+ <doc xml:space="preserve">Checks if the #GDrive and/or its media is considered removable by the user.
23845
+ See g_drive_is_media_removable().</doc>
23846
+ <return-value transfer-ownership="none">
23847
+ <doc xml:space="preserve">%TRUE if @drive and/or its media is considered removable, %FALSE otherwise.</doc>
23848
+ <type name="gboolean" c:type="gboolean"/>
23849
+ </return-value>
23850
+ <parameters>
23851
+ <instance-parameter name="drive" transfer-ownership="none">
23852
+ <doc xml:space="preserve">a #GDrive.</doc>
23853
+ <type name="Drive" c:type="GDrive*"/>
23854
+ </instance-parameter>
23855
+ </parameters>
23856
+ </method>
23779
23857
  <method name="poll_for_media" c:identifier="g_drive_poll_for_media">
23780
23858
  <doc xml:space="preserve">Asynchronously polls @drive to see if media has been inserted or removed.
23781
23859
 
@@ -24639,6 +24717,20 @@ been pressed.</doc>
24639
24717
  </parameters>
24640
24718
  </callback>
24641
24719
  </field>
24720
+ <field name="is_removable">
24721
+ <callback name="is_removable">
24722
+ <return-value transfer-ownership="none">
24723
+ <doc xml:space="preserve">%TRUE if @drive and/or its media is considered removable, %FALSE otherwise.</doc>
24724
+ <type name="gboolean" c:type="gboolean"/>
24725
+ </return-value>
24726
+ <parameters>
24727
+ <parameter name="drive" transfer-ownership="none">
24728
+ <doc xml:space="preserve">a #GDrive.</doc>
24729
+ <type name="Drive" c:type="GDrive*"/>
24730
+ </parameter>
24731
+ </parameters>
24732
+ </callback>
24733
+ </field>
24642
24734
  </record>
24643
24735
  <bitfield name="DriveStartFlags"
24644
24736
  version="2.22"
@@ -26525,6 +26617,14 @@ file system. Corresponding #GFileAttributeType is
26525
26617
  c:type="G_FILE_ATTRIBUTE_FILESYSTEM_READONLY">
26526
26618
  <doc xml:space="preserve">A key in the "filesystem" namespace for checking if the file system
26527
26619
  is read only. Is set to %TRUE if the file system is read only.
26620
+ Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_BOOLEAN.</doc>
26621
+ <type name="utf8" c:type="gchar*"/>
26622
+ </constant>
26623
+ <constant name="FILE_ATTRIBUTE_FILESYSTEM_REMOTE"
26624
+ value="filesystem::remote"
26625
+ c:type="G_FILE_ATTRIBUTE_FILESYSTEM_REMOTE">
26626
+ <doc xml:space="preserve">A key in the "filesystem" namespace for checking if the file system
26627
+ is remote. Is set to %TRUE if the file system is remote.
26528
26628
  Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_BOOLEAN.</doc>
26529
26629
  <type name="utf8" c:type="gchar*"/>
26530
26630
  </constant>
@@ -27268,7 +27368,7 @@ See also g_application_command_line_create_file_for_arg().</doc>
27268
27368
  </parameter>
27269
27369
  <parameter name="cwd" transfer-ownership="none">
27270
27370
  <doc xml:space="preserve">the current working directory of the commandline</doc>
27271
- <type name="utf8" c:type="const gchar*"/>
27371
+ <type name="filename" c:type="gchar*"/>
27272
27372
  </parameter>
27273
27373
  </parameters>
27274
27374
  </function>
@@ -27285,7 +27385,7 @@ operation if @path is malformed.</doc>
27285
27385
  <parameter name="path" transfer-ownership="none">
27286
27386
  <doc xml:space="preserve">a string containing a relative or absolute path.
27287
27387
  The string must be encoded in the glib filename encoding.</doc>
27288
- <type name="utf8" c:type="const char*"/>
27388
+ <type name="filename" c:type="char*"/>
27289
27389
  </parameter>
27290
27390
  </parameters>
27291
27391
  </function>
@@ -28430,29 +28530,12 @@ See g_file_find_enclosing_mount_async().</doc>
28430
28530
  </parameter>
28431
28531
  </parameters>
28432
28532
  </virtual-method>
28433
- <virtual-method name="get_basename" invoker="get_basename">
28434
- <doc xml:space="preserve">Gets the base name (the last component of the path) for a given #GFile.
28435
-
28436
- If called for the top level of a system (such as the filesystem root
28437
- or a uri like sftp://host/) it will return a single directory separator
28438
- (and on Windows, possibly a drive letter).
28439
-
28440
- The base name is a byte string (not UTF-8). It has no defined encoding
28441
- or rules other than it may not contain zero bytes. If you want to use
28442
- filenames in a user interface you should use the display name that you
28443
- can get by requesting the %G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME
28444
- attribute with g_file_query_info().
28445
-
28446
- This call does no blocking I/O.</doc>
28447
- <return-value transfer-ownership="full" nullable="1">
28448
- <doc xml:space="preserve">string containing the #GFile's base name, or
28449
- %NULL if given #GFile is invalid. The returned string should be
28450
- freed with g_free() when no longer needed.</doc>
28533
+ <virtual-method name="get_basename">
28534
+ <return-value transfer-ownership="full">
28451
28535
  <type name="utf8" c:type="char*"/>
28452
28536
  </return-value>
28453
28537
  <parameters>
28454
28538
  <instance-parameter name="file" transfer-ownership="none">
28455
- <doc xml:space="preserve">input #GFile</doc>
28456
28539
  <type name="File" c:type="GFile*"/>
28457
28540
  </instance-parameter>
28458
28541
  </parameters>
@@ -28532,42 +28615,25 @@ This call does no blocking I/O.</doc>
28532
28615
  </instance-parameter>
28533
28616
  </parameters>
28534
28617
  </virtual-method>
28535
- <virtual-method name="get_path" invoker="get_path">
28536
- <doc xml:space="preserve">Gets the local pathname for #GFile, if one exists. If non-%NULL, this is
28537
- guaranteed to be an absolute, canonical path. It might contain symlinks.
28538
-
28539
- This call does no blocking I/O.</doc>
28540
- <return-value transfer-ownership="full" nullable="1">
28541
- <doc xml:space="preserve">string containing the #GFile's path, or %NULL
28542
- if no such path exists. The returned string should be freed
28543
- with g_free() when no longer needed.</doc>
28618
+ <virtual-method name="get_path">
28619
+ <return-value transfer-ownership="full">
28544
28620
  <type name="utf8" c:type="char*"/>
28545
28621
  </return-value>
28546
28622
  <parameters>
28547
28623
  <instance-parameter name="file" transfer-ownership="none">
28548
- <doc xml:space="preserve">input #GFile</doc>
28549
28624
  <type name="File" c:type="GFile*"/>
28550
28625
  </instance-parameter>
28551
28626
  </parameters>
28552
28627
  </virtual-method>
28553
- <virtual-method name="get_relative_path" invoker="get_relative_path">
28554
- <doc xml:space="preserve">Gets the path for @descendant relative to @parent.
28555
-
28556
- This call does no blocking I/O.</doc>
28557
- <return-value transfer-ownership="full" nullable="1">
28558
- <doc xml:space="preserve">string with the relative path from @descendant
28559
- to @parent, or %NULL if @descendant doesn't have @parent as
28560
- prefix. The returned string should be freed with g_free() when
28561
- no longer needed.</doc>
28628
+ <virtual-method name="get_relative_path">
28629
+ <return-value transfer-ownership="full">
28562
28630
  <type name="utf8" c:type="char*"/>
28563
28631
  </return-value>
28564
28632
  <parameters>
28565
28633
  <instance-parameter name="parent" transfer-ownership="none">
28566
- <doc xml:space="preserve">input #GFile</doc>
28567
28634
  <type name="File" c:type="GFile*"/>
28568
28635
  </instance-parameter>
28569
28636
  <parameter name="descendant" transfer-ownership="none">
28570
- <doc xml:space="preserve">input #GFile</doc>
28571
28637
  <type name="File" c:type="GFile*"/>
28572
28638
  </parameter>
28573
28639
  </parameters>
@@ -28793,8 +28859,9 @@ was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.</doc>
28793
28859
  <type name="File" c:type="GFile*"/>
28794
28860
  </instance-parameter>
28795
28861
  <parameter name="symlink_value" transfer-ownership="none">
28796
- <doc xml:space="preserve">a string with the path for the target of the new symlink</doc>
28797
- <type name="utf8" c:type="const char*"/>
28862
+ <doc xml:space="preserve">a string with the path for the target
28863
+ of the new symlink</doc>
28864
+ <type name="filename" c:type="char*"/>
28798
28865
  </parameter>
28799
28866
  <parameter name="cancellable"
28800
28867
  transfer-ownership="none"
@@ -30310,7 +30377,7 @@ This call does no blocking I/O.</doc>
30310
30377
  </instance-parameter>
30311
30378
  <parameter name="relative_path" transfer-ownership="none">
30312
30379
  <doc xml:space="preserve">a given relative path string</doc>
30313
- <type name="utf8" c:type="const char*"/>
30380
+ <type name="filename" c:type="char*"/>
30314
30381
  </parameter>
30315
30382
  </parameters>
30316
30383
  </virtual-method>
@@ -32147,10 +32214,10 @@ attribute with g_file_query_info().
32147
32214
 
32148
32215
  This call does no blocking I/O.</doc>
32149
32216
  <return-value transfer-ownership="full" nullable="1">
32150
- <doc xml:space="preserve">string containing the #GFile's base name, or
32151
- %NULL if given #GFile is invalid. The returned string should be
32152
- freed with g_free() when no longer needed.</doc>
32153
- <type name="utf8" c:type="char*"/>
32217
+ <doc xml:space="preserve">string containing the #GFile's
32218
+ base name, or %NULL if given #GFile is invalid. The returned string
32219
+ should be freed with g_free() when no longer needed.</doc>
32220
+ <type name="filename" c:type="char*"/>
32154
32221
  </return-value>
32155
32222
  <parameters>
32156
32223
  <instance-parameter name="file" transfer-ownership="none">
@@ -32179,7 +32246,7 @@ This call does no blocking I/O.</doc>
32179
32246
  </instance-parameter>
32180
32247
  <parameter name="name" transfer-ownership="none">
32181
32248
  <doc xml:space="preserve">string containing the child's basename</doc>
32182
- <type name="utf8" c:type="const char*"/>
32249
+ <type name="filename" c:type="char*"/>
32183
32250
  </parameter>
32184
32251
  </parameters>
32185
32252
  </method>
@@ -32264,10 +32331,10 @@ guaranteed to be an absolute, canonical path. It might contain symlinks.
32264
32331
 
32265
32332
  This call does no blocking I/O.</doc>
32266
32333
  <return-value transfer-ownership="full" nullable="1">
32267
- <doc xml:space="preserve">string containing the #GFile's path, or %NULL
32268
- if no such path exists. The returned string should be freed
32334
+ <doc xml:space="preserve">string containing the #GFile's path,
32335
+ or %NULL if no such path exists. The returned string should be freed
32269
32336
  with g_free() when no longer needed.</doc>
32270
- <type name="utf8" c:type="char*"/>
32337
+ <type name="filename" c:type="char*"/>
32271
32338
  </return-value>
32272
32339
  <parameters>
32273
32340
  <instance-parameter name="file" transfer-ownership="none">
@@ -32281,11 +32348,11 @@ This call does no blocking I/O.</doc>
32281
32348
 
32282
32349
  This call does no blocking I/O.</doc>
32283
32350
  <return-value transfer-ownership="full" nullable="1">
32284
- <doc xml:space="preserve">string with the relative path from @descendant
32285
- to @parent, or %NULL if @descendant doesn't have @parent as
32351
+ <doc xml:space="preserve">string with the relative path from
32352
+ @descendant to @parent, or %NULL if @descendant doesn't have @parent as
32286
32353
  prefix. The returned string should be freed with g_free() when
32287
32354
  no longer needed.</doc>
32288
- <type name="utf8" c:type="char*"/>
32355
+ <type name="filename" c:type="char*"/>
32289
32356
  </return-value>
32290
32357
  <parameters>
32291
32358
  <instance-parameter name="parent" transfer-ownership="none">
@@ -32878,8 +32945,9 @@ was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.</doc>
32878
32945
  <type name="File" c:type="GFile*"/>
32879
32946
  </instance-parameter>
32880
32947
  <parameter name="symlink_value" transfer-ownership="none">
32881
- <doc xml:space="preserve">a string with the path for the target of the new symlink</doc>
32882
- <type name="utf8" c:type="const char*"/>
32948
+ <doc xml:space="preserve">a string with the path for the target
32949
+ of the new symlink</doc>
32950
+ <type name="filename" c:type="char*"/>
32883
32951
  </parameter>
32884
32952
  <parameter name="cancellable"
32885
32953
  transfer-ownership="none"
@@ -34744,7 +34812,7 @@ This call does no blocking I/O.</doc>
34744
34812
  </instance-parameter>
34745
34813
  <parameter name="relative_path" transfer-ownership="none">
34746
34814
  <doc xml:space="preserve">a given relative path string</doc>
34747
- <type name="utf8" c:type="const char*"/>
34815
+ <type name="filename" c:type="char*"/>
34748
34816
  </parameter>
34749
34817
  </parameters>
34750
34818
  </method>
@@ -36656,7 +36724,7 @@ the gboolean return value signifies "end of iteration or error", which
36656
36724
  requires allocation of a temporary #GError.
36657
36725
 
36658
36726
  In contrast, with this function, a %FALSE return from
36659
- gs_file_enumerator_iterate() *always* means
36727
+ g_file_enumerator_iterate() *always* means
36660
36728
  "error". End of iteration is signaled by @out_info or @out_child being %NULL.
36661
36729
 
36662
36730
  Another crucial difference is that the references for @out_info and
@@ -37856,15 +37924,11 @@ to be used as icon.</doc>
37856
37924
  </field>
37857
37925
  <field name="get_basename">
37858
37926
  <callback name="get_basename">
37859
- <return-value transfer-ownership="full" nullable="1">
37860
- <doc xml:space="preserve">string containing the #GFile's base name, or
37861
- %NULL if given #GFile is invalid. The returned string should be
37862
- freed with g_free() when no longer needed.</doc>
37927
+ <return-value transfer-ownership="full">
37863
37928
  <type name="utf8" c:type="char*"/>
37864
37929
  </return-value>
37865
37930
  <parameters>
37866
37931
  <parameter name="file" transfer-ownership="none">
37867
- <doc xml:space="preserve">input #GFile</doc>
37868
37932
  <type name="File" c:type="GFile*"/>
37869
37933
  </parameter>
37870
37934
  </parameters>
@@ -37872,15 +37936,11 @@ to be used as icon.</doc>
37872
37936
  </field>
37873
37937
  <field name="get_path">
37874
37938
  <callback name="get_path">
37875
- <return-value transfer-ownership="full" nullable="1">
37876
- <doc xml:space="preserve">string containing the #GFile's path, or %NULL
37877
- if no such path exists. The returned string should be freed
37878
- with g_free() when no longer needed.</doc>
37939
+ <return-value transfer-ownership="full">
37879
37940
  <type name="utf8" c:type="char*"/>
37880
37941
  </return-value>
37881
37942
  <parameters>
37882
37943
  <parameter name="file" transfer-ownership="none">
37883
- <doc xml:space="preserve">input #GFile</doc>
37884
37944
  <type name="File" c:type="GFile*"/>
37885
37945
  </parameter>
37886
37946
  </parameters>
@@ -37955,20 +38015,14 @@ to be used as icon.</doc>
37955
38015
  </field>
37956
38016
  <field name="get_relative_path">
37957
38017
  <callback name="get_relative_path">
37958
- <return-value transfer-ownership="full" nullable="1">
37959
- <doc xml:space="preserve">string with the relative path from @descendant
37960
- to @parent, or %NULL if @descendant doesn't have @parent as
37961
- prefix. The returned string should be freed with g_free() when
37962
- no longer needed.</doc>
38018
+ <return-value transfer-ownership="full">
37963
38019
  <type name="utf8" c:type="char*"/>
37964
38020
  </return-value>
37965
38021
  <parameters>
37966
38022
  <parameter name="parent" transfer-ownership="none">
37967
- <doc xml:space="preserve">input #GFile</doc>
37968
38023
  <type name="File" c:type="GFile*"/>
37969
38024
  </parameter>
37970
38025
  <parameter name="descendant" transfer-ownership="none">
37971
- <doc xml:space="preserve">input #GFile</doc>
37972
38026
  <type name="File" c:type="GFile*"/>
37973
38027
  </parameter>
37974
38028
  </parameters>
@@ -37989,7 +38043,7 @@ to be used as icon.</doc>
37989
38043
  </parameter>
37990
38044
  <parameter name="relative_path" transfer-ownership="none">
37991
38045
  <doc xml:space="preserve">a given relative path string</doc>
37992
- <type name="utf8" c:type="const char*"/>
38046
+ <type name="filename" c:type="char*"/>
37993
38047
  </parameter>
37994
38048
  </parameters>
37995
38049
  </callback>
@@ -39367,8 +39421,9 @@ to be used as icon.</doc>
39367
39421
  <type name="File" c:type="GFile*"/>
39368
39422
  </parameter>
39369
39423
  <parameter name="symlink_value" transfer-ownership="none">
39370
- <doc xml:space="preserve">a string with the path for the target of the new symlink</doc>
39371
- <type name="utf8" c:type="const char*"/>
39424
+ <doc xml:space="preserve">a string with the path for the target
39425
+ of the new symlink</doc>
39426
+ <type name="filename" c:type="char*"/>
39372
39427
  </parameter>
39373
39428
  <parameter name="cancellable"
39374
39429
  transfer-ownership="none"
@@ -41253,7 +41308,7 @@ in @result.</doc>
41253
41308
  <doc xml:space="preserve">Gets the name for a file.</doc>
41254
41309
  <return-value transfer-ownership="none">
41255
41310
  <doc xml:space="preserve">a string containing the file name.</doc>
41256
- <type name="utf8" c:type="const char*"/>
41311
+ <type name="filename" c:type="char*"/>
41257
41312
  </return-value>
41258
41313
  <parameters>
41259
41314
  <instance-parameter name="info" transfer-ownership="none">
@@ -41824,7 +41879,7 @@ See %G_FILE_ATTRIBUTE_STANDARD_NAME.</doc>
41824
41879
  </instance-parameter>
41825
41880
  <parameter name="name" transfer-ownership="none">
41826
41881
  <doc xml:space="preserve">a string containing a name.</doc>
41827
- <type name="utf8" c:type="const char*"/>
41882
+ <type name="filename" c:type="char*"/>
41828
41883
  </parameter>
41829
41884
  </parameters>
41830
41885
  </method>
@@ -42612,7 +42667,7 @@ consecutive change events to the same file.</doc>
42612
42667
  <glib:signal name="changed" when="last">
42613
42668
  <doc xml:space="preserve">Emitted when @file has been changed.
42614
42669
 
42615
- If using %G_FILE_MONITOR_WATCH_RENAMES on a directory monitor, and
42670
+ If using %G_FILE_MONITOR_WATCH_MOVES on a directory monitor, and
42616
42671
  the information is available (and if supported by the backend),
42617
42672
  @event_type may be %G_FILE_MONITOR_EVENT_RENAMED,
42618
42673
  %G_FILE_MONITOR_EVENT_MOVED_IN or %G_FILE_MONITOR_EVENT_MOVED_OUT.
@@ -42631,7 +42686,7 @@ equivalent to %G_FILE_MONITOR_EVENT_CREATED and
42631
42686
  %G_FILE_MONITOR_EVENT_DELETED, with extra information.
42632
42687
  %G_FILE_MONITOR_EVENT_RENAMED is equivalent to a delete/create
42633
42688
  pair. This is exactly how the events will be reported in the case
42634
- that the %G_FILE_MONITOR_WATCH_RENAMES flag is not in use.
42689
+ that the %G_FILE_MONITOR_WATCH_MOVES flag is not in use.
42635
42690
 
42636
42691
  If using the deprecated flag %G_FILE_MONITOR_SEND_MOVED flag and @event_type is
42637
42692
  #G_FILE_MONITOR_EVENT_MOVED, @file will be set to a #GFile containing the
@@ -42797,7 +42852,7 @@ In all the other cases, @other_file will be set to #NULL.</doc>
42797
42852
  glib:nick="renamed">
42798
42853
  <doc xml:space="preserve">the file was renamed within the
42799
42854
  current directory -- only sent if the %G_FILE_MONITOR_WATCH_MOVES
42800
- flag is set. Since: 2.44.</doc>
42855
+ flag is set. Since: 2.46.</doc>
42801
42856
  </member>
42802
42857
  <member name="moved_in"
42803
42858
  value="9"
@@ -42805,7 +42860,7 @@ In all the other cases, @other_file will be set to #NULL.</doc>
42805
42860
  glib:nick="moved-in">
42806
42861
  <doc xml:space="preserve">the file was moved into the
42807
42862
  monitored directory from another location -- only sent if the
42808
- %G_FILE_MONITOR_WATCH_MOVES flag is set. Since: 2.44.</doc>
42863
+ %G_FILE_MONITOR_WATCH_MOVES flag is set. Since: 2.46.</doc>
42809
42864
  </member>
42810
42865
  <member name="moved_out"
42811
42866
  value="10"
@@ -42813,7 +42868,7 @@ In all the other cases, @other_file will be set to #NULL.</doc>
42813
42868
  glib:nick="moved-out">
42814
42869
  <doc xml:space="preserve">the file was moved out of the
42815
42870
  monitored directory to another location -- only sent if the
42816
- %G_FILE_MONITOR_WATCH_MOVES flag is set. Since: 2.44</doc>
42871
+ %G_FILE_MONITOR_WATCH_MOVES flag is set. Since: 2.46</doc>
42817
42872
  </member>
42818
42873
  </enumeration>
42819
42874
  <bitfield name="FileMonitorFlags"
@@ -42841,7 +42896,7 @@ In all the other cases, @other_file will be set to #NULL.</doc>
42841
42896
  by file renames (moves) and send a single G_FILE_MONITOR_EVENT_MOVED
42842
42897
  event instead (NB: not supported on all backends; the default
42843
42898
  behaviour -without specifying this flag- is to send single DELETED
42844
- and CREATED events). Deprecated since 2.44: use
42899
+ and CREATED events). Deprecated since 2.46: use
42845
42900
  %G_FILE_MONITOR_WATCH_MOVES instead.</doc>
42846
42901
  </member>
42847
42902
  <member name="watch_hard_links"
@@ -42858,7 +42913,7 @@ In all the other cases, @other_file will be set to #NULL.</doc>
42858
42913
  <doc xml:space="preserve">Watch for rename operations on a
42859
42914
  monitored directory. This causes %G_FILE_MONITOR_EVENT_RENAMED,
42860
42915
  %G_FILE_MONITOR_EVENT_MOVED_IN and %G_FILE_MONITOR_EVENT_MOVED_OUT
42861
- events to be emitted when possible. Since: 2.44.</doc>
42916
+ events to be emitted when possible. Since: 2.46.</doc>
42862
42917
  </member>
42863
42918
  </bitfield>
42864
42919
  <record name="FileMonitorPrivate"
@@ -44474,7 +44529,7 @@ or %NULL on error.</doc>
44474
44529
  <parameters>
44475
44530
  <parameter name="filename" transfer-ownership="none">
44476
44531
  <doc xml:space="preserve">filename of the shared library module.</doc>
44477
- <type name="utf8" c:type="const gchar*"/>
44532
+ <type name="filename" c:type="gchar*"/>
44478
44533
  </parameter>
44479
44534
  </parameters>
44480
44535
  </constructor>
@@ -46507,7 +46562,7 @@ on error.</doc>
46507
46562
  <doc xml:space="preserve">Creates a new #GInetSocketAddress for @address and @port.
46508
46563
 
46509
46564
  If @address is an IPv6 address, it can also contain a scope ID
46510
- (separated from the address by a "&lt;literal&gt;%&lt;/literal&gt;").</doc>
46565
+ (separated from the address by a `%`).</doc>
46511
46566
  <return-value transfer-ownership="full">
46512
46567
  <doc xml:space="preserve">a new #GInetSocketAddress, or %NULL if @address cannot be
46513
46568
  parsed.</doc>
@@ -61085,6 +61140,7 @@ user interaction timestamp or startup notification information.
61085
61140
  c:symbol-prefix="resolver"
61086
61141
  c:type="GResolver"
61087
61142
  parent="GObject.Object"
61143
+ abstract="1"
61088
61144
  glib:type-name="GResolver"
61089
61145
  glib:get-type="g_resolver_get_type"
61090
61146
  glib:type-struct="ResolverClass">
@@ -62729,7 +62785,35 @@ even on the minor ones where this is not available. (Constructor support is avai
62729
62785
  Note that resource data can point directly into the data segment of e.g. a library, so if you are unloading libraries
62730
62786
  during runtime you need to be very careful with keeping around pointers to data from a resource, as this goes away
62731
62787
  when the library is unloaded. However, in practice this is not generally a problem, since most resource accesses
62732
- is for your own resources, and resource data is often used once, during parsing, and then released.</doc>
62788
+ is for your own resources, and resource data is often used once, during parsing, and then released.
62789
+
62790
+ When debugging a program or testing a change to an installed version, it is often useful to be able to
62791
+ replace resources in the program or library, without recompiling, for debugging or quick hacking and testing
62792
+ purposes.
62793
+
62794
+ Since GLib 2.50, it is possible to use the `G_RESOURCE_OVERLAYS` environment variable to selectively overlay
62795
+ resources with replacements from the filesystem. It is a colon-separated list of substitutions to perform
62796
+ during resource lookups.
62797
+
62798
+ A substitution has the form
62799
+
62800
+ |[
62801
+ /org/gtk/libgtk=/home/desrt/gtk-overlay
62802
+ ]|
62803
+
62804
+ The part before the `=` is the resource subpath for which the overlay applies. The part after is a
62805
+ filesystem path which contains files and subdirectories as you would like to be loaded as resources with the
62806
+ equivalent names.
62807
+
62808
+ In the example above, if an application tried to load a resource with the resource path
62809
+ `/org/gtk/libgtk/ui/gtkdialog.ui` then GResource would check the filesystem path
62810
+ `/home/desrt/gtk-overlay/ui/gtkdialog.ui`. If a file was found there, it would be used instead. This is an
62811
+ overlay, not an outright replacement, which means that if a file is not found at that path, the built-in
62812
+ version will be used instead. Whiteouts are not currently supported.
62813
+
62814
+ Substitutions must start with a slash, and must not contain a trailing slash before the '='. The path after
62815
+ the slash should ideally be absolute, but this is not strictly required. It is possible to overlay the
62816
+ location of a single resource with an individual file.</doc>
62733
62817
  <constructor name="new_from_data"
62734
62818
  c:identifier="g_resource_new_from_data"
62735
62819
  version="2.32"
@@ -64433,6 +64517,30 @@ having a int32 type in the schema for @settings.</doc>
64433
64517
  </parameter>
64434
64518
  </parameters>
64435
64519
  </method>
64520
+ <method name="get_int64"
64521
+ c:identifier="g_settings_get_int64"
64522
+ version="2.50">
64523
+ <doc xml:space="preserve">Gets the value that is stored at @key in @settings.
64524
+
64525
+ A convenience variant of g_settings_get() for 64-bit integers.
64526
+
64527
+ It is a programmer error to give a @key that isn't specified as
64528
+ having a int64 type in the schema for @settings.</doc>
64529
+ <return-value transfer-ownership="none">
64530
+ <doc xml:space="preserve">a 64-bit integer</doc>
64531
+ <type name="gint64" c:type="gint64"/>
64532
+ </return-value>
64533
+ <parameters>
64534
+ <instance-parameter name="settings" transfer-ownership="none">
64535
+ <doc xml:space="preserve">a #GSettings object</doc>
64536
+ <type name="Settings" c:type="GSettings*"/>
64537
+ </instance-parameter>
64538
+ <parameter name="key" transfer-ownership="none">
64539
+ <doc xml:space="preserve">the key to get the value for</doc>
64540
+ <type name="utf8" c:type="const gchar*"/>
64541
+ </parameter>
64542
+ </parameters>
64543
+ </method>
64436
64544
  <method name="get_mapped" c:identifier="g_settings_get_mapped">
64437
64545
  <doc xml:space="preserve">Gets the value that is stored at @key in @settings, subject to
64438
64546
  application-level validation/mapping.
@@ -64587,6 +64695,31 @@ having a uint32 type in the schema for @settings.</doc>
64587
64695
  </parameter>
64588
64696
  </parameters>
64589
64697
  </method>
64698
+ <method name="get_uint64"
64699
+ c:identifier="g_settings_get_uint64"
64700
+ version="2.50">
64701
+ <doc xml:space="preserve">Gets the value that is stored at @key in @settings.
64702
+
64703
+ A convenience variant of g_settings_get() for 64-bit unsigned
64704
+ integers.
64705
+
64706
+ It is a programmer error to give a @key that isn't specified as
64707
+ having a uint64 type in the schema for @settings.</doc>
64708
+ <return-value transfer-ownership="none">
64709
+ <doc xml:space="preserve">a 64-bit unsigned integer</doc>
64710
+ <type name="guint64" c:type="guint64"/>
64711
+ </return-value>
64712
+ <parameters>
64713
+ <instance-parameter name="settings" transfer-ownership="none">
64714
+ <doc xml:space="preserve">a #GSettings object</doc>
64715
+ <type name="Settings" c:type="GSettings*"/>
64716
+ </instance-parameter>
64717
+ <parameter name="key" transfer-ownership="none">
64718
+ <doc xml:space="preserve">the key to get the value for</doc>
64719
+ <type name="utf8" c:type="const gchar*"/>
64720
+ </parameter>
64721
+ </parameters>
64722
+ </method>
64590
64723
  <method name="get_user_value"
64591
64724
  c:identifier="g_settings_get_user_value"
64592
64725
  version="2.40">
@@ -64965,6 +65098,35 @@ having a int32 type in the schema for @settings.</doc>
64965
65098
  </parameter>
64966
65099
  </parameters>
64967
65100
  </method>
65101
+ <method name="set_int64"
65102
+ c:identifier="g_settings_set_int64"
65103
+ version="2.50">
65104
+ <doc xml:space="preserve">Sets @key in @settings to @value.
65105
+
65106
+ A convenience variant of g_settings_set() for 64-bit integers.
65107
+
65108
+ It is a programmer error to give a @key that isn't specified as
65109
+ having a int64 type in the schema for @settings.</doc>
65110
+ <return-value transfer-ownership="none">
65111
+ <doc xml:space="preserve">%TRUE if setting the key succeeded,
65112
+ %FALSE if the key was not writable</doc>
65113
+ <type name="gboolean" c:type="gboolean"/>
65114
+ </return-value>
65115
+ <parameters>
65116
+ <instance-parameter name="settings" transfer-ownership="none">
65117
+ <doc xml:space="preserve">a #GSettings object</doc>
65118
+ <type name="Settings" c:type="GSettings*"/>
65119
+ </instance-parameter>
65120
+ <parameter name="key" transfer-ownership="none">
65121
+ <doc xml:space="preserve">the name of the key to set</doc>
65122
+ <type name="utf8" c:type="const gchar*"/>
65123
+ </parameter>
65124
+ <parameter name="value" transfer-ownership="none">
65125
+ <doc xml:space="preserve">the value to set it to</doc>
65126
+ <type name="gint64" c:type="gint64"/>
65127
+ </parameter>
65128
+ </parameters>
65129
+ </method>
64968
65130
  <method name="set_string"
64969
65131
  c:identifier="g_settings_set_string"
64970
65132
  version="2.26">
@@ -65059,6 +65221,36 @@ having a uint32 type in the schema for @settings.</doc>
65059
65221
  </parameter>
65060
65222
  </parameters>
65061
65223
  </method>
65224
+ <method name="set_uint64"
65225
+ c:identifier="g_settings_set_uint64"
65226
+ version="2.50">
65227
+ <doc xml:space="preserve">Sets @key in @settings to @value.
65228
+
65229
+ A convenience variant of g_settings_set() for 64-bit unsigned
65230
+ integers.
65231
+
65232
+ It is a programmer error to give a @key that isn't specified as
65233
+ having a uint64 type in the schema for @settings.</doc>
65234
+ <return-value transfer-ownership="none">
65235
+ <doc xml:space="preserve">%TRUE if setting the key succeeded,
65236
+ %FALSE if the key was not writable</doc>
65237
+ <type name="gboolean" c:type="gboolean"/>
65238
+ </return-value>
65239
+ <parameters>
65240
+ <instance-parameter name="settings" transfer-ownership="none">
65241
+ <doc xml:space="preserve">a #GSettings object</doc>
65242
+ <type name="Settings" c:type="GSettings*"/>
65243
+ </instance-parameter>
65244
+ <parameter name="key" transfer-ownership="none">
65245
+ <doc xml:space="preserve">the name of the key to set</doc>
65246
+ <type name="utf8" c:type="const gchar*"/>
65247
+ </parameter>
65248
+ <parameter name="value" transfer-ownership="none">
65249
+ <doc xml:space="preserve">the value to set it to</doc>
65250
+ <type name="guint64" c:type="guint64"/>
65251
+ </parameter>
65252
+ </parameters>
65253
+ </method>
65062
65254
  <method name="set_value"
65063
65255
  c:identifier="g_settings_set_value"
65064
65256
  version="2.26">
@@ -65204,7 +65396,10 @@ value.
65204
65396
 
65205
65397
  This signal supports detailed connections. You can connect to the
65206
65398
  detailed signal "changed::x" in order to only receive callbacks
65207
- when key "x" changes.</doc>
65399
+ when key "x" changes.
65400
+
65401
+ Note that @settings only emits this signal if you have read @key at
65402
+ least once while a signal handler was already connected for @key.</doc>
65208
65403
  <return-value transfer-ownership="none">
65209
65404
  <type name="none" c:type="void"/>
65210
65405
  </return-value>
@@ -66011,7 +66206,7 @@ returned by g_settings_schema_source_get_default().</doc>
66011
66206
  <parameters>
66012
66207
  <parameter name="directory" transfer-ownership="none">
66013
66208
  <doc xml:space="preserve">the filename of a directory</doc>
66014
- <type name="utf8" c:type="const gchar*"/>
66209
+ <type name="filename" c:type="gchar*"/>
66015
66210
  </parameter>
66016
66211
  <parameter name="parent"
66017
66212
  transfer-ownership="none"
@@ -73186,7 +73381,11 @@ handle incoming clients.</doc>
73186
73381
  version="2.22">
73187
73382
  <doc xml:space="preserve">Creates a new #GSocketService with no sockets to listen for.
73188
73383
  New listeners can be added with e.g. g_socket_listener_add_address()
73189
- or g_socket_listener_add_inet_port().</doc>
73384
+ or g_socket_listener_add_inet_port().
73385
+
73386
+ New services are created active, there is no need to call
73387
+ g_socket_service_start(), unless g_socket_service_stop() has been
73388
+ called before.</doc>
73190
73389
  <return-value transfer-ownership="full">
73191
73390
  <doc xml:space="preserve">a new #GSocketService.</doc>
73192
73391
  <type name="SocketService" c:type="GSocketService*"/>
@@ -73229,8 +73428,10 @@ up until the service is started.</doc>
73229
73428
  <method name="start"
73230
73429
  c:identifier="g_socket_service_start"
73231
73430
  version="2.22">
73232
- <doc xml:space="preserve">Starts the service, i.e. start accepting connections
73233
- from the added sockets when the mainloop runs.
73431
+ <doc xml:space="preserve">Restarts the service, i.e. start accepting connections
73432
+ from the added sockets when the mainloop runs. This only needs
73433
+ to be called after the service has been stopped from
73434
+ g_socket_service_stop().
73234
73435
 
73235
73436
  This call is thread-safe, so it may be called from a thread
73236
73437
  handling an incoming client request.</doc>
@@ -73255,7 +73456,11 @@ Note that this only stops accepting new connections; it does not
73255
73456
  close the listening sockets, and you can call
73256
73457
  g_socket_service_start() again later to begin listening again. To
73257
73458
  close the listening sockets, call g_socket_listener_close(). (This
73258
- will happen automatically when the #GSocketService is finalized.)</doc>
73459
+ will happen automatically when the #GSocketService is finalized.)
73460
+
73461
+ This must be called before calling g_socket_listener_close() as
73462
+ the socket service will start accepting connections immediately
73463
+ when a new socket is added.</doc>
73259
73464
  <return-value transfer-ownership="none">
73260
73465
  <type name="none" c:type="void"/>
73261
73466
  </return-value>
@@ -74649,7 +74854,7 @@ of the launching process at the time of launch.</doc>
74649
74854
  </instance-parameter>
74650
74855
  <parameter name="cwd" transfer-ownership="none">
74651
74856
  <doc xml:space="preserve">the cwd for launched processes</doc>
74652
- <type name="utf8" c:type="const gchar*"/>
74857
+ <type name="filename" c:type="gchar*"/>
74653
74858
  </parameter>
74654
74859
  </parameters>
74655
74860
  </method>
@@ -74678,7 +74883,9 @@ On Windows, they should be in UTF-8.</doc>
74678
74883
  </instance-parameter>
74679
74884
  <parameter name="env" transfer-ownership="none">
74680
74885
  <doc xml:space="preserve">the replacement environment</doc>
74681
- <type name="utf8" c:type="gchar**"/>
74886
+ <array c:type="gchar**">
74887
+ <type name="utf8" c:type="gchar*"/>
74888
+ </array>
74682
74889
  </parameter>
74683
74890
  </parameters>
74684
74891
  </method>
@@ -77315,7 +77522,7 @@ g_tls_certificate_new_from_pem().</doc>
77315
77522
  <parameters>
77316
77523
  <parameter name="file" transfer-ownership="none">
77317
77524
  <doc xml:space="preserve">file containing a PEM-encoded certificate to import</doc>
77318
- <type name="utf8" c:type="const gchar*"/>
77525
+ <type name="filename" c:type="gchar*"/>
77319
77526
  </parameter>
77320
77527
  </parameters>
77321
77528
  </constructor>
@@ -77343,13 +77550,14 @@ g_tls_certificate_new_from_pem().</doc>
77343
77550
  </return-value>
77344
77551
  <parameters>
77345
77552
  <parameter name="cert_file" transfer-ownership="none">
77346
- <doc xml:space="preserve">file containing one or more PEM-encoded certificates to
77347
- import</doc>
77348
- <type name="utf8" c:type="const gchar*"/>
77553
+ <doc xml:space="preserve">file containing one or more PEM-encoded
77554
+ certificates to import</doc>
77555
+ <type name="filename" c:type="gchar*"/>
77349
77556
  </parameter>
77350
77557
  <parameter name="key_file" transfer-ownership="none">
77351
- <doc xml:space="preserve">file containing a PEM-encoded private key to import</doc>
77352
- <type name="utf8" c:type="const gchar*"/>
77558
+ <doc xml:space="preserve">file containing a PEM-encoded private key
77559
+ to import</doc>
77560
+ <type name="filename" c:type="gchar*"/>
77353
77561
  </parameter>
77354
77562
  </parameters>
77355
77563
  </constructor>
@@ -77406,7 +77614,7 @@ and its contents when you are done with it.</doc>
77406
77614
  <parameters>
77407
77615
  <parameter name="file" transfer-ownership="none">
77408
77616
  <doc xml:space="preserve">file containing PEM-encoded certificates to import</doc>
77409
- <type name="utf8" c:type="const gchar*"/>
77617
+ <type name="filename" c:type="gchar*"/>
77410
77618
  </parameter>
77411
77619
  </parameters>
77412
77620
  </function>
@@ -80731,7 +80939,7 @@ The certificates in @anchors must be PEM encoded.</doc>
80731
80939
  <parameters>
80732
80940
  <parameter name="anchors" transfer-ownership="none">
80733
80941
  <doc xml:space="preserve">filename of anchor certificate authorities.</doc>
80734
- <type name="utf8" c:type="const gchar*"/>
80942
+ <type name="filename" c:type="gchar*"/>
80735
80943
  </parameter>
80736
80944
  </parameters>
80737
80945
  </function>
@@ -82599,6 +82807,121 @@ be parsed by the #GVfs module.</doc>
82599
82807
  </parameter>
82600
82808
  </parameters>
82601
82809
  </method>
82810
+ <method name="register_uri_scheme"
82811
+ c:identifier="g_vfs_register_uri_scheme"
82812
+ version="2.50">
82813
+ <doc xml:space="preserve">Registers @uri_func and @parse_name_func as the #GFile URI and parse name
82814
+ lookup functions for URIs with a scheme matching @scheme.
82815
+ Note that @scheme is registered only within the running application, as
82816
+ opposed to desktop-wide as it happens with GVfs backends.
82817
+
82818
+ When a #GFile is requested with an URI containing @scheme (e.g. through
82819
+ g_file_new_for_uri()), @uri_func will be called to allow a custom
82820
+ constructor. The implementation of @uri_func should not be blocking, and
82821
+ must not call g_vfs_register_uri_scheme() or g_vfs_unregister_uri_scheme().
82822
+
82823
+ When g_file_parse_name() is called with a parse name obtained from such file,
82824
+ @parse_name_func will be called to allow the #GFile to be created again. In
82825
+ that case, it's responsibility of @parse_name_func to make sure the parse
82826
+ name matches what the custom #GFile implementation returned when
82827
+ g_file_get_parse_name() was previously called. The implementation of
82828
+ @parse_name_func should not be blocking, and must not call
82829
+ g_vfs_register_uri_scheme() or g_vfs_unregister_uri_scheme().
82830
+
82831
+ It's an error to call this function twice with the same scheme. To unregister
82832
+ a custom URI scheme, use g_vfs_unregister_uri_scheme().</doc>
82833
+ <return-value transfer-ownership="none">
82834
+ <doc xml:space="preserve">%TRUE if @scheme was successfully registered, or %FALSE if a handler
82835
+ for @scheme already exists.</doc>
82836
+ <type name="gboolean" c:type="gboolean"/>
82837
+ </return-value>
82838
+ <parameters>
82839
+ <instance-parameter name="vfs" transfer-ownership="none">
82840
+ <doc xml:space="preserve">a #GVfs</doc>
82841
+ <type name="Vfs" c:type="GVfs*"/>
82842
+ </instance-parameter>
82843
+ <parameter name="scheme" transfer-ownership="none">
82844
+ <doc xml:space="preserve">an URI scheme, e.g. "http"</doc>
82845
+ <type name="utf8" c:type="const char*"/>
82846
+ </parameter>
82847
+ <parameter name="uri_func"
82848
+ transfer-ownership="none"
82849
+ nullable="1"
82850
+ allow-none="1"
82851
+ scope="notified"
82852
+ closure="2"
82853
+ destroy="3">
82854
+ <doc xml:space="preserve">a #GVfsFileLookupFunc</doc>
82855
+ <type name="VfsFileLookupFunc" c:type="GVfsFileLookupFunc"/>
82856
+ </parameter>
82857
+ <parameter name="uri_data"
82858
+ transfer-ownership="none"
82859
+ nullable="1"
82860
+ allow-none="1">
82861
+ <doc xml:space="preserve">custom data passed to be passed to @uri_func, or %NULL</doc>
82862
+ <type name="gpointer" c:type="gpointer"/>
82863
+ </parameter>
82864
+ <parameter name="uri_destroy"
82865
+ transfer-ownership="none"
82866
+ nullable="1"
82867
+ allow-none="1"
82868
+ scope="async">
82869
+ <doc xml:space="preserve">function to be called when unregistering the
82870
+ URI scheme, or when @vfs is disposed, to free the resources used
82871
+ by the URI lookup function</doc>
82872
+ <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
82873
+ </parameter>
82874
+ <parameter name="parse_name_func"
82875
+ transfer-ownership="none"
82876
+ nullable="1"
82877
+ allow-none="1"
82878
+ scope="notified"
82879
+ closure="5"
82880
+ destroy="6">
82881
+ <doc xml:space="preserve">a #GVfsFileLookupFunc</doc>
82882
+ <type name="VfsFileLookupFunc" c:type="GVfsFileLookupFunc"/>
82883
+ </parameter>
82884
+ <parameter name="parse_name_data"
82885
+ transfer-ownership="none"
82886
+ nullable="1"
82887
+ allow-none="1">
82888
+ <doc xml:space="preserve">custom data passed to be passed to
82889
+ @parse_name_func, or %NULL</doc>
82890
+ <type name="gpointer" c:type="gpointer"/>
82891
+ </parameter>
82892
+ <parameter name="parse_name_destroy"
82893
+ transfer-ownership="none"
82894
+ nullable="1"
82895
+ allow-none="1"
82896
+ scope="async">
82897
+ <doc xml:space="preserve">function to be called when unregistering the
82898
+ URI scheme, or when @vfs is disposed, to free the resources used
82899
+ by the parse name lookup function</doc>
82900
+ <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
82901
+ </parameter>
82902
+ </parameters>
82903
+ </method>
82904
+ <method name="unregister_uri_scheme"
82905
+ c:identifier="g_vfs_unregister_uri_scheme"
82906
+ version="2.50">
82907
+ <doc xml:space="preserve">Unregisters the URI handler for @scheme previously registered with
82908
+ g_vfs_register_uri_scheme().</doc>
82909
+ <return-value transfer-ownership="none">
82910
+ <doc xml:space="preserve">%TRUE if @scheme was successfully unregistered, or %FALSE if a
82911
+ handler for @scheme does not exist.</doc>
82912
+ <type name="gboolean" c:type="gboolean"/>
82913
+ </return-value>
82914
+ <parameters>
82915
+ <instance-parameter name="vfs" transfer-ownership="none">
82916
+ <doc xml:space="preserve">a #GVfs</doc>
82917
+ <type name="Vfs" c:type="GVfs*"/>
82918
+ </instance-parameter>
82919
+ <parameter name="scheme" transfer-ownership="none">
82920
+ <doc xml:space="preserve">an URI scheme, e.g. "http"</doc>
82921
+ <type name="utf8" c:type="const char*"/>
82922
+ </parameter>
82923
+ </parameters>
82924
+ </method>
82602
82925
  <field name="parent_instance">
82603
82926
  <type name="GObject.Object" c:type="GObject"/>
82604
82927
  </field>
@@ -82873,6 +83196,39 @@ be parsed by the #GVfs module.</doc>
82873
83196
  </callback>
82874
83197
  </field>
82875
83198
  </record>
83199
+ <callback name="VfsFileLookupFunc"
83200
+ c:type="GVfsFileLookupFunc"
83201
+ version="2.50">
83202
+ <doc xml:space="preserve">This function type is used by g_vfs_register_uri_scheme() to make it
83203
+ possible for a client to associate an URI scheme to a different #GFile
83204
+ implementation.
83205
+
83206
+ The client should return a reference to the new file that has been
83207
+ created for @uri, or %NULL to continue with the default implementation.</doc>
83208
+ <return-value transfer-ownership="full">
83209
+ <doc xml:space="preserve">a #GFile for @identifier.</doc>
83210
+ <type name="File" c:type="GFile*"/>
83211
+ </return-value>
83212
+ <parameters>
83213
+ <parameter name="vfs" transfer-ownership="none">
83214
+ <doc xml:space="preserve">a #GVfs</doc>
83215
+ <type name="Vfs" c:type="GVfs*"/>
83216
+ </parameter>
83217
+ <parameter name="identifier" transfer-ownership="none">
83218
+ <doc xml:space="preserve">the identifier to lookup a #GFile for. This can either
83219
+ be an URI or a parse name as returned by g_file_get_parse_name()</doc>
83220
+ <type name="utf8" c:type="const char*"/>
83221
+ </parameter>
83222
+ <parameter name="user_data"
83223
+ transfer-ownership="none"
83224
+ nullable="1"
83225
+ allow-none="1"
83226
+ closure="2">
83227
+ <doc xml:space="preserve">user data passed to the function</doc>
83228
+ <type name="gpointer" c:type="gpointer"/>
83229
+ </parameter>
83230
+ </parameters>
83231
+ </callback>
82876
83232
  <interface name="Volume"
82877
83233
  c:symbol-prefix="volume"
82878
83234
  c:type="GVolume"
@@ -85440,10 +85796,9 @@ empty or contains characters other than alphanumerics, '-' and '.'.</doc>
85440
85796
 
85441
85797
  It is an error to call this function with an invalid action name.
85442
85798
 
85443
- This function is the opposite of
85444
- g_action_parse_detailed_action_name(). It will produce a string that
85445
- can be parsed back to the @action_name and @target_value by that
85446
- function.
85799
+ This function is the opposite of g_action_parse_detailed_name().
85800
+ It will produce a string that can be parsed back to the @action_name
85801
+ and @target_value by that function.
85447
85802
 
85448
85803
  See that function for the types of strings that will be printed by
85449
85804
  this function.</doc>
@@ -85642,9 +85997,71 @@ required.</doc>
85642
85997
  transfer-ownership="none"
85643
85998
  nullable="1"
85644
85999
  allow-none="1">
85645
- <doc xml:space="preserve">an optional #GAppLaunchContext.</doc>
86000
+ <doc xml:space="preserve">an optional #GAppLaunchContext</doc>
86001
+ <type name="AppLaunchContext" c:type="GAppLaunchContext*"/>
86002
+ </parameter>
86003
+ </parameters>
86004
+ </function>
86005
+ <function name="app_info_launch_default_for_uri_async"
86006
+ c:identifier="g_app_info_launch_default_for_uri_async"
86007
+ moved-to="AppInfo.launch_default_for_uri_async"
86008
+ version="2.50">
86009
+ <doc xml:space="preserve">Async version of g_app_info_launch_default_for_uri().
86010
+
86011
+ This version is useful if you are interested in receiving
86012
+ error information in the case where the application is
86013
+ sandboxed and the portal may present an application chooser
86014
+ dialog to the user.</doc>
86015
+ <return-value transfer-ownership="none">
86016
+ <type name="none" c:type="void"/>
86017
+ </return-value>
86018
+ <parameters>
86019
+ <parameter name="uri" transfer-ownership="none">
86020
+ <doc xml:space="preserve">the uri to show</doc>
86021
+ <type name="utf8" c:type="const char*"/>
86022
+ </parameter>
86023
+ <parameter name="launch_context" transfer-ownership="none">
85646
86024
  <type name="AppLaunchContext" c:type="GAppLaunchContext*"/>
85647
86025
  </parameter>
86026
+ <parameter name="cancellable"
86027
+ transfer-ownership="none"
86028
+ nullable="1"
86029
+ allow-none="1">
86030
+ <type name="Cancellable" c:type="GCancellable*"/>
86031
+ </parameter>
86032
+ <parameter name="callback"
86033
+ transfer-ownership="none"
86034
+ nullable="1"
86035
+ allow-none="1"
86036
+ scope="async"
86037
+ closure="4">
86038
+ <doc xml:space="preserve">a #GASyncReadyCallback to call when the request is done</doc>
86039
+ <type name="AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
86040
+ </parameter>
86041
+ <parameter name="user_data"
86042
+ transfer-ownership="none"
86043
+ nullable="1"
86044
+ allow-none="1">
86045
+ <doc xml:space="preserve">data to pass to @callback</doc>
86046
+ <type name="gpointer" c:type="gpointer"/>
86047
+ </parameter>
86048
+ </parameters>
86049
+ </function>
86050
+ <function name="app_info_launch_default_for_uri_finish"
86051
+ c:identifier="g_app_info_launch_default_for_uri_finish"
86052
+ moved-to="AppInfo.launch_default_for_uri_finish"
86053
+ version="2.50"
86054
+ throws="1">
86055
+ <doc xml:space="preserve">Finishes an asynchronous launch-default-for-uri operation.</doc>
86056
+ <return-value transfer-ownership="none">
86057
+ <doc xml:space="preserve">%TRUE if the launch was successful, %FALSE if @error is set</doc>
86058
+ <type name="gboolean" c:type="gboolean"/>
86059
+ </return-value>
86060
+ <parameters>
86061
+ <parameter name="result" transfer-ownership="none">
86062
+ <doc xml:space="preserve">a #GAsyncResult</doc>
86063
+ <type name="AsyncResult" c:type="GAsyncResult*"/>
86064
+ </parameter>
85648
86065
  </parameters>
85649
86066
  </function>
85650
86067
  <function name="app_info_reset_type_associations"
@@ -87315,7 +87732,7 @@ See also g_application_command_line_create_file_for_arg().</doc>
87315
87732
  </parameter>
87316
87733
  <parameter name="cwd" transfer-ownership="none">
87317
87734
  <doc xml:space="preserve">the current working directory of the commandline</doc>
87318
- <type name="utf8" c:type="const gchar*"/>
87735
+ <type name="filename" c:type="gchar*"/>
87319
87736
  </parameter>
87320
87737
  </parameters>
87321
87738
  </function>
@@ -87334,7 +87751,7 @@ operation if @path is malformed.</doc>
87334
87751
  <parameter name="path" transfer-ownership="none">
87335
87752
  <doc xml:space="preserve">a string containing a relative or absolute path.
87336
87753
  The string must be encoded in the glib filename encoding.</doc>
87337
- <type name="utf8" c:type="const char*"/>
87754
+ <type name="filename" c:type="char*"/>
87338
87755
  </parameter>
87339
87756
  </parameters>
87340
87757
  </function>
@@ -87632,8 +88049,9 @@ which allows delayed/lazy loading of modules.</doc>
87632
88049
  </return-value>
87633
88050
  <parameters>
87634
88051
  <parameter name="dirname" transfer-ownership="none">
87635
- <doc xml:space="preserve">pathname for a directory containing modules to load.</doc>
87636
- <type name="utf8" c:type="const gchar*"/>
88052
+ <doc xml:space="preserve">pathname for a directory containing modules
88053
+ to load.</doc>
88054
+ <type name="filename" c:type="gchar*"/>
87637
88055
  </parameter>
87638
88056
  </parameters>
87639
88057
  </function>
@@ -87658,8 +88076,9 @@ which allows delayed/lazy loading of modules.</doc>
87658
88076
  </return-value>
87659
88077
  <parameters>
87660
88078
  <parameter name="dirname" transfer-ownership="none">
87661
- <doc xml:space="preserve">pathname for a directory containing modules to load.</doc>
87662
- <type name="utf8" c:type="const gchar*"/>
88079
+ <doc xml:space="preserve">pathname for a directory containing modules
88080
+ to load.</doc>
88081
+ <type name="filename" c:type="gchar*"/>
87663
88082
  </parameter>
87664
88083
  <parameter name="scope" transfer-ownership="none">
87665
88084
  <doc xml:space="preserve">a scope to use when scanning the modules.</doc>
@@ -87686,8 +88105,9 @@ use g_io_modules_load_all_in_directory().</doc>
87686
88105
  </return-value>
87687
88106
  <parameters>
87688
88107
  <parameter name="dirname" transfer-ownership="none">
87689
- <doc xml:space="preserve">pathname for a directory containing modules to scan.</doc>
87690
- <type name="utf8" c:type="const char*"/>
88108
+ <doc xml:space="preserve">pathname for a directory containing modules
88109
+ to scan.</doc>
88110
+ <type name="filename" c:type="char*"/>
87691
88111
  </parameter>
87692
88112
  </parameters>
87693
88113
  </function>
@@ -87710,8 +88130,9 @@ use g_io_modules_load_all_in_directory().</doc>
87710
88130
  </return-value>
87711
88131
  <parameters>
87712
88132
  <parameter name="dirname" transfer-ownership="none">
87713
- <doc xml:space="preserve">pathname for a directory containing modules to scan.</doc>
87714
- <type name="utf8" c:type="const gchar*"/>
88133
+ <doc xml:space="preserve">pathname for a directory containing modules
88134
+ to scan.</doc>
88135
+ <type name="filename" c:type="gchar*"/>
87715
88136
  </parameter>
87716
88137
  <parameter name="scope" transfer-ownership="none">
87717
88138
  <doc xml:space="preserve">a scope to use when scanning the modules</doc>
@@ -88492,7 +88913,7 @@ The certificates in @anchors must be PEM encoded.</doc>
88492
88913
  <parameters>
88493
88914
  <parameter name="anchors" transfer-ownership="none">
88494
88915
  <doc xml:space="preserve">filename of anchor certificate authorities.</doc>
88495
- <type name="utf8" c:type="const gchar*"/>
88916
+ <type name="filename" c:type="gchar*"/>
88496
88917
  </parameter>
88497
88918
  </parameters>
88498
88919
  </function>