gobject-introspection 3.0.7-x86-mingw32 → 3.0.8-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (126) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +2 -2
  3. data/ext/gobject-introspection/extconf.rb +1 -0
  4. data/ext/gobject-introspection/rb-gi-argument.c +123 -26
  5. data/ext/gobject-introspection/rb-gi-function-info.c +558 -19
  6. data/ext/gobject-introspection/rb-gi-repository.c +9 -0
  7. data/ext/gobject-introspection/rb-gobject-introspection.h +3 -0
  8. data/lib/2.2/gobject_introspection.so +0 -0
  9. data/lib/2.3/gobject_introspection.so +0 -0
  10. data/lib/gobject-introspection/loader.rb +1 -1
  11. data/vendor/local/bin/g-ir-compiler.exe +0 -0
  12. data/vendor/local/bin/g-ir-generate.exe +0 -0
  13. data/vendor/local/bin/libgirepository-1.0-1.dll +0 -0
  14. data/vendor/local/include/gobject-introspection-1.0/gistructinfo.h +4 -0
  15. data/vendor/local/lib/girepository-1.0/GIRepository-2.0.typelib +0 -0
  16. data/vendor/local/lib/girepository-1.0/GLib-2.0.typelib +0 -0
  17. data/vendor/local/lib/girepository-1.0/GModule-2.0.typelib +0 -0
  18. data/vendor/local/lib/girepository-1.0/GObject-2.0.typelib +0 -0
  19. data/vendor/local/lib/girepository-1.0/Gio-2.0.typelib +0 -0
  20. data/vendor/local/lib/gobject-introspection/giscanner/__init__.py +1 -1
  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.py +39 -11
  24. data/vendor/local/lib/gobject-introspection/giscanner/annotationmain.pyc +0 -0
  25. data/vendor/local/lib/gobject-introspection/giscanner/annotationmain.pyo +0 -0
  26. data/vendor/local/lib/gobject-introspection/giscanner/annotationparser.py +187 -164
  27. data/vendor/local/lib/gobject-introspection/giscanner/annotationparser.pyc +0 -0
  28. data/vendor/local/lib/gobject-introspection/giscanner/annotationparser.pyo +0 -0
  29. data/vendor/local/lib/gobject-introspection/giscanner/ast.py +191 -58
  30. data/vendor/local/lib/gobject-introspection/giscanner/ast.pyc +0 -0
  31. data/vendor/local/lib/gobject-introspection/giscanner/ast.pyo +0 -0
  32. data/vendor/local/lib/gobject-introspection/giscanner/cachestore.py +42 -54
  33. data/vendor/local/lib/gobject-introspection/giscanner/cachestore.pyc +0 -0
  34. data/vendor/local/lib/gobject-introspection/giscanner/cachestore.pyo +0 -0
  35. data/vendor/local/lib/gobject-introspection/giscanner/ccompiler.py +272 -82
  36. data/vendor/local/lib/gobject-introspection/giscanner/ccompiler.pyc +0 -0
  37. data/vendor/local/lib/gobject-introspection/giscanner/ccompiler.pyo +0 -0
  38. data/vendor/local/lib/gobject-introspection/giscanner/codegen.py +18 -11
  39. data/vendor/local/lib/gobject-introspection/giscanner/codegen.pyc +0 -0
  40. data/vendor/local/lib/gobject-introspection/giscanner/codegen.pyo +0 -0
  41. data/vendor/local/lib/gobject-introspection/giscanner/collections/__init__.py +4 -0
  42. data/vendor/local/lib/gobject-introspection/giscanner/collections/__init__.pyc +0 -0
  43. data/vendor/local/lib/gobject-introspection/giscanner/collections/__init__.pyo +0 -0
  44. data/vendor/local/lib/gobject-introspection/giscanner/collections/counter.pyc +0 -0
  45. data/vendor/local/lib/gobject-introspection/giscanner/collections/counter.pyo +0 -0
  46. data/vendor/local/lib/gobject-introspection/giscanner/collections/ordereddict.py +25 -13
  47. data/vendor/local/lib/gobject-introspection/giscanner/collections/ordereddict.pyc +0 -0
  48. data/vendor/local/lib/gobject-introspection/giscanner/collections/ordereddict.pyo +0 -0
  49. data/vendor/local/lib/gobject-introspection/giscanner/docmain.py +21 -19
  50. data/vendor/local/lib/gobject-introspection/giscanner/docmain.pyc +0 -0
  51. data/vendor/local/lib/gobject-introspection/giscanner/docmain.pyo +0 -0
  52. data/vendor/local/lib/gobject-introspection/giscanner/docwriter.py +19 -16
  53. data/vendor/local/lib/gobject-introspection/giscanner/docwriter.pyc +0 -0
  54. data/vendor/local/lib/gobject-introspection/giscanner/docwriter.pyo +0 -0
  55. data/vendor/local/lib/gobject-introspection/giscanner/dumper.py +148 -158
  56. data/vendor/local/lib/gobject-introspection/giscanner/dumper.pyc +0 -0
  57. data/vendor/local/lib/gobject-introspection/giscanner/dumper.pyo +0 -0
  58. data/vendor/local/lib/gobject-introspection/giscanner/gdumpparser.py +31 -21
  59. data/vendor/local/lib/gobject-introspection/giscanner/gdumpparser.pyc +0 -0
  60. data/vendor/local/lib/gobject-introspection/giscanner/gdumpparser.pyo +0 -0
  61. data/vendor/local/lib/gobject-introspection/giscanner/girparser.py +13 -5
  62. data/vendor/local/lib/gobject-introspection/giscanner/girparser.pyc +0 -0
  63. data/vendor/local/lib/gobject-introspection/giscanner/girparser.pyo +0 -0
  64. data/vendor/local/lib/gobject-introspection/giscanner/girwriter.py +12 -13
  65. data/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyc +0 -0
  66. data/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyo +0 -0
  67. data/vendor/local/lib/gobject-introspection/giscanner/introspectablepass.py +5 -1
  68. data/vendor/local/lib/gobject-introspection/giscanner/introspectablepass.pyc +0 -0
  69. data/vendor/local/lib/gobject-introspection/giscanner/introspectablepass.pyo +0 -0
  70. data/vendor/local/lib/gobject-introspection/giscanner/libtoolimporter.py +11 -9
  71. data/vendor/local/lib/gobject-introspection/giscanner/libtoolimporter.pyc +0 -0
  72. data/vendor/local/lib/gobject-introspection/giscanner/libtoolimporter.pyo +0 -0
  73. data/vendor/local/lib/gobject-introspection/giscanner/maintransformer.py +150 -45
  74. data/vendor/local/lib/gobject-introspection/giscanner/maintransformer.pyc +0 -0
  75. data/vendor/local/lib/gobject-introspection/giscanner/maintransformer.pyo +0 -0
  76. data/vendor/local/lib/gobject-introspection/giscanner/message.py +56 -19
  77. data/vendor/local/lib/gobject-introspection/giscanner/message.pyc +0 -0
  78. data/vendor/local/lib/gobject-introspection/giscanner/message.pyo +0 -0
  79. data/vendor/local/lib/gobject-introspection/giscanner/msvccompiler.py +101 -0
  80. data/vendor/local/lib/gobject-introspection/giscanner/msvccompiler.pyc +0 -0
  81. data/vendor/local/lib/gobject-introspection/giscanner/msvccompiler.pyo +0 -0
  82. data/vendor/local/lib/gobject-introspection/giscanner/scannermain.py +41 -22
  83. data/vendor/local/lib/gobject-introspection/giscanner/scannermain.pyc +0 -0
  84. data/vendor/local/lib/gobject-introspection/giscanner/scannermain.pyo +0 -0
  85. data/vendor/local/lib/gobject-introspection/giscanner/sectionparser.py +6 -1
  86. data/vendor/local/lib/gobject-introspection/giscanner/sectionparser.pyc +0 -0
  87. data/vendor/local/lib/gobject-introspection/giscanner/sectionparser.pyo +0 -0
  88. data/vendor/local/lib/gobject-introspection/giscanner/shlibs.py +8 -2
  89. data/vendor/local/lib/gobject-introspection/giscanner/shlibs.pyc +0 -0
  90. data/vendor/local/lib/gobject-introspection/giscanner/shlibs.pyo +0 -0
  91. data/vendor/local/lib/gobject-introspection/giscanner/sourcescanner.py +42 -56
  92. data/vendor/local/lib/gobject-introspection/giscanner/sourcescanner.pyc +0 -0
  93. data/vendor/local/lib/gobject-introspection/giscanner/sourcescanner.pyo +0 -0
  94. data/vendor/local/lib/gobject-introspection/giscanner/testcodegen.py +19 -5
  95. data/vendor/local/lib/gobject-introspection/giscanner/testcodegen.pyc +0 -0
  96. data/vendor/local/lib/gobject-introspection/giscanner/testcodegen.pyo +0 -0
  97. data/vendor/local/lib/gobject-introspection/giscanner/transformer.py +73 -37
  98. data/vendor/local/lib/gobject-introspection/giscanner/transformer.pyc +0 -0
  99. data/vendor/local/lib/gobject-introspection/giscanner/transformer.pyo +0 -0
  100. data/vendor/local/lib/gobject-introspection/giscanner/utils.py +92 -14
  101. data/vendor/local/lib/gobject-introspection/giscanner/utils.pyc +0 -0
  102. data/vendor/local/lib/gobject-introspection/giscanner/utils.pyo +0 -0
  103. data/vendor/local/lib/gobject-introspection/giscanner/xmlwriter.py +30 -11
  104. data/vendor/local/lib/gobject-introspection/giscanner/xmlwriter.pyc +0 -0
  105. data/vendor/local/lib/gobject-introspection/giscanner/xmlwriter.pyo +0 -0
  106. data/vendor/local/lib/libgirepository-1.0.a +0 -0
  107. data/vendor/local/lib/libgirepository-1.0.dll.a +0 -0
  108. data/vendor/local/lib/libgirepository-1.0.la +1 -1
  109. data/vendor/local/lib/pkgconfig/gobject-introspection-1.0.pc +1 -1
  110. data/vendor/local/lib/pkgconfig/gobject-introspection-no-export-1.0.pc +1 -1
  111. data/vendor/local/share/gir-1.0/GIRepository-2.0.gir +57 -13
  112. data/vendor/local/share/gir-1.0/GLib-2.0.gir +2018 -894
  113. data/vendor/local/share/gir-1.0/GModule-2.0.gir +2 -1
  114. data/vendor/local/share/gir-1.0/GObject-2.0.gir +1107 -674
  115. data/vendor/local/share/gir-1.0/Gio-2.0.gir +5589 -1287
  116. data/vendor/local/share/gobject-introspection-1.0/Makefile.introspection +4 -2
  117. data/vendor/local/share/gobject-introspection-1.0/gdump.c +8 -0
  118. data/vendor/local/share/gobject-introspection-1.0/tests/everything.c +273 -323
  119. data/vendor/local/share/gobject-introspection-1.0/tests/everything.h +58 -38
  120. data/vendor/local/share/gobject-introspection-1.0/tests/gimarshallingtests.c +1 -1
  121. data/vendor/local/share/gobject-introspection-1.0/tests/regress.c +177 -23
  122. data/vendor/local/share/gobject-introspection-1.0/tests/regress.h +40 -0
  123. data/vendor/local/share/man/man1/g-ir-compiler.1 +7 -7
  124. metadata +9 -7
  125. data/lib/2.0/gobject_introspection.so +0 -0
  126. data/lib/2.1/gobject_introspection.so +0 -0
@@ -88,7 +88,8 @@ by #G_MODULE_EXPORT. Note that a valid symbol can be %NULL.</doc>
88
88
  <parameter name="symbol"
89
89
  direction="out"
90
90
  caller-allocates="0"
91
- transfer-ownership="full">
91
+ transfer-ownership="full"
92
+ nullable="1">
92
93
  <doc xml:space="preserve">returns the pointer to the symbol value</doc>
93
94
  <type name="gpointer" c:type="gpointer*"/>
94
95
  </parameter>
@@ -14,12 +14,6 @@ and/or use gtk-doc annotations. -->
14
14
  shared-library="libgobject-2.0-0.dll"
15
15
  c:identifier-prefixes="G"
16
16
  c:symbol-prefixes="g">
17
- <alias name="InitiallyUnowned_autoptr" c:type="GInitiallyUnowned_autoptr">
18
- <type name="gpointer" c:type="gpointer"/>
19
- </alias>
20
- <alias name="Object_autoptr" c:type="GObject_autoptr">
21
- <type name="gpointer" c:type="gpointer"/>
22
- </alias>
23
17
  <alias name="SignalCMarshaller" c:type="GSignalCMarshaller">
24
18
  <doc xml:space="preserve">This is the signature of marshaller functions, required to marshall
25
19
  arrays of parameter values to signal emissions into C language callback
@@ -43,15 +37,15 @@ type.</doc>
43
37
  <doc xml:space="preserve">A callback function used by the type system to finalize those portions
44
38
  of a derived types class structure that were setup from the corresponding
45
39
  GBaseInitFunc() function. Class finalization basically works the inverse
46
- way in which class intialization is performed.
47
- See GClassInitFunc() for a discussion of the class intialization process.</doc>
40
+ way in which class initialization is performed.
41
+ See GClassInitFunc() for a discussion of the class initialization process.</doc>
48
42
  <return-value transfer-ownership="none">
49
43
  <type name="none" c:type="void"/>
50
44
  </return-value>
51
45
  <parameters>
52
46
  <parameter name="g_class" transfer-ownership="none">
53
47
  <doc xml:space="preserve">The #GTypeClass structure to finalize</doc>
54
- <type name="gpointer" c:type="gpointer"/>
48
+ <type name="TypeClass" c:type="gpointer"/>
55
49
  </parameter>
56
50
  </parameters>
57
51
  </callback>
@@ -63,14 +57,14 @@ or reset all dynamic class members copied over from the parent class.
63
57
  For example, class members (such as strings) that are not sufficiently
64
58
  handled by a plain memory copy of the parent class into the derived class
65
59
  have to be altered. See GClassInitFunc() for a discussion of the class
66
- intialization process.</doc>
60
+ initialization process.</doc>
67
61
  <return-value transfer-ownership="none">
68
62
  <type name="none" c:type="void"/>
69
63
  </return-value>
70
64
  <parameters>
71
65
  <parameter name="g_class" transfer-ownership="none">
72
66
  <doc xml:space="preserve">The #GTypeClass structure to initialize</doc>
73
- <type name="gpointer" c:type="gpointer"/>
67
+ <type name="TypeClass" c:type="gpointer"/>
74
68
  </parameter>
75
69
  </parameters>
76
70
  </callback>
@@ -366,16 +360,20 @@ then those roles are reversed.</doc>
366
360
  <doc xml:space="preserve">the #GValue in which to store the transformed value</doc>
367
361
  <type name="Value" c:type="GValue*"/>
368
362
  </parameter>
369
- <parameter name="user_data" transfer-ownership="none" closure="3">
363
+ <parameter name="user_data"
364
+ transfer-ownership="none"
365
+ nullable="1"
366
+ allow-none="1"
367
+ closure="3">
370
368
  <doc xml:space="preserve">data passed to the transform function</doc>
371
369
  <type name="gpointer" c:type="gpointer"/>
372
370
  </parameter>
373
371
  </parameters>
374
372
  </callback>
375
- <callback name="BoxedCopyFunc" c:type="GBoxedCopyFunc" introspectable="0">
373
+ <callback name="BoxedCopyFunc" c:type="GBoxedCopyFunc">
376
374
  <doc xml:space="preserve">This function is provided by the user and should produce a copy
377
375
  of the passed in boxed structure.</doc>
378
- <return-value>
376
+ <return-value transfer-ownership="none">
379
377
  <doc xml:space="preserve">The newly created copy of the boxed structure.</doc>
380
378
  <type name="gpointer" c:type="gpointer"/>
381
379
  </return-value>
@@ -437,12 +435,18 @@ accumulator, such as g_signal_accumulator_true_handled().</doc>
437
435
  on which to invoke the callback of closure.</doc>
438
436
  <type name="Value" c:type="const GValue*"/>
439
437
  </parameter>
440
- <parameter name="invocation_hint" transfer-ownership="none">
438
+ <parameter name="invocation_hint"
439
+ transfer-ownership="none"
440
+ nullable="1"
441
+ allow-none="1">
441
442
  <doc xml:space="preserve">The invocation hint given as the last argument to
442
443
  g_closure_invoke().</doc>
443
444
  <type name="gpointer" c:type="gpointer"/>
444
445
  </parameter>
445
- <parameter name="marshal_data" transfer-ownership="none">
446
+ <parameter name="marshal_data"
447
+ transfer-ownership="none"
448
+ nullable="1"
449
+ allow-none="1">
446
450
  <doc xml:space="preserve">Additional data specified when registering the
447
451
  marshaller, see g_closure_set_marshal() and
448
452
  g_closure_set_meta_marshal()</doc>
@@ -473,7 +477,7 @@ accumulator, such as g_signal_accumulator_true_handled().</doc>
473
477
  </parameter>
474
478
  <parameter name="instance" transfer-ownership="none">
475
479
  <doc xml:space="preserve">the instance on which the closure is invoked.</doc>
476
- <type name="gpointer" c:type="gpointer"/>
480
+ <type name="TypeInstance" c:type="gpointer"/>
477
481
  </parameter>
478
482
  <parameter name="args" transfer-ownership="none">
479
483
  <doc xml:space="preserve">va_list of arguments to be passed to the closure.</doc>
@@ -529,12 +533,18 @@ such as g_signal_accumulator_true_handled().</doc>
529
533
  on which to invoke the callback of closure.</doc>
530
534
  <type name="Value" c:type="const GValue*"/>
531
535
  </parameter>
532
- <parameter name="invocation_hint" transfer-ownership="none">
536
+ <parameter name="invocation_hint"
537
+ transfer-ownership="none"
538
+ nullable="1"
539
+ allow-none="1">
533
540
  <doc xml:space="preserve">The invocation hint given as the last argument to
534
541
  g_closure_invoke().</doc>
535
542
  <type name="gpointer" c:type="gpointer"/>
536
543
  </parameter>
537
- <parameter name="marshal_data" transfer-ownership="none">
544
+ <parameter name="marshal_data"
545
+ transfer-ownership="none"
546
+ nullable="1"
547
+ allow-none="1">
538
548
  <doc xml:space="preserve">Additional data specified when registering the
539
549
  marshaller, see g_closure_set_marshal() and
540
550
  g_closure_set_meta_marshal()</doc>
@@ -565,7 +575,7 @@ such as g_signal_accumulator_true_handled().</doc>
565
575
  </parameter>
566
576
  <parameter name="instance" transfer-ownership="none">
567
577
  <doc xml:space="preserve">the instance on which the closure is invoked.</doc>
568
- <type name="gpointer" c:type="gpointer"/>
578
+ <type name="TypeInstance" c:type="gpointer"/>
569
579
  </parameter>
570
580
  <parameter name="args" transfer-ownership="none">
571
581
  <doc xml:space="preserve">va_list of arguments to be passed to the closure.</doc>
@@ -620,12 +630,18 @@ unlikely that your signal handler fits this description.</doc>
620
630
  on which to invoke the callback of closure.</doc>
621
631
  <type name="Value" c:type="const GValue*"/>
622
632
  </parameter>
623
- <parameter name="invocation_hint" transfer-ownership="none">
633
+ <parameter name="invocation_hint"
634
+ transfer-ownership="none"
635
+ nullable="1"
636
+ allow-none="1">
624
637
  <doc xml:space="preserve">The invocation hint given as the last argument to
625
638
  g_closure_invoke().</doc>
626
639
  <type name="gpointer" c:type="gpointer"/>
627
640
  </parameter>
628
- <parameter name="marshal_data" transfer-ownership="none">
641
+ <parameter name="marshal_data"
642
+ transfer-ownership="none"
643
+ nullable="1"
644
+ allow-none="1">
629
645
  <doc xml:space="preserve">Additional data specified when registering the
630
646
  marshaller, see g_closure_set_marshal() and
631
647
  g_closure_set_meta_marshal()</doc>
@@ -656,7 +672,7 @@ unlikely that your signal handler fits this description.</doc>
656
672
  </parameter>
657
673
  <parameter name="instance" transfer-ownership="none">
658
674
  <doc xml:space="preserve">the instance on which the closure is invoked.</doc>
659
- <type name="gpointer" c:type="gpointer"/>
675
+ <type name="TypeInstance" c:type="gpointer"/>
660
676
  </parameter>
661
677
  <parameter name="args" transfer-ownership="none">
662
678
  <doc xml:space="preserve">va_list of arguments to be passed to the closure.</doc>
@@ -710,12 +726,18 @@ boolean argument.</doc>
710
726
  on which to invoke the callback of closure.</doc>
711
727
  <type name="Value" c:type="const GValue*"/>
712
728
  </parameter>
713
- <parameter name="invocation_hint" transfer-ownership="none">
729
+ <parameter name="invocation_hint"
730
+ transfer-ownership="none"
731
+ nullable="1"
732
+ allow-none="1">
714
733
  <doc xml:space="preserve">The invocation hint given as the last argument to
715
734
  g_closure_invoke().</doc>
716
735
  <type name="gpointer" c:type="gpointer"/>
717
736
  </parameter>
718
- <parameter name="marshal_data" transfer-ownership="none">
737
+ <parameter name="marshal_data"
738
+ transfer-ownership="none"
739
+ nullable="1"
740
+ allow-none="1">
719
741
  <doc xml:space="preserve">Additional data specified when registering the
720
742
  marshaller, see g_closure_set_marshal() and
721
743
  g_closure_set_meta_marshal()</doc>
@@ -746,7 +768,7 @@ boolean argument.</doc>
746
768
  </parameter>
747
769
  <parameter name="instance" transfer-ownership="none">
748
770
  <doc xml:space="preserve">the instance on which the closure is invoked.</doc>
749
- <type name="gpointer" c:type="gpointer"/>
771
+ <type name="TypeInstance" c:type="gpointer"/>
750
772
  </parameter>
751
773
  <parameter name="args" transfer-ownership="none">
752
774
  <doc xml:space="preserve">va_list of arguments to be passed to the closure.</doc>
@@ -800,12 +822,18 @@ argument which is any boxed pointer type.</doc>
800
822
  on which to invoke the callback of closure.</doc>
801
823
  <type name="Value" c:type="const GValue*"/>
802
824
  </parameter>
803
- <parameter name="invocation_hint" transfer-ownership="none">
825
+ <parameter name="invocation_hint"
826
+ transfer-ownership="none"
827
+ nullable="1"
828
+ allow-none="1">
804
829
  <doc xml:space="preserve">The invocation hint given as the last argument to
805
830
  g_closure_invoke().</doc>
806
831
  <type name="gpointer" c:type="gpointer"/>
807
832
  </parameter>
808
- <parameter name="marshal_data" transfer-ownership="none">
833
+ <parameter name="marshal_data"
834
+ transfer-ownership="none"
835
+ nullable="1"
836
+ allow-none="1">
809
837
  <doc xml:space="preserve">Additional data specified when registering the
810
838
  marshaller, see g_closure_set_marshal() and
811
839
  g_closure_set_meta_marshal()</doc>
@@ -836,7 +864,7 @@ argument which is any boxed pointer type.</doc>
836
864
  </parameter>
837
865
  <parameter name="instance" transfer-ownership="none">
