Skip to content

Commit 965d720

Browse files
Update GIR files
1 parent 770dd7b commit 965d720

File tree

5 files changed

+177
-109
lines changed

5 files changed

+177
-109
lines changed

GLib-2.0.gir

Lines changed: 52 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -143,19 +143,19 @@ alignment.</doc>
143143
</parameter>
144144
</parameters>
145145
</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">
147147
<type name="gint" c:type="gint"/>
148148
</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">
150150
<type name="gint" c:type="gint"/>
151151
</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">
153153
<type name="gint" c:type="gint"/>
154154
</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">
156156
<type name="gint" c:type="gint"/>
157157
</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">
159159
<type name="gint" c:type="gint"/>
160160
</constant>
161161
<constant name="ANALYZER_ANALYZING" value="1" c:type="G_ANALYZER_ANALYZING">
@@ -235,8 +235,8 @@ portable to those compilers.</doc>
235235
</parameter>
236236
</parameters>
237237
</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">
240240
<return-value transfer-ownership="none">
241241
<type name="none" c:type="void"/>
242242
</return-value>
@@ -246,7 +246,7 @@ portable to those compilers.</doc>
246246
</instance-parameter>
247247
</parameters>
248248
</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">
250250
<return-value>
251251
<type name="Allocator" c:type="GAllocator*"/>
252252
</return-value>
@@ -13750,6 +13750,11 @@ If @key is `NULL` then @comment will be written above @group_name.
1375013750
If both @key and @group_name are `NULL`, then @comment will be
1375113751
written above the first group in the file.
1375213752

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+
1375313758
Note that this function prepends a `#` comment marker to
1375413759
each line of @comment.</doc>
1375513760
<return-value transfer-ownership="none">
@@ -14999,7 +15004,7 @@ described in the #GList introduction.</doc>
1499915004
</parameter>
1500015005
</parameters>
1500115006
</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">
1500315008
<return-value transfer-ownership="none">
1500415009
<type name="none" c:type="void"/>
1500515010
</return-value>
@@ -15063,7 +15068,7 @@ element than the start of the list. Use g_list_insert_before() instead.</doc>
1506315068
</parameter>
1506415069
</parameters>
1506515070
</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">
1506715072
<return-value transfer-ownership="none">
1506815073
<type name="none" c:type="void"/>
1506915074
</return-value>
@@ -17479,8 +17484,8 @@ to zero, it frees all the memory associated with the match_info structure.</doc>
1747917484
</parameters>
1748017485
</method>
1748117486
</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">
1748417489
<return-value transfer-ownership="none" nullable="1">
1748517490
<type name="gpointer" c:type="gpointer"/>
1748617491
</return-value>
@@ -17490,7 +17495,7 @@ to zero, it frees all the memory associated with the match_info structure.</doc>
1749017495
</instance-parameter>
1749117496
</parameters>
1749217497
</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">
1749417499
<return-value transfer-ownership="none" nullable="1">
1749517500
<type name="gpointer" c:type="gpointer"/>
1749617501
</return-value>
@@ -17500,7 +17505,7 @@ to zero, it frees all the memory associated with the match_info structure.</doc>
1750017505
</instance-parameter>
1750117506
</parameters>
1750217507
</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">
1750417509
<return-value transfer-ownership="none">
1750517510
<type name="none" c:type="void"/>
1750617511
</return-value>
@@ -17510,7 +17515,7 @@ to zero, it frees all the memory associated with the match_info structure.</doc>
1751017515
</instance-parameter>
1751117516
</parameters>
1751217517
</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">
1751417519
<return-value transfer-ownership="none">
1751517520
<type name="none" c:type="void"/>
1751617521
</return-value>
@@ -17520,7 +17525,7 @@ to zero, it frees all the memory associated with the match_info structure.</doc>
1752017525
</instance-parameter>
1752117526
</parameters>
1752217527
</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">
1752417529
<return-value transfer-ownership="none">
1752517530
<type name="none" c:type="void"/>
1752617531
</return-value>
@@ -17533,7 +17538,7 @@ to zero, it frees all the memory associated with the match_info structure.</doc>
1753317538
</parameter>
1753417539
</parameters>
1753517540
</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">
1753717542
<return-value transfer-ownership="none">
1753817543
<type name="none" c:type="void"/>
1753917544
</return-value>
@@ -17543,7 +17548,7 @@ to zero, it frees all the memory associated with the match_info structure.</doc>
1754317548
</instance-parameter>
1754417549
</parameters>
1754517550
</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">
1754717552
<return-value transfer-ownership="none">
1754817553
<type name="none" c:type="void"/>
1754917554
</return-value>
@@ -17553,12 +17558,12 @@ to zero, it frees all the memory associated with the match_info structure.</doc>
1755317558
</instance-parameter>
1755417559
</parameters>
1755517560
</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">
1755717562
<return-value transfer-ownership="none">
1755817563
<type name="none" c:type="void"/>
1755917564
</return-value>
1756017565
</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">
1756217567
<return-value>
1756317568
<type name="MemChunk" c:type="GMemChunk*"/>
1756417569
</return-value>
@@ -18394,12 +18399,12 @@ Used to create the first node in a tree.</doc>
1839418399
</parameter>
1839518400
</parameters>
1839618401
</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">
1839818403
<return-value transfer-ownership="none">
1839918404
<type name="none" c:type="void"/>
1840018405
</return-value>
1840118406
</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">
1840318408
<return-value transfer-ownership="none">
1840418409
<type name="none" c:type="void"/>
1840518410
</return-value>
@@ -25189,7 +25194,7 @@ check @list against %NULL.</doc>
2518925194
</parameter>
2519025195
</parameters>
2519125196
</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">
2519325198
<return-value transfer-ownership="none">
2519425199
<type name="none" c:type="void"/>
2519525200
</return-value>
@@ -25249,7 +25254,7 @@ which is the new start of the #GSList</doc>
2524925254
</parameter>
2525025255
</parameters>
2525125256
</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">
2525325258
<return-value transfer-ownership="none">
2525425259
<type name="none" c:type="void"/>
2525525260
</return-value>
@@ -28201,8 +28206,8 @@ indicate that it doesn't mind how long the poll() call blocks. In the
2820128206
check function, it tests the results of the poll() call to see if the
2820228207
required condition has been met, and returns %TRUE if so.</doc>
2820328208
<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
2820628211
results of the poll() call) it should return %TRUE. It can also return
2820728212
a @timeout_ value which should be the maximum timeout (in milliseconds)
2820828213
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>
2821528220
<type name="SourceFuncsPrepareFunc" c:type="GSourceFuncsPrepareFunc"/>
2821628221
</field>
2821728222
<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,
2822128226
so the source should be checked again here. Since 2.36 this may
2822228227
be %NULL, in which case the effect is as if the function always returns
2822328228
%FALSE.</doc>
@@ -28237,11 +28242,12 @@ required condition has been met, and returns %TRUE if so.</doc>
2823728242
<type name="SourceFuncsDispatchFunc" c:type="GSourceFuncsDispatchFunc"/>
2823828243
</field>
2823928244
<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>
2824528251
<type name="SourceFuncsFinalizeFunc" c:type="GSourceFuncsFinalizeFunc"/>
2824628252
</field>
2824728253
<field name="closure_callback" readable="0" private="1">
@@ -43515,7 +43521,7 @@ Note that the @lock_bit bit will be always unset regardless of
4351543521
</parameter>
4351643522
</parameters>
4351743523
</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">
4351943525
<return-value transfer-ownership="none">
4352043526
<type name="none" c:type="void"/>
4352143527
</return-value>
@@ -44322,23 +44328,23 @@ See your C library manual for more details about chmod().</doc>
4432244328
</parameter>
4432344329
</parameters>
4432444330
</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">
4432644332
<parameters>
4432744333
<parameter name="mem">
4432844334
</parameter>
4432944335
<parameter name="mem_chunk">
4433044336
</parameter>
4433144337
</parameters>
4433244338
</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">
4433444340
<parameters>
4433544341
<parameter name="type">
4433644342
</parameter>
4433744343
<parameter name="chunk">
4433844344
</parameter>
4433944345
</parameters>
4434044346
</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">
4434244348
<parameters>
4434344349
<parameter name="type">
4434444350
</parameter>
@@ -49214,7 +49220,7 @@ Note that it is considered perfectly acceptable to access
4921449220
</parameter>
4921549221
</parameters>
4921649222
</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">
4921849224
<return-value transfer-ownership="none">
4921949225
<type name="none" c:type="void"/>
4922049226
</return-value>
@@ -49229,7 +49235,7 @@ Note that it is considered perfectly acceptable to access
4922949235
</parameter>
4923049236
</parameters>
4923149237
</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">
4923349239
<return-value transfer-ownership="none">
4923449240
<type name="none" c:type="void"/>
4923549241
</return-value>
@@ -50869,7 +50875,7 @@ of g_markup_escape_text(). See g_markup_printf_escaped().</doc>
5086950875
</parameter>
5087050876
</parameters>
5087150877
</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">
5087350879
<parameters>
5087450880
<parameter name="type">
5087550881
</parameter>
@@ -50879,7 +50885,7 @@ of g_markup_escape_text(). See g_markup_printf_escaped().</doc>
5087950885
</parameter>
5088050886
</parameters>
5088150887
</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">
5088350889
<return-value transfer-ownership="none">
5088450890
<type name="none" c:type="void"/>
5088550891
</return-value>
@@ -51321,7 +51327,7 @@ vulnerability.</doc>
5132151327
</parameter>
5132251328
</parameters>
5132351329
</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">
5132551331
<return-value transfer-ownership="none">
5132651332
<type name="none" c:type="void"/>
5132751333
</return-value>
@@ -51345,7 +51351,7 @@ vulnerability.</doc>
5134551351
</parameter>
5134651352
</parameters>
5134751353
</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">
5134951355
<return-value transfer-ownership="none">
5135051356
<type name="none" c:type="void"/>
5135151357
</return-value>
@@ -54439,12 +54445,12 @@ Note that it is considered perfectly acceptable to access
5443954445
</parameter>
5444054446
</parameters>
5444154447
</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">
5444354449
<return-value transfer-ownership="none">
5444454450
<type name="none" c:type="void"/>
5444554451
</return-value>
5444654452
</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">
5444854454
<return-value transfer-ownership="none">
5444954455
<type name="none" c:type="void"/>
5445054456
</return-value>

