@@ -143,19 +143,19 @@ alignment.</doc>
143
143
</parameter>
144
144
</parameters>
145
145
</function-macro>
146
- <constant name="ALLOCATOR_LIST" value="1" c:type="G_ALLOCATOR_LIST">
146
+ <constant name="ALLOCATOR_LIST" value="1" c:type="G_ALLOCATOR_LIST" deprecated="1" deprecated-version="2.10" >
147
147
<type name="gint" c:type="gint"/>
148
148
</constant>
149
- <constant name="ALLOCATOR_NODE" value="3" c:type="G_ALLOCATOR_NODE">
149
+ <constant name="ALLOCATOR_NODE" value="3" c:type="G_ALLOCATOR_NODE" deprecated="1" deprecated-version="2.10" >
150
150
<type name="gint" c:type="gint"/>
151
151
</constant>
152
- <constant name="ALLOCATOR_SLIST" value="2" c:type="G_ALLOCATOR_SLIST">
152
+ <constant name="ALLOCATOR_SLIST" value="2" c:type="G_ALLOCATOR_SLIST" deprecated="1" deprecated-version="2.10" >
153
153
<type name="gint" c:type="gint"/>
154
154
</constant>
155
- <constant name="ALLOC_AND_FREE" value="2" c:type="G_ALLOC_AND_FREE">
155
+ <constant name="ALLOC_AND_FREE" value="2" c:type="G_ALLOC_AND_FREE" deprecated="1" deprecated-version="2.10" >
156
156
<type name="gint" c:type="gint"/>
157
157
</constant>
158
- <constant name="ALLOC_ONLY" value="1" c:type="G_ALLOC_ONLY">
158
+ <constant name="ALLOC_ONLY" value="1" c:type="G_ALLOC_ONLY" deprecated="1" deprecated-version="2.10" >
159
159
<type name="gint" c:type="gint"/>
160
160
</constant>
161
161
<constant name="ANALYZER_ANALYZING" value="1" c:type="G_ANALYZER_ANALYZING">
@@ -235,8 +235,8 @@ portable to those compilers.</doc>
235
235
</parameter>
236
236
</parameters>
237
237
</function-macro>
238
- <record name="Allocator" c:type="GAllocator" disguised="1" opaque="1">
239
- <method name="free" c:identifier="g_allocator_free">
238
+ <record name="Allocator" c:type="GAllocator" disguised="1" opaque="1" deprecated="1" deprecated-version="2.10" >
239
+ <method name="free" c:identifier="g_allocator_free" deprecated="1" deprecated-version="2.10" >
240
240
<return-value transfer-ownership="none">
241
241
<type name="none" c:type="void"/>
242
242
</return-value>
@@ -246,7 +246,7 @@ portable to those compilers.</doc>
246
246
</instance-parameter>
247
247
</parameters>
248
248
</method>
249
- <function name="new" c:identifier="g_allocator_new" introspectable="0">
249
+ <function name="new" c:identifier="g_allocator_new" introspectable="0" deprecated="1" deprecated-version="2.10" >
250
250
<return-value>
251
251
<type name="Allocator" c:type="GAllocator*"/>
252
252
</return-value>
@@ -13750,6 +13750,11 @@ If @key is `NULL` then @comment will be written above @group_name.
13750
13750
If both @key and @group_name are `NULL`, then @comment will be
13751
13751
written above the first group in the file.
13752
13752
13753
+ Passing a non-existent @group_name or @key to this function returns
13754
+ false and populates @error. (In contrast, passing a non-existent
13755
+ `group_name` or `key` to [method@GLib.KeyFile.set_string]
13756
+ creates the associated group name and key.)
13757
+
13753
13758
Note that this function prepends a `#` comment marker to
13754
13759
each line of @comment.</doc>
13755
13760
<return-value transfer-ownership="none">
@@ -14999,7 +15004,7 @@ described in the #GList introduction.</doc>
14999
15004
</parameter>
15000
15005
</parameters>
15001
15006
</function>
15002
- <function name="pop_allocator" c:identifier="g_list_pop_allocator">
15007
+ <function name="pop_allocator" c:identifier="g_list_pop_allocator" deprecated="1" deprecated-version="2.10" >
15003
15008
<return-value transfer-ownership="none">
15004
15009
<type name="none" c:type="void"/>
15005
15010
</return-value>
@@ -15063,7 +15068,7 @@ element than the start of the list. Use g_list_insert_before() instead.</doc>
15063
15068
</parameter>
15064
15069
</parameters>
15065
15070
</function>
15066
- <function name="push_allocator" c:identifier="g_list_push_allocator">
15071
+ <function name="push_allocator" c:identifier="g_list_push_allocator" deprecated="1" deprecated-version="2.10" >
15067
15072
<return-value transfer-ownership="none">
15068
15073
<type name="none" c:type="void"/>
15069
15074
</return-value>
@@ -17479,8 +17484,8 @@ to zero, it frees all the memory associated with the match_info structure.</doc>
17479
17484
</parameters>
17480
17485
</method>
17481
17486
</record>
17482
- <record name="MemChunk" c:type="GMemChunk" disguised="1" opaque="1">
17483
- <method name="alloc" c:identifier="g_mem_chunk_alloc">
17487
+ <record name="MemChunk" c:type="GMemChunk" disguised="1" opaque="1" deprecated="1" deprecated-version="2.10" >
17488
+ <method name="alloc" c:identifier="g_mem_chunk_alloc" deprecated="1" deprecated-version="2.10" >
17484
17489
<return-value transfer-ownership="none" nullable="1">
17485
17490
<type name="gpointer" c:type="gpointer"/>
17486
17491
</return-value>
@@ -17490,7 +17495,7 @@ to zero, it frees all the memory associated with the match_info structure.</doc>
17490
17495
</instance-parameter>
17491
17496
</parameters>
17492
17497
</method>
17493
- <method name="alloc0" c:identifier="g_mem_chunk_alloc0">
17498
+ <method name="alloc0" c:identifier="g_mem_chunk_alloc0" deprecated="1" deprecated-version="2.10" >
17494
17499
<return-value transfer-ownership="none" nullable="1">
17495
17500
<type name="gpointer" c:type="gpointer"/>
17496
17501
</return-value>
@@ -17500,7 +17505,7 @@ to zero, it frees all the memory associated with the match_info structure.</doc>
17500
17505
</instance-parameter>
17501
17506
</parameters>
17502
17507
</method>
17503
- <method name="clean" c:identifier="g_mem_chunk_clean">
17508
+ <method name="clean" c:identifier="g_mem_chunk_clean" deprecated="1" deprecated-version="2.10" >
17504
17509
<return-value transfer-ownership="none">
17505
17510
<type name="none" c:type="void"/>
17506
17511
</return-value>
@@ -17510,7 +17515,7 @@ to zero, it frees all the memory associated with the match_info structure.</doc>
17510
17515
</instance-parameter>
17511
17516
</parameters>
17512
17517
</method>
17513
- <method name="destroy" c:identifier="g_mem_chunk_destroy">
17518
+ <method name="destroy" c:identifier="g_mem_chunk_destroy" deprecated="1" deprecated-version="2.10" >
17514
17519
<return-value transfer-ownership="none">
17515
17520
<type name="none" c:type="void"/>
17516
17521
</return-value>
@@ -17520,7 +17525,7 @@ to zero, it frees all the memory associated with the match_info structure.</doc>
17520
17525
</instance-parameter>
17521
17526
</parameters>
17522
17527
</method>
17523
- <method name="free" c:identifier="g_mem_chunk_free">
17528
+ <method name="free" c:identifier="g_mem_chunk_free" deprecated="1" deprecated-version="2.10" >
17524
17529
<return-value transfer-ownership="none">
17525
17530
<type name="none" c:type="void"/>
17526
17531
</return-value>
@@ -17533,7 +17538,7 @@ to zero, it frees all the memory associated with the match_info structure.</doc>
17533
17538
</parameter>
17534
17539
</parameters>
17535
17540
</method>
17536
- <method name="print" c:identifier="g_mem_chunk_print">
17541
+ <method name="print" c:identifier="g_mem_chunk_print" deprecated="1" deprecated-version="2.10" >
17537
17542
<return-value transfer-ownership="none">
17538
17543
<type name="none" c:type="void"/>
17539
17544
</return-value>
@@ -17543,7 +17548,7 @@ to zero, it frees all the memory associated with the match_info structure.</doc>
17543
17548
</instance-parameter>
17544
17549
</parameters>
17545
17550
</method>
17546
- <method name="reset" c:identifier="g_mem_chunk_reset">
17551
+ <method name="reset" c:identifier="g_mem_chunk_reset" deprecated="1" deprecated-version="2.10" >
17547
17552
<return-value transfer-ownership="none">
17548
17553
<type name="none" c:type="void"/>
17549
17554
</return-value>
@@ -17553,12 +17558,12 @@ to zero, it frees all the memory associated with the match_info structure.</doc>
17553
17558
</instance-parameter>
17554
17559
</parameters>
17555
17560
</method>
17556
- <function name="info" c:identifier="g_mem_chunk_info">
17561
+ <function name="info" c:identifier="g_mem_chunk_info" deprecated="1" deprecated-version="2.10" >
17557
17562
<return-value transfer-ownership="none">
17558
17563
<type name="none" c:type="void"/>
17559
17564
</return-value>
17560
17565
</function>
17561
- <function name="new" c:identifier="g_mem_chunk_new" introspectable="0">
17566
+ <function name="new" c:identifier="g_mem_chunk_new" introspectable="0" deprecated="1" deprecated-version="2.10" >
17562
17567
<return-value>
17563
17568
<type name="MemChunk" c:type="GMemChunk*"/>
17564
17569
</return-value>
@@ -18394,12 +18399,12 @@ Used to create the first node in a tree.</doc>
18394
18399
</parameter>
18395
18400
</parameters>
18396
18401
</function>
18397
- <function name="pop_allocator" c:identifier="g_node_pop_allocator">
18402
+ <function name="pop_allocator" c:identifier="g_node_pop_allocator" deprecated="1" deprecated-version="2.10" >
18398
18403
<return-value transfer-ownership="none">
18399
18404
<type name="none" c:type="void"/>
18400
18405
</return-value>
18401
18406
</function>
18402
- <function name="push_allocator" c:identifier="g_node_push_allocator">
18407
+ <function name="push_allocator" c:identifier="g_node_push_allocator" deprecated="1" deprecated-version="2.10" >
18403
18408
<return-value transfer-ownership="none">
18404
18409
<type name="none" c:type="void"/>
18405
18410
</return-value>
@@ -25189,7 +25194,7 @@ check @list against %NULL.</doc>
25189
25194
</parameter>
25190
25195
</parameters>
25191
25196
</function>
25192
- <function name="pop_allocator" c:identifier="g_slist_pop_allocator">
25197
+ <function name="pop_allocator" c:identifier="g_slist_pop_allocator" deprecated="1" deprecated-version="2.10" >
25193
25198
<return-value transfer-ownership="none">
25194
25199
<type name="none" c:type="void"/>
25195
25200
</return-value>
@@ -25249,7 +25254,7 @@ which is the new start of the #GSList</doc>
25249
25254
</parameter>
25250
25255
</parameters>
25251
25256
</function>
25252
- <function name="push_allocator" c:identifier="g_slist_push_allocator">
25257
+ <function name="push_allocator" c:identifier="g_slist_push_allocator" deprecated="1" deprecated-version="2.10" >
25253
25258
<return-value transfer-ownership="none">
25254
25259
<type name="none" c:type="void"/>
25255
25260
</return-value>
@@ -28201,8 +28206,8 @@ indicate that it doesn't mind how long the poll() call blocks. In the
28201
28206
check function, it tests the results of the poll() call to see if the
28202
28207
required condition has been met, and returns %TRUE if so.</doc>
28203
28208
<field name="prepare" writable="1">
28204
- <doc xml:space="preserve">Called before all the file descriptors are polled. If the
28205
- source can determine that it is ready here (without waiting for the
28209
+ <doc xml:space="preserve">Called before all the file descriptors are polled. If
28210
+ the source can determine that it is ready here (without waiting for the
28206
28211
results of the poll() call) it should return %TRUE. It can also return
28207
28212
a @timeout_ value which should be the maximum timeout (in milliseconds)
28208
28213
which should be passed to the poll() call. The actual timeout used will
@@ -28215,9 +28220,9 @@ required condition has been met, and returns %TRUE if so.</doc>
28215
28220
<type name="SourceFuncsPrepareFunc" c:type="GSourceFuncsPrepareFunc"/>
28216
28221
</field>
28217
28222
<field name="check" writable="1">
28218
- <doc xml:space="preserve">Called after all the file descriptors are polled. The source
28219
- should return %TRUE if it is ready to be dispatched. Note that some
28220
- time may have passed since the previous prepare function was called,
28223
+ <doc xml:space="preserve">Called after all the file descriptors are polled. The
28224
+ source should return %TRUE if it is ready to be dispatched. Note that
28225
+ some time may have passed since the previous prepare function was called,
28221
28226
so the source should be checked again here. Since 2.36 this may
28222
28227
be %NULL, in which case the effect is as if the function always returns
28223
28228
%FALSE.</doc>
@@ -28237,11 +28242,12 @@ required condition has been met, and returns %TRUE if so.</doc>
28237
28242
<type name="SourceFuncsDispatchFunc" c:type="GSourceFuncsDispatchFunc"/>
28238
28243
</field>
28239
28244
<field name="finalize" writable="1">
28240
- <doc xml:space="preserve">Called when the source is finalized. At this point, the source
28241
- will have been destroyed, had its callback cleared, and have been removed
28242
- from its [struct@GLib.MainContext], but it will still have its final
28243
- reference count, so methods can be called on it from within this
28244
- function.</doc>
28245
+ <doc xml:space="preserve">Called when the source is finalized. At this point,
28246
+ the source will have been destroyed, had its callback cleared, and have
28247
+ been removed from its [struct@GLib.MainContext], but it will still have
28248
+ its final reference count, so methods can be called on it from within
28249
+ this function. This may be %NULL, in which case the effect is as if the
28250
+ function does nothing and returns.</doc>
28245
28251
<type name="SourceFuncsFinalizeFunc" c:type="GSourceFuncsFinalizeFunc"/>
28246
28252
</field>
28247
28253
<field name="closure_callback" readable="0" private="1">
@@ -43515,7 +43521,7 @@ Note that the @lock_bit bit will be always unset regardless of
43515
43521
</parameter>
43516
43522
</parameters>
43517
43523
</function>
43518
- <function name="blow_chunks" c:identifier="g_blow_chunks">
43524
+ <function name="blow_chunks" c:identifier="g_blow_chunks" deprecated="1" deprecated-version="2.10" >
43519
43525
<return-value transfer-ownership="none">
43520
43526
<type name="none" c:type="void"/>
43521
43527
</return-value>
@@ -44322,23 +44328,23 @@ See your C library manual for more details about chmod().</doc>
44322
44328
</parameter>
44323
44329
</parameters>
44324
44330
</function>
44325
- <function-macro name="chunk_free" c:identifier="g_chunk_free" introspectable="0">
44331
+ <function-macro name="chunk_free" c:identifier="g_chunk_free" introspectable="0" deprecated="1" deprecated-version="2.10" >
44326
44332
<parameters>
44327
44333
<parameter name="mem">
44328
44334
</parameter>
44329
44335
<parameter name="mem_chunk">
44330
44336
</parameter>
44331
44337
</parameters>
44332
44338
</function-macro>
44333
- <function-macro name="chunk_new" c:identifier="g_chunk_new" introspectable="0">
44339
+ <function-macro name="chunk_new" c:identifier="g_chunk_new" introspectable="0" deprecated="1" deprecated-version="2.10" >
44334
44340
<parameters>
44335
44341
<parameter name="type">
44336
44342
</parameter>
44337
44343
<parameter name="chunk">
44338
44344
</parameter>
44339
44345
</parameters>
44340
44346
</function-macro>
44341
- <function-macro name="chunk_new0" c:identifier="g_chunk_new0" introspectable="0">
44347
+ <function-macro name="chunk_new0" c:identifier="g_chunk_new0" introspectable="0" deprecated="1" deprecated-version="2.10" >
44342
44348
<parameters>
44343
44349
<parameter name="type">
44344
44350
</parameter>
@@ -49214,7 +49220,7 @@ Note that it is considered perfectly acceptable to access
49214
49220
</parameter>
49215
49221
</parameters>
49216
49222
</function-macro>
49217
- <function name="list_pop_allocator" c:identifier="g_list_pop_allocator" moved-to="List.pop_allocator">
49223
+ <function name="list_pop_allocator" c:identifier="g_list_pop_allocator" moved-to="List.pop_allocator" deprecated="1" deprecated-version="2.10" >
49218
49224
<return-value transfer-ownership="none">
49219
49225
<type name="none" c:type="void"/>
49220
49226
</return-value>
@@ -49229,7 +49235,7 @@ Note that it is considered perfectly acceptable to access
49229
49235
</parameter>
49230
49236
</parameters>
49231
49237
</function-macro>
49232
- <function name="list_push_allocator" c:identifier="g_list_push_allocator" moved-to="List.push_allocator">
49238
+ <function name="list_push_allocator" c:identifier="g_list_push_allocator" moved-to="List.push_allocator" deprecated="1" deprecated-version="2.10" >
49233
49239
<return-value transfer-ownership="none">
49234
49240
<type name="none" c:type="void"/>
49235
49241
</return-value>
@@ -50869,7 +50875,7 @@ of g_markup_escape_text(). See g_markup_printf_escaped().</doc>
50869
50875
</parameter>
50870
50876
</parameters>
50871
50877
</function>
50872
- <function-macro name="mem_chunk_create" c:identifier="g_mem_chunk_create" introspectable="0">
50878
+ <function-macro name="mem_chunk_create" c:identifier="g_mem_chunk_create" introspectable="0" deprecated="1" deprecated-version="2.10" >
50873
50879
<parameters>
50874
50880
<parameter name="type">
50875
50881
</parameter>
@@ -50879,7 +50885,7 @@ of g_markup_escape_text(). See g_markup_printf_escaped().</doc>
50879
50885
</parameter>
50880
50886
</parameters>
50881
50887
</function-macro>
50882
- <function name="mem_chunk_info" c:identifier="g_mem_chunk_info" moved-to="MemChunk.info">
50888
+ <function name="mem_chunk_info" c:identifier="g_mem_chunk_info" moved-to="MemChunk.info" deprecated="1" deprecated-version="2.10" >
50883
50889
<return-value transfer-ownership="none">
50884
50890
<type name="none" c:type="void"/>
50885
50891
</return-value>
@@ -51321,7 +51327,7 @@ vulnerability.</doc>
51321
51327
</parameter>
51322
51328
</parameters>
51323
51329
</function-macro>
51324
- <function name="node_pop_allocator" c:identifier="g_node_pop_allocator" moved-to="Node.pop_allocator">
51330
+ <function name="node_pop_allocator" c:identifier="g_node_pop_allocator" moved-to="Node.pop_allocator" deprecated="1" deprecated-version="2.10" >
51325
51331
<return-value transfer-ownership="none">
51326
51332
<type name="none" c:type="void"/>
51327
51333
</return-value>
@@ -51345,7 +51351,7 @@ vulnerability.</doc>
51345
51351
</parameter>
51346
51352
</parameters>
51347
51353
</function-macro>
51348
- <function name="node_push_allocator" c:identifier="g_node_push_allocator" moved-to="Node.push_allocator">
51354
+ <function name="node_push_allocator" c:identifier="g_node_push_allocator" moved-to="Node.push_allocator" deprecated="1" deprecated-version="2.10" >
51349
51355
<return-value transfer-ownership="none">
51350
51356
<type name="none" c:type="void"/>
51351
51357
</return-value>
@@ -54439,12 +54445,12 @@ Note that it is considered perfectly acceptable to access
54439
54445
</parameter>
54440
54446
</parameters>
54441
54447
</function-macro>
54442
- <function name="slist_pop_allocator" c:identifier="g_slist_pop_allocator" moved-to="SList.pop_allocator">
54448
+ <function name="slist_pop_allocator" c:identifier="g_slist_pop_allocator" moved-to="SList.pop_allocator" deprecated="1" deprecated-version="2.10" >
54443
54449
<return-value transfer-ownership="none">
54444
54450
<type name="none" c:type="void"/>
54445
54451
</return-value>
54446
54452
</function>
54447
- <function name="slist_push_allocator" c:identifier="g_slist_push_allocator" moved-to="SList.push_allocator">
54453
+ <function name="slist_push_allocator" c:identifier="g_slist_push_allocator" moved-to="SList.push_allocator" deprecated="1" deprecated-version="2.10" >
54448
54454
<return-value transfer-ownership="none">
54449
54455
<type name="none" c:type="void"/>
54450
54456
</return-value>
0 commit comments