838
866
  <doc xml:space="preserve">the instance on which the closure is invoked.</doc>
839
- <type name="gpointer" c:type="gpointer"/>
867
+ <type name="TypeInstance" c:type="gpointer"/>
840
868
  </parameter>
841
869
  <parameter name="args" transfer-ownership="none">
842
870
  <doc xml:space="preserve">va_list of arguments to be passed to the closure.</doc>
@@ -890,12 +918,18 @@ character argument.</doc>
890
918
  on which to invoke the callback of closure.</doc>
891
919
  <type name="Value" c:type="const GValue*"/>
892
920
  </parameter>
893
- <parameter name="invocation_hint" transfer-ownership="none">
921
+ <parameter name="invocation_hint"
922
+ transfer-ownership="none"
923
+ nullable="1"
924
+ allow-none="1">
894
925
  <doc xml:space="preserve">The invocation hint given as the last argument to
895
926
  g_closure_invoke().</doc>
896
927
  <type name="gpointer" c:type="gpointer"/>
897
928
  </parameter>
898
- <parameter name="marshal_data" transfer-ownership="none">
929
+ <parameter name="marshal_data"
930
+ transfer-ownership="none"
931
+ nullable="1"
932
+ allow-none="1">
899
933
  <doc xml:space="preserve">Additional data specified when registering the
900
934
  marshaller, see g_closure_set_marshal() and
901
935
  g_closure_set_meta_marshal()</doc>
@@ -926,7 +960,7 @@ character argument.</doc>
926
960
  </parameter>
927
961
  <parameter name="instance" transfer-ownership="none">
928
962
  <doc xml:space="preserve">the instance on which the closure is invoked.</doc>
929
- <type name="gpointer" c:type="gpointer"/>
963
+ <type name="TypeInstance" c:type="gpointer"/>
930
964
  </parameter>
931
965
  <parameter name="args" transfer-ownership="none">
932
966
  <doc xml:space="preserve">va_list of arguments to be passed to the closure.</doc>
@@ -980,12 +1014,18 @@ double-precision floating point argument.</doc>
980
1014
  on which to invoke the callback of closure.</doc>
981
1015
  <type name="Value" c:type="const GValue*"/>
982
1016
  </parameter>
983
- <parameter name="invocation_hint" transfer-ownership="none">
1017
+ <parameter name="invocation_hint"
1018
+ transfer-ownership="none"
1019
+ nullable="1"
1020
+ allow-none="1">
984
1021
  <doc xml:space="preserve">The invocation hint given as the last argument to
985
1022
  g_closure_invoke().</doc>
986
1023
  <type name="gpointer" c:type="gpointer"/>
987
1024
  </parameter>
988
- <parameter name="marshal_data" transfer-ownership="none">
1025
+ <parameter name="marshal_data"
1026
+ transfer-ownership="none"
1027
+ nullable="1"
1028
+ allow-none="1">
989
1029
  <doc xml:space="preserve">Additional data specified when registering the
990
1030
  marshaller, see g_closure_set_marshal() and
991
1031
  g_closure_set_meta_marshal()</doc>
@@ -1016,7 +1056,7 @@ double-precision floating point argument.</doc>
1016
1056
  </parameter>
1017
1057
  <parameter name="instance" transfer-ownership="none">
1018
1058
  <doc xml:space="preserve">the instance on which the closure is invoked.</doc>
1019
- <type name="gpointer" c:type="gpointer"/>
1059
+ <type name="TypeInstance" c:type="gpointer"/>
1020
1060
  </parameter>
1021
1061
  <parameter name="args" transfer-ownership="none">
1022
1062
  <doc xml:space="preserve">va_list of arguments to be passed to the closure.</doc>
@@ -1070,12 +1110,18 @@ argument with an enumerated type.</doc>
1070
1110
  on which to invoke the callback of closure.</doc>
1071
1111
  <type name="Value" c:type="const GValue*"/>
1072
1112
  </parameter>
1073
- <parameter name="invocation_hint" transfer-ownership="none">
1113
+ <parameter name="invocation_hint"
1114
+ transfer-ownership="none"
1115
+ nullable="1"
1116
+ allow-none="1">
1074
1117
  <doc xml:space="preserve">The invocation hint given as the last argument to
1075
1118
  g_closure_invoke().</doc>
1076
1119
  <type name="gpointer" c:type="gpointer"/>
1077
1120
  </parameter>
1078
- <parameter name="marshal_data" transfer-ownership="none">
1121
+ <parameter name="marshal_data"
1122
+ transfer-ownership="none"
1123
+ nullable="1"
1124
+ allow-none="1">
1079
1125
  <doc xml:space="preserve">Additional data specified when registering the
1080
1126
  marshaller, see g_closure_set_marshal() and
1081
1127
  g_closure_set_meta_marshal()</doc>
@@ -1106,7 +1152,7 @@ argument with an enumerated type.</doc>
1106
1152
  </parameter>
1107
1153
  <parameter name="instance" transfer-ownership="none">
1108
1154
  <doc xml:space="preserve">the instance on which the closure is invoked.</doc>
1109
- <type name="gpointer" c:type="gpointer"/>
1155
+ <type name="TypeInstance" c:type="gpointer"/>
1110
1156
  </parameter>
1111
1157
  <parameter name="args" transfer-ownership="none">
1112
1158
  <doc xml:space="preserve">va_list of arguments to be passed to the closure.</doc>
@@ -1160,12 +1206,18 @@ argument with a flags types.</doc>
1160
1206
  on which to invoke the callback of closure.</doc>
1161
1207
  <type name="Value" c:type="const GValue*"/>
1162
1208
  </parameter>
1163
- <parameter name="invocation_hint" transfer-ownership="none">
1209
+ <parameter name="invocation_hint"
1210
+ transfer-ownership="none"
1211
+ nullable="1"
1212
+ allow-none="1">
1164
1213
  <doc xml:space="preserve">The invocation hint given as the last argument to
1165
1214
  g_closure_invoke().</doc>
1166
1215
  <type name="gpointer" c:type="gpointer"/>
1167
1216
  </parameter>
1168
- <parameter name="marshal_data" transfer-ownership="none">
1217
+ <parameter name="marshal_data"
1218
+ transfer-ownership="none"
1219
+ nullable="1"
1220
+ allow-none="1">
1169
1221
  <doc xml:space="preserve">Additional data specified when registering the
1170
1222
  marshaller, see g_closure_set_marshal() and
1171
1223
  g_closure_set_meta_marshal()</doc>
@@ -1196,7 +1248,7 @@ argument with a flags types.</doc>
1196
1248
  </parameter>
1197
1249
  <parameter name="instance" transfer-ownership="none">
1198
1250
  <doc xml:space="preserve">the instance on which the closure is invoked.</doc>
1199
- <type name="gpointer" c:type="gpointer"/>
1251
+ <type name="TypeInstance" c:type="gpointer"/>
1200
1252
  </parameter>
1201
1253
  <parameter name="args" transfer-ownership="none">
1202
1254
  <doc xml:space="preserve">va_list of arguments to be passed to the closure.</doc>
@@ -1250,12 +1302,18 @@ single-precision floating point argument.</doc>
1250
1302
  on which to invoke the callback of closure.</doc>
1251
1303
  <type name="Value" c:type="const GValue*"/>
1252
1304
  </parameter>
1253
- <parameter name="invocation_hint" transfer-ownership="none">
1305
+ <parameter name="invocation_hint"
1306
+ transfer-ownership="none"
1307
+ nullable="1"
1308
+ allow-none="1">
1254
1309
  <doc xml:space="preserve">The invocation hint given as the last argument to
1255
1310
  g_closure_invoke().</doc>
1256
1311
  <type name="gpointer" c:type="gpointer"/>
1257
1312
  </parameter>
1258
- <parameter name="marshal_data" transfer-ownership="none">
1313
+ <parameter name="marshal_data"
1314
+ transfer-ownership="none"
1315
+ nullable="1"
1316
+ allow-none="1">
1259
1317
  <doc xml:space="preserve">Additional data specified when registering the
1260
1318
  marshaller, see g_closure_set_marshal() and
1261
1319
  g_closure_set_meta_marshal()</doc>
@@ -1286,7 +1344,7 @@ single-precision floating point argument.</doc>
1286
1344
  </parameter>
1287
1345
  <parameter name="instance" transfer-ownership="none">
1288
1346
  <doc xml:space="preserve">the instance on which the closure is invoked.</doc>
1289
- <type name="gpointer" c:type="gpointer"/>
1347
+ <type name="TypeInstance" c:type="gpointer"/>
1290
1348
  </parameter>
1291
1349
  <parameter name="args" transfer-ownership="none">
1292
1350
  <doc xml:space="preserve">va_list of arguments to be passed to the closure.</doc>
@@ -1340,12 +1398,18 @@ integer argument.</doc>
1340
1398
  on which to invoke the callback of closure.</doc>
1341
1399
  <type name="Value" c:type="const GValue*"/>
1342
1400
  </parameter>
1343
- <parameter name="invocation_hint" transfer-ownership="none">
1401
+ <parameter name="invocation_hint"
1402
+ transfer-ownership="none"
1403
+ nullable="1"
1404
+ allow-none="1">
1344
1405
  <doc xml:space="preserve">The invocation hint given as the last argument to
1345
1406
  g_closure_invoke().</doc>
1346
1407
  <type name="gpointer" c:type="gpointer"/>
1347
1408
  </parameter>
1348
- <parameter name="marshal_data" transfer-ownership="none">
1409
+ <parameter name="marshal_data"
1410
+ transfer-ownership="none"
1411
+ nullable="1"
1412
+ allow-none="1">
1349
1413
  <doc xml:space="preserve">Additional data specified when registering the
1350
1414
  marshaller, see g_closure_set_marshal() and
1351
1415
  g_closure_set_meta_marshal()</doc>
@@ -1376,7 +1440,7 @@ integer argument.</doc>
1376
1440
  </parameter>
1377
1441
  <parameter name="instance" transfer-ownership="none">
1378
1442
  <doc xml:space="preserve">the instance on which the closure is invoked.</doc>
1379
- <type name="gpointer" c:type="gpointer"/>
1443
+ <type name="TypeInstance" c:type="gpointer"/>
1380
1444
  </parameter>
1381
1445
  <parameter name="args" transfer-ownership="none">
1382
1446
  <doc xml:space="preserve">va_list of arguments to be passed to the closure.</doc>
@@ -1430,12 +1494,18 @@ long integer argument.</doc>
1430
1494
  on which to invoke the callback of closure.</doc>
1431
1495
  <type name="Value" c:type="const GValue*"/>
1432
1496
  </parameter>
1433
- <parameter name="invocation_hint" transfer-ownership="none">
1497
+ <parameter name="invocation_hint"
1498
+ transfer-ownership="none"
1499
+ nullable="1"
1500
+ allow-none="1">
1434
1501
  <doc xml:space="preserve">The invocation hint given as the last argument to
1435
1502
  g_closure_invoke().</doc>
1436
1503
  <type name="gpointer" c:type="gpointer"/>
1437
1504
  </parameter>
1438
- <parameter name="marshal_data" transfer-ownership="none">
1505
+ <parameter name="marshal_data"
1506
+ transfer-ownership="none"
1507
+ nullable="1"
1508
+ allow-none="1">
1439
1509
  <doc xml:space="preserve">Additional data specified when registering the
1440
1510
  marshaller, see g_closure_set_marshal() and
1441
1511
  g_closure_set_meta_marshal()</doc>
@@ -1466,7 +1536,7 @@ long integer argument.</doc>
1466
1536
  </parameter>
1467
1537
  <parameter name="instance" transfer-ownership="none">
1468
1538
  <doc xml:space="preserve">the instance on which the closure is invoked.</doc>
1469
- <type name="gpointer" c:type="gpointer"/>
1539
+ <type name="TypeInstance" c:type="gpointer"/>
1470
1540
  </parameter>
1471
1541
  <parameter name="args" transfer-ownership="none">
1472
1542
  <doc xml:space="preserve">va_list of arguments to be passed to the closure.</doc>
@@ -1520,12 +1590,18 @@ long integer argument.</doc>
1520
1590
  on which to invoke the callback of closure.</doc>
1521
1591
  <type name="Value" c:type="const GValue*"/>
1522
1592
  </parameter>
1523
- <parameter name="invocation_hint" transfer-ownership="none">
1593
+ <parameter name="invocation_hint"
1594
+ transfer-ownership="none"
1595
+ nullable="1"
1596
+ allow-none="1">
1524
1597
  <doc xml:space="preserve">The invocation hint given as the last argument to
1525
1598
  g_closure_invoke().</doc>
1526
1599
  <type name="gpointer" c:type="gpointer"/>
1527
1600
  </parameter>
1528
- <parameter name="marshal_data" transfer-ownership="none">
1601
+ <parameter name="marshal_data"
1602
+ transfer-ownership="none"
1603
+ nullable="1"
1604
+ allow-none="1">
1529
1605
  <doc xml:space="preserve">Additional data specified when registering the
1530
1606
  marshaller, see g_closure_set_marshal() and
1531
1607
  g_closure_set_meta_marshal()</doc>
@@ -1556,7 +1632,7 @@ long integer argument.</doc>
1556
1632
  </parameter>
1557
1633
  <parameter name="instance" transfer-ownership="none">
1558
1634
  <doc xml:space="preserve">the instance on which the closure is invoked.</doc>
1559
- <type name="gpointer" c:type="gpointer"/>
1635
+ <type name="TypeInstance" c:type="gpointer"/>
1560
1636
  </parameter>
1561
1637
  <parameter name="args" transfer-ownership="none">
1562
1638
  <doc xml:space="preserve">va_list of arguments to be passed to the closure.</doc>
@@ -1610,12 +1686,18 @@ argument of type #GParamSpec.</doc>
1610
1686
  on which to invoke the callback of closure.</doc>
1611
1687
  <type name="Value" c:type="const GValue*"/>
1612
1688
  </parameter>
1613
- <parameter name="invocation_hint" transfer-ownership="none">
1689
+ <parameter name="invocation_hint"
1690
+ transfer-ownership="none"
1691
+ nullable="1"
1692
+ allow-none="1">
1614
1693
  <doc xml:space="preserve">The invocation hint given as the last argument to
1615
1694
  g_closure_invoke().</doc>
1616
1695
  <type name="gpointer" c:type="gpointer"/>
1617
1696
  </parameter>
1618
- <parameter name="marshal_data" transfer-ownership="none">
1697
+ <parameter name="marshal_data"
1698
+ transfer-ownership="none"
1699
+ nullable="1"
1700
+ allow-none="1">
1619
1701
  <doc xml:space="preserve">Additional data specified when registering the
1620
1702
  marshaller, see g_closure_set_marshal() and
1621
1703
  g_closure_set_meta_marshal()</doc>
@@ -1646,7 +1728,7 @@ argument of type #GParamSpec.</doc>
1646
1728
  </parameter>
1647
1729
  <parameter name="instance" transfer-ownership="none">
1648
1730
  <doc xml:space="preserve">the instance on which the closure is invoked.</doc>
1649
- <type name="gpointer" c:type="gpointer"/>
1731
+ <type name="TypeInstance" c:type="gpointer"/>
1650
1732
  </parameter>
1651
1733
  <parameter name="args" transfer-ownership="none">
1652
1734
  <doc xml:space="preserve">va_list of arguments to be passed to the closure.</doc>
@@ -1704,12 +1786,18 @@ g_cclosure_marshal_VOID__OBJECT().</doc>
1704
1786
  on which to invoke the callback of closure.</doc>
1705
1787
  <type name="Value" c:type="const GValue*"/>
1706
1788
  </parameter>
1707
- <parameter name="invocation_hint" transfer-ownership="none">
1789
+ <parameter name="invocation_hint"
1790
+ transfer-ownership="none"
1791
+ nullable="1"
1792
+ allow-none="1">
1708
1793
  <doc xml:space="preserve">The invocation hint given as the last argument to
1709
1794
  g_closure_invoke().</doc>
1710
1795
  <type name="gpointer" c:type="gpointer"/>
1711
1796
  </parameter>
1712
- <parameter name="marshal_data" transfer-ownership="none">
1797
+ <parameter name="marshal_data"
1798
+ transfer-ownership="none"
1799
+ nullable="1"
1800
+ allow-none="1">
1713
1801
  <doc xml:space="preserve">Additional data specified when registering the
1714
1802
  marshaller, see g_closure_set_marshal() and
1715
1803
  g_closure_set_meta_marshal()</doc>
@@ -1740,7 +1828,7 @@ g_cclosure_marshal_VOID__OBJECT().</doc>
1740
1828
  </parameter>
1741
1829
  <parameter name="instance" transfer-ownership="none">
1742
1830
  <doc xml:space="preserve">the instance on which the closure is invoked.</doc>
1743
- <type name="gpointer" c:type="gpointer"/>
1831
+ <type name="TypeInstance" c:type="gpointer"/>
1744
1832
  </parameter>
1745
1833
  <parameter name="args" transfer-ownership="none">
1746
1834
  <doc xml:space="preserve">va_list of arguments to be passed to the closure.</doc>
@@ -1794,12 +1882,18 @@ argument.</doc>
1794
1882
  on which to invoke the callback of closure.</doc>
1795
1883
  <type name="Value" c:type="const GValue*"/>
1796
1884
  </parameter>
1797
- <parameter name="invocation_hint" transfer-ownership="none">
1885
+ <parameter name="invocation_hint"
1886
+ transfer-ownership="none"
1887
+ nullable="1"
1888
+ allow-none="1">
1798
1889
  <doc xml:space="preserve">The invocation hint given as the last argument to
1799
1890
  g_closure_invoke().</doc>
1800
1891
  <type name="gpointer" c:type="gpointer"/>
1801
1892
  </parameter>
1802
- <parameter name="marshal_data" transfer-ownership="none">
1893
+ <parameter name="marshal_data"
1894
+ transfer-ownership="none"
1895
+ nullable="1"
1896
+ allow-none="1">
1803
1897
  <doc xml:space="preserve">Additional data specified when registering the
1804
1898
  marshaller, see g_closure_set_marshal() and
1805
1899
  g_closure_set_meta_marshal()</doc>
@@ -1830,7 +1924,7 @@ argument.</doc>
1830
1924
  </parameter>
1831
1925
  <parameter name="instance" transfer-ownership="none">
1832
1926
  <doc xml:space="preserve">the instance on which the closure is invoked.</doc>
1833
- <type name="gpointer" c:type="gpointer"/>
1927
+ <type name="TypeInstance" c:type="gpointer"/>
1834
1928
  </parameter>
1835
1929
  <parameter name="args" transfer-ownership="none">
1836
1930
  <doc xml:space="preserve">va_list of arguments to be passed to the closure.</doc>
@@ -1884,12 +1978,18 @@ unsigned character argument.</doc>
1884
1978
  on which to invoke the callback of closure.</doc>
1885
1979
  <type name="Value" c:type="const GValue*"/>
1886
1980
  </parameter>
1887
- <parameter name="invocation_hint" transfer-ownership="none">
1981
+ <parameter name="invocation_hint"
1982
+ transfer-ownership="none"
1983
+ nullable="1"
1984
+ allow-none="1">
1888
1985
  <doc xml:space="preserve">The invocation hint given as the last argument to
1889
1986
  g_closure_invoke().</doc>
1890
1987
  <type name="gpointer" c:type="gpointer"/>
1891
1988
  </parameter>
1892
- <parameter name="marshal_data" transfer-ownership="none">
1989
+ <parameter name="marshal_data"
1990
+ transfer-ownership="none"
1991
+ nullable="1"
1992
+ allow-none="1">
1893
1993
  <doc xml:space="preserve">Additional data specified when registering the
1894
1994
  marshaller, see g_closure_set_marshal() and
1895
1995
  g_closure_set_meta_marshal()</doc>
@@ -1920,7 +2020,7 @@ unsigned character argument.</doc>
1920
2020
  </parameter>
1921
2021
  <parameter name="instance" transfer-ownership="none">
1922
2022
  <doc xml:space="preserve">the instance on which the closure is invoked.</doc>
1923
- <type name="gpointer" c:type="gpointer"/>
2023
+ <type name="TypeInstance" c:type="gpointer"/>
1924
2024
  </parameter>
1925
2025
  <parameter name="args" transfer-ownership="none">
1926
2026
  <doc xml:space="preserve">va_list of arguments to be passed to the closure.</doc>
@@ -1974,12 +2074,18 @@ unsigned integer argument.</doc>
1974
2074
  on which to invoke the callback of closure.</doc>
1975
2075
  <type name="Value" c:type="const GValue*"/>
1976
2076
  </parameter>
1977
- <parameter name="invocation_hint" transfer-ownership="none">
2077
+ <parameter name="invocation_hint"
2078
+ transfer-ownership="none"
2079
+ nullable="1"
2080
+ allow-none="1">
1978
2081
  <doc xml:space="preserve">The invocation hint given as the last argument to
1979
2082
  g_closure_invoke().</doc>
1980
2083
  <type name="gpointer" c:type="gpointer"/>
1981
2084
  </parameter>
1982
- <parameter name="marshal_data" transfer-ownership="none">
2085
+ <parameter name="marshal_data"
2086
+ transfer-ownership="none"
2087
+ nullable="1"
2088
+ allow-none="1">
1983
2089
  <doc xml:space="preserve">Additional data specified when registering the
1984
2090
  marshaller, see g_closure_set_marshal() and
1985
2091
  g_closure_set_meta_marshal()</doc>
@@ -2013,12 +2119,18 @@ and a pointer as arguments.</doc>
2013
2119
  on which to invoke the callback of closure.</doc>
2014
2120
  <type name="Value" c:type="const GValue*"/>
2015
2121
  </parameter>
2016
- <parameter name="invocation_hint" transfer-ownership="none">
2122
+ <parameter name="invocation_hint"
2123
+ transfer-ownership="none"
2124
+ nullable="1"
2125
+ allow-none="1">
2017
2126
  <doc xml:space="preserve">The invocation hint given as the last argument to
2018
2127
  g_closure_invoke().</doc>
2019
2128
  <type name="gpointer" c:type="gpointer"/>
2020
2129
  </parameter>
2021
- <parameter name="marshal_data" transfer-ownership="none">
2130
+ <parameter name="marshal_data"
2131
+ transfer-ownership="none"
2132
+ nullable="1"
2133
+ allow-none="1">
2022
2134
  <doc xml:space="preserve">Additional data specified when registering the
2023
2135
  marshaller, see g_closure_set_marshal() and
2024
2136
  g_closure_set_meta_marshal()</doc>
@@ -2049,7 +2161,7 @@ and a pointer as arguments.</doc>
2049
2161
  </parameter>
2050
2162
  <parameter name="instance" transfer-ownership="none">
2051
2163
  <doc xml:space="preserve">the instance on which the closure is invoked.</doc>
2052
- <type name="gpointer" c:type="gpointer"/>
2164
+ <type name="TypeInstance" c:type="gpointer"/>
2053
2165
  </parameter>
2054
2166
  <parameter name="args" transfer-ownership="none">
2055
2167
  <doc xml:space="preserve">va_list of arguments to be passed to the closure.</doc>
@@ -2100,7 +2212,7 @@ and a pointer as arguments.</doc>
2100
2212
  </parameter>
2101
2213
  <parameter name="instance" transfer-ownership="none">
2102
2214
  <doc xml:space="preserve">the instance on which the closure is invoked.</doc>
2103
- <type name="gpointer" c:type="gpointer"/>
2215
+ <type name="TypeInstance" c:type="gpointer"/>
2104
2216
  </parameter>
