glib2 1.1.9-x86-mingw32 → 1.2.0-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (517) hide show
  1. data/Rakefile +26 -4
  2. data/ext/glib2/glib2.def +3 -1
  3. data/ext/glib2/rbgcompat.h +0 -15
  4. data/ext/glib2/rbglib.h +11 -3
  5. data/ext/glib2/rbglib_source.c +6 -1
  6. data/ext/glib2/rbgobj_boxed.c +65 -48
  7. data/ext/glib2/rbgobj_convert.c +29 -14
  8. data/ext/glib2/rbgobj_value.c +42 -0
  9. data/ext/glib2/rbgobject.c +7 -4
  10. data/ext/glib2/rbgobject.h +15 -9
  11. data/lib/1.8/glib2.so +0 -0
  12. data/lib/1.9/glib2.so +0 -0
  13. data/lib/gnome2-raketask.rb +6 -1
  14. data/lib/gnome2-win32-binary-build-task.rb +40 -10
  15. data/vendor/local/bin/certtool.exe +0 -0
  16. data/vendor/local/bin/danetool.exe +0 -0
  17. data/vendor/local/bin/gdbus-codegen +1 -1
  18. data/vendor/local/bin/gdbus.exe +0 -0
  19. data/vendor/local/bin/gio-querymodules.exe +0 -0
  20. data/vendor/local/bin/glib-compile-resources.exe +0 -0
  21. data/vendor/local/bin/glib-compile-schemas.exe +0 -0
  22. data/vendor/local/bin/glib-genmarshal.exe +0 -0
  23. data/vendor/local/bin/glib-gettextize +1 -1
  24. data/vendor/local/bin/glib-mkenums +1 -1
  25. data/vendor/local/bin/gnutls-cli-debug.exe +0 -0
  26. data/vendor/local/bin/gnutls-cli.exe +0 -0
  27. data/vendor/local/bin/gnutls-serv.exe +0 -0
  28. data/vendor/local/bin/gobject-query.exe +0 -0
  29. data/vendor/local/bin/gresource.exe +0 -0
  30. data/vendor/local/bin/gsettings.exe +0 -0
  31. data/vendor/local/bin/gspawn-win32-helper-console.exe +0 -0
  32. data/vendor/local/bin/gspawn-win32-helper.exe +0 -0
  33. data/vendor/local/bin/libgio-2.0-0.dll +0 -0
  34. data/vendor/local/bin/libglib-2.0-0.dll +0 -0
  35. data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
  36. data/vendor/local/bin/libgmp-10.dll +0 -0
  37. data/vendor/local/bin/libgnutls-28.dll +0 -0
  38. data/vendor/local/bin/libgnutls-openssl-27.dll +0 -0
  39. data/vendor/local/bin/libgnutls-openssl-28.def +87 -93
  40. data/vendor/local/bin/libgnutlsxx-28.dll +0 -0
  41. data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
  42. data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
  43. data/vendor/local/bin/libhogweed-2-2.dll +0 -0
  44. data/vendor/local/bin/libnettle-4-4.dll +0 -0
  45. data/vendor/local/bin/nettle-hash.exe +0 -0
  46. data/vendor/local/bin/nettle-lfib-stream.exe +0 -0
  47. data/vendor/local/bin/ocsptool.exe +0 -0
  48. data/vendor/local/bin/pkcs1-conv.exe +0 -0
  49. data/vendor/local/bin/psktool.exe +0 -0
  50. data/vendor/local/bin/sexp-conv.exe +0 -0
  51. data/vendor/local/bin/srptool.exe +0 -0
  52. data/vendor/local/{lib/libffi-3.0.6/include → include}/ffi.h +0 -0
  53. data/vendor/local/{lib/libffi-3.0.6/include → include}/ffitarget.h +0 -0
  54. data/vendor/local/include/glib-2.0/gio/gactionmap.h +0 -4
  55. data/vendor/local/include/glib-2.0/gio/gappinfo.h +1 -3
  56. data/vendor/local/include/glib-2.0/gio/gapplication.h +0 -1
  57. data/vendor/local/include/glib-2.0/gio/gapplicationcommandline.h +0 -4
  58. data/vendor/local/include/glib-2.0/gio/gcontenttype.h +0 -1
  59. data/vendor/local/include/glib-2.0/gio/gdbusnamewatching.h +1 -6
  60. data/vendor/local/include/glib-2.0/gio/gfile.h +0 -3
  61. data/vendor/local/include/glib-2.0/gio/gfileenumerator.h +0 -3
  62. data/vendor/local/include/glib-2.0/gio/gfileinfo.h +0 -2
  63. data/vendor/local/include/glib-2.0/gio/ginetaddressmask.h +0 -6
  64. data/vendor/local/include/glib-2.0/gio/gio.h +0 -1
  65. data/vendor/local/include/glib-2.0/gio/gioenums.h +1 -3
  66. data/vendor/local/include/glib-2.0/gio/giomodule.h +0 -5
  67. data/vendor/local/include/glib-2.0/gio/gioscheduler.h +0 -4
  68. data/vendor/local/include/glib-2.0/gio/giotypes.h +0 -1
  69. data/vendor/local/include/glib-2.0/gio/gmemoryoutputstream.h +0 -2
  70. data/vendor/local/include/glib-2.0/gio/gmenu.h +0 -27
  71. data/vendor/local/include/glib-2.0/gio/gmenumodel.h +0 -19
  72. data/vendor/local/include/glib-2.0/gio/gresource.h +0 -2
  73. data/vendor/local/include/glib-2.0/gio/gsettingsschema.h +0 -4
  74. data/vendor/local/include/glib-2.0/gio/gsimpleaction.h +0 -1
  75. data/vendor/local/include/glib-2.0/gio/gsimpleactiongroup.h +0 -1
  76. data/vendor/local/include/glib-2.0/gio/gsocket.h +0 -13
  77. data/vendor/local/include/glib-2.0/glib/deprecated/gthread.h +0 -1
  78. data/vendor/local/include/glib-2.0/glib/gchecksum.h +1 -3
  79. data/vendor/local/include/glib-2.0/glib/gconvert.h +9 -24
  80. data/vendor/local/include/glib-2.0/glib/gdir.h +8 -10
  81. data/vendor/local/include/glib-2.0/glib/genviron.h +8 -12
  82. data/vendor/local/include/glib-2.0/glib/gfileutils.h +15 -20
  83. data/vendor/local/include/glib-2.0/glib/giochannel.h +4 -14
  84. data/vendor/local/include/glib-2.0/glib/gslice.h +0 -4
  85. data/vendor/local/include/glib-2.0/glib/gspawn.h +10 -46
  86. data/vendor/local/include/glib-2.0/glib/gtestutils.h +0 -1
  87. data/vendor/local/include/glib-2.0/glib/gunicode.h +5 -5
  88. data/vendor/local/include/glib-2.0/glib/gutils.h +14 -14
  89. data/vendor/local/include/glib-2.0/glib/gvariant.h +0 -8
  90. data/vendor/local/include/glib-2.0/glib/gversionmacros.h +0 -24
  91. data/vendor/local/include/glib-2.0/glib/gwin32.h +7 -14
  92. data/vendor/local/include/glib-2.0/gmodule.h +7 -11
  93. data/vendor/local/include/glib-2.0/gobject/glib-types.h +0 -33
  94. data/vendor/local/include/glib-2.0/gobject/gobject.h +7 -7
  95. data/vendor/local/include/glib-2.0/gobject/gtype.h +7 -13
  96. data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/__init__.py +0 -0
  97. data/vendor/local/lib/gdbus-2.0/codegen/__init__.pyc +0 -0
  98. data/vendor/local/lib/gdbus-2.0/codegen/__init__.pyo +0 -0
  99. data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen.py +0 -0
  100. data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen.pyc +0 -0
  101. data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen.pyo +0 -0
  102. data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen_docbook.py +0 -0
  103. data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen_docbook.pyc +0 -0
  104. data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen_docbook.pyo +0 -0
  105. data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen_main.py +0 -2
  106. data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen_main.pyc +0 -0
  107. data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen_main.pyo +0 -0
  108. data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/config.py +1 -1
  109. data/vendor/local/lib/gdbus-2.0/codegen/config.pyc +0 -0
  110. data/vendor/local/lib/gdbus-2.0/codegen/config.pyo +0 -0
  111. data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/dbustypes.py +0 -0
  112. data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/dbustypes.pyc +0 -0
  113. data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/dbustypes.pyo +0 -0
  114. data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/parser.py +0 -0
  115. data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/parser.pyc +0 -0
  116. data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/parser.pyo +0 -0
  117. data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/utils.py +0 -0
  118. data/vendor/local/lib/gdbus-2.0/codegen/utils.pyc +0 -0
  119. data/vendor/local/lib/gdbus-2.0/codegen/utils.pyo +0 -0
  120. data/vendor/local/lib/gio-2.0.def +2 -41
  121. data/vendor/local/lib/gio/modules/libgiognutls.a +0 -0
  122. data/vendor/local/lib/gio/modules/libgiognutls.dll +0 -0
  123. data/vendor/local/lib/gio/modules/libgiognutls.dll.a +0 -0
  124. data/vendor/local/lib/gio/modules/libgiognutls.la +1 -1
  125. data/vendor/local/lib/glib-2.0.def +0 -2
  126. data/vendor/local/lib/glib-2.0/include/glibconfig.h +1 -1
  127. data/vendor/local/lib/gobject-2.0.def +0 -4
  128. data/vendor/local/lib/libgio-2.0.dll.a +0 -0
  129. data/vendor/local/lib/libgio-2.0.la +4 -4
  130. data/vendor/local/lib/libglib-2.0.dll.a +0 -0
  131. data/vendor/local/lib/libglib-2.0.la +3 -3
  132. data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
  133. data/vendor/local/lib/libgmodule-2.0.la +3 -3
  134. data/vendor/local/lib/libgmp.dll.a +0 -0
  135. data/vendor/local/lib/libgnutls-openssl.a +0 -0
  136. data/vendor/local/lib/libgnutls-openssl.dll.a +0 -0
  137. data/vendor/local/lib/libgnutls.a +0 -0
  138. data/vendor/local/lib/libgnutls.dll.a +0 -0
  139. data/vendor/local/lib/libgnutlsxx.a +0 -0
  140. data/vendor/local/lib/libgnutlsxx.dll.a +0 -0
  141. data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
  142. data/vendor/local/lib/libgobject-2.0.la +4 -4
  143. data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
  144. data/vendor/local/lib/libgthread-2.0.la +3 -3
  145. data/vendor/local/lib/libhogweed.a +0 -0
  146. data/vendor/local/lib/libhogweed.dll.a +0 -0
  147. data/vendor/local/lib/libnettle.a +0 -0
  148. data/vendor/local/lib/libnettle.dll.a +0 -0
  149. data/vendor/local/lib/pkgconfig/gio-2.0.pc +1 -1
  150. data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +1 -1
  151. data/vendor/local/lib/pkgconfig/glib-2.0.pc +1 -1
  152. data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +1 -1
  153. data/vendor/local/lib/pkgconfig/gmodule-export-2.0.pc +1 -1
  154. data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +1 -1
  155. data/vendor/local/lib/pkgconfig/gobject-2.0.pc +1 -1
  156. data/vendor/local/lib/pkgconfig/gthread-2.0.pc +1 -1
  157. data/vendor/local/share/gdb/auto-load/{libglib-2.0.so.0.3503.0-gdb.py → libglib-2.0.so.0.3400.3-gdb.py} +0 -0
  158. data/vendor/local/share/gdb/auto-load/{libgobject-2.0.so.0.3503.0-gdb.py → libgobject-2.0.so.0.3400.3-gdb.py} +0 -0
  159. data/vendor/local/share/glib-2.0/gdb/glib.py +4 -0
  160. data/vendor/local/share/glib-2.0/gettext/mkinstalldirs +2 -2
  161. data/vendor/local/share/glib-2.0/gettext/po/Makefile.in.in +17 -5
  162. data/vendor/local/share/gtk-doc/html/gio/GActionMap.html +1 -1
  163. data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +1 -27
  164. data/vendor/local/share/gtk-doc/html/gio/GApplication.html +15 -8
  165. data/vendor/local/share/gtk-doc/html/gio/GApplicationCommandLine.html +6 -47
  166. data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +37 -21
  167. data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +4 -16
  168. data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +1 -1
  169. data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +1 -1
  170. data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +32 -16
  171. data/vendor/local/share/gtk-doc/html/gio/GDBusInterfaceSkeleton.html +1 -1
  172. data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +1 -1
  173. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerClient.html +2 -4
  174. data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +10 -6
  175. data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +7 -3
  176. data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +3 -3
  177. data/vendor/local/share/gtk-doc/html/gio/GFile.html +17 -65
  178. data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +2 -59
  179. data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +1 -29
  180. data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +1 -1
  181. data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +4 -4
  182. data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +0 -13
  183. data/vendor/local/share/gtk-doc/html/gio/GMount.html +1 -1
  184. data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +2 -2
  185. data/vendor/local/share/gtk-doc/html/gio/GSettings.html +5 -5
  186. data/vendor/local/share/gtk-doc/html/gio/GSimpleAction.html +1 -1
  187. data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +4 -12
  188. data/vendor/local/share/gtk-doc/html/gio/GSocket.html +1 -137
  189. data/vendor/local/share/gtk-doc/html/gio/GTestDBus.html +2 -3
  190. data/vendor/local/share/gtk-doc/html/gio/GTlsConnection.html +1 -1
  191. data/vendor/local/share/gtk-doc/html/gio/GVolume.html +1 -1
  192. data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +0 -4
  193. data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +0 -19
  194. data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +0 -180
  195. data/vendor/local/share/gtk-doc/html/gio/async.html +0 -3
  196. data/vendor/local/share/gtk-doc/html/gio/ch01.html +1 -1
  197. data/vendor/local/share/gtk-doc/html/gio/ch02.html +3 -3
  198. data/vendor/local/share/gtk-doc/html/gio/ch03.html +1 -1
  199. data/vendor/local/share/gtk-doc/html/gio/ch29.html +1 -1
  200. data/vendor/local/share/gtk-doc/html/gio/ch30.html +4 -4
  201. data/vendor/local/share/gtk-doc/html/gio/ch30s02.html +2 -2
  202. data/vendor/local/share/gtk-doc/html/gio/ch30s03.html +3 -3
  203. data/vendor/local/share/gtk-doc/html/gio/ch31.html +3 -3
  204. data/vendor/local/share/gtk-doc/html/gio/ch31s02.html +1 -1
  205. data/vendor/local/share/gtk-doc/html/gio/ch31s03.html +1 -1
  206. data/vendor/local/share/gtk-doc/html/gio/ch31s04.html +1 -1
  207. data/vendor/local/share/gtk-doc/html/gio/ch31s05.html +1 -1
  208. data/vendor/local/share/gtk-doc/html/gio/ch31s06.html +2 -2
  209. data/vendor/local/share/gtk-doc/html/gio/ch31s07.html +1 -1
  210. data/vendor/local/share/gtk-doc/html/gio/ch32.html +3 -3
  211. data/vendor/local/share/gtk-doc/html/gio/ch32s02.html +1 -1
  212. data/vendor/local/share/gtk-doc/html/gio/ch32s03.html +1 -1
  213. data/vendor/local/share/gtk-doc/html/gio/ch32s04.html +1 -1
  214. data/vendor/local/share/gtk-doc/html/gio/ch32s05.html +17 -9
  215. data/vendor/local/share/gtk-doc/html/gio/gdbus-codegen.html +11 -11
  216. data/vendor/local/share/gtk-doc/html/gio/gdbus-org.gtk.GDBus.Example.ObjectManager.Animal.html +2 -2
  217. data/vendor/local/share/gtk-doc/html/gio/gdbus.html +6 -6
  218. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +5 -5
  219. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +1 -1
  220. data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +0 -109
  221. data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +1 -1
  222. data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +2 -2
  223. data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +1 -7
  224. data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +12 -29
  225. data/vendor/local/share/gtk-doc/html/gio/gio-GResource.html +1 -1
  226. data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +7 -3
  227. data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +8 -10
  228. data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +0 -1
  229. data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +1 -1
  230. data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +11 -64
  231. data/vendor/local/share/gtk-doc/html/gio/glib-compile-resources.html +3 -15
  232. data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +2 -2
  233. data/vendor/local/share/gtk-doc/html/gio/gresource-tool.html +2 -2
  234. data/vendor/local/share/gtk-doc/html/gio/gsettings-tool.html +2 -2
  235. data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +2 -2
  236. data/vendor/local/share/gtk-doc/html/gio/index.html +4 -10
  237. data/vendor/local/share/gtk-doc/html/gio/index.sgml +0 -59
  238. data/vendor/local/share/gtk-doc/html/gio/migrating.html +3 -3
  239. data/vendor/local/share/gtk-doc/html/gio/networking.html +0 -3
  240. data/vendor/local/share/gtk-doc/html/gio/pt01.html +1 -1
  241. data/vendor/local/share/gtk-doc/html/gio/pt02.html +1 -7
  242. data/vendor/local/share/gtk-doc/html/glib/api-index-2-34.html +0 -4
  243. data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +1 -21
  244. data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +2 -2
  245. data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +1 -1
  246. data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +4 -13
  247. data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +2 -2
  248. data/vendor/local/share/gtk-doc/html/glib/glib-Deprecated-Thread-APIs.html +11 -7
  249. data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +2 -2
  250. data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +1 -1
  251. data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +10 -86
  252. data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +46 -5
  253. data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +7 -11
  254. data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +3 -3
  255. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +4 -4
  256. data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +3 -3
  257. data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +34 -27
  258. data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +1 -1
  259. data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +2 -2
  260. data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +2 -2
  261. data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +2 -23
  262. data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +14 -14
  263. data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +6 -6
  264. data/vendor/local/share/gtk-doc/html/glib/glib-UNIX-specific-utilities-and-integration.html +7 -13
  265. data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +5 -9
  266. data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +4 -28
  267. data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +2 -2
  268. data/vendor/local/share/gtk-doc/html/glib/glib-building.html +1 -1
  269. data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +2 -2
  270. data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +1 -1
  271. data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +3 -3
  272. data/vendor/local/share/gtk-doc/html/glib/glib-programming.html +3 -3
  273. data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +45 -45
  274. data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +3 -3
  275. data/vendor/local/share/gtk-doc/html/glib/glib-running.html +6 -6
  276. data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +25 -32
  277. data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +3 -3
  278. data/vendor/local/share/gtk-doc/html/glib/gtester.html +3 -3
  279. data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +12 -12
  280. data/vendor/local/share/gtk-doc/html/glib/gvariant-text.html +2 -2
  281. data/vendor/local/share/gtk-doc/html/glib/index.html +1 -1
  282. data/vendor/local/share/gtk-doc/html/glib/index.sgml +0 -7
  283. data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +0 -12
  284. data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +0 -12
  285. data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +4 -4
  286. data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +4 -4
  287. data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +2 -2
  288. data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +8 -8
  289. data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +6 -6
  290. data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +5 -5
  291. data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +0 -22
  292. data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +5 -1
  293. data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +32 -6
  294. data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +6 -6
  295. data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +24 -51
  296. data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +4 -4
  297. data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +3 -3
  298. data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +8 -11
  299. data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +2 -2
  300. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +2 -2
  301. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +3 -3
  302. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +3 -3
  303. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +2 -2
  304. data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +2 -2
  305. data/vendor/local/share/gtk-doc/html/gobject/index.html +7 -7
  306. data/vendor/local/share/gtk-doc/html/gobject/index.sgml +0 -3
  307. data/vendor/local/share/gtk-doc/html/gobject/pr01.html +1 -1
  308. data/vendor/local/share/gtk-doc/html/gobject/pt01.html +4 -4
  309. data/vendor/local/share/gtk-doc/html/gobject/pt02.html +4 -4
  310. data/vendor/local/share/gtk-doc/html/gobject/pt03.html +1 -1
  311. data/vendor/local/share/gtk-doc/html/gobject/rn01.html +1 -1
  312. data/vendor/local/share/gtk-doc/html/gobject/rn02.html +1 -1
  313. data/vendor/local/share/gtk-doc/html/gobject/signal.html +4 -4
  314. data/vendor/local/share/locale/as/LC_MESSAGES/glib20.mo +0 -0
  315. data/vendor/local/share/locale/cs/LC_MESSAGES/glib-networking.mo +0 -0
  316. data/vendor/local/share/locale/da/LC_MESSAGES/glib20.mo +0 -0
  317. data/vendor/local/share/locale/es/LC_MESSAGES/glib-networking.mo +0 -0
  318. data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
  319. data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
  320. data/vendor/local/share/locale/gu/LC_MESSAGES/glib20.mo +0 -0
  321. data/vendor/local/share/locale/he/LC_MESSAGES/glib-networking.mo +0 -0
  322. data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
  323. data/vendor/local/share/locale/kn/LC_MESSAGES/glib20.mo +0 -0
  324. data/vendor/local/share/locale/lt/LC_MESSAGES/glib-networking.mo +0 -0
  325. data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
  326. data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
  327. data/vendor/local/share/locale/or/LC_MESSAGES/glib20.mo +0 -0
  328. data/vendor/local/share/locale/pl/LC_MESSAGES/glib-networking.mo +0 -0
  329. data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
  330. data/vendor/local/share/locale/sk/LC_MESSAGES/glib20.mo +0 -0
  331. data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
  332. data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
  333. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib20.mo +0 -0
  334. data/vendor/local/share/man/man1/gdbus-codegen.1 +1 -1
  335. data/vendor/local/share/man/man1/gdbus.1 +1 -1
  336. data/vendor/local/share/man/man1/gio-querymodules.1 +1 -1
  337. data/vendor/local/share/man/man1/glib-compile-resources.1 +1 -13
  338. data/vendor/local/share/man/man1/glib-compile-schemas.1 +1 -1
  339. data/vendor/local/share/man/man1/glib-genmarshal.1 +1 -1
  340. data/vendor/local/share/man/man1/glib-gettextize.1 +1 -1
  341. data/vendor/local/share/man/man1/glib-mkenums.1 +1 -1
  342. data/vendor/local/share/man/man1/gobject-query.1 +1 -1
  343. data/vendor/local/share/man/man1/gresource.1 +1 -1
  344. data/vendor/local/share/man/man1/gsettings.1 +1 -1
  345. data/vendor/local/share/man/man1/gtester-report.1 +1 -1
  346. data/vendor/local/share/man/man1/gtester.1 +1 -1
  347. metadata +33 -197
  348. data/ext/glib2/rbgobj_fundamental.c +0 -43
  349. data/vendor/local/bin/asn1Coding.exe +0 -0
  350. data/vendor/local/bin/asn1Decoding.exe +0 -0
  351. data/vendor/local/bin/asn1Parser.exe +0 -0
  352. data/vendor/local/bin/dumpsexp.exe +0 -0
  353. data/vendor/local/bin/gpg-error.exe +0 -0
  354. data/vendor/local/bin/hmac256.exe +0 -0
  355. data/vendor/local/bin/libgcrypt-11.dll +0 -0
  356. data/vendor/local/bin/libgcrypt-config +0 -177
  357. data/vendor/local/bin/libgnutls-26.dll +0 -0
  358. data/vendor/local/bin/libgnutls-extra-26.dll +0 -0
  359. data/vendor/local/bin/libgnutls-openssl-26.dll +0 -0
  360. data/vendor/local/bin/libgpg-error-0.dll +0 -0
  361. data/vendor/local/bin/libtasn1-3.dll +0 -0
  362. data/vendor/local/etc/bash_completion.d/gdbus-bash-completion.sh +0 -33
  363. data/vendor/local/etc/bash_completion.d/gsettings-bash-completion.sh +0 -67
  364. data/vendor/local/gnutls.README.txt +0 -6
  365. data/vendor/local/include/gcrypt-module.h +0 -226
  366. data/vendor/local/include/gcrypt.h +0 -1826
  367. data/vendor/local/include/glib-2.0/gio/gnetworking.h +0 -83
  368. data/vendor/local/include/glib-2.0/gio/gtask.h +0 -160
  369. data/vendor/local/include/glib-2.0/glib/gcache.h +0 -69
  370. data/vendor/local/include/glib-2.0/glib/gcompletion.h +0 -81
  371. data/vendor/local/include/glib-2.0/glib/grel.h +0 -101
  372. data/vendor/local/include/gnutls/extra.h +0 -137
  373. data/vendor/local/include/gpg-error.h +0 -651
  374. data/vendor/local/include/libtasn1.h +0 -246
  375. data/vendor/local/lib/gio-2.0.lib +0 -0
  376. data/vendor/local/lib/glib-2.0.lib +0 -0
  377. data/vendor/local/lib/gmodule-2.0.lib +0 -0
  378. data/vendor/local/lib/gobject-2.0.lib +0 -0
  379. data/vendor/local/lib/gthread-2.0.lib +0 -0
  380. data/vendor/local/lib/libgcrypt.def +0 -237
  381. data/vendor/local/lib/libgcrypt.dll.a +0 -0
  382. data/vendor/local/lib/libgnutls-extra.dll.a +0 -0
  383. data/vendor/local/lib/libgpg-error.dll.a +0 -0
  384. data/vendor/local/lib/libtasn1.dll.a +0 -0
  385. data/vendor/local/manifest/glib-dev_2.28.8-1_win32.mft +0 -619
  386. data/vendor/local/manifest/glib_2.28.8-1_win32.mft +0 -103
  387. data/vendor/local/manifest/gnutls-dev_2.4.2-1_win32.mft +0 -593
  388. data/vendor/local/manifest/gnutls_2.4.2-1_win32.mft +0 -8
  389. data/vendor/local/share/aclocal/gpg-error.m4 +0 -65
  390. data/vendor/local/share/aclocal/libgcrypt.m4 +0 -108
  391. data/vendor/local/share/aclocal/libgnutls-extra.m4 +0 -161
  392. data/vendor/local/share/aclocal/libgnutls.m4 +0 -160
  393. data/vendor/local/share/aclocal/libtasn1.m4 +0 -160
  394. data/vendor/local/share/common-lisp/source/gpg-error/gpg-error-codes.lisp +0 -417
  395. data/vendor/local/share/common-lisp/source/gpg-error/gpg-error-package.lisp +0 -64
  396. data/vendor/local/share/common-lisp/source/gpg-error/gpg-error.asd +0 -36
  397. data/vendor/local/share/common-lisp/source/gpg-error/gpg-error.lisp +0 -236
  398. data/vendor/local/share/doc/glib-2.28.8/COPYING +0 -482
  399. data/vendor/local/share/doc/glib-dev-2.28.8/COPYING +0 -482
  400. data/vendor/local/share/glib-2.0/codegen/__init__.pyc +0 -0
  401. data/vendor/local/share/glib-2.0/codegen/__init__.pyo +0 -0
  402. data/vendor/local/share/glib-2.0/codegen/config.pyc +0 -0
  403. data/vendor/local/share/glib-2.0/codegen/config.pyo +0 -0
  404. data/vendor/local/share/glib-2.0/codegen/utils.pyc +0 -0
  405. data/vendor/local/share/glib-2.0/codegen/utils.pyo +0 -0
  406. data/vendor/local/share/gtk-doc/html/gio/GDBusError.html +0 -879
  407. data/vendor/local/share/gtk-doc/html/gio/GTask.html +0 -2296
  408. data/vendor/local/share/gtk-doc/html/gio/ch26.html +0 -75
  409. data/vendor/local/share/gtk-doc/html/gio/ch27.html +0 -217
  410. data/vendor/local/share/gtk-doc/html/gio/ch27s02.html +0 -41
  411. data/vendor/local/share/gtk-doc/html/gio/ch27s03.html +0 -39
  412. data/vendor/local/share/gtk-doc/html/gio/ch28.html +0 -57
  413. data/vendor/local/share/gtk-doc/html/gio/ch28s02.html +0 -59
  414. data/vendor/local/share/gtk-doc/html/gio/ch28s03.html +0 -159
  415. data/vendor/local/share/gtk-doc/html/gio/ch28s04.html +0 -46
  416. data/vendor/local/share/gtk-doc/html/gio/ch28s05.html +0 -48
  417. data/vendor/local/share/gtk-doc/html/gio/ch28s06.html +0 -279
  418. data/vendor/local/share/gtk-doc/html/gio/ch28s07.html +0 -160
  419. data/vendor/local/share/gtk-doc/html/gio/ch29s02.html +0 -130
  420. data/vendor/local/share/gtk-doc/html/gio/ch29s03.html +0 -202
  421. data/vendor/local/share/gtk-doc/html/gio/ch29s04.html +0 -96
  422. data/vendor/local/share/gtk-doc/html/gio/ch29s05.html +0 -823
  423. data/vendor/local/share/gtk-doc/html/gio/ch29s06.html +0 -828
  424. data/vendor/local/share/gtk-doc/html/gio/gio-gnetworking.h.html +0 -91
  425. data/vendor/local/share/gtk-doc/html/gio/gio.devhelp +0 -1956
  426. data/vendor/local/share/gtk-doc/html/glib/glib-Limits-of-Basic-Types.html +0 -389
  427. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocators.html +0 -137
  428. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Chunks.html +0 -679
  429. data/vendor/local/share/gtk-doc/html/glib/glib.devhelp +0 -2218
  430. data/vendor/local/share/gtk-doc/html/gobject/ch06s03.html +0 -113
  431. data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp +0 -766
  432. data/vendor/local/share/info/gcrypt.info +0 -6243
  433. data/vendor/local/share/info/gnutls-certificate-user-use-case.png +0 -0
  434. data/vendor/local/share/info/gnutls-extensions_st.png +0 -0
  435. data/vendor/local/share/info/gnutls-mod_auth_st.png +0 -0
  436. data/vendor/local/share/info/gnutls-objects.png +0 -0
  437. data/vendor/local/share/info/libtasn1.info +0 -2993
  438. data/vendor/local/share/man/man1/asn1Coding.1 +0 -46
  439. data/vendor/local/share/man/man1/asn1Decoding.1 +0 -41
  440. data/vendor/local/share/man/man1/asn1Parser.1 +0 -49
  441. data/vendor/local/share/man/man3/asn1_array2tree.3 +0 -47
  442. data/vendor/local/share/man/man3/asn1_bit_der.3 +0 -39
  443. data/vendor/local/share/man/man3/asn1_check_version.3 +0 -39
  444. data/vendor/local/share/man/man3/asn1_copy_node.3 +0 -39
  445. data/vendor/local/share/man/man3/asn1_create_element.3 +0 -45
  446. data/vendor/local/share/man/man3/asn1_delete_element.3 +0 -39
  447. data/vendor/local/share/man/man3/asn1_delete_structure.3 +0 -37
  448. data/vendor/local/share/man/man3/asn1_der_coding.3 +0 -52
  449. data/vendor/local/share/man/man3/asn1_der_decoding.3 +0 -50
  450. data/vendor/local/share/man/man3/asn1_der_decoding_element.3 +0 -54
  451. data/vendor/local/share/man/man3/asn1_der_decoding_startEnd.3 +0 -58
  452. data/vendor/local/share/man/man3/asn1_expand_any_defined_by.3 +0 -45
  453. data/vendor/local/share/man/man3/asn1_expand_octet_string.3 +0 -51
  454. data/vendor/local/share/man/man3/asn1_find_node.3 +0 -38
  455. data/vendor/local/share/man/man3/asn1_find_structure_from_oid.3 +0 -37
  456. data/vendor/local/share/man/man3/asn1_get_bit_der.3 +0 -43
  457. data/vendor/local/share/man/man3/asn1_get_length_der.3 +0 -38
  458. data/vendor/local/share/man/man3/asn1_get_octet_der.3 +0 -43
  459. data/vendor/local/share/man/man3/asn1_get_tag_der.3 +0 -41
  460. data/vendor/local/share/man/man3/asn1_length_der.3 +0 -36
  461. data/vendor/local/share/man/man3/asn1_number_of_elements.3 +0 -43
  462. data/vendor/local/share/man/man3/asn1_octet_der.3 +0 -37
  463. data/vendor/local/share/man/man3/asn1_parser2array.3 +0 -58
  464. data/vendor/local/share/man/man3/asn1_parser2tree.3 +0 -55
  465. data/vendor/local/share/man/man3/asn1_print_structure.3 +0 -40
  466. data/vendor/local/share/man/man3/asn1_read_tag.3 +0 -46
  467. data/vendor/local/share/man/man3/asn1_read_value.3 +0 -92
  468. data/vendor/local/share/man/man3/asn1_write_value.3 +0 -136
  469. data/vendor/local/share/man/man3/gnutls_certificate_client_set_retrieve_function.3 +0 -58
  470. data/vendor/local/share/man/man3/gnutls_certificate_get_openpgp_keyring.3 +0 -37
  471. data/vendor/local/share/man/man3/gnutls_certificate_get_x509_cas.3 +0 -40
  472. data/vendor/local/share/man/man3/gnutls_certificate_get_x509_crls.3 +0 -40
  473. data/vendor/local/share/man/man3/gnutls_certificate_server_set_retrieve_function.3 +0 -47
  474. data/vendor/local/share/man/man3/gnutls_certificate_verify_peers.3 +0 -44
  475. data/vendor/local/share/man/man3/gnutls_crypto_cipher_register.3 +0 -45
  476. data/vendor/local/share/man/man3/gnutls_crypto_digest_register.3 +0 -45
  477. data/vendor/local/share/man/man3/gnutls_crypto_mac_register.3 +0 -45
  478. data/vendor/local/share/man/man3/gnutls_crypto_rnd_register.3 +0 -43
  479. data/vendor/local/share/man/man3/gnutls_extra_check_version.3 +0 -36
  480. data/vendor/local/share/man/man3/gnutls_free.3 +0 -34
  481. data/vendor/local/share/man/man3/gnutls_global_init_extra.3 +0 -38
  482. data/vendor/local/share/man/man3/gnutls_ia_allocate_client_credentials.3 +0 -42
  483. data/vendor/local/share/man/man3/gnutls_ia_allocate_server_credentials.3 +0 -42
  484. data/vendor/local/share/man/man3/gnutls_ia_enable.3 +0 -53
  485. data/vendor/local/share/man/man3/gnutls_ia_endphase_send.3 +0 -43
  486. data/vendor/local/share/man/man3/gnutls_ia_extract_inner_secret.3 +0 -44
  487. data/vendor/local/share/man/man3/gnutls_ia_free_client_credentials.3 +0 -34
  488. data/vendor/local/share/man/man3/gnutls_ia_free_server_credentials.3 +0 -34
  489. data/vendor/local/share/man/man3/gnutls_ia_generate_challenge.3 +0 -40
  490. data/vendor/local/share/man/man3/gnutls_ia_get_client_avp_ptr.3 +0 -36
  491. data/vendor/local/share/man/man3/gnutls_ia_get_server_avp_ptr.3 +0 -36
  492. data/vendor/local/share/man/man3/gnutls_ia_handshake.3 +0 -36
  493. data/vendor/local/share/man/man3/gnutls_ia_handshake_p.3 +0 -37
  494. data/vendor/local/share/man/man3/gnutls_ia_permute_inner_secret.3 +0 -43
  495. data/vendor/local/share/man/man3/gnutls_ia_recv.3 +0 -57
  496. data/vendor/local/share/man/man3/gnutls_ia_send.3 +0 -56
  497. data/vendor/local/share/man/man3/gnutls_ia_set_client_avp_function.3 +0 -61
  498. data/vendor/local/share/man/man3/gnutls_ia_set_client_avp_ptr.3 +0 -36
  499. data/vendor/local/share/man/man3/gnutls_ia_set_server_avp_function.3 +0 -68
  500. data/vendor/local/share/man/man3/gnutls_ia_set_server_avp_ptr.3 +0 -36
  501. data/vendor/local/share/man/man3/gnutls_ia_verify_endphase.3 +0 -45
  502. data/vendor/local/share/man/man3/gnutls_malloc.3 +0 -37
  503. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_expiration_time.3 +0 -40
  504. data/vendor/local/share/man/man3/gnutls_oprfi_enable_client.3 +0 -42
  505. data/vendor/local/share/man/man3/gnutls_oprfi_enable_server.3 +0 -49
  506. data/vendor/local/share/man/man3/gnutls_psk_netconf_derive_key.3 +0 -44
  507. data/vendor/local/share/man/man3/gnutls_session_get_client_random.3 +0 -40
  508. data/vendor/local/share/man/man3/gnutls_session_get_master_secret.3 +0 -43
  509. data/vendor/local/share/man/man3/gnutls_session_get_server_random.3 +0 -40
  510. data/vendor/local/share/man/man3/gnutls_sign_algorithm_get_name.3 +0 -35
  511. data/vendor/local/share/man/man3/gnutls_transport_set_global_errno.3 +0 -47
  512. data/vendor/local/share/man/man3/gnutls_transport_set_lowat.3 +0 -40
  513. data/vendor/local/share/man/man3/gnutls_x509_privkey_verify_data.3 +0 -43
  514. data/vendor/local/share/man/man3/libtasn1_perror.3 +0 -32
  515. data/vendor/local/share/man/man3/libtasn1_strerror.3 +0 -35
  516. data/vendor/local/src/dieterv/packaging/glib_2.28.8-1_win32.log +0 -2919
  517. data/vendor/local/src/dieterv/packaging/glib_2.28.8-1_win32.sh +0 -157