GdkPixbuf-2.0.gir

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,12 @@ Currently only RGB is supported.</doc>
6060
</parameter>
6161
</parameters>
6262
</function-macro>
63+
<function-macro name="IS_PIXBUF_NON_ANIM" c:identifier="GDK_IS_PIXBUF_NON_ANIM" introspectable="0">
64+
<parameters>
65+
<parameter name="object">
66+
</parameter>
67+
</parameters>
68+
</function-macro>
6369
<function-macro name="IS_PIXBUF_SIMPLE_ANIM" c:identifier="GDK_IS_PIXBUF_SIMPLE_ANIM" introspectable="0">
6470
<parameters>
6571
<parameter name="object">
@@ -317,16 +323,22 @@ interpolation is just as fast and results in higher quality.</doc>
317323
"0.8.2" for example.</doc>
318324
<type name="gint" c:type="gint"/>
319325
</constant>
320-
<constant name="PIXBUF_MICRO" value="13" c:type="GDK_PIXBUF_MICRO">
326+
<constant name="PIXBUF_MICRO" value="1" c:type="GDK_PIXBUF_MICRO">
321327
<doc xml:space="preserve">Micro version of gdk-pixbuf library, that is the "2" in
322328
"0.8.2" for example.</doc>
323329
<type name="gint" c:type="gint"/>
324330
</constant>
325-
<constant name="PIXBUF_MINOR" value="42" c:type="GDK_PIXBUF_MINOR">
331+
<constant name="PIXBUF_MINOR" value="43" c:type="GDK_PIXBUF_MINOR">
326332
<doc xml:space="preserve">Minor version of gdk-pixbuf library, that is the "8" in
327333
"0.8.2" for example.</doc>
328334
<type name="gint" c:type="gint"/>
329335
</constant>
336+
<function-macro name="PIXBUF_NON_ANIM" c:identifier="GDK_PIXBUF_NON_ANIM" introspectable="0">
337+
<parameters>
338+
<parameter name="object">
339+
</parameter>
340+
</parameters>
341+
</function-macro>
330342
<function-macro name="PIXBUF_SIMPLE_ANIM" c:identifier="GDK_PIXBUF_SIMPLE_ANIM" introspectable="0">
331343
<parameters>
332344
<parameter name="object">
@@ -345,7 +357,7 @@ interpolation is just as fast and results in higher quality.</doc>
345357
</parameter>
346358
</parameters>
347359
</function-macro>
348-
<constant name="PIXBUF_VERSION" value="2.42.13" c:type="GDK_PIXBUF_VERSION">
360+
<constant name="PIXBUF_VERSION" value="2.43.1" c:type="GDK_PIXBUF_VERSION">
349361
<doc xml:space="preserve">Contains the full version of GdkPixbuf as a string.
350362

351363
This is the version being compiled against; contrast with

0 commit comments

Comments
 (0)