2105
2217
  <parameter name="args" transfer-ownership="none">
2106
2218
  <doc xml:space="preserve">va_list of arguments to be passed to the closure.</doc>
@@ -2154,12 +2266,18 @@ unsigned long integer argument.</doc>
2154
2266
  on which to invoke the callback of closure.</doc>
2155
2267
  <type name="Value" c:type="const GValue*"/>
2156
2268
  </parameter>
2157
- <parameter name="invocation_hint" transfer-ownership="none">
2269
+ <parameter name="invocation_hint"
2270
+ transfer-ownership="none"
2271
+ nullable="1"
2272
+ allow-none="1">
2158
2273
  <doc xml:space="preserve">The invocation hint given as the last argument to
2159
2274
  g_closure_invoke().</doc>
2160
2275
  <type name="gpointer" c:type="gpointer"/>
2161
2276
  </parameter>
2162
- <parameter name="marshal_data" transfer-ownership="none">
2277
+ <parameter name="marshal_data"
2278
+ transfer-ownership="none"
2279
+ nullable="1"
2280
+ allow-none="1">
2163
2281
  <doc xml:space="preserve">Additional data specified when registering the
2164
2282
  marshaller, see g_closure_set_marshal() and
2165
2283
  g_closure_set_meta_marshal()</doc>
@@ -2190,7 +2308,7 @@ unsigned long integer argument.</doc>
2190
2308
  </parameter>
2191
2309
  <parameter name="instance" transfer-ownership="none">
2192
2310
  <doc xml:space="preserve">the instance on which the closure is invoked.</doc>
2193
- <type name="gpointer" c:type="gpointer"/>
2311
+ <type name="TypeInstance" c:type="gpointer"/>
2194
2312
  </parameter>
2195
2313
  <parameter name="args" transfer-ownership="none">
2196
2314
  <doc xml:space="preserve">va_list of arguments to be passed to the closure.</doc>
@@ -2244,12 +2362,18 @@ unsigned long integer argument.</doc>
2244
2362
  on which to invoke the callback of closure.</doc>
2245
2363
  <type name="Value" c:type="const GValue*"/>
2246
2364
  </parameter>
2247
- <parameter name="invocation_hint" transfer-ownership="none">
2365
+ <parameter name="invocation_hint"
2366
+ transfer-ownership="none"
2367
+ nullable="1"
2368
+ allow-none="1">
2248
2369
  <doc xml:space="preserve">The invocation hint given as the last argument to
2249
2370
  g_closure_invoke().</doc>
2250
2371
  <type name="gpointer" c:type="gpointer"/>
2251
2372
  </parameter>
2252
- <parameter name="marshal_data" transfer-ownership="none">
2373
+ <parameter name="marshal_data"
2374
+ transfer-ownership="none"
2375
+ nullable="1"
2376
+ allow-none="1">
2253
2377
  <doc xml:space="preserve">Additional data specified when registering the
2254
2378
  marshaller, see g_closure_set_marshal() and
2255
2379
  g_closure_set_meta_marshal()</doc>
@@ -2280,7 +2404,7 @@ unsigned long integer argument.</doc>
2280
2404
  </parameter>
2281
2405
  <parameter name="instance" transfer-ownership="none">
2282
2406
  <doc xml:space="preserve">the instance on which the closure is invoked.</doc>
2283
- <type name="gpointer" c:type="gpointer"/>
2407
+ <type name="TypeInstance" c:type="gpointer"/>
2284
2408
  </parameter>
2285
2409
  <parameter name="args" transfer-ownership="none">
2286
2410
  <doc xml:space="preserve">va_list of arguments to be passed to the closure.</doc>
@@ -2333,12 +2457,18 @@ unsigned long integer argument.</doc>
2333
2457
  on which to invoke the callback of closure.</doc>
2334
2458
  <type name="Value" c:type="const GValue*"/>
2335
2459
  </parameter>
2336
- <parameter name="invocation_hint" transfer-ownership="none">
2460
+ <parameter name="invocation_hint"
2461
+ transfer-ownership="none"
2462
+ nullable="1"
2463
+ allow-none="1">
2337
2464
  <doc xml:space="preserve">The invocation hint given as the last argument to
2338
2465
  g_closure_invoke().</doc>
2339
2466
  <type name="gpointer" c:type="gpointer"/>
2340
2467
  </parameter>
2341
- <parameter name="marshal_data" transfer-ownership="none">
2468
+ <parameter name="marshal_data"
2469
+ transfer-ownership="none"
2470
+ nullable="1"
2471
+ allow-none="1">
2342
2472
  <doc xml:space="preserve">Additional data specified when registering the
2343
2473
  marshaller, see g_closure_set_marshal() and
2344
2474
  g_closure_set_meta_marshal()</doc>
@@ -2369,7 +2499,7 @@ unsigned long integer argument.</doc>
2369
2499
  </parameter>
2370
2500
  <parameter name="instance" transfer-ownership="none">
2371
2501
  <doc xml:space="preserve">the instance on which the closure is invoked.</doc>
2372
- <type name="gpointer" c:type="gpointer"/>
2502
+ <type name="TypeInstance" c:type="gpointer"/>
2373
2503
  </parameter>
2374
2504
  <parameter name="args" transfer-ownership="none">
2375
2505
  <doc xml:space="preserve">va_list of arguments to be passed to the closure.</doc>
@@ -2427,12 +2557,18 @@ but used automatically by GLib when specifying a %NULL marshaller.</doc>
2427
2557
  on which to invoke the callback of closure.</doc>
2428
2558
  <type name="Value" c:type="const GValue*"/>
2429
2559
  </parameter>
2430
- <parameter name="invocation_hint" transfer-ownership="none">
2560
+ <parameter name="invocation_hint"
2561
+ transfer-ownership="none"
2562
+ nullable="1"
2563
+ allow-none="1">
2431
2564
  <doc xml:space="preserve">The invocation hint given as the last argument to
2432
2565
  g_closure_invoke().</doc>
2433
2566
  <type name="gpointer" c:type="gpointer"/>
2434
2567
  </parameter>
2435
- <parameter name="marshal_data" transfer-ownership="none">
2568
+ <parameter name="marshal_data"
2569
+ transfer-ownership="none"
2570
+ nullable="1"
2571
+ allow-none="1">
2436
2572
  <doc xml:space="preserve">Additional data specified when registering the
2437
2573
  marshaller, see g_closure_set_marshal() and
2438
2574
  g_closure_set_meta_marshal()</doc>
@@ -2464,8 +2600,9 @@ but used automatically by GLib when specifying a %NULL marshaller.</doc>
2464
2600
  <type name="Value" c:type="GValue*"/>
2465
2601
  </parameter>
2466
2602
  <parameter name="instance" transfer-ownership="none">
2467
- <doc xml:space="preserve">the instance on which the closure is invoked.</doc>
2468
- <type name="gpointer" c:type="gpointer"/>
2603
+ <doc xml:space="preserve">the instance on which the closure is
2604
+ invoked.</doc>
2605
+ <type name="TypeInstance" c:type="gpointer"/>
2469
2606
  </parameter>
2470
2607
  <parameter name="args_list" transfer-ownership="none">
2471
2608
  <doc xml:space="preserve">va_list of arguments to be passed to the closure.</doc>
@@ -2503,11 +2640,17 @@ the last parameter.</doc>
2503
2640
  <parameters>
2504
2641
  <parameter name="callback_func"
2505
2642
  transfer-ownership="none"
2643
+ nullable="1"
2644
+ allow-none="1"
2506
2645
  closure="1">
2507
2646
  <doc xml:space="preserve">the function to invoke</doc>
2508
2647
  <type name="Callback" c:type="GCallback"/>
2509
2648
  </parameter>
2510
- <parameter name="user_data" transfer-ownership="none">
2649
+ <parameter name="user_data"
2650
+ transfer-ownership="none"
2651
+ nullable="1"
2652
+ allow-none="1"
2653
+ closure="0">
2511
2654
  <doc xml:space="preserve">user data to pass to @callback_func</doc>
2512
2655
  <type name="gpointer" c:type="gpointer"/>
2513
2656
  </parameter>
@@ -2575,11 +2718,17 @@ the first parameter.</doc>
2575
2718
  <parameters>
2576
2719
  <parameter name="callback_func"
2577
2720
  transfer-ownership="none"
2721
+ nullable="1"
2722
+ allow-none="1"
2578
2723
  closure="1">
2579
2724
  <doc xml:space="preserve">the function to invoke</doc>
2580
2725
  <type name="Callback" c:type="GCallback"/>
2581
2726
  </parameter>
2582
- <parameter name="user_data" transfer-ownership="none">
2727
+ <parameter name="user_data"
2728
+ transfer-ownership="none"
2729
+ nullable="1"
2730
+ allow-none="1"
2731
+ closure="0">
2583
2732
  <doc xml:space="preserve">user data to pass to @callback_func</doc>
2584
2733
  <type name="gpointer" c:type="gpointer"/>
2585
2734
  </parameter>
@@ -2614,9 +2763,12 @@ reference count drops to zero).</doc>
2614
2763
  <parameters>
2615
2764
  <parameter name="g_class" transfer-ownership="none">
2616
2765
  <doc xml:space="preserve">The #GTypeClass structure to finalize</doc>
2617
- <type name="gpointer" c:type="gpointer"/>
2766
+ <type name="TypeClass" c:type="gpointer"/>
2618
2767
  </parameter>
2619
- <parameter name="class_data" transfer-ownership="none">
2768
+ <parameter name="class_data"
2769
+ transfer-ownership="none"
2770
+ nullable="1"
2771
+ allow-none="1">
2620
2772
  <doc xml:space="preserve">The @class_data member supplied via the #GTypeInfo structure</doc>
2621
2773
  <type name="gpointer" c:type="gpointer"/>
2622
2774
  </parameter>
@@ -2724,9 +2876,12 @@ time.</doc>
2724
2876
  <parameters>
2725
2877
  <parameter name="g_class" transfer-ownership="none">
2726
2878
  <doc xml:space="preserve">The #GTypeClass structure to initialize.</doc>
2727
- <type name="gpointer" c:type="gpointer"/>
2879
+ <type name="TypeClass" c:type="gpointer"/>
2728
2880
  </parameter>
2729
- <parameter name="class_data" transfer-ownership="none">
2881
+ <parameter name="class_data"
2882
+ transfer-ownership="none"
2883
+ nullable="1"
2884
+ allow-none="1">
2730
2885
  <doc xml:space="preserve">The @class_data member supplied via the #GTypeInfo structure.</doc>
2731
2886
  <type name="gpointer" c:type="gpointer"/>
2732
2887
  </parameter>
@@ -2914,7 +3069,10 @@ MyClosure *my_closure_new (gpointer data)
2914
3069
  `sizeof (GClosure)`</doc>
2915
3070
  <type name="guint" c:type="guint"/>
2916
3071
  </parameter>
2917
- <parameter name="data" transfer-ownership="none">
3072
+ <parameter name="data"
3073
+ transfer-ownership="none"
3074
+ nullable="1"
3075
+ allow-none="1">
2918
3076
  <doc xml:space="preserve">data to store in the @data field of the newly allocated #GClosure</doc>
2919
3077
  <type name="gpointer" c:type="gpointer"/>
2920
3078
  </parameter>
@@ -2937,11 +3095,18 @@ be run before the finalize notifiers.</doc>
2937
3095
  <doc xml:space="preserve">a #GClosure</doc>
2938
3096
  <type name="Closure" c:type="GClosure*"/>
2939
3097
  </instance-parameter>
2940
- <parameter name="notify_data" transfer-ownership="none">
3098
+ <parameter name="notify_data"
3099
+ transfer-ownership="none"
3100
+ nullable="1"
3101
+ allow-none="1"
3102
+ closure="1">
2941
3103
  <doc xml:space="preserve">data to pass to @notify_func</doc>
2942
3104
  <type name="gpointer" c:type="gpointer"/>
2943
3105
  </parameter>
2944
- <parameter name="notify_func" transfer-ownership="none">
3106
+ <parameter name="notify_func"
3107
+ transfer-ownership="none"
3108
+ nullable="1"
3109
+ allow-none="1">
2945
3110
  <doc xml:space="preserve">the callback function to register</doc>
2946
3111
  <type name="ClosureNotify" c:type="GClosureNotify"/>
2947
3112
  </parameter>
@@ -2962,11 +3127,18 @@ unspecified order.</doc>
2962
3127
  <doc xml:space="preserve">a #GClosure</doc>
2963
3128
  <type name="Closure" c:type="GClosure*"/>
2964
3129
  </instance-parameter>
2965
- <parameter name="notify_data" transfer-ownership="none">
3130
+ <parameter name="notify_data"
3131
+ transfer-ownership="none"
3132
+ nullable="1"
3133
+ allow-none="1"
3134
+ closure="1">
2966
3135
  <doc xml:space="preserve">data to pass to @notify_func</doc>
2967
3136
  <type name="gpointer" c:type="gpointer"/>
2968
3137
  </parameter>
2969
- <parameter name="notify_func" transfer-ownership="none">
3138
+ <parameter name="notify_func"
3139
+ transfer-ownership="none"
3140
+ nullable="1"
3141
+ allow-none="1">
2970
3142
  <doc xml:space="preserve">the callback function to register</doc>
2971
3143
  <type name="ClosureNotify" c:type="GClosureNotify"/>
2972
3144
  </parameter>
@@ -2987,21 +3159,36 @@ g_object_watch_closure() for an example of marshal guards.</doc>
2987
3159
  <doc xml:space="preserve">a #GClosure</doc>
2988
3160
  <type name="Closure" c:type="GClosure*"/>
2989
3161
  </instance-parameter>
2990
- <parameter name="pre_marshal_data" transfer-ownership="none">
2991
- <doc xml:space="preserve">data to pass to @pre_marshal_notify</doc>
3162
+ <parameter name="pre_marshal_data"
3163
+ transfer-ownership="none"
3164
+ nullable="1"
3165
+ allow-none="1"
3166
+ closure="1">
3167
+ <doc xml:space="preserve">data to pass
3168
+ to @pre_marshal_notify</doc>
2992
3169
  <type name="gpointer" c:type="gpointer"/>
2993
3170
  </parameter>
2994
3171
  <parameter name="pre_marshal_notify"
2995
3172
  transfer-ownership="none"
3173
+ nullable="1"
3174
+ allow-none="1"
2996
3175
  closure="2">
2997
3176
  <doc xml:space="preserve">a function to call before the closure callback</doc>
2998
3177
  <type name="ClosureNotify" c:type="GClosureNotify"/>
2999
3178
  </parameter>
3000
- <parameter name="post_marshal_data" transfer-ownership="none">
3001
- <doc xml:space="preserve">data to pass to @post_marshal_notify</doc>
3179
+ <parameter name="post_marshal_data"
3180
+ transfer-ownership="none"
3181
+ nullable="1"
3182
+ allow-none="1"
3183
+ closure="3">
3184
+ <doc xml:space="preserve">data to pass
3185
+ to @post_marshal_notify</doc>
3002
3186
  <type name="gpointer" c:type="gpointer"/>
3003
3187
  </parameter>
3004
- <parameter name="post_marshal_notify" transfer-ownership="none">
3188
+ <parameter name="post_marshal_notify"
3189
+ transfer-ownership="none"
3190
+ nullable="1"
3191
+ allow-none="1">
3005
3192
  <doc xml:space="preserve">a function to call after the closure callback</doc>
3006
3193
  <type name="ClosureNotify" c:type="GClosureNotify"/>
3007
3194
  </parameter>
@@ -3042,8 +3229,10 @@ been invalidated before).</doc>
3042
3229
  <type name="Closure" c:type="GClosure*"/>
3043
3230
  </instance-parameter>
3044
3231
  <parameter name="return_value"
3232
+ direction="out"
3233
+ caller-allocates="1"
3045
3234
  transfer-ownership="none"
3046
- nullable="1"
3235
+ optional="1"
3047
3236
  allow-none="1">
3048
3237
  <doc xml:space="preserve">a #GValue to store the return
3049
3238
  value. May be %NULL if the callback of @closure
@@ -3099,7 +3288,10 @@ Notice that notifiers are automatically removed after they are run.</doc>
3099
3288
  <doc xml:space="preserve">a #GClosure</doc>
3100
3289
  <type name="Closure" c:type="GClosure*"/>
3101
3290
  </instance-parameter>
3102
- <parameter name="notify_data" transfer-ownership="none">
3291
+ <parameter name="notify_data"
3292
+ transfer-ownership="none"
3293
+ nullable="1"
3294
+ allow-none="1">
3103
3295
  <doc xml:space="preserve">data which was passed to g_closure_add_finalize_notifier()
3104
3296
  when registering @notify_func</doc>
3105
3297
  <type name="gpointer" c:type="gpointer"/>
@@ -3124,7 +3316,10 @@ Notice that notifiers are automatically removed after they are run.</doc>
3124
3316
  <doc xml:space="preserve">a #GClosure</doc>
3125
3317
  <type name="Closure" c:type="GClosure*"/>
3126
3318
  </instance-parameter>
3127
- <parameter name="notify_data" transfer-ownership="none">
3319
+ <parameter name="notify_data"
3320
+ transfer-ownership="none"
3321
+ nullable="1"
3322
+ allow-none="1">
3128
3323
  <doc xml:space="preserve">data which was passed to g_closure_add_invalidate_notifier()
3129
3324
  when registering @notify_func</doc>
3130
3325
  <type name="gpointer" c:type="gpointer"/>
@@ -3183,11 +3378,19 @@ the right callback and passes it to the marshaller as the
3183
3378
  <doc xml:space="preserve">a #GClosure</doc>
3184
3379
  <type name="Closure" c:type="GClosure*"/>
3185
3380
  </instance-parameter>
3186
- <parameter name="marshal_data" transfer-ownership="none">
3187
- <doc xml:space="preserve">context-dependent data to pass to @meta_marshal</doc>
3381
+ <parameter name="marshal_data"
3382
+ transfer-ownership="none"
3383
+ nullable="1"
3384
+ allow-none="1"
3385
+ closure="1">
3386
+ <doc xml:space="preserve">context-dependent data to pass
3387
+ to @meta_marshal</doc>
3188
3388
  <type name="gpointer" c:type="gpointer"/>
3189
3389
  </parameter>
3190
- <parameter name="meta_marshal" transfer-ownership="none">
3390
+ <parameter name="meta_marshal"
3391
+ transfer-ownership="none"
3392
+ nullable="1"
3393
+ allow-none="1">
3191
3394
  <doc xml:space="preserve">a #GClosureMarshal function</doc>
3192
3395
  <type name="ClosureMarshal" c:type="GClosureMarshal"/>
3193
3396
  </parameter>
@@ -3317,7 +3520,10 @@ on closures.</doc>
3317
3520
  <type name="none" c:type="void"/>
3318
3521
  </return-value>
3319
3522
  <parameters>
3320
- <parameter name="data" transfer-ownership="none">
3523
+ <parameter name="data"
3524
+ transfer-ownership="none"
3525
+ nullable="1"
3526
+ allow-none="1">
3321
3527
  <doc xml:space="preserve">data specified when registering the notification callback</doc>
3322
3528
  <type name="gpointer" c:type="gpointer"/>
3323
3529
  </parameter>
@@ -3619,8 +3825,9 @@ zeros before this function is called.</doc>
3619
3825
  <type name="TypeInstance" c:type="GTypeInstance*"/>
3620
3826
  </parameter>
3621
3827
  <parameter name="g_class" transfer-ownership="none">
3622
- <doc xml:space="preserve">The class of the type the instance is created for</doc>
3623
- <type name="gpointer" c:type="gpointer"/>
3828
+ <doc xml:space="preserve">The class of the type the instance is
3829
+ created for</doc>
3830
+ <type name="TypeClass" c:type="gpointer"/>
3624
3831
  </parameter>
3625
3832
  </parameters>
3626
3833
  </callback>
@@ -3634,9 +3841,12 @@ allocated by the corresponding GInterfaceInitFunc() function.</doc>
3634
3841
  <parameters>
3635
3842
  <parameter name="g_iface" transfer-ownership="none">
3636
3843
  <doc xml:space="preserve">The interface structure to finalize</doc>
3637
- <type name="gpointer" c:type="gpointer"/>
3844
+ <type name="TypeInterface" c:type="gpointer"/>
3638
3845
  </parameter>
3639
- <parameter name="iface_data" transfer-ownership="none">
3846
+ <parameter name="iface_data"
3847
+ transfer-ownership="none"
3848
+ nullable="1"
3849
+ allow-none="1">
3640
3850
  <doc xml:space="preserve">The @interface_data supplied via the #GInterfaceInfo structure</doc>
3641
3851
  <type name="gpointer" c:type="gpointer"/>
3642
3852
  </parameter>
@@ -3671,9 +3881,12 @@ zeros before this function is called.</doc>
3671
3881
  <parameters>
3672
3882
  <parameter name="g_iface" transfer-ownership="none">
3673
3883
  <doc xml:space="preserve">The interface structure to initialize</doc>
3674
- <type name="gpointer" c:type="gpointer"/>
3884
+ <type name="TypeInterface" c:type="gpointer"/>
3675
3885
  </parameter>
3676
- <parameter name="iface_data" transfer-ownership="none">
3886
+ <parameter name="iface_data"
3887
+ transfer-ownership="none"
3888
+ nullable="1"
3889
+ allow-none="1">
3677
3890
  <doc xml:space="preserve">The @interface_data supplied via the #GInterfaceInfo structure</doc>
3678
3891
  <type name="gpointer" c:type="gpointer"/>
3679
3892
  </parameter>
@@ -3687,6 +3900,35 @@ zeros before this function is called.</doc>
3687
3900
  glib:type-struct="ObjectClass">
3688
3901
  <doc xml:space="preserve">All the fields in the GObject structure are private
3689
3902
  to the #GObject implementation and should never be accessed directly.</doc>