@@ -21,7 +21,7 @@
21
21
  </tr></table>
22
22
  <div class="sect1">
23
23
  <div class="titlepage"><div><div><h2 class="title" style="clear: both">
24
- <a name="idp9152080"></a>Exporting a C API</h2></div></div></div>
24
+ <a name="idp9959552"></a>Exporting a C API</h2></div></div></div>
25
25
  <p>
26
26
  C APIs are defined by a set of functions and global variables which are usually exported from a
27
27
  binary. C functions have an arbitrary number of arguments and one return value. Each function is thus
@@ -91,7 +91,7 @@ call 0x80482f4 &lt;function_foo&gt;
91
91
  reads the original function signature.</p></li>
92
92
  <li class="listitem"><p>The solution used by GLib is to use the GType library which holds at runtime a description of
93
93
  all the objects manipulated by the programmer. This so-called <span class="emphasis"><em>dynamic type</em></span>
94
- <a href="#ftn.idp9343056" class="footnote"><sup class="footnote"><a name="idp9343056"></a>[1]</sup></a>
94
+ <a href="#ftn.idp81488" class="footnote"><sup class="footnote"><a name="idp81488"></a>[1]</sup></a>
95
95
  library is then used by special generic glue code to automatically convert function parameters and
96
96
  function calling conventions between different runtime domains.</p></li>
97
97
  </ul></div>
@@ -100,7 +100,7 @@ call 0x80482f4 &lt;function_foo&gt;
100
100
  boundaries is written once: the figure below states this more clearly.
101
101
  </p>
102
102
  <div class="figure">
103
- <a name="idp132048"></a><p class="title"><b>Figure 1. </b></p>
103
+ <a name="idp83488"></a><p class="title"><b>Figure 1. </b></p>
104
104
  <div class="figure-contents"><div class="mediaobject" align="center"><img src="glue.png" align="middle"></div></div>
105
105
  </div>
106
106
  <p><br class="figure-break">
@@ -118,7 +118,7 @@ call 0x80482f4 &lt;function_foo&gt;
118
118
  </p>
119
119
  <div class="footnotes">
120
120
  <br><hr style="width:100; align:left;">
121
- <div id="ftn.idp9343056" class="footnote"><p><a href="#idp9343056" class="para"><sup class="para">[1] </sup></a>
121
+ <div id="ftn.idp81488" class="footnote"><p><a href="#idp81488" class="para"><sup class="para">[1] </sup></a>
122
122
  There are numerous different implementations of dynamic type systems: all C++
123
123
  compilers have one, Java and .NET have one too. A dynamic type system allows you
124
124
  to get information about every instantiated object at runtime. It can be implemented