3903
+ <constructor name="new"
3904
+ c:identifier="g_object_new"
3905
+ shadowed-by="newv"
3906
+ introspectable="0">
3907
+ <doc xml:space="preserve">Creates a new instance of a #GObject subtype and sets its properties.
3908
+
3909
+ Construction parameters (see #G_PARAM_CONSTRUCT, #G_PARAM_CONSTRUCT_ONLY)
3910
+ which are not explicitly specified are set to their default values.</doc>
3911
+ <return-value transfer-ownership="full">
3912
+ <doc xml:space="preserve">a new instance of
3913
+ @object_type</doc>
3914
+ <type name="Object" c:type="gpointer"/>
3915
+ </return-value>
3916
+ <parameters>
3917
+ <parameter name="object_type" transfer-ownership="none">
3918
+ <doc xml:space="preserve">the type id of the #GObject subtype to instantiate</doc>
3919
+ <type name="GType" c:type="GType"/>
3920
+ </parameter>
3921
+ <parameter name="first_property_name" transfer-ownership="none">
3922
+ <doc xml:space="preserve">the name of the first property</doc>
3923
+ <type name="utf8" c:type="const gchar*"/>
3924
+ </parameter>
3925
+ <parameter name="..." transfer-ownership="none">
3926
+ <doc xml:space="preserve">the value of the first property, followed optionally by more
3927
+ name/value pairs, followed by %NULL</doc>
3928
+ <varargs/>
3929
+ </parameter>
3930
+ </parameters>
3931
+ </constructor>
3690
3932
  <constructor name="new_valist"
3691
3933
  c:identifier="g_object_new_valist"
3692
3934
  introspectable="0">
@@ -3749,129 +3991,12 @@ which are not explicitly specified are set to their default values.</doc>
3749
3991
  <parameter name="what" transfer-ownership="none">
3750
3992
  <type name="gsize" c:type="gsize"/>
3751
3993
  </parameter>
3752
- <parameter name="data" transfer-ownership="none">
3753
- <type name="gpointer" c:type="gpointer"/>
3754
- </parameter>
3755
- </parameters>
3756
- </function>
3757
- <function name="connect"
3758
- c:identifier="g_object_connect"
3759
- introspectable="0">
3760
- <doc xml:space="preserve">A convenience function to connect multiple signals at once.
3761
-
3762
- The signal specs expected by this function have the form
3763
- "modifier::signal_name", where modifier can be one of the following:
3764
- * - signal: equivalent to g_signal_connect_data (..., NULL, 0)
3765
- - object-signal, object_signal: equivalent to g_signal_connect_object (..., 0)
3766
- - swapped-signal, swapped_signal: equivalent to g_signal_connect_data (..., NULL, G_CONNECT_SWAPPED)
3767
- - swapped_object_signal, swapped-object-signal: equivalent to g_signal_connect_object (..., G_CONNECT_SWAPPED)
3768
- - signal_after, signal-after: equivalent to g_signal_connect_data (..., NULL, G_CONNECT_AFTER)
3769
- - object_signal_after, object-signal-after: equivalent to g_signal_connect_object (..., G_CONNECT_AFTER)
3770
- - swapped_signal_after, swapped-signal-after: equivalent to g_signal_connect_data (..., NULL, G_CONNECT_SWAPPED | G_CONNECT_AFTER)
3771
- - swapped_object_signal_after, swapped-object-signal-after: equivalent to g_signal_connect_object (..., G_CONNECT_SWAPPED | G_CONNECT_AFTER)
3772
-
3773
- |[&lt;!-- language="C" --&gt;
3774
- menu-&gt;toplevel = g_object_connect (g_object_new (GTK_TYPE_WINDOW,
3775
- "type", GTK_WINDOW_POPUP,
3776
- "child", menu,
3777
- NULL),
3778
- "signal::event", gtk_menu_window_event, menu,
3779
- "signal::size_request", gtk_menu_window_size_request, menu,
3780
- "signal::destroy", gtk_widget_destroyed, &amp;menu-&gt;toplevel,
3781
- NULL);
3782
- ]|</doc>
3783
- <return-value transfer-ownership="none">
3784
- <doc xml:space="preserve">@object</doc>
3785
- <type name="gpointer" c:type="gpointer"/>
3786
- </return-value>
3787
- <parameters>
3788
- <parameter name="object" transfer-ownership="none">
3789
- <doc xml:space="preserve">a #GObject</doc>
3790
- <type name="gpointer" c:type="gpointer"/>
3791
- </parameter>
3792
- <parameter name="signal_spec" transfer-ownership="none">
3793
- <doc xml:space="preserve">the spec for the first signal</doc>
3794
- <type name="utf8" c:type="const gchar*"/>
3795
- </parameter>
3796
- <parameter name="..." transfer-ownership="none">
3797
- <doc xml:space="preserve">#GCallback for the first signal, followed by data for the
3798
- first signal, followed optionally by more signal
3799
- spec/callback/data triples, followed by %NULL</doc>
3800
- <varargs/>
3801
- </parameter>
3802
- </parameters>
3803
- </function>
3804
- <function name="disconnect"
3805
- c:identifier="g_object_disconnect"
3806
- introspectable="0">
3807
- <doc xml:space="preserve">A convenience function to disconnect multiple signals at once.
3808
-
3809
- The signal specs expected by this function have the form
3810
- "any_signal", which means to disconnect any signal with matching
3811
- callback and data, or "any_signal::signal_name", which only
3812
- disconnects the signal named "signal_name".</doc>
3813
- <return-value transfer-ownership="none">
3814
- <type name="none" c:type="void"/>
3815
- </return-value>
3816
- <parameters>
3817
- <parameter name="object" transfer-ownership="none">
3818
- <doc xml:space="preserve">a #GObject</doc>
3819
- <type name="gpointer" c:type="gpointer"/>
3820
- </parameter>
3821
- <parameter name="signal_spec" transfer-ownership="none">
3822
- <doc xml:space="preserve">the spec for the first signal</doc>
3823
- <type name="utf8" c:type="const gchar*"/>
3824
- </parameter>
3825
- <parameter name="..." transfer-ownership="none">
3826
- <doc xml:space="preserve">#GCallback for the first signal, followed by data for the first signal,
3827
- followed optionally by more signal spec/callback/data triples,
3828
- followed by %NULL</doc>
3829
- <varargs/>
3830
- </parameter>
3831
- </parameters>
3832
- </function>
3833
- <function name="get" c:identifier="g_object_get" introspectable="0">
3834
- <doc xml:space="preserve">Gets properties of an object.
3835
-
3836
- In general, a copy is made of the property contents and the caller
3837
- is responsible for freeing the memory in the appropriate manner for
3838
- the type, for instance by calling g_free() or g_object_unref().
3839
-
3840
- Here is an example of using g_object_get() to get the contents
3841
- of three properties: an integer, a string and an object:
3842
- |[&lt;!-- language="C" --&gt;
3843
- gint intval;
3844
- gchar *strval;
3845
- GObject *objval;
3846
-
3847
- g_object_get (my_object,
3848
- "int-property", &amp;intval,
3849
- "str-property", &amp;strval,
3850
- "obj-property", &amp;objval,
3851
- NULL);
3852
-
3853
- // Do something with intval, strval, objval
3854
-
3855
- g_free (strval);
3856
- g_object_unref (objval);
3857
- ]|</doc>
3858
- <return-value transfer-ownership="none">
3859
- <type name="none" c:type="void"/>
3860
- </return-value>
3861
- <parameters>
3862
- <parameter name="object" transfer-ownership="none">
3863
- <doc xml:space="preserve">a #GObject</doc>
3994
+ <parameter name="data"
3995
+ transfer-ownership="none"
3996
+ nullable="1"
3997
+ allow-none="1">
3864
3998
  <type name="gpointer" c:type="gpointer"/>
3865
3999
  </parameter>
3866
- <parameter name="first_property_name" transfer-ownership="none">
3867
- <doc xml:space="preserve">name of the first property to get</doc>
3868
- <type name="utf8" c:type="const gchar*"/>
3869
- </parameter>
3870
- <parameter name="..." transfer-ownership="none">
3871
- <doc xml:space="preserve">return location for the first property, followed optionally by more
3872
- name/return location pairs, followed by %NULL</doc>
3873
- <varargs/>
3874
- </parameter>
3875
4000
  </parameters>
3876
4001
  </function>
3877
4002
  <function name="interface_find_property"
@@ -3890,9 +4015,9 @@ g_type_default_interface_peek().</doc>
3890
4015
  </return-value>
3891
4016
  <parameters>
3892
4017
  <parameter name="g_iface" transfer-ownership="none">
3893
- <doc xml:space="preserve">any interface vtable for the interface, or the default
3894
- vtable for the interface</doc>
3895
- <type name="gpointer" c:type="gpointer"/>
4018
+ <doc xml:space="preserve">any interface vtable for the
4019
+ interface, or the default vtable for the interface</doc>
4020
+ <type name="TypeInterface" c:type="gpointer"/>
3896
4021
  </parameter>
3897
4022
  <parameter name="property_name" transfer-ownership="none">
3898
4023
  <doc xml:space="preserve">name of a property to lookup.</doc>
@@ -3922,9 +4047,10 @@ been called for any object types implementing this interface.</doc>
3922
4047
  </return-value>
3923
4048
  <parameters>
3924
4049
  <parameter name="g_iface" transfer-ownership="none">
3925
- <doc xml:space="preserve">any interface vtable for the interface, or the default
4050
+ <doc xml:space="preserve">any interface vtable for the
4051
+ interface, or the default
3926
4052
  vtable for the interface.</doc>
3927
- <type name="gpointer" c:type="gpointer"/>
4053
+ <type name="TypeInterface" c:type="gpointer"/>
3928
4054
  </parameter>
3929
4055
  <parameter name="pspec" transfer-ownership="none">
3930
4056
  <doc xml:space="preserve">the #GParamSpec for the new property</doc>
@@ -3951,9 +4077,9 @@ already been loaded, g_type_default_interface_peek().</doc>
3951
4077
  </return-value>
3952
4078
  <parameters>
3953
4079
  <parameter name="g_iface" transfer-ownership="none">
3954
- <doc xml:space="preserve">any interface vtable for the interface, or the default
3955
- vtable for the interface</doc>
3956
- <type name="gpointer" c:type="gpointer"/>
4080
+ <doc xml:space="preserve">any interface vtable for the
4081
+ interface, or the default vtable for the interface</doc>
4082
+ <type name="TypeInterface" c:type="gpointer"/>
3957
4083
  </parameter>
3958
4084
  <parameter name="n_properties_p"
3959
4085
  direction="out"
@@ -3964,59 +4090,6 @@ already been loaded, g_type_default_interface_peek().</doc>
3964
4090
  </parameter>
3965
4091
  </parameters>
3966
4092
  </function>
3967
- <function name="new"
3968
- c:identifier="g_object_new"
3969
- shadowed-by="newv"
3970
- introspectable="0">
3971
- <doc xml:space="preserve">Creates a new instance of a #GObject subtype and sets its properties.
3972
-
3973
- Construction parameters (see #G_PARAM_CONSTRUCT, #G_PARAM_CONSTRUCT_ONLY)
3974
- which are not explicitly specified are set to their default values.</doc>
3975
- <return-value transfer-ownership="full">
3976
- <doc xml:space="preserve">a new instance of @object_type</doc>
3977
- <type name="gpointer" c:type="gpointer"/>
3978
- </return-value>
3979
- <parameters>
3980
- <parameter name="object_type" transfer-ownership="none">
3981
- <doc xml:space="preserve">the type id of the #GObject subtype to instantiate</doc>
3982
- <type name="GType" c:type="GType"/>
3983
- </parameter>
3984
- <parameter name="first_property_name" transfer-ownership="none">
3985
- <doc xml:space="preserve">the name of the first property</doc>
3986
- <type name="utf8" c:type="const gchar*"/>
3987
- </parameter>
3988
- <parameter name="..." transfer-ownership="none">
3989
- <doc xml:space="preserve">the value of the first property, followed optionally by more
3990
- name/value pairs, followed by %NULL</doc>
3991
- <varargs/>
3992
- </parameter>
3993
- </parameters>
3994
- </function>
3995
- <function name="set" c:identifier="g_object_set" introspectable="0">
3996
- <doc xml:space="preserve">Sets properties on an object.
3997
-
3998
- Note that the "notify" signals are queued and only emitted (in
3999
- reverse order) after all properties have been set. See
4000
- g_object_freeze_notify().</doc>
4001
- <return-value transfer-ownership="none">
4002
- <type name="none" c:type="void"/>
4003
- </return-value>
4004
- <parameters>
4005
- <parameter name="object" transfer-ownership="none">
4006
- <doc xml:space="preserve">a #GObject</doc>
4007
- <type name="gpointer" c:type="gpointer"/>
4008
- </parameter>
4009
- <parameter name="first_property_name" transfer-ownership="none">
4010
- <doc xml:space="preserve">name of the first property to set</doc>
4011
- <type name="utf8" c:type="const gchar*"/>
4012
- </parameter>
4013
- <parameter name="..." transfer-ownership="none">
4014
- <doc xml:space="preserve">value for the first property, followed optionally by more
4015
- name/value pairs, followed by %NULL</doc>
4016
- <varargs/>
4017
- </parameter>
4018
- </parameters>
4019
- </function>
4020
4093
  <virtual-method name="constructed">
4021
4094
  <return-value transfer-ownership="none">
4022
4095
  <type name="none" c:type="void"/>
@@ -4171,7 +4244,10 @@ is important state in the proxy object.</doc>
4171
4244
  the last reference.</doc>
4172
4245
  <type name="ToggleNotify" c:type="GToggleNotify"/>
4173
4246
  </parameter>
4174
- <parameter name="data" transfer-ownership="none">
4247
+ <parameter name="data"
4248
+ transfer-ownership="none"
4249
+ nullable="1"
4250
+ allow-none="1">
4175
4251
  <doc xml:space="preserve">data to pass to @notify</doc>
4176
4252
  <type name="gpointer" c:type="gpointer"/>
4177
4253
  </parameter>
@@ -4201,7 +4277,8 @@ thread. Use #GWeakRef if thread-safety is required.</doc>
4201
4277
  direction="inout"
4202
4278
  caller-allocates="0"
4203
4279
  transfer-ownership="full">
4204
- <doc xml:space="preserve">The memory address of a pointer.</doc>
4280
+ <doc xml:space="preserve">The memory address
4281
+ of a pointer.</doc>
4205
4282
  <type name="gpointer" c:type="gpointer*"/>
4206
4283
  </parameter>
4207
4284
  </parameters>
@@ -4334,7 +4411,10 @@ g_object_bind_property_with_closures() instead.</doc>
4334
4411
  from the @target to the @source, or %NULL to use the default</doc>
4335
4412
  <type name="BindingTransformFunc" c:type="GBindingTransformFunc"/>
4336
4413
  </parameter>
4337
- <parameter name="user_data" transfer-ownership="none">
4414
+ <parameter name="user_data"
4415
+ transfer-ownership="none"
4416
+ nullable="1"
4417
+ allow-none="1">
4338
4418
  <doc xml:space="preserve">custom data to be passed to the transformation functions,
4339
4419
  or %NULL</doc>
4340
4420
  <type name="gpointer" c:type="gpointer"/>
@@ -4358,41 +4438,117 @@ This function is the language bindings friendly version of
4358
4438
  g_object_bind_property_full(), using #GClosures instead of
4359
4439
  function pointers.</doc>
4360
4440
  <return-value transfer-ownership="none">
4361
- <doc xml:space="preserve">the #GBinding instance representing the
4362
- binding between the two #GObject instances. The binding is released
4363
- whenever the #GBinding reference count reaches zero.</doc>
4364
- <type name="Binding" c:type="GBinding*"/>
4441
+ <doc xml:space="preserve">the #GBinding instance representing the
4442
+ binding between the two #GObject instances. The binding is released
4443
+ whenever the #GBinding reference count reaches zero.</doc>
4444
+ <type name="Binding" c:type="GBinding*"/>
4445
+ </return-value>
4446
+ <parameters>
4447
+ <instance-parameter name="source" transfer-ownership="none">
4448
+ <doc xml:space="preserve">the source #GObject</doc>
4449
+ <type name="Object" c:type="gpointer"/>
4450
+ </instance-parameter>
4451
+ <parameter name="source_property" transfer-ownership="none">
4452
+ <doc xml:space="preserve">the property on @source to bind</doc>
4453
+ <type name="utf8" c:type="const gchar*"/>
4454
+ </parameter>
4455
+ <parameter name="target" transfer-ownership="none">
4456
+ <doc xml:space="preserve">the target #GObject</doc>
4457
+ <type name="Object" c:type="gpointer"/>
4458
+ </parameter>
4459
+ <parameter name="target_property" transfer-ownership="none">
4460
+ <doc xml:space="preserve">the property on @target to bind</doc>
4461
+ <type name="utf8" c:type="const gchar*"/>
4462
+ </parameter>
4463
+ <parameter name="flags" transfer-ownership="none">
4464
+ <doc xml:space="preserve">flags to pass to #GBinding</doc>
4465
+ <type name="BindingFlags" c:type="GBindingFlags"/>
4466
+ </parameter>
4467
+ <parameter name="transform_to" transfer-ownership="none">
4468
+ <doc xml:space="preserve">a #GClosure wrapping the transformation function
4469
+ from the @source to the @target, or %NULL to use the default</doc>
4470
+ <type name="Closure" c:type="GClosure*"/>
4471
+ </parameter>
4472
+ <parameter name="transform_from" transfer-ownership="none">
4473
+ <doc xml:space="preserve">a #GClosure wrapping the transformation function
4474
+ from the @target to the @source, or %NULL to use the default</doc>
4475
+ <type name="Closure" c:type="GClosure*"/>
4476
+ </parameter>
4477
+ </parameters>
4478
+ </method>
4479
+ <method name="connect"
4480
+ c:identifier="g_object_connect"
4481
+ introspectable="0">
4482
+ <doc xml:space="preserve">A convenience function to connect multiple signals at once.
4483
+
4484
+ The signal specs expected by this function have the form
4485
+ "modifier::signal_name", where modifier can be one of the following:
4486
+ * - signal: equivalent to g_signal_connect_data (..., NULL, 0)
4487
+ - object-signal, object_signal: equivalent to g_signal_connect_object (..., 0)
4488
+ - swapped-signal, swapped_signal: equivalent to g_signal_connect_data (..., NULL, G_CONNECT_SWAPPED)
4489
+ - swapped_object_signal, swapped-object-signal: equivalent to g_signal_connect_object (..., G_CONNECT_SWAPPED)
4490
+ - signal_after, signal-after: equivalent to g_signal_connect_data (..., NULL, G_CONNECT_AFTER)
4491
+ - object_signal_after, object-signal-after: equivalent to g_signal_connect_object (..., G_CONNECT_AFTER)
4492
+ - swapped_signal_after, swapped-signal-after: equivalent to g_signal_connect_data (..., NULL, G_CONNECT_SWAPPED | G_CONNECT_AFTER)
4493
+ - swapped_object_signal_after, swapped-object-signal-after: equivalent to g_signal_connect_object (..., G_CONNECT_SWAPPED | G_CONNECT_AFTER)
4494
+
4495
+ |[&lt;!-- language="C" --&gt;
4496
+ menu-&gt;toplevel = g_object_connect (g_object_new (GTK_TYPE_WINDOW,
4497
+ "type", GTK_WINDOW_POPUP,
4498
+ "child", menu,
4499
+ NULL),
4500
+ "signal::event", gtk_menu_window_event, menu,
4501
+ "signal::size_request", gtk_menu_window_size_request, menu,
4502
+ "signal::destroy", gtk_widget_destroyed, &amp;menu-&gt;toplevel,
4503
+ NULL);
4504
+ ]|</doc>
4505
+ <return-value transfer-ownership="none">
4506
+ <doc xml:space="preserve">@object</doc>
4507
+ <type name="Object" c:type="gpointer"/>
4508
+ </return-value>
4509
+ <parameters>
4510
+ <instance-parameter name="object" transfer-ownership="none">
4511
+ <doc xml:space="preserve">a #GObject</doc>
4512
+ <type name="Object" c:type="gpointer"/>
4513
+ </instance-parameter>
4514
+ <parameter name="signal_spec" transfer-ownership="none">
4515
+ <doc xml:space="preserve">the spec for the first signal</doc>
4516
+ <type name="utf8" c:type="const gchar*"/>
4517
+ </parameter>
4518
+ <parameter name="..." transfer-ownership="none">
4519
+ <doc xml:space="preserve">#GCallback for the first signal, followed by data for the
4520
+ first signal, followed optionally by more signal
4521
+ spec/callback/data triples, followed by %NULL</doc>
4522
+ <varargs/>
4523
+ </parameter>
4524
+ </parameters>
4525
+ </method>
4526
+ <method name="disconnect"
4527
+ c:identifier="g_object_disconnect"
4528
+ introspectable="0">
4529
+ <doc xml:space="preserve">A convenience function to disconnect multiple signals at once.
4530
+
4531
+ The signal specs expected by this function have the form
4532
+ "any_signal", which means to disconnect any signal with matching
4533
+ callback and data, or "any_signal::signal_name", which only
4534
+ disconnects the signal named "signal_name".</doc>
4535
+ <return-value transfer-ownership="none">
4536
+ <type name="none" c:type="void"/>
4365
4537
  </return-value>
4366
4538
  <parameters>
4367
- <instance-parameter name="source" transfer-ownership="none">
4368
- <doc xml:space="preserve">the source #GObject</doc>
4539
+ <instance-parameter name="object" transfer-ownership="none">
4540
+ <doc xml:space="preserve">a #GObject</doc>
4369
4541
  <type name="Object" c:type="gpointer"/>
4370
4542
  </instance-parameter>
4371
- <parameter name="source_property" transfer-ownership="none">
4372
- <doc xml:space="preserve">the property on @source to bind</doc>
4373
- <type name="utf8" c:type="const gchar*"/>
4374
- </parameter>
4375
- <parameter name="target" transfer-ownership="none">
4376
- <doc xml:space="preserve">the target #GObject</doc>
4377
- <type name="Object" c:type="gpointer"/>
4378
- </parameter>
4379
- <parameter name="target_property" transfer-ownership="none">
4380
- <doc xml:space="preserve">the property on @target to bind</doc>
4543
+ <parameter name="signal_spec" transfer-ownership="none">
4544
+ <doc xml:space="preserve">the spec for the first signal</doc>
4381
4545
  <type name="utf8" c:type="const gchar*"/>
4382
4546
  </parameter>
4383
- <parameter name="flags" transfer-ownership="none">
4384
- <doc xml:space="preserve">flags to pass to #GBinding</doc>
4385
- <type name="BindingFlags" c:type="GBindingFlags"/>
4386
- </parameter>
4387
- <parameter name="transform_to" transfer-ownership="none">
4388
- <doc xml:space="preserve">a #GClosure wrapping the transformation function
4389
- from the @source to the @target, or %NULL to use the default</doc>
4390
- <type name="Closure" c:type="GClosure*"/>
4391
- </parameter>
4392
- <parameter name="transform_from" transfer-ownership="none">
4393
- <doc xml:space="preserve">a #GClosure wrapping the transformation function
4394
- from the @target to the @source, or %NULL to use the default</doc>
4395
- <type name="Closure" c:type="GClosure*"/>
4547
+ <parameter name="..." transfer-ownership="none">
4548
+ <doc xml:space="preserve">#GCallback for the first signal, followed by data for the first signal,
4549
+ followed optionally by more signal spec/callback/data triples,
4550
+ followed by %NULL</doc>
4551
+ <varargs/>
4396
4552
  </parameter>
4397
4553
  </parameters>
4398
4554
  </method>
@@ -4414,7 +4570,7 @@ is locked.
4414
4570
  This function can be useful to avoid races when multiple
4415
4571
  threads are using object data on the same key on the same
4416
4572
  object.</doc>
4417
- <return-value>
4573
+ <return-value transfer-ownership="none" nullable="1">
4418
4574
  <doc xml:space="preserve">the result of calling @dup_func on the value
4419
4575
  associated with @key on @object, or %NULL if not set.
4420
4576
  If @dup_func is %NULL, the value is returned
@@ -4465,7 +4621,7 @@ is locked.
4465
4621
  This function can be useful to avoid races when multiple
4466
4622
  threads are using object data on the same key on the same
4467
4623
  object.</doc>
4468
- <return-value>
4624
+ <return-value transfer-ownership="none" nullable="1">
4469
4625
  <doc xml:space="preserve">the result of calling @dup_func on the value
4470
4626
  associated with @quark on @object, or %NULL if not set.
4471
4627
  If @dup_func is %NULL, the value is returned
@@ -4535,9 +4691,53 @@ premature notification while the object is still being modified.</doc>
4535
4691
  </instance-parameter>
4536
4692
  </parameters>
4537
4693
  </method>
4694
+ <method name="get" c:identifier="g_object_get" introspectable="0">
4695
+ <doc xml:space="preserve">Gets properties of an object.
4696
+
4697
+ In general, a copy is made of the property contents and the caller
4698
+ is responsible for freeing the memory in the appropriate manner for
4699
+ the type, for instance by calling g_free() or g_object_unref().
4700
+
4701
+ Here is an example of using g_object_get() to get the contents
4702
+ of three properties: an integer, a string and an object:
4703
+ |[&lt;!-- language="C" --&gt;
4704
+ gint intval;
4705
+ gchar *strval;
4706
+ GObject *objval;
4707
+
4708
+ g_object_get (my_object,
4709
+ "int-property", &amp;intval,
4710
+ "str-property", &amp;strval,
4711
+ "obj-property", &amp;objval,
4712
+ NULL);
4713
+
4714
+ // Do something with intval, strval, objval
4715
+
4716
+ g_free (strval);
4717
+ g_object_unref (objval);
4718
+ ]|</doc>
4719
+ <return-value transfer-ownership="none">
4720
+ <type name="none" c:type="void"/>
4721
+ </return-value>
4722
+ <parameters>
4723
+ <instance-parameter name="object" transfer-ownership="none">
4724
+ <doc xml:space="preserve">a #GObject</doc>
4725
+ <type name="Object" c:type="gpointer"/>
4726
+ </instance-parameter>
4727
+ <parameter name="first_property_name" transfer-ownership="none">
4728
+ <doc xml:space="preserve">name of the first property to get</doc>
4729
+ <type name="utf8" c:type="const gchar*"/>
4730
+ </parameter>
4731
+ <parameter name="..." transfer-ownership="none">
4732
+ <doc xml:space="preserve">return location for the first property, followed optionally by more
4733
+ name/return location pairs, followed by %NULL</doc>
4734
+ <varargs/>
4735
+ </parameter>
4736
+ </parameters>
4737
+ </method>
4538
4738
  <method name="get_data" c:identifier="g_object_get_data">
4539
4739
  <doc xml:space="preserve">Gets a named field from the objects table of associations (see g_object_set_data()).</doc>
4540
- <return-value transfer-ownership="none">
4740
+ <return-value transfer-ownership="none" nullable="1">
4541
4741
  <doc xml:space="preserve">the data if found, or %NULL if no such data exists.</doc>
4542
4742
  <type name="gpointer" c:type="gpointer"/>
4543
4743
  </return-value>
@@ -4583,7 +4783,7 @@ bindings, g_object_get() is much more convenient for C programming.</doc>
4583
4783
  <method name="get_qdata" c:identifier="g_object_get_qdata">
4584
4784
  <doc xml:space="preserve">This function gets back user data pointers stored via
4585
4785
  g_object_set_qdata().</doc>
4586
- <return-value transfer-ownership="none">
4786
+ <return-value transfer-ownership="none" nullable="1">
4587
4787
  <doc xml:space="preserve">The user data pointer set, or %NULL</doc>
4588
4788
  <type name="gpointer" c:type="gpointer"/>
4589
4789
  </return-value>
@@ -4775,7 +4975,10 @@ reference count of the object is decreased by one.</doc>
4775
4975
  the last reference.</doc>
4776
4976
  <type name="ToggleNotify" c:type="GToggleNotify"/>
4777
4977
  </parameter>
4778
- <parameter name="data" transfer-ownership="none">
4978
+ <parameter name="data"
4979
+ transfer-ownership="none"
4980
+ nullable="1"
4981
+ allow-none="1">
4779
4982
  <doc xml:space="preserve">data to pass to @notify</doc>
4780
4983
  <type name="gpointer" c:type="gpointer"/>
4781
4984
  </parameter>
@@ -4799,7 +5002,8 @@ to match the one used with g_object_add_weak_pointer().</doc>
4799
5002
  direction="inout"
4800
5003
  caller-allocates="0"
4801
5004
  transfer-ownership="full">
4802
- <doc xml:space="preserve">The memory address of a pointer.</doc>
5005
+ <doc xml:space="preserve">The memory address
5006
+ of a pointer.</doc>
4803
5007
  <type name="gpointer" c:type="gpointer*"/>
4804
5008
  </parameter>
4805
5009
  </parameters>
@@ -4943,6 +5147,31 @@ This function should only be called from object system implementations.</doc>
4943
5147
  </instance-parameter>
4944
5148
  </parameters>
4945
5149
  </method>
5150
+ <method name="set" c:identifier="g_object_set" introspectable="0">
5151
+ <doc xml:space="preserve">Sets properties on an object.
5152
+
5153
+ Note that the "notify" signals are queued and only emitted (in
5154
+ reverse order) after all properties have been set. See
5155
+ g_object_freeze_notify().</doc>
5156
+ <return-value transfer-ownership="none">
5157
+ <type name="none" c:type="void"/>
5158
+ </return-value>
5159
+ <parameters>
5160
+ <instance-parameter name="object" transfer-ownership="none">
5161
+ <doc xml:space="preserve">a #GObject</doc>
5162
+ <type name="Object" c:type="gpointer"/>
5163
+ </instance-parameter>
5164
+ <parameter name="first_property_name" transfer-ownership="none">
5165
+ <doc xml:space="preserve">name of the first property to set</doc>
5166
+ <type name="utf8" c:type="const gchar*"/>
5167
+ </parameter>
5168
+ <parameter name="..." transfer-ownership="none">
5169
+ <doc xml:space="preserve">value for the first property, followed optionally by more
5170
+ name/value pairs, followed by %NULL</doc>
5171
+ <varargs/>
5172
+ </parameter>
5173
+ </parameters>
5174
+ </method>
4946
5175
  <method name="set_data" c:identifier="g_object_set_data">
4947
5176
  <doc xml:space="preserve">Each object carries around a table of associations from
4948
5177
  strings to pointers. This function lets you set an association.
@@ -4961,7 +5190,10 @@ the old association will be destroyed.</doc>
4961
5190
  <doc xml:space="preserve">name of the key</doc>
4962
5191
  <type name="utf8" c:type="const gchar*"/>
4963
5192
  </parameter>
4964
- <parameter name="data" transfer-ownership="none">
5193
+ <parameter name="data"
5194
+ transfer-ownership="none"
5195
+ nullable="1"
5196
+ allow-none="1">
4965
5197
  <doc xml:space="preserve">data to associate with that key</doc>
4966
5198
  <type name="gpointer" c:type="gpointer"/>
4967
5199
  </parameter>
@@ -4987,7 +5219,10 @@ Note that the @destroy callback is not called if @data is %NULL.</doc>
4987
5219
  <doc xml:space="preserve">name of the key</doc>
4988
5220
  <type name="utf8" c:type="const gchar*"/>
4989
5221
  </parameter>
4990
- <parameter name="data" transfer-ownership="none">
5222
+ <parameter name="data"
5223
+ transfer-ownership="none"
5224
+ nullable="1"
5225
+ allow-none="1">
4991
5226
  <doc xml:space="preserve">data to associate with that key</doc>
4992
5227
  <type name="gpointer" c:type="gpointer"/>
4993
5228
  </parameter>
@@ -5040,7 +5275,10 @@ removes the data stored.</doc>
5040
5275
  <doc xml:space="preserve">A #GQuark, naming the user data pointer</doc>
5041
5276
  <type name="GLib.Quark" c:type="GQuark"/>
5042
5277
  </parameter>
5043
- <parameter name="data" transfer-ownership="none">
5278
+ <parameter name="data"
5279
+ transfer-ownership="none"
5280
+ nullable="1"
5281
+ allow-none="1">
5044
5282
  <doc xml:space="preserve">An opaque user data pointer</doc>
5045
5283
  <type name="gpointer" c:type="gpointer"/>
5046
5284
  </parameter>
@@ -5066,7 +5304,10 @@ with the same @quark.</doc>
5066
5304
  <doc xml:space="preserve">A #GQuark, naming the user data pointer</doc>
5067
5305
  <type name="GLib.Quark" c:type="GQuark"/>
5068
5306
  </parameter>
5069
- <parameter name="data" transfer-ownership="none">
5307
+ <parameter name="data"
5308
+ transfer-ownership="none"
5309
+ nullable="1"
5310
+ allow-none="1">
5070
5311
  <doc xml:space="preserve">An opaque user data pointer</doc>
5071
5312
  <type name="gpointer" c:type="gpointer"/>
5072
5313
  </parameter>
@@ -5103,7 +5344,7 @@ with the same @quark.</doc>
5103
5344
  <method name="steal_data" c:identifier="g_object_steal_data">
5104
5345
  <doc xml:space="preserve">Remove a specified datum from the object's data associations,
5105
5346
  without invoking the association's destroy handler.</doc>
5106
- <return-value transfer-ownership="full">
5347
+ <return-value transfer-ownership="full" nullable="1">
5107
5348
  <doc xml:space="preserve">the data if found, or %NULL if no such data exists.</doc>
5108
5349
  <type name="gpointer" c:type="gpointer"/>
5109
5350
  </return-value>
@@ -5154,7 +5395,7 @@ Using g_object_get_qdata() in the above example, instead of
5154
5395
  g_object_steal_qdata() would have left the destroy function set,
5155
5396
  and thus the partial string list would have been freed upon
5156
5397
  g_object_set_qdata_full().</doc>
5157
- <return-value transfer-ownership="full">
5398
+ <return-value transfer-ownership="full" nullable="1">
5158
5399
  <doc xml:space="preserve">The user data pointer set, or %NULL</doc>
5159
5400
  <type name="gpointer" c:type="gpointer"/>
5160
5401
  </return-value>
@@ -5256,7 +5497,10 @@ Use #GWeakRef if thread-safety is required.</doc>
5256
5497
  <doc xml:space="preserve">callback to invoke before the object is freed</doc>
5257
5498
  <type name="WeakNotify" c:type="GWeakNotify"/>
5258
5499
  </parameter>
5259
- <parameter name="data" transfer-ownership="none">
5500
+ <parameter name="data"
5501
+ transfer-ownership="none"
5502
+ nullable="1"
5503
+ allow-none="1">
5260
5504
  <doc xml:space="preserve">extra data to pass to notify</doc>
5261
5505
  <type name="gpointer" c:type="gpointer"/>
5262
5506
  </parameter>
@@ -5278,7 +5522,10 @@ Use #GWeakRef if thread-safety is required.</doc>
5278
5522
  <doc xml:space="preserve">callback to search for</doc>
5279
5523
  <type name="WeakNotify" c:type="GWeakNotify"/>
5280
5524
  </parameter>
5281
- <parameter name="data" transfer-ownership="none">
5525
+ <parameter name="data"
5526
+ transfer-ownership="none"
5527
+ nullable="1"
5528
+ allow-none="1">
5282
5529
  <doc xml:space="preserve">data to search for</doc>
5283
5530
  <type name="gpointer" c:type="gpointer"/>
5284
5531
  </parameter>
@@ -5866,7 +6113,11 @@ can be configured. See also #G_PARAM_STATIC_STRINGS.</doc>
5866
6113
  glib:type-name="GParam"
5867
6114
  glib:get-type="intern"
5868
6115
  glib:type-struct="ParamSpecClass"
5869
- glib:fundamental="1">
6116
+ glib:fundamental="1"
6117
+ glib:ref-func="g_param_spec_ref_sink"
6118
+ glib:unref-func="g_param_spec_uref"
6119
+ glib:set-value-func="g_value_set_param"
6120
+ glib:get-value-func="g_value_get_param">
5870
6121
  <doc xml:space="preserve">#GParamSpec is an object structure that encapsulates the metadata
5871
6122
  required to specify parameters, such as e.g. #GObject properties.
5872
6123
 
@@ -5897,9 +6148,9 @@ strings associated with them, the @nick, which should be suitable
5897
6148
  for use as a label for the property in a property editor, and the
5898
6149
  @blurb, which should be a somewhat longer description, suitable for
5899
6150
  e.g. a tooltip. The @nick and @blurb should ideally be localized.</doc>
5900
- <return-value>
6151
+ <return-value transfer-ownership="none">
5901
6152
  <doc xml:space="preserve">a newly allocated #GParamSpec instance</doc>
5902
- <type name="gpointer" c:type="gpointer"/>
6153
+ <type name="ParamSpec" c:type="gpointer"/>
5903
6154
  </return-value>
5904
6155
  <parameters>
5905
6156
  <parameter name="param_type" transfer-ownership="none">
@@ -5992,15 +6243,15 @@ e.g. a tooltip. The @nick and @blurb should ideally be localized.</doc>
5992
6243
  <method name="get_default_value"
5993
6244
  c:identifier="g_param_spec_get_default_value"
5994
6245
  version="2.38">
5995
- <doc xml:space="preserve">Gets the default value of @param as a pointer to a #GValue.
6246
+ <doc xml:space="preserve">Gets the default value of @pspec as a pointer to a #GValue.
5996
6247
 
5997
- The #GValue will remain value for the life of @param.</doc>
6248
+ The #GValue will remain value for the life of @pspec.</doc>
5998
6249
  <return-value transfer-ownership="none">
5999
6250
  <doc xml:space="preserve">a pointer to a #GValue which must not be modified</doc>
6000
6251
  <type name="Value" c:type="const GValue*"/>
6001
6252
  </return-value>
6002
6253
  <parameters>
6003
- <instance-parameter name="param" transfer-ownership="none">
6254
+ <instance-parameter name="pspec" transfer-ownership="none">
6004
6255
  <doc xml:space="preserve">a #GParamSpec</doc>
6005
6256
  <type name="ParamSpec" c:type="GParamSpec*"/>
6006
6257
  </instance-parameter>
@@ -6022,6 +6273,21 @@ This allows for pointer-value comparisons.</doc>
6022
6273
  </instance-parameter>
6023
6274
  </parameters>
6024
6275
  </method>
6276
+ <method name="get_name_quark"
6277
+ c:identifier="g_param_spec_get_name_quark"
6278
+ version="2.46">
6279
+ <doc xml:space="preserve">Gets the GQuark for the name.</doc>
6280
+ <return-value transfer-ownership="none">
6281
+ <doc xml:space="preserve">the GQuark for @pspec-&gt;name.</doc>
6282
+ <type name="GLib.Quark" c:type="GQuark"/>
6283
+ </return-value>
6284
+ <parameters>
6285
+ <instance-parameter name="pspec" transfer-ownership="none">
6286
+ <doc xml:space="preserve">a #GParamSpec</doc>
6287
+ <type name="ParamSpec" c:type="GParamSpec*"/>
6288
+ </instance-parameter>
6289
+ </parameters>
6290
+ </method>
6025
6291
  <method name="get_nick" c:identifier="g_param_spec_get_nick">
6026
6292
  <doc xml:space="preserve">Get the nickname of a #GParamSpec.</doc>
6027
6293
  <return-value transfer-ownership="none">
@@ -6037,7 +6303,7 @@ This allows for pointer-value comparisons.</doc>
6037
6303
  </method>
6038
6304
  <method name="get_qdata" c:identifier="g_param_spec_get_qdata">
6039
6305
  <doc xml:space="preserve">Gets back user data pointers stored via g_param_spec_set_qdata().</doc>
6040
- <return-value transfer-ownership="none">
6306
+ <return-value transfer-ownership="none" nullable="1">
6041
6307
  <doc xml:space="preserve">the user data pointer set, or %NULL</doc>
6042
6308
  <type name="gpointer" c:type="gpointer"/>
6043
6309
  </return-value>
@@ -6122,7 +6388,10 @@ set, using %NULL as pointer essentially removes the data stored.</doc>
6122
6388
  <doc xml:space="preserve">a #GQuark, naming the user data pointer</doc>
6123
6389
  <type name="GLib.Quark" c:type="GQuark"/>
6124
6390
  </parameter>
6125
- <parameter name="data" transfer-ownership="none">
6391
+ <parameter name="data"
6392
+ transfer-ownership="none"
6393
+ nullable="1"
6394
+ allow-none="1">
6126
6395
  <doc xml:space="preserve">an opaque user data pointer</doc>
6127
6396
  <type name="gpointer" c:type="gpointer"/>
6128
6397
  </parameter>
@@ -6148,7 +6417,10 @@ g_param_spec_set_qdata() with the same @quark.</doc>
6148
6417
  <doc xml:space="preserve">a #GQuark, naming the user data pointer</doc>
6149
6418
  <type name="GLib.Quark" c:type="GQuark"/>
6150
6419
  </parameter>
6151
- <parameter name="data" transfer-ownership="none">
6420
+ <parameter name="data"
6421
+ transfer-ownership="none"
6422
+ nullable="1"
6423
+ allow-none="1">
6152
6424
  <doc xml:space="preserve">an opaque user data pointer</doc>
6153
6425
  <type name="gpointer" c:type="gpointer"/>
6154
6426
  </parameter>
@@ -6182,7 +6454,7 @@ count of 1 still, but is not flagged "floating" anymore).</doc>
6182
6454
  and removes the @data from @pspec without invoking its destroy()
6183
6455
  function (if any was set). Usually, calling this function is only
6184
6456
  required to update user data pointers with a destroy notifier.</doc>
6185
- <return-value transfer-ownership="none">
6457
+ <return-value transfer-ownership="none" nullable="1">
6186
6458
  <doc xml:space="preserve">the user data pointer set, or %NULL</doc>
6187
6459
  <type name="gpointer" c:type="gpointer"/>
6188
6460
  </return-value>
@@ -7125,7 +7397,10 @@ value returned by the last callback.</doc>
7125
7397
  <doc xml:space="preserve">A #GValue holding the return value of the signal handler.</doc>
7126
7398
  <type name="Value" c:type="const GValue*"/>
7127
7399
  </parameter>
7128
- <parameter name="data" transfer-ownership="none">
7400
+ <parameter name="data"
7401
+ transfer-ownership="none"
7402
+ nullable="1"
7403
+ allow-none="1">
7129
7404
  <doc xml:space="preserve">Callback data that was specified when creating the signal.</doc>
7130
7405
  <type name="gpointer" c:type="gpointer"/>
7131
7406
  </parameter>
@@ -7159,7 +7434,10 @@ You may not attach these to signals created with the #G_SIGNAL_NO_HOOKS flag.</d
7159
7434
  <type name="Value" c:type="GValue"/>
7160
7435
  </array>
7161
7436
  </parameter>
7162
- <parameter name="data" transfer-ownership="none">
7437
+ <parameter name="data"
7438
+ transfer-ownership="none"
7439
+ nullable="1"
7440
+ allow-none="1">
7163
7441
  <doc xml:space="preserve">user data associated with the hook.</doc>
7164
7442
  <type name="gpointer" c:type="gpointer"/>
7165
7443
  </parameter>
@@ -7353,7 +7631,10 @@ of a toggle reference changes. See g_object_add_toggle_ref().</doc>
7353
7631
  <type name="none" c:type="void"/>
7354
7632
  </return-value>
7355
7633
  <parameters>
7356
- <parameter name="data" transfer-ownership="none">
7634
+ <parameter name="data"
7635
+ transfer-ownership="none"
7636
+ nullable="1"
7637
+ allow-none="1">
7357
7638
  <doc xml:space="preserve">Callback data passed to g_object_add_toggle_ref()</doc>
7358
7639
  <type name="gpointer" c:type="gpointer"/>
7359
7640
  </parameter>
@@ -7398,78 +7679,9 @@ of a toggle reference changes. See g_object_add_toggle_ref().</doc>
7398
7679
  <field name="g_type" readable="0" private="1">
7399
7680
  <type name="GType" c:type="GType"/>
7400
7681
  </field>
7401
- <method name="get_private"
7402
- c:identifier="g_type_class_get_private"
7403
- introspectable="0">
7404
- <return-value>
7405
- <type name="gpointer" c:type="gpointer"/>
7406
- </return-value>
7407
- <parameters>
7408
- <instance-parameter name="klass" transfer-ownership="none">
7409
- <type name="TypeClass" c:type="GTypeClass*"/>
7410
- </instance-parameter>
7411
- <parameter name="private_type" transfer-ownership="none">
7412
- <type name="GType" c:type="GType"/>
7413
- </parameter>
7414
- </parameters>
7415
- </method>
7416
- <method name="peek_parent" c:identifier="g_type_class_peek_parent">
7417
- <doc xml:space="preserve">This is a convenience function often needed in class initializers.
7418
- It returns the class structure of the immediate parent type of the
7419
- class passed in. Since derived classes hold a reference count on
7420
- their parent classes as long as they are instantiated, the returned
7421
- class will always exist.
7422
-
7423
- This function is essentially equivalent to:
7424
- g_type_class_peek (g_type_parent (G_TYPE_FROM_CLASS (g_class)))</doc>
7425
- <return-value transfer-ownership="none">
7426
- <doc xml:space="preserve">the parent class
7427
- of @g_class</doc>
7428
- <type name="TypeClass" c:type="gpointer"/>
7429
- </return-value>
7430
- <parameters>
7431
- <instance-parameter name="g_class" transfer-ownership="none">
7432
- <doc xml:space="preserve">the #GTypeClass structure to
7433
- retrieve the parent class for</doc>
7434
- <type name="TypeClass" c:type="gpointer"/>
7435
- </instance-parameter>
7436
- </parameters>
7437
- </method>
7438
- <method name="unref" c:identifier="g_type_class_unref">
7439
- <doc xml:space="preserve">Decrements the reference count of the class structure being passed in.
7440
- Once the last reference count of a class has been released, classes
7441
- may be finalized by the type system, so further dereferencing of a
7442
- class pointer after g_type_class_unref() are invalid.</doc>
7443
- <return-value transfer-ownership="none">
7444
- <type name="none" c:type="void"/>
7445
- </return-value>
7446
- <parameters>
7447
- <instance-parameter name="g_class" transfer-ownership="none">
7448
- <doc xml:space="preserve">a #GTypeClass structure to unref</doc>
7449
- <type name="TypeClass" c:type="gpointer"/>
7450
- </instance-parameter>
7451
- </parameters>
7452
- </method>
7453
- <method name="unref_uncached"
7454
- c:identifier="g_type_class_unref_uncached"
7455
- introspectable="0">
7456
- <doc xml:space="preserve">A variant of g_type_class_unref() for use in #GTypeClassCacheFunc
7457
- implementations. It unreferences a class without consulting the chain
7458
- of #GTypeClassCacheFuncs, avoiding the recursion which would occur
7459
- otherwise.</doc>
7460
- <return-value transfer-ownership="none">
7461
- <type name="none" c:type="void"/>
7462
- </return-value>
7463
- <parameters>
7464
- <instance-parameter name="g_class" transfer-ownership="none">
7465
- <doc xml:space="preserve">a #GTypeClass structure to unref</doc>
7466
- <type name="TypeClass" c:type="gpointer"/>
7467
- </instance-parameter>
7468
- </parameters>
7469
- </method>
7470
- <function name="add_private"
7471
- c:identifier="g_type_class_add_private"
7472
- version="2.4">
7682
+ <method name="add_private"
7683
+ c:identifier="g_type_class_add_private"
7684
+ version="2.4">
7473
7685
  <doc xml:space="preserve">Registers a private structure for an instantiatable type.
7474
7686
 
7475
7687
  When an object is allocated, the private structures for
@@ -7534,36 +7746,23 @@ my_object_get_some_field (MyObject *my_object)
7534
7746
  ]|</doc>