@@ -84,13 +84,13 @@ GType g_type_register_fundamental (GType type_id,
84
84
  <code class="function"><a class="link" href="gobject-Type-Information.html#g-type-register-fundamental" title="g_type_register_fundamental ()">g_type_register_fundamental</a></code> (you have to be Tim Janik
85
85
  to do that) but in case you want to, the last chapter explains how to create
86
86
  new fundamental types.
87
- <a href="#ftn.idp9135248" class="footnote"><sup class="footnote"><a name="idp9135248"></a>[2]</sup></a>
87
+ <a href="#ftn.idp9653792" class="footnote"><sup class="footnote"><a name="idp9653792"></a>[2]</sup></a>
88
88
  </p>
89
89
  <p>
90
90
  Fundamental types are top-level types which do not derive from any other type
91
91
  while other non-fundamental types derive from other types.
92
- Upon initialization, the type system not only initializes its
93
- internal data structures but it also registers a number of core
92
+ Upon initialization by <code class="function"><a class="link" href="gobject-Type-Information.html#g-type-init" title="g_type_init ()">g_type_init</a></code>, the type system not
93
+ only initializes its internal data structures but it also registers a number of core
94
94
  types: some of these are fundamental types. Others are types derived from these
95
95
  fundamental types.
96
96
  </p>
@@ -248,7 +248,7 @@ struct _GTypeValueTable
248
248
  </div>
249
249
  <div class="footnotes">
250
250
  <br><hr style="width:100; align:left;">
251
- <div id="ftn.idp9135248" class="footnote"><p><a href="#idp9135248" class="para"><sup class="para">[2] </sup></a>
251
+ <div id="ftn.idp9653792" class="footnote"><p><a href="#idp9653792" class="para"><sup class="para">[2] </sup></a>
252
252
  Please note that there exists another registration function: the
253
253
  <code class="function"><a class="link" href="gobject-Type-Information.html#g-type-register-dynamic" title="g_type_register_dynamic ()">g_type_register_dynamic</a></code>. We will not discuss this
254
254
  function here since its use is very similar to the <code class="function">_static</code>
@@ -23,7 +23,7 @@
23
23
  <div class="titlepage"><div><div><h2 class="title">
24
24
  <a name="chapter-intro"></a>Background</h2></div></div></div>
25
25
  <div class="toc"><dl>
26
- <dt><span class="sect1"><a href="chapter-intro.html#idp8363792">Data types and programming</a></span></dt>
26
+ <dt><span class="sect1"><a href="chapter-intro.html#idp6962160">Data types and programming</a></span></dt>
27
27
  <dt><span class="sect1"><a href="ch01s02.html">Exporting a C API</a></span></dt>
28
28
  </dl></div>
29
29
  <p>
@@ -52,7 +52,7 @@
52
52
  </p>
53
53
  <div class="sect1">
54
54
  <div class="titlepage"><div><div><h2 class="title" style="clear: both">
55
- <a name="idp8363792"></a>Data types and programming</h2></div></div></div>
55
+ <a name="idp6962160"></a>Data types and programming</h2></div></div></div>
56
56
  <p>
57
57
  One could say (I have seen such definitions used in some textbooks on programming language theory)
58
58
  that a programming language is merely a way to create data types and manipulate them. Most languages
@@ -25,8 +25,8 @@
25
25
  <div class="toc"><dl>
26
26
  <dt><span class="sect1"><a href="chapter-signal.html#closure">Closures</a></span></dt>
27
27
  <dd><dl>
28
- <dt><span class="sect2"><a href="chapter-signal.html#idp6266928">C Closures</a></span></dt>
29
- <dt><span class="sect2"><a href="chapter-signal.html#idp9657584">Non-C closures (for the fearless)</a></span></dt>
28
+ <dt><span class="sect2"><a href="chapter-signal.html#idp11871888">C Closures</a></span></dt>
29
+ <dt><span class="sect2"><a href="chapter-signal.html#idp7797968">Non-C closures (for the fearless)</a></span></dt>
30
30
  </dl></dd>
31
31
  <dt><span class="sect1"><a href="signal.html">Signals</a></span></dt>
32
32
  <dd><dl>
@@ -70,7 +70,7 @@ return_type function_callback (... , gpointer user_data);
70
70
  The <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> structure represents the common functionality of all
71
71
  closure implementations: there exists a different Closure implementation for
72
72
  each separate runtime which wants to use the GObject type system.
73
- <a href="#ftn.idp11961824" class="footnote"><sup class="footnote"><a name="idp11961824"></a>[6]</sup></a>
73
+ <a href="#ftn.idp9564624" class="footnote"><sup class="footnote"><a name="idp9564624"></a>[6]</sup></a>
74
74
  The GObject library provides a simple <a class="link" href="gobject-Closures.html#GCClosure" title="struct GCClosure"><span class="type">GCClosure</span></a> type which
75
75
  is a specific implementation of closures to be used with C/C++ callbacks.
76
76
  </p>
@@ -93,13 +93,13 @@ return_type function_callback (... , gpointer user_data);
93
93
  events (<code class="function"><a class="link" href="gobject-Closures.html#g-closure-remove-finalize-notifier" title="g_closure_remove_finalize_notifier ()">g_closure_remove_finalize_notifier</a></code> and
94
94
  <code class="function"><a class="link" href="gobject-Closures.html#g-closure-remove-invalidate-notifier" title="g_closure_remove_invalidate_notifier ()">g_closure_remove_invalidate_notifier</a></code>) but not for the invocation
95
95
  process.
96
- <a href="#ftn.idp11552208" class="footnote"><sup class="footnote"><a name="idp11552208"></a>[7]</sup></a></p></li>
96
+ <a href="#ftn.idp11759824" class="footnote"><sup class="footnote"><a name="idp11759824"></a>[7]</sup></a></p></li>
97
97
  </ul></div>
98
98
  <p>
99
99
  </p>
100
100
  <div class="sect2">
101
101
  <div class="titlepage"><div><div><h3 class="title">
102
- <a name="idp6266928"></a>C Closures</h3></div></div></div>
102
+ <a name="idp11871888"></a>C Closures</h3></div></div></div>
103
103
  <p>
104
104
  If you are using C or C++
105
105
  to connect a callback to a given event, you will either use simple <a class="link" href="gobject-Closures.html#GCClosure" title="struct GCClosure"><span class="type">GCClosure</span></a>s
@@ -134,7 +134,7 @@ GClosure *g_signal_type_cclosure_new (GType itype,
134
134
  </div>
135
135
  <div class="sect2">
136
136
  <div class="titlepage"><div><div><h3 class="title">
137
- <a name="idp9657584"></a>Non-C closures (for the fearless)</h3></div></div></div>
137
+ <a name="idp7797968"></a>Non-C closures (for the fearless)</h3></div></div></div>
138
138
  <p>
139
139
  As was explained above, closures hide the details of callback invocation. In C,
140
140
  callback invocation is just like function invocation: it is a matter of creating
@@ -193,7 +193,7 @@ g_cclosure_marshal_VOID__INT (GClosure *closure,
193
193
  </div>
194
194
  <div class="footnotes">
195
195
  <br><hr style="width:100; align:left;">
196
- <div id="ftn.idp11961824" class="footnote"><p><a href="#idp11961824" class="para"><sup class="para">[6] </sup></a>
196
+ <div id="ftn.idp9564624" class="footnote"><p><a href="#idp9564624" class="para"><sup class="para">[6] </sup></a>
197
197
  In practice, closures sit at the boundary of language runtimes: if you are
198
198
  writing Python code and one of your Python callbacks receives a signal from
199
199
  a GTK+ widget, the C code in GTK+ needs to execute your Python
@@ -201,7 +201,7 @@ g_cclosure_marshal_VOID__INT (GClosure *closure,
201
201
  it behaves as a normal C object for GTK+ and as a normal Python object for
202
202
  Python code.
203
203
  </p></div>
204
- <div id="ftn.idp11552208" class="footnote"><p><a href="#idp11552208" class="para"><sup class="para">[7] </sup></a>
204
+ <div id="ftn.idp11759824" class="footnote"><p><a href="#idp11759824" class="para"><sup class="para">[7] </sup></a>
205
205
  Closures are reference counted and notify listeners of their destruction in a two-stage
206
206
  process: the invalidation notifiers are invoked before the finalization notifiers.
207
207
  </p></div>
@@ -33,7 +33,7 @@
33
33
  <div class="cmdsynopsis"><p><code class="command">glib-genmarshal</code> [OPTION...] [FILE...]</p></div>
34
34
  </div>
35
35
  <div class="refsect1">
36
- <a name="idp14413072"></a><h2>Description</h2>
36
+ <a name="idp6641136"></a><h2>Description</h2>
37
37
  <p><span class="command"><strong>glib-genmarshal</strong></span> is a small utility that generates C code
38
38
  marshallers for callback functions of the GClosure mechanism in the GObject
39
39
  sublibrary of GLib. The marshaller functions have a standard signature,
@@ -48,7 +48,7 @@ input. The marshaller list is either read from standard input or from files
48
48
  passed as additional arguments on the command line.
49
49
  </p>
50
50
  <div class="refsect2">
51
- <a name="idp14499152"></a><h3>Marshaller list format</h3>
51
+ <a name="idp6353456"></a><h3>Marshaller list format</h3>
52
52
  <p>
53
53
  The marshaller lists are processed line by line, a line can contain a
54
54
  comment in the form of
@@ -76,7 +76,7 @@ which are always pointers.
76
76
  </div>
77
77
  <hr>
78
78
  <div class="refsect2">
79
- <a name="idp139904"></a><h3>Parameter types</h3>
79
+ <a name="idp4839200"></a><h3>Parameter types</h3>
80
80
  <p>
81
81
  Currently, the following types are supported:
82
82
  </p>
@@ -227,7 +227,7 @@ deprecated alias for <em class="replaceable"><code>BOOLEAN</code></em>
227
227
  </div>
228
228
  </div>
229
229
  <div class="refsect1">
230
- <a name="idp6717248"></a><h2>Options</h2>
230
+ <a name="idp9900720"></a><h2>Options</h2>
231
231
  <div class="variablelist"><table border="0" class="variablelist">
232
232
  <colgroup>
233
233
  <col align="left" valign="top">
@@ -305,7 +305,7 @@ Print version and exit.
305
305
  </table></div>
306
306
  </div>
307
307
  <div class="refsect1">
308
- <a name="idp10643312"></a><h2>Example</h2>
308
+ <a name="idp12559536"></a><h2>Example</h2>
309
309
  <p>
310
310
  To generate marshallers for the following callback functions:
311
311
  </p>
@@ -360,7 +360,7 @@ g_closure_set_marshal (cc_baz, g_cclosure_user_marshal_FLOAT__BOOLEAN_UCHAR);
360
360
  </pre>
361
361
  </div>
362
362
  <div class="refsect1">
363
- <a name="idp9686512"></a><h2>See also</h2>
363
+ <a name="idp7264864"></a><h2>See also</h2>
364
364
  <p>
365
365
  <span class="citerefentry"><span class="refentrytitle">glib-mkenums</span>(1)</span>
366
366
  </p>
@@ -33,7 +33,7 @@
33
33
  <div class="cmdsynopsis"><p><code class="command">glib-mkenums</code> [OPTION...] [FILE...]</p></div>
34
34
  </div>
35
35
  <div class="refsect1">
36
- <a name="idp9836224"></a><h2>Description</h2>
36
+ <a name="idp10503248"></a><h2>Description</h2>
37
37
  <p><span class="command"><strong>glib-mkenums</strong></span> is a small perl-script utility that
38
38
  parses C code to extract enum definitions and produces enum descriptions based
39
39
  on text templates specified by the user. Most frequently this script is used to
@@ -46,7 +46,7 @@ substitutions are performed on the text templates for keywords enclosed
46
46
  in @ characters.
47
47
  </p>
48
48
  <div class="refsect2">
49
- <a name="idp10104272"></a><h3>Production text substitutions</h3>
49
+ <a name="idp7777392"></a><h3>Production text substitutions</h3>
50
50
  <p>
51
51
  Certain keywords enclosed in @ characters will be substituted in the
52
52
  emitted text. For the substitution examples of the keywords below,
@@ -163,7 +163,7 @@ The base name of the input file currently being processed (e.g. foo.h). (Since:
163
163
  </div>
164
164
  <hr>
165
165
  <div class="refsect2">
166
- <a name="idp4809264"></a><h3>Trigraph extensions</h3>
166
+ <a name="idp13285888"></a><h3>Trigraph extensions</h3>
167
167
  <p>
168
168
  Some C comments are treated specially in the parsed enum definitions,
169
169
  such comments start out with the trigraph sequence <code class="literal">/*&lt;</code>
@@ -199,7 +199,7 @@ typedef enum /*&lt; flags,prefix=PREFIX &gt;*/
199
199
  </div>
200
200
  </div>
201
201
  <div class="refsect1">
202
- <a name="idp14335456"></a><h2>Options</h2>
202
+ <a name="idp14613568"></a><h2>Options</h2>
203
203
  <div class="variablelist"><table border="0" class="variablelist">
204
204
  <colgroup>
205
205
  <col align="left" valign="top">
@@ -318,7 +318,7 @@ Print version and exit.
318
318
  </table></div>
319
319
  </div>
320
320
  <div class="refsect1">
321
- <a name="idp9650624"></a><h2>See also</h2>
321
+ <a name="idp9466880"></a><h2>See also</h2>
322
322
  <p>
323
323
  <span class="citerefentry"><span class="refentrytitle">glib-genmarshal</span>(1)</span>
324
324
  </p>
@@ -73,8 +73,6 @@
73
73
  #define <a class="link" href="gobject-Boxed-Types.html#G-TYPE-MAIN-CONTEXT:CAPS" title="G_TYPE_MAIN_CONTEXT">G_TYPE_MAIN_CONTEXT</a>
74
74
  #define <a class="link" href="gobject-Boxed-Types.html#G-TYPE-MAIN-LOOP:CAPS" title="G_TYPE_MAIN_LOOP">G_TYPE_MAIN_LOOP</a>
75
75
  #define <a class="link" href="gobject-Boxed-Types.html#G-TYPE-SOURCE:CAPS" title="G_TYPE_SOURCE">G_TYPE_SOURCE</a>
76
- #define <a class="link" href="gobject-Boxed-Types.html#G-TYPE-POLLFD:CAPS" title="G_TYPE_POLLFD">G_TYPE_POLLFD</a>
77
- #define <a class="link" href="gobject-Boxed-Types.html#G-TYPE-THREAD:CAPS" title="G_TYPE_THREAD">G_TYPE_THREAD</a>
78
76
  typedef <a class="link" href="gobject-Boxed-Types.html#GStrv" title="GStrv">GStrv</a>;
79
77
  </pre>
80
78
  </div>
@@ -507,26 +505,6 @@ The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><sp
507
505
  </div>
508
506
  <hr>
509
507
  <div class="refsect2">
510
- <a name="G-TYPE-POLLFD:CAPS"></a><h3>G_TYPE_POLLFD</h3>
511
- <pre class="programlisting">#define G_TYPE_POLLFD (g_pollfd_get_type ())
512
- </pre>
513
- <p>
514
- The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> for a boxed type holding a <a href="./../glib/glib/glib-The-Main-Event-Loop.html#GPollFD"><span class="type">GPollFD</span></a>.
515
- </p>
516
- <p class="since">Since 2.36</p>
517
- </div>
518
- <hr>
519
- <div class="refsect2">
520
- <a name="G-TYPE-THREAD:CAPS"></a><h3>G_TYPE_THREAD</h3>
521
- <pre class="programlisting">#define G_TYPE_THREAD (g_thread_get_type ())
522
- </pre>
523
- <p>
524
- The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> for a boxed type holding a <a href="./../glib/glib/glib-Threads.html#GThread"><span class="type">GThread</span></a>.
525
- </p>
526
- <p class="since">Since 2.36</p>
527
- </div>
528
- <hr>
529
- <div class="refsect2">
530
508
  <a name="GStrv"></a><h3>GStrv</h3>
531
509
  <pre class="programlisting">typedef gchar** GStrv;
532
510
  </pre>
@@ -152,7 +152,9 @@ features.
152
152
  49
153
153
  50
154
154
  51
155
- 52</pre></td>
155
+ 52
156
+ 53
157
+ 54</pre></td>
156
158
  <td class="listing_code"><pre class="programlisting"><span class="preproc">#include</span><span class="normal"> </span><span class="string">&lt;glib-object.h&gt;</span>
157
159
 
158
160
  <span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
@@ -174,6 +176,8 @@ features.
174
176
  <span class="normal"> </span><span class="usertype">GValue</span><span class="normal"> b </span><span class="symbol">=</span><span class="normal"> <a href="gobject-Generic-values.html#G-VALUE-INIT:CAPS">G_VALUE_INIT</a></span><span class="symbol">;</span>
175
177
  <span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">message</span><span class="symbol">;</span>
176
178
 
179
+ <span class="normal"> </span><span class="function"><a href="gobject-Type-Information.html#g-type-init">g_type_init</a></span><span class="normal"> </span><span class="symbol">();</span>
180
+
177
181
  <span class="normal"> </span><span class="comment">/* The GValue starts empty */</span>
178
182
  <span class="normal"> </span><span class="function"><a href="./../glib/glib/glib-Testing.html#g-assert">g_assert</a></span><span class="normal"> </span><span class="symbol">(!</span><span class="function"><a href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-STRING:CAPS">G_VALUE_HOLDS_STRING</a></span><span class="normal"> </span><span class="symbol">(&amp;</span><span class="normal">a</span><span class="symbol">));</span>
179
183
 
@@ -260,7 +260,7 @@ basically they are a per-type facility that is inherited. A signal
260
260
  emission mainly involves invocation of a certain set of callbacks
261
261
  in precisely defined manner. There are two main categories of such
262
262
  callbacks, per-object
263
- <a href="#ftn.idp21019008" class="footnote"><sup class="footnote"><a name="idp21019008"></a>[10]</sup></a>
263
+ <a href="#ftn.idp21046352" class="footnote"><sup class="footnote"><a name="idp21046352"></a>[10]</sup></a>
264
264
  ones and user provided ones.
265
265
  The per-object callbacks are most often referred to as "object method
266
266
  handler" or "default (signal) handler", while user provided callbacks are
@@ -1448,10 +1448,36 @@ ensures that the <em class="parameter"><code>gobject</code></em> stays alive dur
1448
1448
  by temporarily adding a reference count to <em class="parameter"><code>gobject</code></em>.
1449
1449
  </p>
1450
1450
  <p>
1451
- When the object is destroyed the signal handler will be automatically
1452
- disconnected. Note that this is not currently threadsafe (ie:
1453
- emitting a signal while <em class="parameter"><code>gobject</code></em> is being destroyed in another thread
1454
- is not safe).
1451
+ Note that there is a bug in GObject that makes this function
1452
+ much less useful than it might seem otherwise. Once <em class="parameter"><code>gobject</code></em> is
1453
+ disposed, the callback will no longer be called, but, the signal
1454
+ handler is <span class="emphasis"><em>not</em></span> currently disconnected. If the
1455
+ <em class="parameter"><code>instance</code></em> is itself being freed at the same time than this doesn't
1456
+ matter, since the signal will automatically be removed, but
1457
+ if <em class="parameter"><code>instance</code></em> persists, then the signal handler will leak. You
1458
+ should not remove the signal yourself because in a future versions of
1459
+ GObject, the handler <span class="emphasis"><em>will</em></span> automatically
1460
+ be disconnected.
1461
+ </p>
1462
+ <p>
1463
+ It's possible to work around this problem in a way that will
1464
+ continue to work with future versions of GObject by checking
1465
+ that the signal handler is still connected before disconnected it:
1466
+ </p>
1467
+ <div class="informalexample">
1468
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
1469
+ <tbody>
1470
+ <tr>
1471
+ <td class="listing_lines" align="right"><pre>1
1472
+ 2</pre></td>
1473
+ <td class="listing_code"><pre class="programlisting"><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="gobject-Signals.html#g-signal-handler-is-connected">g_signal_handler_is_connected</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">instance</span><span class="symbol">,</span><span class="normal"> id</span><span class="symbol">))</span>
1474
+ <span class="normal"> </span><span class="function"><a href="gobject-Signals.html#g-signal-handler-disconnect">g_signal_handler_disconnect</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">instance</span><span class="symbol">,</span><span class="normal"> id</span><span class="symbol">);</span></pre></td>
1475
+ </tr>
1476
+ </tbody>
1477
+ </table>
1478
+ </div>
1479
+
1480
+ <p>
1455
1481
  </p>
1456
1482
  <div class="variablelist"><table border="0" class="variablelist">
1457
1483
  <colgroup>
@@ -2791,7 +2817,7 @@ and no further handling is needed.
2791
2817
  </div>
2792
2818
  <div class="footnotes">
2793
2819
  <br><hr style="width:100; align:left;">
2794
- <div id="ftn.idp21019008" class="footnote"><p><a href="#idp21019008" class="para"><sup class="para">[10] </sup></a>Although signals can deal with any kind of instantiatable
2820
+ <div id="ftn.idp21046352" class="footnote"><p><a href="#idp21046352" class="para"><sup class="para">[10] </sup></a>Although signals can deal with any kind of instantiatable
2795
2821
  type, i'm referring to those types as "object types" in the following,
2796
2822
  simply because that is the context most users will encounter signals in.
2797
2823
  </p></div>
@@ -386,7 +386,7 @@ The class structure for the <span class="structname">GObject</span> type.
386
386
  <p>
387
387
  </p>
388
388
  <div class="example">
389
- <a name="idp14102032"></a><p class="title"><b>Example 1. Implementing singletons using a constructor</b></p>
389
+ <a name="idp14115632"></a><p class="title"><b>Example 1. Implementing singletons using a constructor</b></p>
390
390
  <div class="example-contents">
391
391
  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
392
392
  <tbody>
@@ -2128,7 +2128,7 @@ the type, for instance by calling <a href="./../glib/glib/glib-Memory-Allocation
2128
2128
  <p>
2129
2129
  </p>
2130
2130
  <div class="example">
2131
- <a name="idp18033840"></a><p class="title"><b>Example 2. Using g_object_get()</b></p>
2131
+ <a name="idp18073840"></a><p class="title"><b>Example 2. Using g_object_get()</b></p>
2132
2132
  <div class="example-contents">
2133
2133
  An example of using <a class="link" href="gobject-The-Base-Object-Type.html#g-object-get" title="g_object_get ()"><code class="function">g_object_get()</code></a> to get the contents
2134
2134
  of three properties - one of type <a class="link" href="gobject-Type-Information.html#G-TYPE-INT:CAPS" title="G_TYPE_INT"><span class="type">G_TYPE_INT</span></a>,
@@ -2259,18 +2259,18 @@ instead, is to store the GParamSpec used with
2259
2259
  <span class="normal"> PROP_LAST</span>
2260
2260
  <span class="cbracket">}</span><span class="symbol">;</span>
2261
2261
 
2262
- <span class="keyword">static</span><span class="normal"> </span><span class="usertype">GParamSpec</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">properties</span><span class="symbol">[</span><span class="normal">PROP_LAST</span><span class="symbol">];</span>
2262
+ <span class="keyword">static</span><span class="normal"> </span><span class="usertype">GParamSpec</span><span class="normal"> </span><span class="symbol">*</span><span class="normal"><a href="/usr/share/gtk-doc/html/libbonobo/properties.html">properties</a></span><span class="symbol">[</span><span class="normal">PROP_LAST</span><span class="symbol">];</span>
2263
2263
 
2264
2264
  <span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
2265
2265
  <span class="function">my_object_class_init</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">MyObjectClass</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">klass</span><span class="symbol">)</span>
2266
2266
  <span class="cbracket">{</span>
2267
- <span class="normal"> properties</span><span class="symbol">[</span><span class="normal">PROP_FOO</span><span class="symbol">]</span><span class="normal"> </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-int">g_param_spec_int</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"foo"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Foo"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"The foo"</span><span class="symbol">,</span>
2267
+ <span class="normal"> <a href="/usr/share/gtk-doc/html/libbonobo/properties.html">properties</a></span><span class="symbol">[</span><span class="normal">PROP_FOO</span><span class="symbol">]</span><span class="normal"> </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-int">g_param_spec_int</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"foo"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Foo"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"The foo"</span><span class="symbol">,</span>
2268
2268
  <span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">100</span><span class="symbol">,</span>
2269
2269
  <span class="normal"> </span><span class="number">50</span><span class="symbol">,</span>
2270
2270
  <span class="normal"> <a href="gobject-GParamSpec.html#G-PARAM-READWRITE:CAPS">G_PARAM_READWRITE</a></span><span class="symbol">);</span>
2271
2271
  <span class="normal"> </span><span class="function"><a href="gobject-The-Base-Object-Type.html#g-object-class-install-property">g_object_class_install_property</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">gobject_class</span><span class="symbol">,</span>
2272
2272
  <span class="normal"> PROP_FOO</span><span class="symbol">,</span>
2273
- <span class="normal"> properties</span><span class="symbol">[</span><span class="normal">PROP_FOO</span><span class="symbol">]);</span>
2273
+ <span class="normal"> <a href="/usr/share/gtk-doc/html/libbonobo/properties.html">properties</a></span><span class="symbol">[</span><span class="normal">PROP_FOO</span><span class="symbol">]);</span>
2274
2274
  <span class="cbracket">}</span></pre></td>
2275
2275
  </tr>
2276
2276
  </tbody>
@@ -2289,7 +2289,7 @@ and then notify a change on the "foo" property with:
2289
2289
  <tbody>
2290
2290
  <tr>
2291
2291
  <td class="listing_lines" align="right"><pre>1</pre></td>
2292
- <td class="listing_code"><pre class="programlisting"><span class="function"><a href="gobject-The-Base-Object-Type.html#g-object-notify-by-pspec">g_object_notify_by_pspec</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">self</span><span class="symbol">,</span><span class="normal"> properties</span><span class="symbol">[</span><span class="normal">PROP_FOO</span><span class="symbol">]);</span></pre></td>
2292
+ <td class="listing_code"><pre class="programlisting"><span class="function"><a href="gobject-The-Base-Object-Type.html#g-object-notify-by-pspec">g_object_notify_by_pspec</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">self</span><span class="symbol">,</span><span class="normal"> <a href="/usr/share/gtk-doc/html/libbonobo/properties.html">properties</a></span><span class="symbol">[</span><span class="normal">PROP_FOO</span><span class="symbol">]);</span></pre></td>
2293
2293
  </tr>
2294
2294
  </tbody>
2295
2295
  </table>
@@ -197,7 +197,6 @@ enum <a class="link" href="gobject-Type-Information.html#GTypeFun
197
197
  <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_iface</code></em>);
198
198
  <a class="link" href="gobject-Type-Information.html#GTypeValueTable" title="struct GTypeValueTable"><span class="returnvalue">GTypeValueTable</span></a> * <a class="link" href="gobject-Type-Information.html#g-type-value-table-peek" title="g_type_value_table_peek ()">g_type_value_table_peek</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type</code></em>);
199
199
  <span class="returnvalue">void</span> <a class="link" href="gobject-Type-Information.html#g-type-ensure" title="g_type_ensure ()">g_type_ensure</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type</code></em>);
200
- <a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="gobject-Type-Information.html#g-type-get-type-registration-serial" title="g_type_get_type_registration_serial ()">g_type_get_type_registration_serial</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
201
200
  #define <a class="link" href="gobject-Type-Information.html#G-DEFINE-TYPE:CAPS" title="G_DEFINE_TYPE()">G_DEFINE_TYPE</a> (TN,
202
201
  t_n,
203
202
  T_P)
@@ -278,7 +277,9 @@ enum <a class="link" href="gobject-Type-Information.html#GTypeFun
278
277
  <p>
279
278
  The GType API is the foundation of the GObject system. It provides the
280
279
  facilities for registering and managing all fundamental data types,
281
- user-defined object and interface types.
280
+ user-defined object and interface types. Before using any GType
281
+ or GObject functions, <a class="link" href="gobject-Type-Information.html#g-type-init" title="g_type_init ()"><code class="function">g_type_init()</code></a> must be called to initialize the
282
+ type system.
282
283
  </p>