7535
7747
  <return-value transfer-ownership="none">
7536
7748
  <type name="none" c:type="void"/>
7537
- </return-value>
7538
- <parameters>
7539
- <parameter name="g_class" transfer-ownership="none">
7540
- <doc xml:space="preserve">class structure for an instantiatable type</doc>
7541
- <type name="gpointer" c:type="gpointer"/>
7542
- </parameter>
7543
- <parameter name="private_size" transfer-ownership="none">
7544
- <doc xml:space="preserve">size of private structure</doc>
7545
- <type name="gsize" c:type="gsize"/>
7546
- </parameter>
7547
- </parameters>
7548
- </function>
7549
- <function name="adjust_private_offset"
7550
- c:identifier="g_type_class_adjust_private_offset">
7551
- <return-value transfer-ownership="none">
7552
- <type name="none" c:type="void"/>
7553
- </return-value>
7554
- <parameters>
7555
- <parameter name="g_class" transfer-ownership="none">
7556
- <type name="gpointer" c:type="gpointer"/>
7557
- </parameter>
7558
- <parameter name="private_size_or_offset" transfer-ownership="none">
7559
- <type name="gint" c:type="gint*"/>
7749
+ </return-value>
7750
+ <parameters>
7751
+ <instance-parameter name="g_class" transfer-ownership="none">
7752
+ <doc xml:space="preserve">class structure for an instantiatable
7753
+ type</doc>
7754
+ <type name="TypeClass" c:type="gpointer"/>
7755
+ </instance-parameter>
7756
+ <parameter name="private_size" transfer-ownership="none">
7757
+ <doc xml:space="preserve">size of private structure</doc>
7758
+ <type name="gsize" c:type="gsize"/>
7560
7759
  </parameter>