283
284
  <p>
284
285
  For type creation and registration purposes, all types fall into one of
@@ -1665,14 +1666,21 @@ A bit in the type number that's supposed to be left untouched.
1665
1666
  <div class="refsect2">
1666
1667
  <a name="g-type-init"></a><h3>g_type_init ()</h3>
1667
1668
  <pre class="programlisting"><span class="returnvalue">void</span> g_type_init (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
1668
- <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
1669
- <h3 class="title">Warning</h3>
1670
- <p><code class="literal">g_type_init</code> has been deprecated since version 2.36 and should not be used in newly-written code. the type system is now initialised automatically</p>
1671
- </div>
1672
1669
  <p>
1673
- This function used to initialise the type system. Since GLib 2.36,
1674
- the type system is initialised automatically and this function does
1675
- nothing.
1670
+ Prior to any use of the type system, <a class="link" href="gobject-Type-Information.html#g-type-init" title="g_type_init ()"><code class="function">g_type_init()</code></a> has to be called
1671
+ to initialize the type system and assorted other code portions
1672
+ (such as the various fundamental type implementations or the signal
1673
+ system).
1674
+ </p>
1675
+ <p>
1676
+ This function is idempotent: If you call it multiple times, all but
1677
+ the first calls will be silently ignored.
1678
+ </p>
1679
+ <p>
1680
+ There is no way to undo the effect of <a class="link" href="gobject-Type-Information.html#g-type-init" title="g_type_init ()"><code class="function">g_type_init()</code></a>.
1681
+ </p>
1682
+ <p>
1683
+ Since version 2.24 this also initializes the thread system
1676
1684
  </p>
1677
1685
  </div>
1678
1686
  <hr>
@@ -1685,17 +1693,12 @@ nothing.
1685
1693
  G_TYPE_DEBUG_MASK = 0x03
1686
1694
  } GTypeDebugFlags;
1687
1695
  </pre>
1688
- <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
1689
- <h3 class="title">Warning</h3>
1690
- <p><code class="literal">GTypeDebugFlags</code> has been deprecated since version 2.36 and should not be used in newly-written code. <a class="link" href="gobject-Type-Information.html#g-type-init" title="g_type_init ()"><code class="function">g_type_init()</code></a> is now done automatically</p>
1691
- </div>
1692
- <p>
1693
- These flags used to be passed to <a class="link" href="gobject-Type-Information.html#g-type-init-with-debug-flags" title="g_type_init_with_debug_flags ()"><code class="function">g_type_init_with_debug_flags()</code></a> which
1694
- is now deprecated.
1695
- </p>
1696
1696
  <p>
1697
- If you need to enable debugging features, use the GOBJECT_DEBUG
1698
- environment variable.
1697
+ The <span class="type">GTypeDebugFlags</span> enumeration values can be passed to
1698
+ <a class="link" href="gobject-Type-Information.html#g-type-init-with-debug-flags" title="g_type_init_with_debug_flags ()"><code class="function">g_type_init_with_debug_flags()</code></a> to trigger debugging messages during runtime.
1699
+ Note that the messages can also be triggered by setting the
1700
+ <code class="envar">GOBJECT_DEBUG</code> environment variable to a ':'-separated list of
1701
+ "objects" and "signals".
1699
1702
  </p>