7561
7760
  </parameters>
7562
- </function>
7563
- <function name="get_instance_private_offset"
7564
- c:identifier="g_type_class_get_instance_private_offset"
7565
- version="2.38"
7566
- introspectable="0">
7761
+ </method>
7762
+ <method name="get_instance_private_offset"
7763
+ c:identifier="g_type_class_get_instance_private_offset"
7764
+ version="2.38"
7765
+ introspectable="0">
7567
7766
  <doc xml:space="preserve">Gets the offset of the private data for instances of @g_class.
7568
7767
 
7569
7768
  This is how many bytes you should add to the instance pointer of a
@@ -7577,10 +7776,94 @@ data area for @g_class using g_type_class_add_private().</doc>
7577
7776
  <type name="gint" c:type="gint"/>
7578
7777
  </return-value>
7579
7778
  <parameters>
7580
- <parameter name="g_class" transfer-ownership="none">
7779
+ <instance-parameter name="g_class" transfer-ownership="none">
7581
7780
  <doc xml:space="preserve">a #GTypeClass</doc>
7781
+ <type name="TypeClass" c:type="gpointer"/>
7782
+ </instance-parameter>
7783
+ </parameters>
7784
+ </method>
7785
+ <method name="get_private" c:identifier="g_type_class_get_private">
7786
+ <return-value transfer-ownership="none" nullable="1">
7787
+ <type name="gpointer" c:type="gpointer"/>
7788
+ </return-value>
7789
+ <parameters>
7790
+ <instance-parameter name="klass" transfer-ownership="none">
7791
+ <type name="TypeClass" c:type="GTypeClass*"/>
7792
+ </instance-parameter>
7793
+ <parameter name="private_type" transfer-ownership="none">
7794
+ <type name="GType" c:type="GType"/>
7795
+ </parameter>
7796
+ </parameters>
7797
+ </method>
7798
+ <method name="peek_parent" c:identifier="g_type_class_peek_parent">
7799
+ <doc xml:space="preserve">This is a convenience function often needed in class initializers.
7800
+ It returns the class structure of the immediate parent type of the
7801
+ class passed in. Since derived classes hold a reference count on
7802
+ their parent classes as long as they are instantiated, the returned
7803
+ class will always exist.
7804
+
7805
+ This function is essentially equivalent to:
7806
+ g_type_class_peek (g_type_parent (G_TYPE_FROM_CLASS (g_class)))</doc>
7807
+ <return-value transfer-ownership="none">
7808
+ <doc xml:space="preserve">the parent class
7809
+ of @g_class</doc>
7810
+ <type name="TypeClass" c:type="gpointer"/>
7811
+ </return-value>
7812
+ <parameters>
7813
+ <instance-parameter name="g_class" transfer-ownership="none">
7814
+ <doc xml:space="preserve">the #GTypeClass structure to
7815
+ retrieve the parent class for</doc>
7816
+ <type name="TypeClass" c:type="gpointer"/>
7817
+ </instance-parameter>
7818
+ </parameters>
7819
+ </method>
7820
+ <method name="unref" c:identifier="g_type_class_unref">
7821
+ <doc xml:space="preserve">Decrements the reference count of the class structure being passed in.
7822
+ Once the last reference count of a class has been released, classes
7823
+ may be finalized by the type system, so further dereferencing of a
7824
+ class pointer after g_type_class_unref() are invalid.</doc>
7825
+ <return-value transfer-ownership="none">
7826
+ <type name="none" c:type="void"/>
7827
+ </return-value>
7828
+ <parameters>
7829
+ <instance-parameter name="g_class" transfer-ownership="none">
7830
+ <doc xml:space="preserve">a #GTypeClass structure to unref</doc>
7831
+ <type name="TypeClass" c:type="gpointer"/>
7832
+ </instance-parameter>
7833
+ </parameters>
7834
+ </method>
7835
+ <method name="unref_uncached"
7836
+ c:identifier="g_type_class_unref_uncached"
7837
+ introspectable="0">
7838
+ <doc xml:space="preserve">A variant of g_type_class_unref() for use in #GTypeClassCacheFunc
7839
+ implementations. It unreferences a class without consulting the chain
7840
+ of #GTypeClassCacheFuncs, avoiding the recursion which would occur
7841
+ otherwise.</doc>
7842
+ <return-value transfer-ownership="none">
7843
+ <type name="none" c:type="void"/>
7844
+ </return-value>
7845
+ <parameters>
7846
+ <instance-parameter name="g_class" transfer-ownership="none">
7847
+ <doc xml:space="preserve">a #GTypeClass structure to unref</doc>
7848
+ <type name="TypeClass" c:type="gpointer"/>
7849
+ </instance-parameter>
7850
+ </parameters>
7851
+ </method>
7852
+ <function name="adjust_private_offset"
7853
+ c:identifier="g_type_class_adjust_private_offset">
7854
+ <return-value transfer-ownership="none">
7855
+ <type name="none" c:type="void"/>
7856
+ </return-value>
7857
+ <parameters>
7858
+ <parameter name="g_class"
7859
+ transfer-ownership="none"
7860
+ nullable="1"
7861
+ allow-none="1">
7582
7862
  <type name="gpointer" c:type="gpointer"/>
7583
7863
  </parameter>
7864
+ <parameter name="private_size_or_offset" transfer-ownership="none">
7865
+ <type name="gint" c:type="gint*"/>
7866
+ </parameter>
7584
7867
  </parameters>
7585
7868
  </function>
7586
7869
  <function name="peek" c:identifier="g_type_class_peek">
@@ -7653,12 +7936,16 @@ classes are routed through the same #GTypeClassCacheFunc chain.</doc>
7653
7936
  <type name="gboolean" c:type="gboolean"/>
7654
7937
  </return-value>
7655
7938
  <parameters>
7656
- <parameter name="cache_data" transfer-ownership="none">
7939
+ <parameter name="cache_data"
7940
+ transfer-ownership="none"
7941
+ nullable="1"
7942
+ allow-none="1">
7657
7943
  <doc xml:space="preserve">data that was given to the g_type_add_class_cache_func() call</doc>
7658
7944
  <type name="gpointer" c:type="gpointer"/>
7659
7945
  </parameter>
7660
7946
  <parameter name="g_class" transfer-ownership="none">
7661
- <doc xml:space="preserve">The #GTypeClass structure which is unreferenced</doc>
7947
+ <doc xml:space="preserve">The #GTypeClass structure which is
7948
+ unreferenced</doc>
7662
7949
  <type name="TypeClass" c:type="GTypeClass*"/>
7663
7950
  </parameter>
7664
7951
  </parameters>
@@ -7797,10 +8084,8 @@ across invocation of g_type_register_static().</doc>
7797
8084
  <field name="g_class" readable="0" private="1">
7798
8085
  <type name="TypeClass" c:type="GTypeClass*"/>
7799
8086
  </field>
7800
- <method name="get_private"
7801
- c:identifier="g_type_instance_get_private"
7802
- introspectable="0">
7803
- <return-value>
8087
+ <method name="get_private" c:identifier="g_type_instance_get_private">
8088
+ <return-value transfer-ownership="none" nullable="1">
7804
8089
  <type name="gpointer" c:type="gpointer"/>
7805
8090
  </return-value>
7806
8091
  <parameters>
@@ -7941,13 +8226,17 @@ See g_type_add_interface_check().</doc>
7941
8226
  <type name="none" c:type="void"/>
7942
8227
  </return-value>
7943
8228
  <parameters>
7944
- <parameter name="check_data" transfer-ownership="none">
8229
+ <parameter name="check_data"
8230
+ transfer-ownership="none"
8231
+ nullable="1"
8232
+ allow-none="1">
7945
8233
  <doc xml:space="preserve">data passed to g_type_add_interface_check()</doc>
7946
8234
  <type name="gpointer" c:type="gpointer"/>
7947
8235
  </parameter>
7948
8236
  <parameter name="g_iface" transfer-ownership="none">
7949
- <doc xml:space="preserve">the interface that has been initialized</doc>
7950
- <type name="gpointer" c:type="gpointer"/>
8237
+ <doc xml:space="preserve">the interface that has been
8238
+ initialized</doc>
8239
+ <type name="TypeInterface" c:type="gpointer"/>
7951
8240
  </parameter>
7952
8241
  </parameters>
7953
8242
  </callback>
@@ -8573,9 +8862,9 @@ implementation, to serve as a container for values of a type.</doc>
8573
8862
  </parameters>
8574
8863
  </callback>
8575
8864
  </field>
8576
- <field name="value_peek_pointer" introspectable="0">
8577
- <callback name="value_peek_pointer" introspectable="0">
8578
- <return-value>
8865
+ <field name="value_peek_pointer">
8866
+ <callback name="value_peek_pointer">
8867
+ <return-value transfer-ownership="none">
8579
8868
  <type name="gpointer" c:type="gpointer"/>
8580
8869
  </return-value>
8581
8870
  <parameters>
@@ -8708,8 +8997,9 @@ marshalling the signal argument into GValues.</doc>
8708
8997
  <type name="Value" c:type="GValue*"/>
8709
8998
  </parameter>
8710
8999
  <parameter name="instance" transfer-ownership="none">
8711
- <doc xml:space="preserve">the instance on which the closure is invoked.</doc>
8712
- <type name="gpointer" c:type="gpointer"/>
9000
+ <doc xml:space="preserve">the instance on which the closure is
9001
+ invoked.</doc>
9002
+ <type name="TypeInstance" c:type="gpointer"/>
8713
9003
  </parameter>
8714
9004
  <parameter name="args" transfer-ownership="none">
8715
9005
  <doc xml:space="preserve">va_list of arguments to be passed to the closure.</doc>
@@ -8781,7 +9071,7 @@ only be accessed through the G_VALUE_TYPE() macro.</doc>
8781
9071
  the boxed value is duplicated and needs to be later freed with
8782
9072
  g_boxed_free(), e.g. like: g_boxed_free (G_VALUE_TYPE (@value),
8783
9073
  return_value);</doc>
8784
- <return-value>
9074
+ <return-value transfer-ownership="none" nullable="1">
8785
9075
  <doc xml:space="preserve">boxed contents of @value</doc>
8786
9076
  <type name="gpointer" c:type="gpointer"/>
8787
9077
  </return-value>
@@ -8883,7 +9173,7 @@ This is an internal function introduced mainly for C marshallers.</doc>
8883
9173
  </method>
8884
9174
  <method name="get_boxed" c:identifier="g_value_get_boxed">
8885
9175
  <doc xml:space="preserve">Get the contents of a %G_TYPE_BOXED derived #GValue.</doc>
8886
- <return-value transfer-ownership="none">
9176
+ <return-value transfer-ownership="none" nullable="1">
8887
9177
  <doc xml:space="preserve">boxed contents of @value</doc>
8888
9178
  <type name="gpointer" c:type="gpointer"/>
8889
9179
  </return-value>
@@ -9046,7 +9336,7 @@ Get the contents of a %G_TYPE_CHAR #GValue.</doc>
9046
9336
  </method>
9047
9337
  <method name="get_pointer" c:identifier="g_value_get_pointer">
9048
9338
  <doc xml:space="preserve">Get the contents of a pointer #GValue.</doc>
9049
- <return-value transfer-ownership="none">
9339
+ <return-value transfer-ownership="none" nullable="1">
9050
9340
  <doc xml:space="preserve">pointer contents of @value</doc>
9051
9341
  <type name="gpointer" c:type="gpointer"/>
9052
9342
  </return-value>
@@ -9187,7 +9477,7 @@ g_value_init() and g_value_set_instance().</doc>
9187
9477
  </instance-parameter>
9188
9478
  <parameter name="instance" transfer-ownership="none">
9189
9479
  <doc xml:space="preserve">the instance</doc>
9190
- <type name="gpointer" c:type="gpointer"/>
9480
+ <type name="TypeInstance" c:type="gpointer"/>
9191
9481
  </parameter>
9192
9482
  </parameters>
9193
9483
  </method>
@@ -9195,7 +9485,7 @@ g_value_init() and g_value_set_instance().</doc>
9195
9485
  <doc xml:space="preserve">Returns the value contents as pointer. This function asserts that
9196
9486
  g_value_fits_pointer() returned %TRUE for the passed in value.
9197
9487
  This is an internal function introduced mainly for C marshallers.</doc>
9198
- <return-value transfer-ownership="none">
9488
+ <return-value transfer-ownership="none" nullable="1">
9199
9489
  <doc xml:space="preserve">the value contents as pointer</doc>
9200
9490
  <type name="gpointer" c:type="gpointer"/>
9201
9491
  </return-value>
@@ -9552,7 +9842,10 @@ the #GValue still exists).</doc>
9552
9842
  <doc xml:space="preserve">a valid #GValue of %G_TYPE_POINTER</doc>
9553
9843
  <type name="Value" c:type="GValue*"/>
9554
9844
  </instance-parameter>
9555
- <parameter name="v_pointer" transfer-ownership="none">
9845
+ <parameter name="v_pointer"
9846
+ transfer-ownership="none"
9847
+ nullable="1"
9848
+ allow-none="1">
9556
9849
  <doc xml:space="preserve">pointer value to be set</doc>
9557
9850
  <type name="gpointer" c:type="gpointer"/>
9558
9851
  </parameter>
@@ -9865,7 +10158,7 @@ This is an internal function introduced mainly for C marshallers.</doc>
9865
10158
  <type name="Value" c:type="GValue*"/>
9866
10159
  </instance-parameter>
9867
10160
  <parameter name="variant"
9868
- transfer-ownership="none"
10161
+ transfer-ownership="full"
9869
10162
  nullable="1"
9870
10163
  allow-none="1">
9871
10164
  <doc xml:space="preserve">a #GVariant, or %NULL</doc>
@@ -9898,10 +10191,10 @@ as rcfile value or object property serialization).</doc>
9898
10191
  </parameters>
9899
10192
  </method>
9900
10193
  <method name="unset" c:identifier="g_value_unset">
9901
- <doc xml:space="preserve">Clears the current value in @value and "unsets" the type,
9902
- this releases all resources associated with this GValue.
9903
- An unset value is the same as an uninitialized (zero-filled)
9904
- #GValue structure.</doc>
10194
+ <doc xml:space="preserve">Clears the current value in @value (if any) and "unsets" the type,
10195
+ this releases all resources associated with this GValue. An unset
10196
+ value is the same as an uninitialized (zero-filled) #GValue
10197
+ structure.</doc>
9905
10198
  <return-value transfer-ownership="none">
9906
10199
  <type name="none" c:type="void"/>
9907
10200
  </return-value>
@@ -10224,7 +10517,10 @@ C qsort() function.</doc>
10224
10517
  <doc xml:space="preserve">function to compare elements</doc>
10225
10518
  <type name="GLib.CompareDataFunc" c:type="GCompareDataFunc"/>
10226
10519
  </parameter>
10227
- <parameter name="user_data" transfer-ownership="none">
10520
+ <parameter name="user_data"
10521
+ transfer-ownership="none"
10522
+ nullable="1"
10523
+ allow-none="1">
10228
10524
  <doc xml:space="preserve">extra data argument provided for @compare_func</doc>
10229
10525
  <type name="gpointer" c:type="gpointer"/>
10230
10526
  </parameter>
@@ -10257,7 +10553,10 @@ with the object, apart from e.g. using its address as hash-index or the like.</d
10257
10553
  <type name="none" c:type="void"/>
10258
10554
  </return-value>
10259
10555
  <parameters>
10260
- <parameter name="data" transfer-ownership="none">
10556
+ <parameter name="data"
10557
+ transfer-ownership="none"
10558
+ nullable="1"
10559
+ allow-none="1">
10261
10560
  <doc xml:space="preserve">data that was provided when the weak reference was established</doc>
10262
10561
  <type name="gpointer" c:type="gpointer"/>
10263
10562
  </parameter>
@@ -10374,7 +10673,7 @@ properly initialised. Just use g_weak_ref_set() directly.</doc>
10374
10673
  nullable="1"
10375
10674
  allow-none="1">
10376
10675
  <doc xml:space="preserve">a #GObject or %NULL</doc>
10377
- <type name="gpointer" c:type="gpointer"/>
10676
+ <type name="Object" c:type="gpointer"/>
10378
10677
  </parameter>
10379
10678
  </parameters>
10380
10679
  </method>
@@ -10400,7 +10699,7 @@ function.</doc>
10400
10699
  nullable="1"
10401
10700
  allow-none="1">
10402
10701
  <doc xml:space="preserve">a #GObject or %NULL</doc>
10403
- <type name="gpointer" c:type="gpointer"/>
10702
+ <type name="Object" c:type="gpointer"/>
10404
10703
  </parameter>
10405
10704
  </parameters>
10406
10705
  </method>
@@ -10437,7 +10736,8 @@ function.</doc>
10437
10736
  <function name="boxed_copy" c:identifier="g_boxed_copy">
10438
10737
  <doc xml:space="preserve">Provide a copy of a boxed structure @src_boxed which is of type @boxed_type.</doc>
10439
10738
  <return-value transfer-ownership="full">
10440
- <doc xml:space="preserve">The newly created copy of the boxed structure.</doc>
10739
+ <doc xml:space="preserve">The newly created copy of the boxed
10740
+ structure.</doc>
10441
10741
  <type name="gpointer" c:type="gpointer"/>
10442
10742
  </return-value>
10443
10743
  <parameters>
@@ -10521,12 +10821,18 @@ accumulator, such as g_signal_accumulator_true_handled().</doc>
10521
10821
  on which to invoke the callback of closure.</doc>
10522
10822
  <type name="Value" c:type="const GValue*"/>
10523
10823
  </parameter>
10524
- <parameter name="invocation_hint" transfer-ownership="none">
10824
+ <parameter name="invocation_hint"
10825
+ transfer-ownership="none"
10826
+ nullable="1"
10827
+ allow-none="1">
10525
10828
  <doc xml:space="preserve">The invocation hint given as the last argument to
10526
10829
  g_closure_invoke().</doc>
10527
10830
  <type name="gpointer" c:type="gpointer"/>
10528
10831
  </parameter>
10529
- <parameter name="marshal_data" transfer-ownership="none">
10832
+ <parameter name="marshal_data"
10833
+ transfer-ownership="none"
10834
+ nullable="1"
10835
+ allow-none="1">
10530
10836
  <doc xml:space="preserve">Additional data specified when registering the
10531
10837
  marshaller, see g_closure_set_marshal() and
10532
10838
  g_closure_set_meta_marshal()</doc>
@@ -10563,12 +10869,18 @@ such as g_signal_accumulator_true_handled().</doc>
10563
10869
  on which to invoke the callback of closure.</doc>
10564
10870
  <type name="Value" c:type="const GValue*"/>
10565
10871
  </parameter>
10566
- <parameter name="invocation_hint" transfer-ownership="none">
10872
+ <parameter name="invocation_hint"
10873
+ transfer-ownership="none"
10874
+ nullable="1"
10875
+ allow-none="1">
10567
10876
  <doc xml:space="preserve">The invocation hint given as the last argument to
10568
10877
  g_closure_invoke().</doc>
10569
10878
  <type name="gpointer" c:type="gpointer"/>
10570
10879
  </parameter>
10571
- <parameter name="marshal_data" transfer-ownership="none">
10880
+ <parameter name="marshal_data"
10881
+ transfer-ownership="none"
10882
+ nullable="1"
10883
+ allow-none="1">
10572
10884
  <doc xml:space="preserve">Additional data specified when registering the
10573
10885
  marshaller, see g_closure_set_marshal() and
10574
10886
  g_closure_set_meta_marshal()</doc>
@@ -10604,12 +10916,18 @@ unlikely that your signal handler fits this description.</doc>
10604
10916
  on which to invoke the callback of closure.</doc>
10605
10917
  <type name="Value" c:type="const GValue*"/>
10606
10918
  </parameter>
10607
- <parameter name="invocation_hint" transfer-ownership="none">
10919
+ <parameter name="invocation_hint"
10920
+ transfer-ownership="none"
10921
+ nullable="1"
10922
+ allow-none="1">
10608
10923
  <doc xml:space="preserve">The invocation hint given as the last argument to
10609
10924
  g_closure_invoke().</doc>
10610
10925
  <type name="gpointer" c:type="gpointer"/>
10611
10926
  </parameter>
10612
- <parameter name="marshal_data" transfer-ownership="none">
10927
+ <parameter name="marshal_data"
10928
+ transfer-ownership="none"
10929
+ nullable="1"
10930
+ allow-none="1">
10613
10931
  <doc xml:space="preserve">Additional data specified when registering the
10614
10932
  marshaller, see g_closure_set_marshal() and
10615
10933
  g_closure_set_meta_marshal()</doc>
@@ -10644,12 +10962,18 @@ boolean argument.</doc>
10644
10962
  on which to invoke the callback of closure.</doc>
10645
10963
  <type name="Value" c:type="const GValue*"/>
10646
10964
  </parameter>
10647
- <parameter name="invocation_hint" transfer-ownership="none">
10965
+ <parameter name="invocation_hint"
10966
+ transfer-ownership="none"
10967
+ nullable="1"
10968
+ allow-none="1">
10648
10969
  <doc xml:space="preserve">The invocation hint given as the last argument to
10649
10970
  g_closure_invoke().</doc>
10650
10971
  <type name="gpointer" c:type="gpointer"/>
10651
10972
  </parameter>
10652
- <parameter name="marshal_data" transfer-ownership="none">
10973
+ <parameter name="marshal_data"
10974
+ transfer-ownership="none"
10975
+ nullable="1"
10976
+ allow-none="1">
10653
10977
  <doc xml:space="preserve">Additional data specified when registering the
10654
10978
  marshaller, see g_closure_set_marshal() and
10655
10979
  g_closure_set_meta_marshal()</doc>
@@ -10684,12 +11008,18 @@ argument which is any boxed pointer type.</doc>
10684
11008
  on which to invoke the callback of closure.</doc>
10685
11009
  <type name="Value" c:type="const GValue*"/>
10686
11010
  </parameter>
10687
- <parameter name="invocation_hint" transfer-ownership="none">
11011
+ <parameter name="invocation_hint"
11012
+ transfer-ownership="none"
11013
+ nullable="1"
11014
+ allow-none="1">
10688
11015
  <doc xml:space="preserve">The invocation hint given as the last argument to
10689
11016
  g_closure_invoke().</doc>
10690
11017
  <type name="gpointer" c:type="gpointer"/>
10691
11018
  </parameter>
10692
- <parameter name="marshal_data" transfer-ownership="none">
11019
+ <parameter name="marshal_data"
11020
+ transfer-ownership="none"
11021
+ nullable="1"
11022
+ allow-none="1">
10693
11023
  <doc xml:space="preserve">Additional data specified when registering the
10694
11024
  marshaller, see g_closure_set_marshal() and
10695
11025
  g_closure_set_meta_marshal()</doc>
@@ -10724,12 +11054,18 @@ character argument.</doc>
10724
11054
  on which to invoke the callback of closure.</doc>
10725
11055
  <type name="Value" c:type="const GValue*"/>
10726
11056
  </parameter>
10727
- <parameter name="invocation_hint" transfer-ownership="none">
11057
+ <parameter name="invocation_hint"
11058
+ transfer-ownership="none"
11059
+ nullable="1"
11060
+ allow-none="1">
10728
11061
  <doc xml:space="preserve">The invocation hint given as the last argument to
10729
11062
  g_closure_invoke().</doc>
10730
11063
  <type name="gpointer" c:type="gpointer"/>
10731
11064
  </parameter>
10732
- <parameter name="marshal_data" transfer-ownership="none">
11065
+ <parameter name="marshal_data"
11066
+ transfer-ownership="none"
11067
+ nullable="1"
11068
+ allow-none="1">
10733
11069
  <doc xml:space="preserve">Additional data specified when registering the
10734
11070
  marshaller, see g_closure_set_marshal() and
10735
11071
  g_closure_set_meta_marshal()</doc>
@@ -10764,12 +11100,18 @@ double-precision floating point argument.</doc>
10764
11100
  on which to invoke the callback of closure.</doc>
10765
11101
  <type name="Value" c:type="const GValue*"/>
10766
11102
  </parameter>
10767
- <parameter name="invocation_hint" transfer-ownership="none">
11103
+ <parameter name="invocation_hint"
11104
+ transfer-ownership="none"
11105
+ nullable="1"
11106
+ allow-none="1">
10768
11107
  <doc xml:space="preserve">The invocation hint given as the last argument to
10769
11108
  g_closure_invoke().</doc>
10770
11109
  <type name="gpointer" c:type="gpointer"/>
10771
11110
  </parameter>
10772
- <parameter name="marshal_data" transfer-ownership="none">
11111
+ <parameter name="marshal_data"
11112
+ transfer-ownership="none"
11113
+ nullable="1"
11114
+ allow-none="1">
10773
11115
  <doc xml:space="preserve">Additional data specified when registering the
10774
11116
  marshaller, see g_closure_set_marshal() and
10775
11117
  g_closure_set_meta_marshal()</doc>
@@ -10804,12 +11146,18 @@ argument with an enumerated type.</doc>
10804
11146
  on which to invoke the callback of closure.</doc>
10805
11147
  <type name="Value" c:type="const GValue*"/>
10806
11148
  </parameter>
10807
- <parameter name="invocation_hint" transfer-ownership="none">
11149
+ <parameter name="invocation_hint"
11150
+ transfer-ownership="none"
11151
+ nullable="1"
11152
+ allow-none="1">
10808
11153
  <doc xml:space="preserve">The invocation hint given as the last argument to
10809
11154
  g_closure_invoke().</doc>
10810
11155
  <type name="gpointer" c:type="gpointer"/>
10811
11156
  </parameter>
10812
- <parameter name="marshal_data" transfer-ownership="none">
11157
+ <parameter name="marshal_data"
11158
+ transfer-ownership="none"
11159
+ nullable="1"
11160
+ allow-none="1">
10813
11161
  <doc xml:space="preserve">Additional data specified when registering the
10814
11162
  marshaller, see g_closure_set_marshal() and
10815
11163
  g_closure_set_meta_marshal()</doc>
@@ -10844,12 +11192,18 @@ argument with a flags types.</doc>
10844
11192
  on which to invoke the callback of closure.</doc>
10845
11193
  <type name="Value" c:type="const GValue*"/>
10846
11194
  </parameter>
10847
- <parameter name="invocation_hint" transfer-ownership="none">
11195
+ <parameter name="invocation_hint"
11196
+ transfer-ownership="none"
11197
+ nullable="1"
11198
+ allow-none="1">
10848
11199
  <doc xml:space="preserve">The invocation hint given as the last argument to
10849
11200
  g_closure_invoke().</doc>
10850
11201
  <type name="gpointer" c:type="gpointer"/>
10851
11202
  </parameter>
10852
- <parameter name="marshal_data" transfer-ownership="none">
11203
+ <parameter name="marshal_data"
11204
+ transfer-ownership="none"
11205
+ nullable="1"
11206
+ allow-none="1">
10853
11207
  <doc xml:space="preserve">Additional data specified when registering the
10854
11208
  marshaller, see g_closure_set_marshal() and
10855
11209
  g_closure_set_meta_marshal()</doc>
@@ -10884,12 +11238,18 @@ single-precision floating point argument.</doc>
10884
11238
  on which to invoke the callback of closure.</doc>
10885
11239
  <type name="Value" c:type="const GValue*"/>
10886
11240
  </parameter>
10887
- <parameter name="invocation_hint" transfer-ownership="none">
11241
+ <parameter name="invocation_hint"
11242
+ transfer-ownership="none"
11243
+ nullable="1"
11244
+ allow-none="1">
10888
11245
  <doc xml:space="preserve">The invocation hint given as the last argument to
10889
11246
  g_closure_invoke().</doc>
10890
11247
  <type name="gpointer" c:type="gpointer"/>
10891
11248
  </parameter>
10892
- <parameter name="marshal_data" transfer-ownership="none">
11249
+ <parameter name="marshal_data"
11250
+ transfer-ownership="none"
11251
+ nullable="1"
11252
+ allow-none="1">
10893
11253
  <doc xml:space="preserve">Additional data specified when registering the
10894
11254
  marshaller, see g_closure_set_marshal() and
10895
11255
  g_closure_set_meta_marshal()</doc>
@@ -10924,12 +11284,18 @@ integer argument.</doc>
10924
11284
  on which to invoke the callback of closure.</doc>
10925
11285
  <type name="Value" c:type="const GValue*"/>
10926
11286
  </parameter>
10927
- <parameter name="invocation_hint" transfer-ownership="none">
11287
+ <parameter name="invocation_hint"
11288
+ transfer-ownership="none"
11289
+ nullable="1"
11290
+ allow-none="1">
10928
11291
  <doc xml:space="preserve">The invocation hint given as the last argument to
10929
11292
  g_closure_invoke().</doc>
10930
11293
  <type name="gpointer" c:type="gpointer"/>
10931
11294
  </parameter>
10932
- <parameter name="marshal_data" transfer-ownership="none">
11295
+ <parameter name="marshal_data"
11296
+ transfer-ownership="none"
11297
+ nullable="1"
11298
+ allow-none="1">
10933
11299
  <doc xml:space="preserve">Additional data specified when registering the
10934
11300
  marshaller, see g_closure_set_marshal() and
10935
11301
  g_closure_set_meta_marshal()</doc>
@@ -10964,12 +11330,18 @@ long integer argument.</doc>
10964
11330
  on which to invoke the callback of closure.</doc>
10965
11331
  <type name="Value" c:type="const GValue*"/>
10966
11332
  </parameter>
10967
- <parameter name="invocation_hint" transfer-ownership="none">
11333
+ <parameter name="invocation_hint"
11334
+ transfer-ownership="none"
11335
+ nullable="1"
11336
+ allow-none="1">
10968
11337
  <doc xml:space="preserve">The invocation hint given as the last argument to
10969
11338
  g_closure_invoke().</doc>
10970
11339
  <type name="gpointer" c:type="gpointer"/>
10971
11340
  </parameter>
10972
- <parameter name="marshal_data" transfer-ownership="none">
11341
+ <parameter name="marshal_data"
11342
+ transfer-ownership="none"
11343
+ nullable="1"
11344
+ allow-none="1">
10973
11345
  <doc xml:space="preserve">Additional data specified when registering the
10974
11346
  marshaller, see g_closure_set_marshal() and
10975
11347
  g_closure_set_meta_marshal()</doc>
@@ -11004,12 +11376,18 @@ long integer argument.</doc>
11004
11376
  on which to invoke the callback of closure.</doc>
11005
11377
  <type name="Value" c:type="const GValue*"/>
11006
11378
  </parameter>
11007
- <parameter name="invocation_hint" transfer-ownership="none">
11379
+ <parameter name="invocation_hint"
11380
+ transfer-ownership="none"
11381
+ nullable="1"
11382
+ allow-none="1">
11008
11383
  <doc xml:space="preserve">The invocation hint given as the last argument to
11009
11384
  g_closure_invoke().</doc>
11010
11385
  <type name="gpointer" c:type="gpointer"/>
11011
11386
  </parameter>
11012
- <parameter name="marshal_data" transfer-ownership="none">
11387
+ <parameter name="marshal_data"
11388
+ transfer-ownership="none"
11389
+ nullable="1"
11390
+ allow-none="1">
11013
11391
  <doc xml:space="preserve">Additional data specified when registering the
11014
11392
  marshaller, see g_closure_set_marshal() and
11015
11393
  g_closure_set_meta_marshal()</doc>
@@ -11044,12 +11422,18 @@ argument of type #GParamSpec.</doc>
11044
11422
  on which to invoke the callback of closure.</doc>
11045
11423
  <type name="Value" c:type="const GValue*"/>
11046
11424
  </parameter>
11047
- <parameter name="invocation_hint" transfer-ownership="none">
11425
+ <parameter name="invocation_hint"
11426
+ transfer-ownership="none"
11427
+ nullable="1"
11428
+ allow-none="1">
11048
11429
  <doc xml:space="preserve">The invocation hint given as the last argument to
11049
11430
  g_closure_invoke().</doc>
11050
11431
  <type name="gpointer" c:type="gpointer"/>
11051
11432
  </parameter>
11052
- <parameter name="marshal_data" transfer-ownership="none">
11433
+ <parameter name="marshal_data"
11434
+ transfer-ownership="none"
11435
+ nullable="1"
11436
+ allow-none="1">
11053
11437
  <doc xml:space="preserve">Additional data specified when registering the
11054
11438
  marshaller, see g_closure_set_marshal() and
11055
11439
  g_closure_set_meta_marshal()</doc>
@@ -11088,12 +11472,18 @@ g_cclosure_marshal_VOID__OBJECT().</doc>
11088
11472
  on which to invoke the callback of closure.</doc>
11089
11473
  <type name="Value" c:type="const GValue*"/>
11090
11474
  </parameter>
11091
- <parameter name="invocation_hint" transfer-ownership="none">
11475
+ <parameter name="invocation_hint"
11476
+ transfer-ownership="none"
11477
+ nullable="1"
11478
+ allow-none="1">
11092
11479
  <doc xml:space="preserve">The invocation hint given as the last argument to
11093
11480
  g_closure_invoke().</doc>
11094
11481
  <type name="gpointer" c:type="gpointer"/>
11095
11482
  </parameter>
11096
- <parameter name="marshal_data" transfer-ownership="none">
11483
+ <parameter name="marshal_data"
11484
+ transfer-ownership="none"
11485
+ nullable="1"
11486
+ allow-none="1">
11097
11487
  <doc xml:space="preserve">Additional data specified when registering the
11098
11488
  marshaller, see g_closure_set_marshal() and
11099
11489
  g_closure_set_meta_marshal()</doc>
@@ -11128,12 +11518,18 @@ argument.</doc>
11128
11518
  on which to invoke the callback of closure.</doc>
11129
11519
  <type name="Value" c:type="const GValue*"/>
11130
11520
  </parameter>
11131
- <parameter name="invocation_hint" transfer-ownership="none">
11521
+ <parameter name="invocation_hint"
11522
+ transfer-ownership="none"
11523
+ nullable="1"
11524
+ allow-none="1">
11132
11525
  <doc xml:space="preserve">The invocation hint given as the last argument to
11133
11526
  g_closure_invoke().</doc>
11134
11527
  <type name="gpointer" c:type="gpointer"/>
11135
11528
  </parameter>
11136
- <parameter name="marshal_data" transfer-ownership="none">
11529
+ <parameter name="marshal_data"
11530
+ transfer-ownership="none"
11531
+ nullable="1"
11532
+ allow-none="1">
11137
11533
  <doc xml:space="preserve">Additional data specified when registering the
11138
11534
  marshaller, see g_closure_set_marshal() and
11139
11535
  g_closure_set_meta_marshal()</doc>
@@ -11168,12 +11564,18 @@ unsigned character argument.</doc>
11168
11564
  on which to invoke the callback of closure.</doc>
11169
11565
  <type name="Value" c:type="const GValue*"/>
11170
11566
  </parameter>
11171
- <parameter name="invocation_hint" transfer-ownership="none">
11567
+ <parameter name="invocation_hint"
11568
+ transfer-ownership="none"
11569
+ nullable="1"
11570
+ allow-none="1">
11172
11571
  <doc xml:space="preserve">The invocation hint given as the last argument to
11173
11572
  g_closure_invoke().</doc>
11174
11573
  <type name="gpointer" c:type="gpointer"/>
11175
11574
  </parameter>
11176
- <parameter name="marshal_data" transfer-ownership="none">
11575
+ <parameter name="marshal_data"
11576
+ transfer-ownership="none"
11577
+ nullable="1"
11578
+ allow-none="1">
11177
11579
  <doc xml:space="preserve">Additional data specified when registering the
11178
11580
  marshaller, see g_closure_set_marshal() and
11179
11581
  g_closure_set_meta_marshal()</doc>
@@ -11208,12 +11610,18 @@ unsigned integer argument.</doc>
11208
11610
  on which to invoke the callback of closure.</doc>
11209
11611
  <type name="Value" c:type="const GValue*"/>
11210
11612
  </parameter>
11211
- <parameter name="invocation_hint" transfer-ownership="none">
11613
+ <parameter name="invocation_hint"
11614
+ transfer-ownership="none"
11615
+ nullable="1"
11616
+ allow-none="1">
11212
11617
  <doc xml:space="preserve">The invocation hint given as the last argument to
11213
11618
  g_closure_invoke().</doc>
11214
11619
  <type name="gpointer" c:type="gpointer"/>
11215
11620
  </parameter>
11216
- <parameter name="marshal_data" transfer-ownership="none">
11621
+ <parameter name="marshal_data"
11622
+ transfer-ownership="none"
11623
+ nullable="1"
11624
+ allow-none="1">
11217
11625
  <doc xml:space="preserve">Additional data specified when registering the
11218
11626
  marshaller, see g_closure_set_marshal() and
11219
11627
  g_closure_set_meta_marshal()</doc>
@@ -11248,12 +11656,18 @@ and a pointer as arguments.</doc>
11248
11656
  on which to invoke the callback of closure.</doc>
11249
11657
  <type name="Value" c:type="const GValue*"/>
11250
11658
  </parameter>
11251
- <parameter name="invocation_hint" transfer-ownership="none">
11659
+ <parameter name="invocation_hint"
11660
+ transfer-ownership="none"
11661
+ nullable="1"
11662
+ allow-none="1">
11252
11663
  <doc xml:space="preserve">The invocation hint given as the last argument to
11253
11664
  g_closure_invoke().</doc>
11254
11665
  <type name="gpointer" c:type="gpointer"/>
11255
11666
  </parameter>
11256
- <parameter name="marshal_data" transfer-ownership="none">
11667
+ <parameter name="marshal_data"
11668
+ transfer-ownership="none"
11669
+ nullable="1"
11670
+ allow-none="1">
11257
11671
  <doc xml:space="preserve">Additional data specified when registering the
11258
11672
  marshaller, see g_closure_set_marshal() and
11259
11673
  g_closure_set_meta_marshal()</doc>
@@ -11288,12 +11702,18 @@ unsigned long integer argument.</doc>
11288
11702
  on which to invoke the callback of closure.</doc>
11289
11703
  <type name="Value" c:type="const GValue*"/>
11290
11704
  </parameter>
11291
- <parameter name="invocation_hint" transfer-ownership="none">
11705
+ <parameter name="invocation_hint"
11706
+ transfer-ownership="none"
11707
+ nullable="1"
11708
+ allow-none="1">
11292
11709
  <doc xml:space="preserve">The invocation hint given as the last argument to
11293
11710
  g_closure_invoke().</doc>
11294
11711
  <type name="gpointer" c:type="gpointer"/>
11295
11712
  </parameter>
11296
- <parameter name="marshal_data" transfer-ownership="none">
11713
+ <parameter name="marshal_data"
11714
+ transfer-ownership="none"
11715
+ nullable="1"
11716
+ allow-none="1">
11297
11717
  <doc xml:space="preserve">Additional data specified when registering the
11298
11718
  marshaller, see g_closure_set_marshal() and
11299
11719
  g_closure_set_meta_marshal()</doc>
@@ -11328,12 +11748,18 @@ unsigned long integer argument.</doc>
11328
11748
  on which to invoke the callback of closure.</doc>
11329
11749
  <type name="Value" c:type="const GValue*"/>
11330
11750
  </parameter>
11331
- <parameter name="invocation_hint" transfer-ownership="none">
11751
+ <parameter name="invocation_hint"
11752
+ transfer-ownership="none"
11753
+ nullable="1"
11754
+ allow-none="1">
11332
11755
  <doc xml:space="preserve">The invocation hint given as the last argument to
11333
11756
  g_closure_invoke().</doc>
11334
11757
  <type name="gpointer" c:type="gpointer"/>
11335
11758
  </parameter>
11336
- <parameter name="marshal_data" transfer-ownership="none">
11759
+ <parameter name="marshal_data"
11760
+ transfer-ownership="none"
11761
+ nullable="1"
11762
+ allow-none="1">
11337
11763
  <doc xml:space="preserve">Additional data specified when registering the
11338
11764
  marshaller, see g_closure_set_marshal() and
11339
11765
  g_closure_set_meta_marshal()</doc>
@@ -11367,12 +11793,18 @@ unsigned long integer argument.</doc>
11367
11793
  on which to invoke the callback of closure.</doc>
11368
11794
  <type name="Value" c:type="const GValue*"/>
11369
11795
  </parameter>
11370
- <parameter name="invocation_hint" transfer-ownership="none">
11796
+ <parameter name="invocation_hint"
11797
+ transfer-ownership="none"
11798
+ nullable="1"
11799
+ allow-none="1">
11371
11800
  <doc xml:space="preserve">The invocation hint given as the last argument to
11372
11801
  g_closure_invoke().</doc>
11373
11802
  <type name="gpointer" c:type="gpointer"/>
11374
11803
  </parameter>
11375
- <parameter name="marshal_data" transfer-ownership="none">
11804
+ <parameter name="marshal_data"
11805
+ transfer-ownership="none"
11806
+ nullable="1"
11807
+ allow-none="1">
11376
11808
  <doc xml:space="preserve">Additional data specified when registering the
11377
11809
  marshaller, see g_closure_set_marshal() and
11378
11810
  g_closure_set_meta_marshal()</doc>
@@ -11411,12 +11843,18 @@ but used automatically by GLib when specifying a %NULL marshaller.</doc>
11411
11843
  on which to invoke the callback of closure.</doc>
11412
11844
  <type name="Value" c:type="const GValue*"/>
11413
11845
  </parameter>
11414
- <parameter name="invocation_hint" transfer-ownership="none">
11846
+ <parameter name="invocation_hint"
11847
+ transfer-ownership="none"
11848
+ nullable="1"
11849
+ allow-none="1">
11415
11850
  <doc xml:space="preserve">The invocation hint given as the last argument to
11416
11851
  g_closure_invoke().</doc>
11417
11852
  <type name="gpointer" c:type="gpointer"/>
11418
11853
  </parameter>
11419
- <parameter name="marshal_data" transfer-ownership="none">
11854
+ <parameter name="marshal_data"
11855
+ transfer-ownership="none"
11856
+ nullable="1"
11857
+ allow-none="1">
11420
11858
  <doc xml:space="preserve">Additional data specified when registering the
11421
11859
  marshaller, see g_closure_set_marshal() and
11422
11860
  g_closure_set_meta_marshal()</doc>
@@ -11435,11 +11873,19 @@ the last parameter.</doc>
11435
11873
  <type name="Closure" c:type="GClosure*"/>
11436
11874
  </return-value>
11437
11875
  <parameters>
11438
- <parameter name="callback_func" transfer-ownership="none" closure="1">
11876
+ <parameter name="callback_func"
11877
+ transfer-ownership="none"
11878
+ nullable="1"
11879
+ allow-none="1"
11880
+ closure="1">
11439
11881
  <doc xml:space="preserve">the function to invoke</doc>
11440
11882
  <type name="Callback" c:type="GCallback"/>
11441
11883
  </parameter>
11442
- <parameter name="user_data" transfer-ownership="none">
11884
+ <parameter name="user_data"
11885
+ transfer-ownership="none"
11886
+ nullable="1"
11887
+ allow-none="1"
11888
+ closure="0">
11443
11889
  <doc xml:space="preserve">user data to pass to @callback_func</doc>
11444
11890
  <type name="gpointer" c:type="gpointer"/>
11445
11891
  </parameter>
@@ -11508,11 +11954,19 @@ the first parameter.</doc>
11508
11954
  <type name="Closure" c:type="GClosure*"/>
11509
11955
  </return-value>
11510
11956
  <parameters>
11511
- <parameter name="callback_func" transfer-ownership="none" closure="1">
11957
+ <parameter name="callback_func"
11958
+ transfer-ownership="none"
11959
+ nullable="1"
11960
+ allow-none="1"
11961
+ closure="1">
11512
11962
  <doc xml:space="preserve">the function to invoke</doc>
11513
11963
  <type name="Callback" c:type="GCallback"/>
11514
11964
  </parameter>
11515
- <parameter name="user_data" transfer-ownership="none">
11965
+ <parameter name="user_data"
11966
+ transfer-ownership="none"
11967
+ nullable="1"
11968
+ allow-none="1"
11969
+ closure="0">
11516
11970
  <doc xml:space="preserve">user data to pass to @callback_func</doc>
11517
11971
  <type name="gpointer" c:type="gpointer"/>
11518
11972
  </parameter>
@@ -12351,7 +12805,10 @@ See g_param_spec_internal() for details on property names.</doc>
12351
12805
  <doc xml:space="preserve">description of the property specified</doc>
12352
12806
  <type name="utf8" c:type="const gchar*"/>
12353
12807
  </parameter>
12354
- <parameter name="default_value" transfer-ownership="none">
12808
+ <parameter name="default_value"
12809
+ transfer-ownership="none"
12810
+ nullable="1"
12811
+ allow-none="1">
12355
12812
  <doc xml:space="preserve">default value for the property specified</doc>
12356
12813
  <type name="utf8" c:type="const gchar*"/>
12357
12814
  </parameter>
@@ -12811,7 +13268,10 @@ any further handlers (ie: the first handler "wins").</doc>
12811
13268
  <doc xml:space="preserve">standard #GSignalAccumulator parameter</doc>