1700
1703
  <div class="variablelist"><table border="0" class="variablelist">
1701
1704
  <colgroup>
@@ -1730,18 +1733,11 @@ environment variable.
1730
1733
  <div class="refsect2">
1731
1734
  <a name="g-type-init-with-debug-flags"></a><h3>g_type_init_with_debug_flags ()</h3>
1732
1735
  <pre class="programlisting"><span class="returnvalue">void</span> g_type_init_with_debug_flags (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeDebugFlags" title="enum GTypeDebugFlags"><span class="type">GTypeDebugFlags</span></a> debug_flags</code></em>);</pre>
1733
- <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
1734
- <h3 class="title">Warning</h3>
1735
- <p><code class="literal">g_type_init_with_debug_flags</code> has been deprecated since version 2.36 and should not be used in newly-written code. the type system is now initialised automatically</p>
1736
- </div>
1737
1736
  <p>
1738
- This function used to initialise the type system with debugging
1739
- flags. Since GLib 2.36, the type system is initialised automatically
1740
- and this function does nothing.
1737
+ Similar to <a class="link" href="gobject-Type-Information.html#g-type-init" title="g_type_init ()"><code class="function">g_type_init()</code></a>, but additionally sets debug flags.
1741
1738
  </p>
1742
1739
  <p>
1743
- If you need to enable debugging features, use the GOBJECT_DEBUG
1744
- environment variable.
1740
+ This function is idempotent.
1745
1741
  </p>
1746
1742
  <div class="variablelist"><table border="0" class="variablelist">
1747
1743
  <colgroup>
@@ -3830,29 +3826,6 @@ type's <code class="function">_get_type()</code> method is called.
3830
3826
  </div>
3831
3827
  <hr>
3832
3828
  <div class="refsect2">
3833
- <a name="g-type-get-type-registration-serial"></a><h3>g_type_get_type_registration_serial ()</h3>
3834
- <pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> g_type_get_type_registration_serial (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
3835
- <p>
3836
- Returns an opaque serial number that represents the state of the set of registered
3837
- types. Any time a type is registred this serial changes, which means you can
3838
- cache information based on type lookups (such as g_type_from_name) and know if
3839
- the cache is still valid at a later time by comparing the current serial with
3840
- the one at the type lookup.
3841
- </p>
3842
- <div class="variablelist"><table border="0" class="variablelist">
3843
- <colgroup>
3844
- <col align="left" valign="top">
3845
- <col>
3846
- </colgroup>
3847
- <tbody><tr>
3848
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
3849
- <td>An unsigned int, representing the state of type registrations.</td>
3850
- </tr></tbody>
3851
- </table></div>
3852
- <p class="since">Since 2.36</p>
3853
- </div>
3854
- <hr>
3855
- <div class="refsect2">
3856
3829
  <a name="G-DEFINE-TYPE:CAPS"></a><h3>G_DEFINE_TYPE()</h3>
3857
3830
  <pre class="programlisting">#define G_DEFINE_TYPE(TN, t_n, T_P) G_DEFINE_TYPE_EXTENDED (TN, t_n, T_P, 0, {})
3858
3831
  </pre>