12812
13269
  <type name="Value" c:type="const GValue*"/>
12813
13270
  </parameter>
12814
- <parameter name="dummy" transfer-ownership="none">
13271
+ <parameter name="dummy"
13272
+ transfer-ownership="none"
13273
+ nullable="1"
13274
+ allow-none="1">
12815
13275
  <doc xml:space="preserve">standard #GSignalAccumulator parameter</doc>
12816
13276
  <type name="gpointer" c:type="gpointer"/>
12817
13277
  </parameter>
@@ -12844,7 +13304,10 @@ handling is needed.</doc>
12844
13304
  <doc xml:space="preserve">standard #GSignalAccumulator parameter</doc>
12845
13305
  <type name="Value" c:type="const GValue*"/>
12846
13306
  </parameter>
12847
- <parameter name="dummy" transfer-ownership="none">
13307
+ <parameter name="dummy"
13308
+ transfer-ownership="none"
13309
+ nullable="1"
13310
+ allow-none="1">
12848
13311
  <doc xml:space="preserve">standard #GSignalAccumulator parameter</doc>
12849
13312
  <type name="gpointer" c:type="gpointer"/>
12850
13313
  </parameter>
@@ -12876,7 +13339,10 @@ for signals which don't have #G_SIGNAL_NO_HOOKS flag set.</doc>
12876
13339
  <doc xml:space="preserve">a #GSignalEmissionHook function.</doc>
12877
13340
  <type name="SignalEmissionHook" c:type="GSignalEmissionHook"/>
12878
13341
  </parameter>
12879
- <parameter name="hook_data" transfer-ownership="none">
13342
+ <parameter name="hook_data"
13343
+ transfer-ownership="none"
13344
+ nullable="1"
13345
+ allow-none="1">
12880
13346
  <doc xml:space="preserve">user data for @hook_func.</doc>
12881
13347
  <type name="gpointer" c:type="gpointer"/>
12882
13348
  </parameter>
@@ -12923,8 +13389,9 @@ g_signal_override_class_handler().</doc>
12923
13389
  </return-value>
12924
13390
  <parameters>
12925
13391
  <parameter name="instance" transfer-ownership="none">
12926
- <doc xml:space="preserve">the instance the signal is being emitted on.</doc>
12927
- <type name="gpointer" c:type="gpointer"/>
13392
+ <doc xml:space="preserve">the instance the signal is being
13393
+ emitted on.</doc>
13394
+ <type name="TypeInstance" c:type="gpointer"/>
12928
13395
  </parameter>
12929
13396
  <parameter name="..." transfer-ownership="none">
12930
13397
  <doc xml:space="preserve">parameters to be passed to the parent class closure, followed by a
@@ -13017,7 +13484,10 @@ used. Specify @connect_flags if you need `..._after()` or
13017
13484
  <doc xml:space="preserve">the #GCallback to connect.</doc>
13018
13485
  <type name="Callback" c:type="GCallback"/>
13019
13486
  </parameter>
13020
- <parameter name="data" transfer-ownership="none">
13487
+ <parameter name="data"
13488
+ transfer-ownership="none"
13489
+ nullable="1"
13490
+ allow-none="1">
13021
13491
  <doc xml:space="preserve">data to pass to @c_handler calls.</doc>
13022
13492
  <type name="gpointer" c:type="gpointer"/>
13023
13493
  </parameter>
@@ -13049,7 +13519,7 @@ is not safe).</doc>
13049
13519
  <parameters>
13050
13520
  <parameter name="instance" transfer-ownership="none">
13051
13521
  <doc xml:space="preserve">the instance to connect to.</doc>
13052
- <type name="gpointer" c:type="gpointer"/>
13522
+ <type name="TypeInstance" c:type="gpointer"/>
13053
13523
  </parameter>
13054
13524
  <parameter name="detailed_signal" transfer-ownership="none">
13055
13525
  <doc xml:space="preserve">a string of the form "signal-name::detail".</doc>
@@ -13059,9 +13529,13 @@ is not safe).</doc>
13059
13529
  <doc xml:space="preserve">the #GCallback to connect.</doc>
13060
13530
  <type name="Callback" c:type="GCallback"/>
13061
13531
  </parameter>
13062
- <parameter name="gobject" transfer-ownership="none">
13063
- <doc xml:space="preserve">the object to pass as data to @c_handler.</doc>
13064
- <type name="gpointer" c:type="gpointer"/>
13532
+ <parameter name="gobject"
13533
+ transfer-ownership="none"
13534
+ nullable="1"
13535
+ allow-none="1">
13536
+ <doc xml:space="preserve">the object to pass as data
13537
+ to @c_handler.</doc>
13538
+ <type name="Object" c:type="gpointer"/>
13065
13539
  </parameter>
13066
13540
  <parameter name="connect_flags" transfer-ownership="none">
13067
13541
  <doc xml:space="preserve">a combination of #GConnectFlags.</doc>
@@ -13139,8 +13613,9 @@ if no handlers are connected, in contrast to g_signal_emitv().</doc>
13139
13613
  </return-value>
13140
13614
  <parameters>
13141
13615
  <parameter name="instance" transfer-ownership="none">
13142
- <doc xml:space="preserve">the instance the signal is being emitted on.</doc>
13143
- <type name="gpointer" c:type="gpointer"/>
13616
+ <doc xml:space="preserve">the instance the signal is being
13617
+ emitted on.</doc>
13618
+ <type name="TypeInstance" c:type="gpointer"/>
13144
13619
  </parameter>
13145
13620
  <parameter name="signal_id" transfer-ownership="none">
13146
13621
  <doc xml:space="preserve">the signal id</doc>
@@ -13183,8 +13658,13 @@ connected, in contrast to g_signal_emit() and g_signal_emit_valist().</doc>
13183
13658
  <doc xml:space="preserve">the detail</doc>
13184
13659
  <type name="GLib.Quark" c:type="GQuark"/>
13185
13660
  </parameter>
13186
- <parameter name="return_value" transfer-ownership="none">
13187
- <doc xml:space="preserve">Location to store the return value of the signal emission.</doc>
13661
+ <parameter name="return_value"
13662
+ direction="inout"
13663
+ caller-allocates="0"
13664
+ transfer-ownership="full">
13665
+ <doc xml:space="preserve">Location to
13666
+ store the return value of the signal emission. This must be provided if the
13667
+ specified signal returns a value, but may be ignored otherwise.</doc>
13188
13668
  <type name="Value" c:type="GValue*"/>
13189
13669
  </parameter>
13190
13670
  </parameters>
@@ -13284,11 +13764,17 @@ If no handler was found, 0 is returned.</doc>
13284
13764
  <doc xml:space="preserve">The closure the handler will invoke.</doc>
13285
13765
  <type name="Closure" c:type="GClosure*"/>
13286
13766
  </parameter>
13287
- <parameter name="func" transfer-ownership="none">
13767
+ <parameter name="func"
13768
+ transfer-ownership="none"
13769
+ nullable="1"
13770
+ allow-none="1">
13288
13771
  <doc xml:space="preserve">The C closure callback of the handler (useless for non-C closures).</doc>
13289
13772
  <type name="gpointer" c:type="gpointer"/>
13290
13773
  </parameter>
13291
- <parameter name="data" transfer-ownership="none">
13774
+ <parameter name="data"
13775
+ transfer-ownership="none"
13776
+ nullable="1"
13777
+ allow-none="1">
13292
13778
  <doc xml:space="preserve">The closure data of the handler's closure.</doc>
13293
13779
  <type name="gpointer" c:type="gpointer"/>
13294
13780
  </parameter>
@@ -13379,11 +13865,17 @@ otherwise.</doc>
13379
13865
  <doc xml:space="preserve">The closure the handlers will invoke.</doc>
13380
13866
  <type name="Closure" c:type="GClosure*"/>
13381
13867
  </parameter>
13382
- <parameter name="func" transfer-ownership="none">
13868
+ <parameter name="func"
13869
+ transfer-ownership="none"
13870
+ nullable="1"
13871
+ allow-none="1">
13383
13872
  <doc xml:space="preserve">The C closure callback of the handlers (useless for non-C closures).</doc>
13384
13873
  <type name="gpointer" c:type="gpointer"/>
13385
13874
  </parameter>
13386
- <parameter name="data" transfer-ownership="none">
13875
+ <parameter name="data"
13876
+ transfer-ownership="none"
13877
+ nullable="1"
13878
+ allow-none="1">
13387
13879
  <doc xml:space="preserve">The closure data of the handlers' closures.</doc>
13388
13880
  <type name="gpointer" c:type="gpointer"/>
13389
13881
  </parameter>
@@ -13443,11 +13935,17 @@ disconnected handlers otherwise.</doc>
13443
13935
  <doc xml:space="preserve">The closure the handlers will invoke.</doc>
13444
13936
  <type name="Closure" c:type="GClosure*"/>
13445
13937
  </parameter>
13446
- <parameter name="func" transfer-ownership="none">
13938
+ <parameter name="func"
13939
+ transfer-ownership="none"
13940
+ nullable="1"
13941
+ allow-none="1">
13447
13942
  <doc xml:space="preserve">The C closure callback of the handlers (useless for non-C closures).</doc>
13448
13943
  <type name="gpointer" c:type="gpointer"/>
13449
13944
  </parameter>
13450
- <parameter name="data" transfer-ownership="none">
13945
+ <parameter name="data"
13946
+ transfer-ownership="none"
13947
+ nullable="1"
13948
+ allow-none="1">
13451
13949
  <doc xml:space="preserve">The closure data of the handlers' closures.</doc>
13452
13950
  <type name="gpointer" c:type="gpointer"/>
13453
13951
  </parameter>
@@ -13492,11 +13990,17 @@ not currently blocked.</doc>
13492
13990
  <doc xml:space="preserve">The closure the handlers will invoke.</doc>
13493
13991
  <type name="Closure" c:type="GClosure*"/>
13494
13992
  </parameter>
13495
- <parameter name="func" transfer-ownership="none">
13993
+ <parameter name="func"
13994
+ transfer-ownership="none"
13995
+ nullable="1"
13996
+ allow-none="1">
13496
13997
  <doc xml:space="preserve">The C closure callback of the handlers (useless for non-C closures).</doc>
13497
13998
  <type name="gpointer" c:type="gpointer"/>
13498
13999
  </parameter>
13499
- <parameter name="data" transfer-ownership="none">
14000
+ <parameter name="data"
14001
+ transfer-ownership="none"
14002
+ nullable="1"
14003
+ allow-none="1">
13500
14004
  <doc xml:space="preserve">The closure data of the handlers' closures.</doc>
13501
14005
  <type name="gpointer" c:type="gpointer"/>
13502
14006
  </parameter>
@@ -13513,6 +14017,9 @@ connected both without detail and with the given detail. This is
13513
14017
  consistent with how a signal emitted with @detail would be delivered
13514
14018
  to those handlers.
13515
14019
 
14020
+ Since 2.46 this also checks for a non-default class closure being
14021
+ installed, as this is basically always what you want.
14022
+
13516
14023
  One example of when you might use this is when the arguments to the
13517
14024
  signal are difficult to compute. A class implementor may opt to not
13518
14025
  emit the signal if no one is attached anyway, thus saving the cost
@@ -13545,7 +14052,7 @@ of building the arguments.</doc>
13545
14052
  <doc xml:space="preserve">Lists the signals by id that a certain instance or interface type
13546
14053
  created. Further information about the signals can be acquired through
13547
14054
  g_signal_query().</doc>
13548
- <return-value transfer-ownership="none">
14055
+ <return-value transfer-ownership="full">
13549
14056
  <doc xml:space="preserve">Newly allocated array of signal IDs.</doc>
13550
14057
  <array length="1" zero-terminated="0" c:type="guint*">
13551
14058
  <type name="guint" c:type="guint"/>
@@ -13650,7 +14157,10 @@ the marshaller for this signal.</doc>
13650
14157
  <doc xml:space="preserve">the accumulator for this signal; may be %NULL.</doc>
13651
14158
  <type name="SignalAccumulator" c:type="GSignalAccumulator"/>
13652
14159
  </parameter>
13653
- <parameter name="accu_data" transfer-ownership="none">
14160
+ <parameter name="accu_data"
14161
+ transfer-ownership="none"
14162
+ nullable="1"
14163
+ allow-none="1">
13654
14164
  <doc xml:space="preserve">user data for the @accumulator.</doc>
13655
14165
  <type name="gpointer" c:type="gpointer"/>
13656
14166
  </parameter>
@@ -13727,7 +14237,10 @@ the marshaller for this signal.</doc>
13727
14237
  <doc xml:space="preserve">the accumulator for this signal; may be %NULL.</doc>
13728
14238
  <type name="SignalAccumulator" c:type="GSignalAccumulator"/>
13729
14239
  </parameter>
13730
- <parameter name="accu_data" transfer-ownership="none">
14240
+ <parameter name="accu_data"
14241
+ transfer-ownership="none"
14242
+ nullable="1"
14243
+ allow-none="1">
13731
14244
  <doc xml:space="preserve">user data for the @accumulator.</doc>
13732
14245
  <type name="gpointer" c:type="gpointer"/>
13733
14246
  </parameter>
@@ -13791,7 +14304,10 @@ the marshaller for this signal.</doc>
13791
14304
  <doc xml:space="preserve">the accumulator for this signal; may be %NULL.</doc>
13792
14305
  <type name="SignalAccumulator" c:type="GSignalAccumulator"/>
13793
14306
  </parameter>
13794
- <parameter name="accu_data" transfer-ownership="none">
14307
+ <parameter name="accu_data"
14308
+ transfer-ownership="none"
14309
+ nullable="1"
14310
+ allow-none="1">
13795
14311
  <doc xml:space="preserve">user data for the @accumulator.</doc>
13796
14312
  <type name="gpointer" c:type="gpointer"/>
13797
14313
  </parameter>
@@ -13863,7 +14379,10 @@ the marshaller for this signal.</doc>
13863
14379
  <doc xml:space="preserve">the accumulator for this signal; may be %NULL</doc>
13864
14380
  <type name="SignalAccumulator" c:type="GSignalAccumulator"/>
13865
14381
  </parameter>
13866
- <parameter name="accu_data" transfer-ownership="none">
14382
+ <parameter name="accu_data"
14383
+ transfer-ownership="none"
14384
+ nullable="1"
14385
+ allow-none="1">
13867
14386
  <doc xml:space="preserve">user data for the @accumulator</doc>
13868
14387
  <type name="gpointer" c:type="gpointer"/>
13869
14388
  </parameter>
@@ -14198,7 +14717,10 @@ chain.</doc>
14198
14717
  <type name="none" c:type="void"/>
14199
14718
  </return-value>
14200
14719
  <parameters>
14201
- <parameter name="cache_data" transfer-ownership="none">
14720
+ <parameter name="cache_data"
14721
+ transfer-ownership="none"
14722
+ nullable="1"
14723
+ allow-none="1">
14202
14724
  <doc xml:space="preserve">data to be passed to @cache_func</doc>
14203
14725
  <type name="gpointer" c:type="gpointer"/>
14204
14726
  </parameter>
@@ -14266,7 +14788,10 @@ interfaces.</doc>
14266
14788
  <type name="none" c:type="void"/>
14267
14789
  </return-value>
14268
14790
  <parameters>
14269
- <parameter name="check_data" transfer-ownership="none">
14791
+ <parameter name="check_data"
14792
+ transfer-ownership="none"
14793
+ nullable="1"
14794
+ allow-none="1">
14270
14795
  <doc xml:space="preserve">data to pass to @check_func</doc>
14271
14796
  <type name="gpointer" c:type="gpointer"/>
14272
14797
  </parameter>
@@ -14473,86 +14998,6 @@ the child types of @type.</doc>
14473
14998
  </parameter>
14474
14999
  </parameters>
14475
15000
  </function>
14476
- <function name="type_class_add_private"
14477
- c:identifier="g_type_class_add_private"
14478
- moved-to="TypeClass.add_private"
14479
- version="2.4">
14480
- <doc xml:space="preserve">Registers a private structure for an instantiatable type.
14481
-
14482
- When an object is allocated, the private structures for
14483
- the type and all of its parent types are allocated
14484
- sequentially in the same memory block as the public
14485
- structures, and are zero-filled.
14486
-
14487
- Note that the accumulated size of the private structures of
14488
- a type and all its parent types cannot exceed 64 KiB.
14489
-
14490
- This function should be called in the type's class_init() function.
14491
- The private structure can be retrieved using the
14492
- G_TYPE_INSTANCE_GET_PRIVATE() macro.
14493
-
14494
- The following example shows attaching a private structure
14495
- MyObjectPrivate to an object MyObject defined in the standard
14496
- GObject fashion in the type's class_init() function.
14497
-
14498
- Note the use of a structure member "priv" to avoid the overhead
14499
- of repeatedly calling MY_OBJECT_GET_PRIVATE().
14500
-
14501
- |[&lt;!-- language="C" --&gt;
14502
- typedef struct _MyObject MyObject;
14503
- typedef struct _MyObjectPrivate MyObjectPrivate;
14504
-
14505
- struct _MyObject {
14506
- GObject parent;
14507
-
14508
- MyObjectPrivate *priv;
14509
- };
14510
-
14511
- struct _MyObjectPrivate {
14512
- int some_field;
14513
- };
14514
-
14515
- static void
14516
- my_object_class_init (MyObjectClass *klass)
14517
- {
14518
- g_type_class_add_private (klass, sizeof (MyObjectPrivate));
14519
- }
14520
-
14521
- static void
14522
- my_object_init (MyObject *my_object)
14523
- {
14524
- my_object-&gt;priv = G_TYPE_INSTANCE_GET_PRIVATE (my_object,
14525
- MY_TYPE_OBJECT,
14526
- MyObjectPrivate);
14527
- // my_object-&gt;priv-&gt;some_field will be automatically initialised to 0
14528
- }
14529
-
14530
- static int
14531
- my_object_get_some_field (MyObject *my_object)
14532
- {
14533
- MyObjectPrivate *priv;
14534
-
14535
- g_return_val_if_fail (MY_IS_OBJECT (my_object), 0);
14536
-
14537
- priv = my_object-&gt;priv;
14538
-
14539
- return priv-&gt;some_field;
14540
- }
14541
- ]|</doc>
14542
- <return-value transfer-ownership="none">
14543
- <type name="none" c:type="void"/>
14544
- </return-value>
14545
- <parameters>
14546
- <parameter name="g_class" transfer-ownership="none">
14547
- <doc xml:space="preserve">class structure for an instantiatable type</doc>
14548
- <type name="gpointer" c:type="gpointer"/>
14549
- </parameter>
14550
- <parameter name="private_size" transfer-ownership="none">
14551
- <doc xml:space="preserve">size of private structure</doc>
14552
- <type name="gsize" c:type="gsize"/>
14553
- </parameter>
14554
- </parameters>
14555
- </function>
14556
15001
  <function name="type_class_adjust_private_offset"
14557
15002
  c:identifier="g_type_class_adjust_private_offset"
14558
15003
  moved-to="TypeClass.adjust_private_offset">
@@ -14560,7 +15005,10 @@ my_object_get_some_field (MyObject *my_object)
14560
15005
  <type name="none" c:type="void"/>
14561
15006
  </return-value>
14562
15007
  <parameters>
14563
- <parameter name="g_class" transfer-ownership="none">
15008
+ <parameter name="g_class"
15009
+ transfer-ownership="none"
15010
+ nullable="1"
15011
+ allow-none="1">
14564
15012
  <type name="gpointer" c:type="gpointer"/>
14565
15013
  </parameter>
14566
15014
  <parameter name="private_size_or_offset" transfer-ownership="none">
@@ -14568,30 +15016,6 @@ my_object_get_some_field (MyObject *my_object)
14568
15016
  </parameter>
14569
15017
  </parameters>
14570
15018
  </function>
14571
- <function name="type_class_get_instance_private_offset"
14572
- c:identifier="g_type_class_get_instance_private_offset"
14573
- moved-to="TypeClass.get_instance_private_offset"
14574
- version="2.38"
14575
- introspectable="0">
14576
- <doc xml:space="preserve">Gets the offset of the private data for instances of @g_class.
14577
-
14578
- This is how many bytes you should add to the instance pointer of a
14579
- class in order to get the private data for the type represented by
14580
- @g_class.
14581
-
14582
- You can only call this function after you have registered a private
14583
- data area for @g_class using g_type_class_add_private().</doc>
14584
- <return-value transfer-ownership="none">
14585
- <doc xml:space="preserve">the offset, in bytes</doc>
14586
- <type name="gint" c:type="gint"/>
14587
- </return-value>
14588
- <parameters>
14589
- <parameter name="g_class" transfer-ownership="none">
14590
- <doc xml:space="preserve">a #GTypeClass</doc>
14591
- <type name="gpointer" c:type="gpointer"/>
14592
- </parameter>
14593
- </parameters>
14594
- </function>
14595
15019
  <function name="type_class_peek"
14596
15020
  c:identifier="g_type_class_peek"
14597
15021
  moved-to="TypeClass.peek">
@@ -14879,7 +15303,7 @@ with g_type_set_qdata().
14879
15303
  Note that this does not take subtyping into account; data
14880
15304
  attached to one type with g_type_set_qdata() cannot
14881
15305
  be retrieved from a subtype using g_type_get_qdata().</doc>
14882
- <return-value transfer-ownership="none">
15306
+ <return-value transfer-ownership="none" nullable="1">
14883
15307
  <doc xml:space="preserve">the data, or %NULL if no data was found</doc>
14884
15308
  <type name="gpointer" c:type="gpointer"/>
14885
15309
  </return-value>
@@ -15349,7 +15773,10 @@ g_type_remove_class_cache_func() to avoid leaks.</doc>
15349
15773
  <type name="none" c:type="void"/>
15350
15774
  </return-value>
15351
15775
  <parameters>
15352
- <parameter name="cache_data" transfer-ownership="none">
15776
+ <parameter name="cache_data"
15777
+ transfer-ownership="none"
15778
+ nullable="1"
15779
+ allow-none="1">
15353
15780
  <doc xml:space="preserve">data that was given when adding @cache_func</doc>
15354
15781
  <type name="gpointer" c:type="gpointer"/>
15355
15782
  </parameter>
@@ -15369,7 +15796,10 @@ g_type_add_interface_check().</doc>
15369
15796
  <type name="none" c:type="void"/>
15370
15797
  </return-value>
15371
15798
  <parameters>
15372
- <parameter name="check_data" transfer-ownership="none">
15799
+ <parameter name="check_data"
15800
+ transfer-ownership="none"
15801
+ nullable="1"
15802
+ allow-none="1">
15373
15803
  <doc xml:space="preserve">callback data passed to g_type_add_interface_check()</doc>
15374
15804
  <type name="gpointer" c:type="gpointer"/>
15375
15805
  </parameter>
@@ -15394,7 +15824,10 @@ g_type_add_interface_check().</doc>
15394
15824
  <doc xml:space="preserve">a #GQuark id to identify the data</doc>
15395
15825
  <type name="GLib.Quark" c:type="GQuark"/>
15396
15826
  </parameter>
15397
- <parameter name="data" transfer-ownership="none">
15827
+ <parameter name="data"
15828
+ transfer-ownership="none"
15829
+ nullable="1"
15830
+ allow-none="1">
15398
15831
  <doc xml:space="preserve">the data</doc>
15399
15832
  <type name="gpointer" c:type="gpointer"/>
15400
15833
  </parameter>