glib2 3.2.1-x64-mingw32 → 3.2.2-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (927) hide show
  1. checksums.yaml +5 -5
  2. data/Rakefile +16 -15
  3. data/ext/glib2/glib2.def +3 -0
  4. data/ext/glib2/rbglib-bytes.c +1 -0
  5. data/ext/glib2/rbglib.h +5 -1
  6. data/ext/glib2/rbgobj_object.c +30 -17
  7. data/ext/glib2/rbgobj_type.c +246 -130
  8. data/ext/glib2/rbgobject.h +12 -1
  9. data/lib/2.2/glib2.so +0 -0
  10. data/lib/2.3/glib2.so +0 -0
  11. data/lib/2.4/glib2.so +0 -0
  12. data/lib/2.5/glib2.so +0 -0
  13. data/lib/gnome2/rake/external-package.rb +32 -12
  14. data/lib/gnome2/rake/windows-binary-build-task.rb +53 -52
  15. data/lib/mkmf-gnome2.rb +0 -10
  16. data/vendor/local/bin/asn1Coding.exe +0 -0
  17. data/vendor/local/bin/asn1Decoding.exe +0 -0
  18. data/vendor/local/bin/asn1Parser.exe +0 -0
  19. data/vendor/local/bin/envsubst.exe +0 -0
  20. data/vendor/local/bin/gdbus-codegen +13 -1
  21. data/vendor/local/bin/gdbus.exe +0 -0
  22. data/vendor/local/bin/gettext.exe +0 -0
  23. data/vendor/local/bin/gio-querymodules.exe +0 -0
  24. data/vendor/local/bin/gio.exe +0 -0
  25. data/vendor/local/bin/glib-compile-resources.exe +0 -0
  26. data/vendor/local/bin/glib-compile-schemas.exe +0 -0
  27. data/vendor/local/bin/glib-genmarshal +25 -14
  28. data/vendor/local/bin/glib-gettextize +2 -2
  29. data/vendor/local/bin/glib-mkenums +48 -21
  30. data/vendor/local/bin/gobject-query.exe +0 -0
  31. data/vendor/local/bin/gresource.exe +0 -0
  32. data/vendor/local/bin/gsettings.exe +0 -0
  33. data/vendor/local/bin/gspawn-win64-helper-console.exe +0 -0
  34. data/vendor/local/bin/gspawn-win64-helper.exe +0 -0
  35. data/vendor/local/bin/iconv.exe +0 -0
  36. data/vendor/local/bin/idn2.exe +0 -0
  37. data/vendor/local/bin/libasprintf-0.dll +0 -0
  38. data/vendor/local/bin/libcharset-1.dll +0 -0
  39. data/vendor/local/bin/libffi-6.dll +0 -0
  40. data/vendor/local/bin/libgio-2.0-0.dll +0 -0
  41. data/vendor/local/bin/libglib-2.0-0.dll +0 -0
  42. data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
  43. data/vendor/local/bin/libgmp-10.dll +0 -0
  44. data/vendor/local/bin/libgnutls-30.dll +0 -0
  45. data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
  46. data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
  47. data/vendor/local/bin/libhogweed-4-2.dll +0 -0
  48. data/vendor/local/bin/libiconv-2.dll +0 -0
  49. data/vendor/local/bin/libidn2-0.dll +0 -0
  50. data/vendor/local/bin/libintl-8.dll +0 -0
  51. data/vendor/local/bin/libnettle-6-2.dll +0 -0
  52. data/vendor/local/bin/libp11-kit-0.dll +0 -0
  53. data/vendor/local/bin/libpcre-1.dll +0 -0
  54. data/vendor/local/bin/libpcrecpp-0.dll +0 -0
  55. data/vendor/local/bin/libpcreposix-0.dll +0 -0
  56. data/vendor/local/bin/libtasn1-6.dll +0 -0
  57. data/vendor/local/bin/nettle-hash.exe +0 -0
  58. data/vendor/local/bin/nettle-lfib-stream.exe +0 -0
  59. data/vendor/local/bin/nettle-pbkdf2.exe +0 -0
  60. data/vendor/local/bin/ngettext.exe +0 -0
  61. data/vendor/local/bin/p11-kit.exe +0 -0
  62. data/vendor/local/bin/pcre-config +1 -1
  63. data/vendor/local/bin/pcregrep.exe +0 -0
  64. data/vendor/local/bin/pcretest.exe +0 -0
  65. data/vendor/local/bin/pkcs1-conv.exe +0 -0
  66. data/vendor/local/bin/sexp-conv.exe +0 -0
  67. data/vendor/local/bin/trust.exe +0 -0
  68. data/vendor/local/include/glib-2.0/gio/gappinfo.h +6 -6
  69. data/vendor/local/include/glib-2.0/gio/gapplication.h +9 -1
  70. data/vendor/local/include/glib-2.0/gio/gdatainputstream.h +3 -3
  71. data/vendor/local/include/glib-2.0/gio/gdbusconnection.h +3 -3
  72. data/vendor/local/include/glib-2.0/gio/gdbuserror.h +2 -2
  73. data/vendor/local/include/glib-2.0/gio/gdbusnamewatching.h +1 -1
  74. data/vendor/local/include/glib-2.0/gio/gfile.h +21 -0
  75. data/vendor/local/include/glib-2.0/gio/gioenums.h +4 -4
  76. data/vendor/local/include/glib-2.0/gio/gioenumtypes.h +1 -1
  77. data/vendor/local/include/glib-2.0/gio/giomodule.h +24 -0
  78. data/vendor/local/include/glib-2.0/gio/giotypes.h +9 -3
  79. data/vendor/local/include/glib-2.0/gio/gmountoperation.h +15 -0
  80. data/vendor/local/include/glib-2.0/gio/gnetworkmonitor.h +1 -1
  81. data/vendor/local/include/glib-2.0/gio/gproxyaddressenumerator.h +1 -1
  82. data/vendor/local/include/glib-2.0/gio/gsocket.h +12 -0
  83. data/vendor/local/include/glib-2.0/gio/gsocketaddressenumerator.h +1 -1
  84. data/vendor/local/include/glib-2.0/gio/gsocketconnectable.h +1 -1
  85. data/vendor/local/include/glib-2.0/gio/gsocketlistener.h +1 -1
  86. data/vendor/local/include/glib-2.0/gio/gtlsclientconnection.h +2 -2
  87. data/vendor/local/include/glib-2.0/glib/gatomic.h +23 -23
  88. data/vendor/local/include/glib-2.0/glib/gbacktrace.h +3 -0
  89. data/vendor/local/include/glib-2.0/glib/gconvert.h +9 -3
  90. data/vendor/local/include/glib-2.0/glib/gdate.h +2 -0
  91. data/vendor/local/include/glib-2.0/glib/gdatetime.h +4 -0
  92. data/vendor/local/include/glib-2.0/glib/gfileutils.h +4 -8
  93. data/vendor/local/include/glib-2.0/glib/gkeyfile.h +5 -0
  94. data/vendor/local/include/glib-2.0/glib/gmacros.h +37 -6
  95. data/vendor/local/include/glib-2.0/glib/gmain.h +44 -12
  96. data/vendor/local/include/glib-2.0/glib/gmem.h +5 -4
  97. data/vendor/local/include/glib-2.0/glib/gmessages.h +69 -68
  98. data/vendor/local/include/glib-2.0/glib/gregex.h +3 -3
  99. data/vendor/local/include/glib-2.0/glib/gspawn.h +1 -1
  100. data/vendor/local/include/glib-2.0/glib/gtestutils.h +14 -5
  101. data/vendor/local/include/glib-2.0/glib/gtypes.h +2 -2
  102. data/vendor/local/include/glib-2.0/glib/gunicode.h +4 -4
  103. data/vendor/local/include/glib-2.0/glib/gutils.h +3 -1
  104. data/vendor/local/include/glib-2.0/glib/gversionmacros.h +24 -0
  105. data/vendor/local/include/glib-2.0/gobject/gobject.h +111 -4
  106. data/vendor/local/include/glib-2.0/gobject/gtype.h +8 -8
  107. data/vendor/local/include/glib-2.0/gobject/gtypemodule.h +1 -1
  108. data/vendor/local/include/glib-2.0/gobject/gvalue.h +2 -0
  109. data/vendor/local/include/idn2.h +347 -0
  110. data/vendor/local/include/libtasn1.h +1 -1
  111. data/vendor/local/include/nettle/nettle-stdint.h +1 -1
  112. data/vendor/local/include/p11-kit-1/p11-kit/iter.h +2 -0
  113. data/vendor/local/include/p11-kit-1/p11-kit/pkcs11.h +27 -6
  114. data/vendor/local/include/p11-kit-1/p11-kit/uri.h +12 -0
  115. data/vendor/local/lib/charset.alias +1 -1
  116. data/vendor/local/lib/gio/modules/libgiognutls.dll +0 -0
  117. data/vendor/local/lib/glib-2.0/include/glibconfig.h +7 -2
  118. data/vendor/local/lib/libasprintf.a +0 -0
  119. data/vendor/local/lib/libasprintf.dll.a +0 -0
  120. data/vendor/local/lib/libasprintf.la +2 -2
  121. data/vendor/local/lib/libcharset.a +0 -0
  122. data/vendor/local/lib/libcharset.dll.a +0 -0
  123. data/vendor/local/lib/libcharset.la +2 -2
  124. data/vendor/local/lib/libffi.a +0 -0
  125. data/vendor/local/lib/libffi.dll.a +0 -0
  126. data/vendor/local/lib/libffi.la +2 -2
  127. data/vendor/local/lib/libgio-2.0.dll.a +0 -0
  128. data/vendor/local/lib/libgio-2.0.la +6 -6
  129. data/vendor/local/lib/libglib-2.0.dll.a +0 -0
  130. data/vendor/local/lib/libglib-2.0.la +6 -6
  131. data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
  132. data/vendor/local/lib/libgmodule-2.0.la +6 -6
  133. data/vendor/local/lib/libgmp.dll.a +0 -0
  134. data/vendor/local/lib/libgmp.la +2 -2
  135. data/vendor/local/lib/libgnutls.dll.a +0 -0
  136. data/vendor/local/lib/libgnutls.la +2 -2
  137. data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
  138. data/vendor/local/lib/libgobject-2.0.la +6 -6
  139. data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
  140. data/vendor/local/lib/libgthread-2.0.la +6 -6
  141. data/vendor/local/lib/libhogweed.a +0 -0
  142. data/vendor/local/lib/libhogweed.dll.a +0 -0
  143. data/vendor/local/lib/libiconv.dll.a +0 -0
  144. data/vendor/local/lib/libiconv.la +2 -2
  145. data/vendor/local/lib/libidn2.a +0 -0
  146. data/vendor/local/lib/libidn2.dll.a +0 -0
  147. data/vendor/local/lib/libidn2.la +41 -0
  148. data/vendor/local/lib/libintl.a +0 -0
  149. data/vendor/local/lib/libintl.dll.a +0 -0
  150. data/vendor/local/lib/libintl.la +2 -2
  151. data/vendor/local/lib/libnettle.a +0 -0
  152. data/vendor/local/lib/libnettle.dll.a +0 -0
  153. data/vendor/local/lib/libp11-kit.dll.a +0 -0
  154. data/vendor/local/lib/libp11-kit.la +6 -6
  155. data/vendor/local/lib/libpcre.a +0 -0
  156. data/vendor/local/lib/libpcre.dll.a +0 -0
  157. data/vendor/local/lib/libpcre.la +2 -2
  158. data/vendor/local/lib/libpcrecpp.a +0 -0
  159. data/vendor/local/lib/libpcrecpp.dll.a +0 -0
  160. data/vendor/local/lib/libpcrecpp.la +2 -2
  161. data/vendor/local/lib/libpcreposix.a +0 -0
  162. data/vendor/local/lib/libpcreposix.dll.a +0 -0
  163. data/vendor/local/lib/libpcreposix.la +2 -2
  164. data/vendor/local/lib/libtasn1.a +0 -0
  165. data/vendor/local/lib/libtasn1.dll.a +0 -0
  166. data/vendor/local/lib/libtasn1.la +3 -3
  167. data/vendor/local/lib/pkcs11/p11-kit-trust.dll +0 -0
  168. data/vendor/local/lib/pkcs11/p11-kit-trust.dll.a +0 -0
  169. data/vendor/local/lib/pkcs11/p11-kit-trust.la +6 -6
  170. data/vendor/local/lib/pkgconfig/gio-2.0.pc +3 -3
  171. data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +2 -2
  172. data/vendor/local/lib/pkgconfig/glib-2.0.pc +3 -3
  173. data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +2 -2
  174. data/vendor/local/lib/pkgconfig/gmodule-export-2.0.pc +2 -2
  175. data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +2 -2
  176. data/vendor/local/lib/pkgconfig/gnutls.pc +3 -3
  177. data/vendor/local/lib/pkgconfig/gobject-2.0.pc +3 -3
  178. data/vendor/local/lib/pkgconfig/gthread-2.0.pc +2 -2
  179. data/vendor/local/lib/pkgconfig/hogweed.pc +1 -1
  180. data/vendor/local/lib/pkgconfig/libffi.pc +1 -1
  181. data/vendor/local/lib/pkgconfig/libidn2.pc +11 -0
  182. data/vendor/local/lib/pkgconfig/libpcre.pc +1 -1
  183. data/vendor/local/lib/pkgconfig/libpcrecpp.pc +1 -1
  184. data/vendor/local/lib/pkgconfig/libpcreposix.pc +1 -1
  185. data/vendor/local/lib/pkgconfig/libtasn1.pc +2 -2
  186. data/vendor/local/lib/pkgconfig/nettle.pc +1 -1
  187. data/vendor/local/lib/pkgconfig/p11-kit-1.pc +3 -2
  188. data/vendor/local/libexec/p11-kit/p11-kit-remote.exe +0 -0
  189. data/vendor/local/{lib → libexec}/p11-kit/trust-extract-compat +0 -0
  190. data/vendor/local/share/aclocal/glib-2.0.m4 +4 -1
  191. data/vendor/local/share/aclocal/glib-gettext.m4 +4 -1
  192. data/vendor/local/share/aclocal/gsettings.m4 +3 -0
  193. data/vendor/local/share/bash-completion/completions/gsettings +6 -2
  194. data/vendor/local/share/doc/gettext/gettext.1.html +1 -1
  195. data/vendor/local/share/doc/gettext/ngettext.1.html +1 -1
  196. data/vendor/local/share/gdb/auto-load/home/vagrant/{ruby-gnome2.win64/glib2/vendor/local/lib/libglib-2.0.so.0.5400.1-gdb.py → ruby-gnome2/glib2/vendor/local/lib/libglib-2.0.so.0.5600.0-gdb.py} +1 -1
  197. data/vendor/local/share/gdb/auto-load/home/vagrant/{ruby-gnome2.win64/glib2/vendor/local/lib/libgobject-2.0.so.0.5400.1-gdb.py → ruby-gnome2/glib2/vendor/local/lib/libgobject-2.0.so.0.5600.0-gdb.py} +1 -1
  198. data/vendor/local/share/glib-2.0/codegen/__init__.pyc +0 -0
  199. data/vendor/local/share/glib-2.0/codegen/__init__.pyo +0 -0
  200. data/vendor/local/share/glib-2.0/codegen/codegen.py +2392 -2369
  201. data/vendor/local/share/glib-2.0/codegen/codegen.pyc +0 -0
  202. data/vendor/local/share/glib-2.0/codegen/codegen.pyo +0 -0
  203. data/vendor/local/share/glib-2.0/codegen/codegen_docbook.py +3 -5
  204. data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyc +0 -0
  205. data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyo +0 -0
  206. data/vendor/local/share/glib-2.0/codegen/codegen_main.py +100 -55
  207. data/vendor/local/share/glib-2.0/codegen/codegen_main.pyc +0 -0
  208. data/vendor/local/share/glib-2.0/codegen/codegen_main.pyo +0 -0
  209. data/vendor/local/share/glib-2.0/codegen/config.py +1 -1
  210. data/vendor/local/share/glib-2.0/codegen/config.pyc +0 -0
  211. data/vendor/local/share/glib-2.0/codegen/config.pyo +0 -0
  212. data/vendor/local/share/glib-2.0/codegen/dbustypes.py +9 -2
  213. data/vendor/local/share/glib-2.0/codegen/dbustypes.pyc +0 -0
  214. data/vendor/local/share/glib-2.0/codegen/dbustypes.pyo +0 -0
  215. data/vendor/local/share/glib-2.0/codegen/parser.py +3 -2
  216. data/vendor/local/share/glib-2.0/codegen/parser.pyc +0 -0
  217. data/vendor/local/share/glib-2.0/codegen/parser.pyo +0 -0
  218. data/vendor/local/share/glib-2.0/codegen/utils.py +40 -0
  219. data/vendor/local/share/glib-2.0/codegen/utils.pyc +0 -0
  220. data/vendor/local/share/glib-2.0/codegen/utils.pyo +0 -0
  221. data/vendor/local/share/glib-2.0/schemas/gschema.dtd +3 -2
  222. data/vendor/local/share/gtk-doc/html/gio/GAction.html +11 -11
  223. data/vendor/local/share/gtk-doc/html/gio/GActionGroup.html +14 -14
  224. data/vendor/local/share/gtk-doc/html/gio/GActionMap.html +31 -31
  225. data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +71 -68
  226. data/vendor/local/share/gtk-doc/html/gio/GAppInfoMonitor.html +4 -4
  227. data/vendor/local/share/gtk-doc/html/gio/GApplication.html +162 -25
  228. data/vendor/local/share/gtk-doc/html/gio/GApplicationCommandLine.html +87 -89
  229. data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +74 -74
  230. data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +58 -49
  231. data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +10 -10
  232. data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +2 -2
  233. data/vendor/local/share/gtk-doc/html/gio/GBytesIcon.html +4 -4
  234. data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +27 -27
  235. data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +2 -2
  236. data/vendor/local/share/gtk-doc/html/gio/GConverter.html +7 -7
  237. data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +3 -3
  238. data/vendor/local/share/gtk-doc/html/gio/GDBusActionGroup.html +7 -5
  239. data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +22 -22
  240. data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +148 -141
  241. data/vendor/local/share/gtk-doc/html/gio/GDBusInterface.html +7 -7
  242. data/vendor/local/share/gtk-doc/html/gio/GDBusInterfaceSkeleton.html +7 -7
  243. data/vendor/local/share/gtk-doc/html/gio/GDBusMenuModel.html +7 -5
  244. data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +40 -40
  245. data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +26 -26
  246. data/vendor/local/share/gtk-doc/html/gio/GDBusObject.html +5 -5
  247. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManager.html +6 -6
  248. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerClient.html +25 -24
  249. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerServer.html +4 -4
  250. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectProxy.html +3 -3
  251. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectSkeleton.html +2 -2
  252. data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +87 -73
  253. data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +4 -4
  254. data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +55 -38
  255. data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +10 -10
  256. data/vendor/local/share/gtk-doc/html/gio/GDatagramBased.html +11 -11
  257. data/vendor/local/share/gtk-doc/html/gio/GDrive.html +20 -20
  258. data/vendor/local/share/gtk-doc/html/gio/GDtlsClientConnection.html +7 -7
  259. data/vendor/local/share/gtk-doc/html/gio/GDtlsConnection.html +16 -16
  260. data/vendor/local/share/gtk-doc/html/gio/GDtlsServerConnection.html +5 -5
  261. data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +4 -4
  262. data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +6 -6
  263. data/vendor/local/share/gtk-doc/html/gio/GFile.html +503 -218
  264. data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +4 -4
  265. data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +31 -31
  266. data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +8 -8
  267. data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +4 -4
  268. data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +20 -20
  269. data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +8 -8
  270. data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +3 -3
  271. data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +4 -4
  272. data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +4 -4
  273. data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +3 -3
  274. data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +3 -3
  275. data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +32 -11
  276. data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +11 -11
  277. data/vendor/local/share/gtk-doc/html/gio/GIcon.html +11 -11
  278. data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +3 -3
  279. data/vendor/local/share/gtk-doc/html/gio/GInetAddressMask.html +3 -3
  280. data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +3 -3
  281. data/vendor/local/share/gtk-doc/html/gio/GInitable.html +8 -8
  282. data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +30 -30
  283. data/vendor/local/share/gtk-doc/html/gio/GListModel.html +6 -6
  284. data/vendor/local/share/gtk-doc/html/gio/GListStore.html +10 -10
  285. data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +11 -11
  286. data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +6 -6
  287. data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +15 -15
  288. data/vendor/local/share/gtk-doc/html/gio/GMenu.html +57 -57
  289. data/vendor/local/share/gtk-doc/html/gio/GMenuModel.html +14 -14
  290. data/vendor/local/share/gtk-doc/html/gio/GMount.html +31 -29
  291. data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +9 -9
  292. data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +9 -9
  293. data/vendor/local/share/gtk-doc/html/gio/GNetworkMonitor.html +12 -18
  294. data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +3 -3
  295. data/vendor/local/share/gtk-doc/html/gio/GNotification.html +12 -8
  296. data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +40 -40
  297. data/vendor/local/share/gtk-doc/html/gio/GPermission.html +6 -6
  298. data/vendor/local/share/gtk-doc/html/gio/GPollableInputStream.html +7 -7
  299. data/vendor/local/share/gtk-doc/html/gio/GPollableOutputStream.html +11 -7
  300. data/vendor/local/share/gtk-doc/html/gio/GPropertyAction.html +7 -7
  301. data/vendor/local/share/gtk-doc/html/gio/GProxy.html +10 -10
  302. data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +4 -4
  303. data/vendor/local/share/gtk-doc/html/gio/GProxyAddressEnumerator.html +170 -0
  304. data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +11 -11
  305. data/vendor/local/share/gtk-doc/html/gio/GRemoteActionGroup.html +4 -4
  306. data/vendor/local/share/gtk-doc/html/gio/GResolver.html +25 -25
  307. data/vendor/local/share/gtk-doc/html/gio/GResource.html +37 -33
  308. data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +16 -9
  309. data/vendor/local/share/gtk-doc/html/gio/GSettings.html +99 -96
  310. data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +17 -17
  311. data/vendor/local/share/gtk-doc/html/gio/GSimpleAction.html +18 -18
  312. data/vendor/local/share/gtk-doc/html/gio/GSimpleActionGroup.html +4 -4
  313. data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +107 -106
  314. data/vendor/local/share/gtk-doc/html/gio/GSimpleIOStream.html +2 -2
  315. data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +2 -2
  316. data/vendor/local/share/gtk-doc/html/gio/GSimpleProxyResolver.html +4 -4
  317. data/vendor/local/share/gtk-doc/html/gio/GSocket.html +209 -53
  318. data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +3 -3
  319. data/vendor/local/share/gtk-doc/html/gio/GSocketAddressEnumerator.html +291 -0
  320. data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +31 -31
  321. data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +67 -344
  322. data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +10 -10
  323. data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +5 -5
  324. data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +23 -23
  325. data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +3 -3
  326. data/vendor/local/share/gtk-doc/html/gio/GSrvTarget.html +4 -4
  327. data/vendor/local/share/gtk-doc/html/gio/GSubprocess.html +33 -33
  328. data/vendor/local/share/gtk-doc/html/gio/GSubprocessLauncher.html +25 -20
  329. data/vendor/local/share/gtk-doc/html/gio/GTask.html +360 -357
  330. data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +2 -2
  331. data/vendor/local/share/gtk-doc/html/gio/GTcpWrapperConnection.html +3 -3
  332. data/vendor/local/share/gtk-doc/html/gio/GTestDBus.html +11 -11
  333. data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +23 -23
  334. data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +2 -2
  335. data/vendor/local/share/gtk-doc/html/gio/GTlsBackend.html +7 -7
  336. data/vendor/local/share/gtk-doc/html/gio/GTlsCertificate.html +10 -10
  337. data/vendor/local/share/gtk-doc/html/gio/GTlsClientConnection.html +40 -23
  338. data/vendor/local/share/gtk-doc/html/gio/GTlsConnection.html +9 -9
  339. data/vendor/local/share/gtk-doc/html/gio/GTlsDatabase.html +34 -34
  340. data/vendor/local/share/gtk-doc/html/gio/GTlsFileDatabase.html +5 -5
  341. data/vendor/local/share/gtk-doc/html/gio/GTlsInteraction.html +6 -6
  342. data/vendor/local/share/gtk-doc/html/gio/GTlsPassword.html +9 -9
  343. data/vendor/local/share/gtk-doc/html/gio/GTlsServerConnection.html +5 -5
  344. data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +17 -17
  345. data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +3 -3
  346. data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +8 -8
  347. data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +6 -6
  348. data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +3 -3
  349. data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +3 -3
  350. data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +5 -5
  351. data/vendor/local/share/gtk-doc/html/gio/GVfs.html +15 -15
  352. data/vendor/local/share/gtk-doc/html/gio/GVolume.html +27 -27
  353. data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +12 -10
  354. data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +4 -4
  355. data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +3 -3
  356. data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +10 -3
  357. data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +71 -11
  358. data/vendor/local/share/gtk-doc/html/gio/application.html +2 -2
  359. data/vendor/local/share/gtk-doc/html/gio/async.html +2 -2
  360. data/vendor/local/share/gtk-doc/html/gio/ch01.html +2 -2
  361. data/vendor/local/share/gtk-doc/html/gio/ch02.html +2 -2
  362. data/vendor/local/share/gtk-doc/html/gio/ch03.html +2 -2
  363. data/vendor/local/share/gtk-doc/html/gio/ch32.html +2 -2
  364. data/vendor/local/share/gtk-doc/html/gio/ch33.html +31 -31
  365. data/vendor/local/share/gtk-doc/html/gio/ch33s02.html +2 -2
  366. data/vendor/local/share/gtk-doc/html/gio/ch33s03.html +2 -2
  367. data/vendor/local/share/gtk-doc/html/gio/ch34.html +2 -2
  368. data/vendor/local/share/gtk-doc/html/gio/ch34s02.html +2 -2
  369. data/vendor/local/share/gtk-doc/html/gio/ch34s03.html +2 -2
  370. data/vendor/local/share/gtk-doc/html/gio/ch34s04.html +2 -2
  371. data/vendor/local/share/gtk-doc/html/gio/ch34s05.html +2 -2
  372. data/vendor/local/share/gtk-doc/html/gio/ch34s06.html +2 -2
  373. data/vendor/local/share/gtk-doc/html/gio/ch34s07.html +2 -2
  374. data/vendor/local/share/gtk-doc/html/gio/ch35.html +2 -2
  375. data/vendor/local/share/gtk-doc/html/gio/ch35s02.html +2 -2
  376. data/vendor/local/share/gtk-doc/html/gio/ch35s03.html +60 -60
  377. data/vendor/local/share/gtk-doc/html/gio/ch35s04.html +15 -15
  378. data/vendor/local/share/gtk-doc/html/gio/conversion.html +2 -2
  379. data/vendor/local/share/gtk-doc/html/gio/data-models.html +2 -2
  380. data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +2 -2
  381. data/vendor/local/share/gtk-doc/html/gio/extending.html +2 -2
  382. data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +2 -2
  383. data/vendor/local/share/gtk-doc/html/gio/file_mon.html +2 -2
  384. data/vendor/local/share/gtk-doc/html/gio/file_ops.html +2 -2
  385. data/vendor/local/share/gtk-doc/html/gio/gapplication-tool.html +2 -2
  386. data/vendor/local/share/gtk-doc/html/gio/gdbus-codegen.html +285 -199
  387. data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +2 -2
  388. data/vendor/local/share/gtk-doc/html/gio/gdbus-example-gdbus-codegen.html +9 -9
  389. data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +2 -2
  390. data/vendor/local/share/gtk-doc/html/gio/gdbus.html +2 -2
  391. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +15 -13
  392. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +23 -23
  393. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +3 -3
  394. data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +70 -21
  395. data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +18 -18
  396. data/vendor/local/share/gtk-doc/html/gio/gio-GActionGroup-exporter.html +2 -2
  397. data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +12 -12
  398. data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +3 -3
  399. data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +3 -3
  400. data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +39 -39
  401. data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +3 -3
  402. data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +7 -7
  403. data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +5 -5
  404. data/vendor/local/share/gtk-doc/html/gio/gio-GMenuModel-exporter.html +2 -2
  405. data/vendor/local/share/gtk-doc/html/gio/gio-GSettingsSchema-GSettingsSchemaSource.html +58 -58
  406. data/vendor/local/share/gtk-doc/html/gio/gio-GWin32InputStream.html +3 -3
  407. data/vendor/local/share/gtk-doc/html/gio/gio-GWin32OutputStream.html +3 -3
  408. data/vendor/local/share/gtk-doc/html/gio/gio-GWin32RegistryKey.html +127 -127
  409. data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +14 -14
  410. data/vendor/local/share/gtk-doc/html/gio/gio-TLS-Overview.html +2 -2
  411. data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +114 -24
  412. data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +13 -13
  413. data/vendor/local/share/gtk-doc/html/gio/gio-gnetworking.h.html +3 -3
  414. data/vendor/local/share/gtk-doc/html/gio/gio-gpollableutils.html +14 -14
  415. data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +6 -6
  416. data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +2 -2
  417. data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +31 -14
  418. data/vendor/local/share/gtk-doc/html/gio/gio.html +2 -2
  419. data/vendor/local/share/gtk-doc/html/gio/glib-compile-resources.html +2 -2
  420. data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +2 -2
  421. data/vendor/local/share/gtk-doc/html/gio/gresource-tool.html +2 -2
  422. data/vendor/local/share/gtk-doc/html/gio/gsettings-tool.html +5 -4
  423. data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +2 -2
  424. data/vendor/local/share/gtk-doc/html/gio/icons.html +2 -2
  425. data/vendor/local/share/gtk-doc/html/gio/index.html +9 -3
  426. data/vendor/local/share/gtk-doc/html/gio/migrating.html +2 -2
  427. data/vendor/local/share/gtk-doc/html/gio/networking.html +2 -2
  428. data/vendor/local/share/gtk-doc/html/gio/permissions.html +2 -2
  429. data/vendor/local/share/gtk-doc/html/gio/pt01.html +2 -2
  430. data/vendor/local/share/gtk-doc/html/gio/pt02.html +8 -2
  431. data/vendor/local/share/gtk-doc/html/gio/registry.html +2 -2
  432. data/vendor/local/share/gtk-doc/html/gio/resolver.html +8 -2
  433. data/vendor/local/share/gtk-doc/html/gio/resources.html +2 -2
  434. data/vendor/local/share/gtk-doc/html/gio/running-gio-apps.html +2 -2
  435. data/vendor/local/share/gtk-doc/html/gio/settings.html +2 -2
  436. data/vendor/local/share/gtk-doc/html/gio/streaming.html +2 -2
  437. data/vendor/local/share/gtk-doc/html/gio/subprocesses.html +2 -2
  438. data/vendor/local/share/gtk-doc/html/gio/testing.html +2 -2
  439. data/vendor/local/share/gtk-doc/html/gio/tls.html +2 -2
  440. data/vendor/local/share/gtk-doc/html/gio/tools.html +2 -2
  441. data/vendor/local/share/gtk-doc/html/gio/types.html +2 -2
  442. data/vendor/local/share/gtk-doc/html/gio/utils.html +2 -2
  443. data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +2 -2
  444. data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +6 -4
  445. data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +47 -3
  446. data/vendor/local/share/gtk-doc/html/glib/deprecated.html +2 -2
  447. data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +25 -23
  448. data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +7 -7
  449. data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +11 -11
  450. data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +7 -7
  451. data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +5 -5
  452. data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +23 -21
  453. data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +19 -15
  454. data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +36 -32
  455. data/vendor/local/share/gtk-doc/html/glib/glib-Bounds-checked-integer-arithmetic.html +2 -2
  456. data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +55 -43
  457. data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +4 -4
  458. data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +3 -3
  459. data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +169 -108
  460. data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +91 -91
  461. data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +6 -5
  462. data/vendor/local/share/gtk-doc/html/glib/glib-Data-HMACs.html +8 -7
  463. data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +33 -23
  464. data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +50 -10
  465. data/vendor/local/share/gtk-doc/html/glib/glib-Deprecated-Thread-APIs.html +56 -56
  466. data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +13 -6
  467. data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +45 -38
  468. data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +42 -42
  469. data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +116 -117
  470. data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +57 -47
  471. data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +106 -12
  472. data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +5 -4
  473. data/vendor/local/share/gtk-doc/html/glib/glib-GUuid.html +4 -3
  474. data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +258 -249
  475. data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +26 -25
  476. data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +3 -3
  477. data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +52 -43
  478. data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +6 -5
  479. data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +3 -2
  480. data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +51 -51
  481. data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +20 -20
  482. data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +237 -50
  483. data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +57 -38
  484. data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +3 -2
  485. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +36 -30
  486. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +33 -33
  487. data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +109 -70
  488. data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +180 -74
  489. data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +147 -91
  490. data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +12 -8
  491. data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +2 -2
  492. data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +102 -102
  493. data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +24 -22
  494. data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +8 -8
  495. data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +3 -3
  496. data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +3 -3
  497. data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +43 -41
  498. data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +16 -15
  499. data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +74 -74
  500. data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +26 -18
  501. data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +88 -82
  502. data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +7 -7
  503. data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +3 -3
  504. data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +48 -41
  505. data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +29 -29
  506. data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +264 -124
  507. data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +284 -180
  508. data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +2 -2
  509. data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +192 -191
  510. data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +2 -2
  511. data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +4 -4
  512. data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +12 -12
  513. data/vendor/local/share/gtk-doc/html/glib/glib-UNIX-specific-utilities-and-integration.html +4 -4
  514. data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +14 -13
  515. data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +49 -37
  516. data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +43 -4
  517. data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +46 -26
  518. data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +10 -10
  519. data/vendor/local/share/gtk-doc/html/glib/glib-building.html +108 -99
  520. data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +2 -2
  521. data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +2 -2
  522. data/vendor/local/share/gtk-doc/html/glib/glib-core.html +2 -2
  523. data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +2 -2
  524. data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +2 -2
  525. data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +2 -2
  526. data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +2 -2
  527. data/vendor/local/share/gtk-doc/html/glib/glib-programming.html +2 -2
  528. data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +2 -2
  529. data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +2 -2
  530. data/vendor/local/share/gtk-doc/html/glib/glib-running.html +7 -2
  531. data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +2 -2
  532. data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +16 -2
  533. data/vendor/local/share/gtk-doc/html/glib/glib.html +2 -2
  534. data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +2 -2
  535. data/vendor/local/share/gtk-doc/html/glib/gtester.html +2 -2
  536. data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +157 -157
  537. data/vendor/local/share/gtk-doc/html/glib/gvariant-text.html +9 -9
  538. data/vendor/local/share/gtk-doc/html/glib/index.html +3 -3
  539. data/vendor/local/share/gtk-doc/html/glib/tools.html +2 -2
  540. data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +35 -34
  541. data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +71 -60
  542. data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +7 -7
  543. data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +4 -2
  544. data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +10 -2
  545. data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +15 -15
  546. data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +32 -32
  547. data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +64 -64
  548. data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +4 -4
  549. data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +24 -24
  550. data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +98 -21
  551. data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +349 -61
  552. data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +21 -21
  553. data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +164 -162
  554. data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +31 -31
  555. data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +12 -12
  556. data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +51 -49
  557. data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +67 -65
  558. data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +55 -52
  559. data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +392 -222
  560. data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +254 -254
  561. data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +20 -19
  562. data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +2 -2
  563. data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +2 -2
  564. data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +91 -91
  565. data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +2 -2
  566. data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +2 -0
  567. data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +18 -18
  568. data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +72 -72
  569. data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +117 -117
  570. data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +26 -26
  571. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +10 -10
  572. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +14 -14
  573. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +46 -46
  574. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +42 -42
  575. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +134 -134
  576. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +29 -29
  577. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +39 -39
  578. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-override.html +72 -72
  579. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-prerequisite.html +61 -61
  580. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +67 -67
  581. data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +64 -64
  582. data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +27 -27
  583. data/vendor/local/share/gtk-doc/html/gobject/index.html +3 -3
  584. data/vendor/local/share/gtk-doc/html/gobject/pr01.html +2 -2
  585. data/vendor/local/share/gtk-doc/html/gobject/pt01.html +2 -2
  586. data/vendor/local/share/gtk-doc/html/gobject/pt02.html +2 -2
  587. data/vendor/local/share/gtk-doc/html/gobject/pt03.html +2 -2
  588. data/vendor/local/share/gtk-doc/html/gobject/rn01.html +2 -2
  589. data/vendor/local/share/gtk-doc/html/gobject/rn02.html +2 -2
  590. data/vendor/local/share/gtk-doc/html/gobject/signal.html +19 -19
  591. data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +2 -2
  592. data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +2 -2
  593. data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +9 -9
  594. data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +2 -2
  595. data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +2 -2
  596. data/vendor/local/share/gtk-doc/html/libidn2/api-index-full.html +214 -0
  597. data/vendor/local/share/gtk-doc/html/libidn2/home.png +0 -0
  598. data/vendor/local/share/gtk-doc/html/libidn2/index.html +38 -0
  599. data/vendor/local/share/gtk-doc/html/libidn2/left-insensitive.png +0 -0
  600. data/vendor/local/share/gtk-doc/html/libidn2/left.png +0 -0
  601. data/vendor/local/share/gtk-doc/html/libidn2/libidn2-idn2.html +1806 -0
  602. data/vendor/local/share/gtk-doc/html/libidn2/libidn2.devhelp2 +104 -0
  603. data/vendor/local/share/gtk-doc/html/libidn2/libidn2.html +35 -0
  604. data/vendor/local/share/gtk-doc/html/libidn2/right-insensitive.png +0 -0
  605. data/vendor/local/share/gtk-doc/html/libidn2/right.png +0 -0
  606. data/vendor/local/share/gtk-doc/html/libidn2/style.css +479 -0
  607. data/vendor/local/share/gtk-doc/html/libidn2/up-insensitive.png +0 -0
  608. data/vendor/local/share/gtk-doc/html/libidn2/up.png +0 -0
  609. data/vendor/local/share/gtk-doc/html/p11-kit/config-example.html +7 -7
  610. data/vendor/local/share/gtk-doc/html/p11-kit/config-files.html +3 -3
  611. data/vendor/local/share/gtk-doc/html/p11-kit/config.html +3 -3
  612. data/vendor/local/share/gtk-doc/html/p11-kit/devel-building-style.html +3 -3
  613. data/vendor/local/share/gtk-doc/html/p11-kit/devel-building.html +4 -4
  614. data/vendor/local/share/gtk-doc/html/p11-kit/devel-commands.html +3 -3
  615. data/vendor/local/share/gtk-doc/html/p11-kit/devel-debugging.html +3 -3
  616. data/vendor/local/share/gtk-doc/html/p11-kit/devel-paths.html +3 -3
  617. data/vendor/local/share/gtk-doc/html/p11-kit/devel-testing.html +3 -3
  618. data/vendor/local/share/gtk-doc/html/p11-kit/devel.html +3 -3
  619. data/vendor/local/share/gtk-doc/html/p11-kit/index.html +4 -4
  620. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Deprecated.html +44 -44
  621. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Future.html +180 -90
  622. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Modules.html +107 -66
  623. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-PIN-Callbacks.html +58 -58
  624. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-URIs.html +303 -64
  625. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Utilities.html +17 -17
  626. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit.devhelp2 +10 -0
  627. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit.html +7 -5
  628. data/vendor/local/share/gtk-doc/html/p11-kit/pkcs11-conf.html +6 -6
  629. data/vendor/local/share/gtk-doc/html/p11-kit/reference.html +39 -3
  630. data/vendor/local/share/gtk-doc/html/p11-kit/sharing-managed.html +3 -3
  631. data/vendor/local/share/gtk-doc/html/p11-kit/sharing.html +3 -3
  632. data/vendor/local/share/gtk-doc/html/p11-kit/tools.html +3 -3
  633. data/vendor/local/share/gtk-doc/html/p11-kit/trust-disable.html +3 -3
  634. data/vendor/local/share/gtk-doc/html/p11-kit/trust-glib-networking.html +3 -3
  635. data/vendor/local/share/gtk-doc/html/p11-kit/trust-module.html +3 -3
  636. data/vendor/local/share/gtk-doc/html/p11-kit/trust-nss.html +3 -3
  637. data/vendor/local/share/gtk-doc/html/p11-kit/trust.html +3 -3
  638. data/vendor/local/share/info/dir +4 -7
  639. data/vendor/local/share/info/libidn2.info +1134 -0
  640. data/vendor/local/share/info/libtasn1.info +2 -2
  641. data/vendor/local/share/installed-tests/glib-networking/certificate.test +3 -0
  642. data/vendor/local/share/installed-tests/glib-networking/connection.test +3 -0
  643. data/vendor/local/share/installed-tests/glib-networking/dtls-connection.test +3 -0
  644. data/vendor/local/share/installed-tests/glib-networking/file-database.test +3 -0
  645. data/vendor/local/share/installed-tests/glib-networking/pkcs11-array.test +3 -0
  646. data/vendor/local/share/installed-tests/glib-networking/pkcs11-pin.test +3 -0
  647. data/vendor/local/share/installed-tests/glib-networking/pkcs11-slot.test +3 -0
  648. data/vendor/local/share/installed-tests/glib-networking/pkcs11-util.test +3 -0
  649. data/vendor/local/share/license/glib-networking/COPYING +112 -91
  650. data/vendor/local/share/license/libidn2/AUTHORS +7 -0
  651. data/vendor/local/share/license/libidn2/COPYING +35 -0
  652. data/vendor/local/share/license/{p11-kit → p11-glue/p11-kit}/AUTHORS +0 -0
  653. data/vendor/local/share/license/{p11-kit → p11-glue/p11-kit}/COPYING +0 -0
  654. data/vendor/local/share/locale/af/LC_MESSAGES/glib20.mo +0 -0
  655. data/vendor/local/share/locale/an/LC_MESSAGES/glib-networking.mo +0 -0
  656. data/vendor/local/share/locale/an/LC_MESSAGES/glib20.mo +0 -0
  657. data/vendor/local/share/locale/ar/LC_MESSAGES/glib-networking.mo +0 -0
  658. data/vendor/local/share/locale/ar/LC_MESSAGES/glib20.mo +0 -0
  659. data/vendor/local/share/locale/as/LC_MESSAGES/glib-networking.mo +0 -0
  660. data/vendor/local/share/locale/as/LC_MESSAGES/glib20.mo +0 -0
  661. data/vendor/local/share/locale/be/LC_MESSAGES/glib-networking.mo +0 -0
  662. data/vendor/local/share/locale/be/LC_MESSAGES/glib20.mo +0 -0
  663. data/vendor/local/share/locale/bg/LC_MESSAGES/glib-networking.mo +0 -0
  664. data/vendor/local/share/locale/bg/LC_MESSAGES/glib20.mo +0 -0
  665. data/vendor/local/share/locale/bn_IN/LC_MESSAGES/glib-networking.mo +0 -0
  666. data/vendor/local/share/locale/bn_IN/LC_MESSAGES/glib20.mo +0 -0
  667. data/vendor/local/share/locale/bs/LC_MESSAGES/glib-networking.mo +0 -0
  668. data/vendor/local/share/locale/bs/LC_MESSAGES/glib20.mo +0 -0
  669. data/vendor/local/share/locale/ca/LC_MESSAGES/glib-networking.mo +0 -0
  670. data/vendor/local/share/locale/ca/LC_MESSAGES/glib20.mo +0 -0
  671. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/glib-networking.mo +0 -0
  672. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/glib20.mo +0 -0
  673. data/vendor/local/share/locale/cs/LC_MESSAGES/glib-networking.mo +0 -0
  674. data/vendor/local/share/locale/cs/LC_MESSAGES/glib20.mo +0 -0
  675. data/vendor/local/share/locale/da/LC_MESSAGES/glib-networking.mo +0 -0
  676. data/vendor/local/share/locale/da/LC_MESSAGES/glib20.mo +0 -0
  677. data/vendor/local/share/locale/de/LC_MESSAGES/glib-networking.mo +0 -0
  678. data/vendor/local/share/locale/de/LC_MESSAGES/glib20.mo +0 -0
  679. data/vendor/local/share/locale/el/LC_MESSAGES/glib-networking.mo +0 -0
  680. data/vendor/local/share/locale/el/LC_MESSAGES/glib20.mo +0 -0
  681. data/vendor/local/share/locale/en_CA/LC_MESSAGES/glib-networking.mo +0 -0
  682. data/vendor/local/share/locale/en_CA/LC_MESSAGES/glib20.mo +0 -0
  683. data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib-networking.mo +0 -0
  684. data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib20.mo +0 -0
  685. data/vendor/local/share/locale/eo/LC_MESSAGES/glib-networking.mo +0 -0
  686. data/vendor/local/share/locale/eo/LC_MESSAGES/glib20.mo +0 -0
  687. data/vendor/local/share/locale/es/LC_MESSAGES/glib-networking.mo +0 -0
  688. data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
  689. data/vendor/local/share/locale/et/LC_MESSAGES/glib-networking.mo +0 -0
  690. data/vendor/local/share/locale/et/LC_MESSAGES/glib20.mo +0 -0
  691. data/vendor/local/share/locale/eu/LC_MESSAGES/glib-networking.mo +0 -0
  692. data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
  693. data/vendor/local/share/locale/fa/LC_MESSAGES/glib-networking.mo +0 -0
  694. data/vendor/local/share/locale/fa/LC_MESSAGES/glib20.mo +0 -0
  695. data/vendor/local/share/locale/fi/LC_MESSAGES/glib-networking.mo +0 -0
  696. data/vendor/local/share/locale/fi/LC_MESSAGES/glib20.mo +0 -0
  697. data/vendor/local/share/locale/fr/LC_MESSAGES/glib-networking.mo +0 -0
  698. data/vendor/local/share/locale/fr/LC_MESSAGES/glib20.mo +0 -0
  699. data/vendor/local/share/locale/fur/LC_MESSAGES/glib-networking.mo +0 -0
  700. data/vendor/local/share/locale/fur/LC_MESSAGES/glib20.mo +0 -0
  701. data/vendor/local/share/locale/ga/LC_MESSAGES/glib20.mo +0 -0
  702. data/vendor/local/share/locale/gd/LC_MESSAGES/glib-networking.mo +0 -0
  703. data/vendor/local/share/locale/gd/LC_MESSAGES/glib20.mo +0 -0
  704. data/vendor/local/share/locale/gl/LC_MESSAGES/glib-networking.mo +0 -0
  705. data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
  706. data/vendor/local/share/locale/gu/LC_MESSAGES/glib-networking.mo +0 -0
  707. data/vendor/local/share/locale/gu/LC_MESSAGES/glib20.mo +0 -0
  708. data/vendor/local/share/locale/he/LC_MESSAGES/glib-networking.mo +0 -0
  709. data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
  710. data/vendor/local/share/locale/hi/LC_MESSAGES/glib-networking.mo +0 -0
  711. data/vendor/local/share/locale/hi/LC_MESSAGES/glib20.mo +0 -0
  712. data/vendor/local/share/locale/hr/LC_MESSAGES/glib-networking.mo +0 -0
  713. data/vendor/local/share/locale/hr/LC_MESSAGES/glib20.mo +0 -0
  714. data/vendor/local/share/locale/hu/LC_MESSAGES/glib-networking.mo +0 -0
  715. data/vendor/local/share/locale/hu/LC_MESSAGES/glib20.mo +0 -0
  716. data/vendor/local/share/locale/id/LC_MESSAGES/glib-networking.mo +0 -0
  717. data/vendor/local/share/locale/id/LC_MESSAGES/glib20.mo +0 -0
  718. data/vendor/local/share/locale/is/LC_MESSAGES/glib20.mo +0 -0
  719. data/vendor/local/share/locale/it/LC_MESSAGES/glib-networking.mo +0 -0
  720. data/vendor/local/share/locale/it/LC_MESSAGES/glib20.mo +0 -0
  721. data/vendor/local/share/locale/ja/LC_MESSAGES/glib-networking.mo +0 -0
  722. data/vendor/local/share/locale/ja/LC_MESSAGES/glib20.mo +0 -0
  723. data/vendor/local/share/locale/kk/LC_MESSAGES/glib-networking.mo +0 -0
  724. data/vendor/local/share/locale/kk/LC_MESSAGES/glib20.mo +0 -0
  725. data/vendor/local/share/locale/km/LC_MESSAGES/glib-networking.mo +0 -0
  726. data/vendor/local/share/locale/kn/LC_MESSAGES/glib-networking.mo +0 -0
  727. data/vendor/local/share/locale/kn/LC_MESSAGES/glib20.mo +0 -0
  728. data/vendor/local/share/locale/ko/LC_MESSAGES/glib-networking.mo +0 -0
  729. data/vendor/local/share/locale/ko/LC_MESSAGES/glib20.mo +0 -0
  730. data/vendor/local/share/locale/lt/LC_MESSAGES/glib-networking.mo +0 -0
  731. data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
  732. data/vendor/local/share/locale/lv/LC_MESSAGES/glib-networking.mo +0 -0
  733. data/vendor/local/share/locale/lv/LC_MESSAGES/glib20.mo +0 -0
  734. data/vendor/local/share/locale/ml/LC_MESSAGES/glib-networking.mo +0 -0
  735. data/vendor/local/share/locale/ml/LC_MESSAGES/glib20.mo +0 -0
  736. data/vendor/local/share/locale/mr/LC_MESSAGES/glib-networking.mo +0 -0
  737. data/vendor/local/share/locale/mr/LC_MESSAGES/glib20.mo +0 -0
  738. data/vendor/local/share/locale/nb/LC_MESSAGES/glib-networking.mo +0 -0
  739. data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
  740. data/vendor/local/share/locale/ne/LC_MESSAGES/glib-networking.mo +0 -0
  741. data/vendor/local/share/locale/ne/LC_MESSAGES/glib20.mo +0 -0
  742. data/vendor/local/share/locale/nl/LC_MESSAGES/glib-networking.mo +0 -0
  743. data/vendor/local/share/locale/nl/LC_MESSAGES/glib20.mo +0 -0
  744. data/vendor/local/share/locale/oc/LC_MESSAGES/glib-networking.mo +0 -0
  745. data/vendor/local/share/locale/oc/LC_MESSAGES/glib20.mo +0 -0
  746. data/vendor/local/share/locale/or/LC_MESSAGES/glib-networking.mo +0 -0
  747. data/vendor/local/share/locale/or/LC_MESSAGES/glib20.mo +0 -0
  748. data/vendor/local/share/locale/pa/LC_MESSAGES/glib-networking.mo +0 -0
  749. data/vendor/local/share/locale/pa/LC_MESSAGES/glib20.mo +0 -0
  750. data/vendor/local/share/locale/pl/LC_MESSAGES/glib-networking.mo +0 -0
  751. data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
  752. data/vendor/local/share/locale/pt/LC_MESSAGES/glib-networking.mo +0 -0
  753. data/vendor/local/share/locale/pt/LC_MESSAGES/glib20.mo +0 -0
  754. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib-networking.mo +0 -0
  755. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib20.mo +0 -0
  756. data/vendor/local/share/locale/ro/LC_MESSAGES/glib-networking.mo +0 -0
  757. data/vendor/local/share/locale/ro/LC_MESSAGES/glib20.mo +0 -0
  758. data/vendor/local/share/locale/ru/LC_MESSAGES/glib-networking.mo +0 -0
  759. data/vendor/local/share/locale/ru/LC_MESSAGES/glib20.mo +0 -0
  760. data/vendor/local/share/locale/sk/LC_MESSAGES/glib-networking.mo +0 -0
  761. data/vendor/local/share/locale/sk/LC_MESSAGES/glib20.mo +0 -0
  762. data/vendor/local/share/locale/sl/LC_MESSAGES/glib-networking.mo +0 -0
  763. data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
  764. data/vendor/local/share/locale/sr/LC_MESSAGES/glib-networking.mo +0 -0
  765. data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
  766. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib-networking.mo +0 -0
  767. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib20.mo +0 -0
  768. data/vendor/local/share/locale/sv/LC_MESSAGES/glib-networking.mo +0 -0
  769. data/vendor/local/share/locale/sv/LC_MESSAGES/glib20.mo +0 -0
  770. data/vendor/local/share/locale/ta/LC_MESSAGES/glib-networking.mo +0 -0
  771. data/vendor/local/share/locale/ta/LC_MESSAGES/glib20.mo +0 -0
  772. data/vendor/local/share/locale/te/LC_MESSAGES/glib-networking.mo +0 -0
  773. data/vendor/local/share/locale/te/LC_MESSAGES/glib20.mo +0 -0
  774. data/vendor/local/share/locale/tg/LC_MESSAGES/glib-networking.mo +0 -0
  775. data/vendor/local/share/locale/tg/LC_MESSAGES/glib20.mo +0 -0
  776. data/vendor/local/share/locale/th/LC_MESSAGES/glib-networking.mo +0 -0
  777. data/vendor/local/share/locale/th/LC_MESSAGES/glib20.mo +0 -0
  778. data/vendor/local/share/locale/tr/LC_MESSAGES/glib-networking.mo +0 -0
  779. data/vendor/local/share/locale/tr/LC_MESSAGES/glib20.mo +0 -0
  780. data/vendor/local/share/locale/ug/LC_MESSAGES/glib-networking.mo +0 -0
  781. data/vendor/local/share/locale/ug/LC_MESSAGES/glib20.mo +0 -0
  782. data/vendor/local/share/locale/uk/LC_MESSAGES/glib-networking.mo +0 -0
  783. data/vendor/local/share/locale/uk/LC_MESSAGES/glib20.mo +0 -0
  784. data/vendor/local/share/locale/vi/LC_MESSAGES/glib-networking.mo +0 -0
  785. data/vendor/local/share/locale/vi/LC_MESSAGES/glib20.mo +0 -0
  786. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib-networking.mo +0 -0
  787. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib20.mo +0 -0
  788. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/glib-networking.mo +0 -0
  789. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/glib20.mo +0 -0
  790. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib-networking.mo +0 -0
  791. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib20.mo +0 -0
  792. data/vendor/local/share/man/man1/asn1Coding.1 +1 -1
  793. data/vendor/local/share/man/man1/asn1Decoding.1 +1 -1
  794. data/vendor/local/share/man/man1/asn1Parser.1 +1 -1
  795. data/vendor/local/share/man/man1/gapplication.1 +1 -1
  796. data/vendor/local/share/man/man1/gdbus-codegen.1 +107 -17
  797. data/vendor/local/share/man/man1/gdbus.1 +1 -1
  798. data/vendor/local/share/man/man1/gettext.1 +1 -1
  799. data/vendor/local/share/man/man1/gio-querymodules.1 +1 -1
  800. data/vendor/local/share/man/man1/gio.1 +1 -1
  801. data/vendor/local/share/man/man1/glib-compile-resources.1 +1 -1
  802. data/vendor/local/share/man/man1/glib-compile-schemas.1 +1 -1
  803. data/vendor/local/share/man/man1/glib-genmarshal.1 +55 -1
  804. data/vendor/local/share/man/man1/glib-gettextize.1 +1 -1
  805. data/vendor/local/share/man/man1/glib-mkenums.1 +241 -23
  806. data/vendor/local/share/man/man1/gobject-query.1 +1 -1
  807. data/vendor/local/share/man/man1/gresource.1 +1 -1
  808. data/vendor/local/share/man/man1/gsettings.1 +5 -3
  809. data/vendor/local/share/man/man1/gtester-report.1 +1 -1
  810. data/vendor/local/share/man/man1/gtester.1 +1 -1
  811. data/vendor/local/share/man/man1/idn2.1 +72 -0
  812. data/vendor/local/share/man/man1/ngettext.1 +1 -1
  813. data/vendor/local/share/man/man3/idn2_check_version.3 +40 -0
  814. data/vendor/local/share/man/man3/idn2_free.3 +33 -0
  815. data/vendor/local/share/man/man3/idn2_lookup_u8.3 +62 -0
  816. data/vendor/local/share/man/man3/idn2_lookup_ul.3 +55 -0
  817. data/vendor/local/share/man/man3/idn2_register_u8.3 +52 -0
  818. data/vendor/local/share/man/man3/idn2_register_ul.3 +51 -0
  819. data/vendor/local/share/man/man3/idn2_strerror.3 +32 -0
  820. data/vendor/local/share/man/man3/idn2_strerror_name.3 +36 -0
  821. data/vendor/local/share/man/man3/idn2_to_ascii_4i.3 +57 -0
  822. data/vendor/local/share/man/man3/idn2_to_ascii_4z.3 +42 -0
  823. data/vendor/local/share/man/man3/idn2_to_ascii_8z.3 +42 -0
  824. data/vendor/local/share/man/man3/idn2_to_ascii_lz.3 +43 -0
  825. data/vendor/local/share/man/man3/idn2_to_unicode_44i.3 +46 -0
  826. data/vendor/local/share/man/man3/idn2_to_unicode_4z4z.3 +39 -0
  827. data/vendor/local/share/man/man3/idn2_to_unicode_8z4z.3 +39 -0
  828. data/vendor/local/share/man/man3/idn2_to_unicode_8z8z.3 +39 -0
  829. data/vendor/local/share/man/man3/idn2_to_unicode_8zlz.3 +40 -0
  830. data/vendor/local/share/man/man3/idn2_to_unicode_lzlz.3 +40 -0
  831. data/vendor/local/share/p11-kit/modules/p11-kit-trust.module +1 -1
  832. metadata +64 -105
  833. data/vendor/local/bin/idn.exe +0 -0
  834. data/vendor/local/bin/libidn-11.def +0 -77
  835. data/vendor/local/bin/libidn-11.dll +0 -0
  836. data/vendor/local/include/idn-free.h +0 -74
  837. data/vendor/local/include/idn-int.h +0 -1
  838. data/vendor/local/include/idna.h +0 -123
  839. data/vendor/local/include/pr29.h +0 -73
  840. data/vendor/local/include/punycode.h +0 -239
  841. data/vendor/local/include/stringprep.h +0 -242
  842. data/vendor/local/include/tld.h +0 -135
  843. data/vendor/local/lib/gio/modules/libgiognutls.a +0 -0
  844. data/vendor/local/lib/gio/modules/libgiognutls.dll.a +0 -0
  845. data/vendor/local/lib/gio/modules/libgiognutls.la +0 -41
  846. data/vendor/local/lib/libidn.a +0 -0
  847. data/vendor/local/lib/libidn.dll.a +0 -0
  848. data/vendor/local/lib/libidn.la +0 -41
  849. data/vendor/local/lib/p11-kit/p11-kit-remote.exe +0 -0
  850. data/vendor/local/lib/pkgconfig/libidn.pc +0 -23
  851. data/vendor/local/share/emacs/site-lisp/idna.el +0 -192
  852. data/vendor/local/share/emacs/site-lisp/punycode.el +0 -182
  853. data/vendor/local/share/gtk-doc/html/p11-kit/index.sgml +0 -189
  854. data/vendor/local/share/info/libidn-components.png +0 -0
  855. data/vendor/local/share/info/libidn.info +0 -4406
  856. data/vendor/local/share/license/glib-networking/AUTHORS +0 -0
  857. data/vendor/local/share/license/libidn/AUTHORS +0 -794
  858. data/vendor/local/share/license/libidn/COPYING +0 -30
  859. data/vendor/local/share/locale/cs/LC_MESSAGES/libidn.mo +0 -0
  860. data/vendor/local/share/locale/da/LC_MESSAGES/libidn.mo +0 -0
  861. data/vendor/local/share/locale/de/LC_MESSAGES/libidn.mo +0 -0
  862. data/vendor/local/share/locale/en@boldquot/LC_MESSAGES/libidn.mo +0 -0
  863. data/vendor/local/share/locale/en@quot/LC_MESSAGES/libidn.mo +0 -0
  864. data/vendor/local/share/locale/eo/LC_MESSAGES/libidn.mo +0 -0
  865. data/vendor/local/share/locale/fi/LC_MESSAGES/libidn.mo +0 -0
  866. data/vendor/local/share/locale/fr/LC_MESSAGES/libidn.mo +0 -0
  867. data/vendor/local/share/locale/hr/LC_MESSAGES/libidn.mo +0 -0
  868. data/vendor/local/share/locale/hu/LC_MESSAGES/libidn.mo +0 -0
  869. data/vendor/local/share/locale/id/LC_MESSAGES/libidn.mo +0 -0
  870. data/vendor/local/share/locale/it/LC_MESSAGES/libidn.mo +0 -0
  871. data/vendor/local/share/locale/ja/LC_MESSAGES/libidn.mo +0 -0
  872. data/vendor/local/share/locale/nl/LC_MESSAGES/libidn.mo +0 -0
  873. data/vendor/local/share/locale/pl/LC_MESSAGES/libidn.mo +0 -0
  874. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/libidn.mo +0 -0
  875. data/vendor/local/share/locale/ro/LC_MESSAGES/libidn.mo +0 -0
  876. data/vendor/local/share/locale/sr/LC_MESSAGES/libidn.mo +0 -0
  877. data/vendor/local/share/locale/uk/LC_MESSAGES/libidn.mo +0 -0
  878. data/vendor/local/share/locale/vi/LC_MESSAGES/libidn.mo +0 -0
  879. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/libidn.mo +0 -0
  880. data/vendor/local/share/man/man1/idn.1 +0 -92
  881. data/vendor/local/share/man/man3/idn_free.3 +0 -49
  882. data/vendor/local/share/man/man3/idna_strerror.3 +0 -80
  883. data/vendor/local/share/man/man3/idna_to_ascii_4i.3 +0 -70
  884. data/vendor/local/share/man/man3/idna_to_ascii_4z.3 +0 -51
  885. data/vendor/local/share/man/man3/idna_to_ascii_8z.3 +0 -51
  886. data/vendor/local/share/man/man3/idna_to_ascii_lz.3 +0 -52
  887. data/vendor/local/share/man/man3/idna_to_unicode_44i.3 +0 -75
  888. data/vendor/local/share/man/man3/idna_to_unicode_4z4z.3 +0 -52
  889. data/vendor/local/share/man/man3/idna_to_unicode_8z4z.3 +0 -52
  890. data/vendor/local/share/man/man3/idna_to_unicode_8z8z.3 +0 -52
  891. data/vendor/local/share/man/man3/idna_to_unicode_8zlz.3 +0 -53
  892. data/vendor/local/share/man/man3/idna_to_unicode_lzlz.3 +0 -54
  893. data/vendor/local/share/man/man3/pr29_4.3 +0 -51
  894. data/vendor/local/share/man/man3/pr29_4z.3 +0 -49
  895. data/vendor/local/share/man/man3/pr29_8z.3 +0 -50
  896. data/vendor/local/share/man/man3/pr29_strerror.3 +0 -55
  897. data/vendor/local/share/man/man3/punycode_decode.3 +0 -73
  898. data/vendor/local/share/man/man3/punycode_encode.3 +0 -76
  899. data/vendor/local/share/man/man3/punycode_strerror.3 +0 -56
  900. data/vendor/local/share/man/man3/stringprep.3 +0 -65
  901. data/vendor/local/share/man/man3/stringprep_4i.3 +0 -70
  902. data/vendor/local/share/man/man3/stringprep_4zi.3 +0 -62
  903. data/vendor/local/share/man/man3/stringprep_check_version.3 +0 -50
  904. data/vendor/local/share/man/man3/stringprep_convert.3 +0 -50
  905. data/vendor/local/share/man/man3/stringprep_locale_charset.3 +0 -57
  906. data/vendor/local/share/man/man3/stringprep_locale_to_utf8.3 +0 -46
  907. data/vendor/local/share/man/man3/stringprep_profile.3 +0 -63
  908. data/vendor/local/share/man/man3/stringprep_strerror.3 +0 -86
  909. data/vendor/local/share/man/man3/stringprep_ucs4_nfkc_normalize.3 +0 -48
  910. data/vendor/local/share/man/man3/stringprep_ucs4_to_utf8.3 +0 -56
  911. data/vendor/local/share/man/man3/stringprep_unichar_to_utf8.3 +0 -48
  912. data/vendor/local/share/man/man3/stringprep_utf8_nfkc_normalize.3 +0 -59
  913. data/vendor/local/share/man/man3/stringprep_utf8_to_locale.3 +0 -46
  914. data/vendor/local/share/man/man3/stringprep_utf8_to_ucs4.3 +0 -54
  915. data/vendor/local/share/man/man3/stringprep_utf8_to_unichar.3 +0 -46
  916. data/vendor/local/share/man/man3/tld_check_4.3 +0 -62
  917. data/vendor/local/share/man/man3/tld_check_4t.3 +0 -58
  918. data/vendor/local/share/man/man3/tld_check_4tz.3 +0 -55
  919. data/vendor/local/share/man/man3/tld_check_4z.3 +0 -59
  920. data/vendor/local/share/man/man3/tld_check_8z.3 +0 -61
  921. data/vendor/local/share/man/man3/tld_check_lz.3 +0 -61
  922. data/vendor/local/share/man/man3/tld_default_table.3 +0 -51
  923. data/vendor/local/share/man/man3/tld_get_4.3 +0 -51
  924. data/vendor/local/share/man/man3/tld_get_4z.3 +0 -48
  925. data/vendor/local/share/man/man3/tld_get_table.3 +0 -49
  926. data/vendor/local/share/man/man3/tld_get_z.3 +0 -49
  927. data/vendor/local/share/man/man3/tld_strerror.3 +0 -60
@@ -8,7 +8,7 @@
8
8
  <link rel="up" href="subprocesses.html" title="Subprocesses">
9
9
  <link rel="prev" href="GSubprocess.html" title="GSubprocess">
10
10
  <link rel="next" href="networking.html" title="Low-level network support">
11
- <meta name="generator" content="GTK-Doc V1.25.1 (XML mode)">
11
+ <meta name="generator" content="GTK-Doc V1.27 (XML mode)">
12
12
  <link rel="stylesheet" href="style.css" type="text/css">
13
13
  </head>
14
14
  <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -298,7 +298,7 @@ g_subprocess_launcher_spawn (<em class="parameter"><code><a class="link" href="G
298
298
  </div>
299
299
  <div class="refsect3">
300
300
  <a name="g-subprocess-launcher-spawn.returns"></a><h4>Returns</h4>
301
- <p> A new <a class="link" href="GSubprocess.html" title="GSubprocess"><span class="type">GSubprocess</span></a>, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error (and <em class="parameter"><code>error</code></em>
301
+ <p>A new <a class="link" href="GSubprocess.html" title="GSubprocess"><span class="type">GSubprocess</span></a>, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error (and <em class="parameter"><code>error</code></em>
302
302
  will be set). </p>
303
303
  <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
304
304
  </div>
@@ -328,8 +328,8 @@ g_subprocess_launcher_spawnv (<em class="parameter"><code><a class="link" href="
328
328
  </tr>
329
329
  <tr>
330
330
  <td class="parameter_name"><p>argv</p></td>
331
- <td class="parameter_description"><p> Command line arguments. </p></td>
332
- <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8]</span></td>
331
+ <td class="parameter_description"><p>Command line arguments. </p></td>
332
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> filename]</span></td>
333
333
  </tr>
334
334
  <tr>
335
335
  <td class="parameter_name"><p>error</p></td>
@@ -341,7 +341,7 @@ g_subprocess_launcher_spawnv (<em class="parameter"><code><a class="link" href="
341
341
  </div>
342
342
  <div class="refsect3">
343
343
  <a name="g-subprocess-launcher-spawnv.returns"></a><h4>Returns</h4>
344
- <p> A new <a class="link" href="GSubprocess.html" title="GSubprocess"><span class="type">GSubprocess</span></a>, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error (and <em class="parameter"><code>error</code></em>
344
+ <p>A new <a class="link" href="GSubprocess.html" title="GSubprocess"><span class="type">GSubprocess</span></a>, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error (and <em class="parameter"><code>error</code></em>
345
345
  will be set). </p>
346
346
  <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
347
347
  </div>
@@ -384,8 +384,8 @@ On Windows, they should be in UTF-8.</p>
384
384
  </tr>
385
385
  <tr>
386
386
  <td class="parameter_name"><p>env</p></td>
387
- <td class="parameter_description"><p> the replacement environment. </p></td>
388
- <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1]</span></td>
387
+ <td class="parameter_description"><p>the replacement environment. </p></td>
388
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> filename][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
389
389
  </tr>
390
390
  </tbody>
391
391
  </table></div>
@@ -422,13 +422,14 @@ On Windows, they should be in UTF-8.</p>
422
422
  </tr>
423
423
  <tr>
424
424
  <td class="parameter_name"><p>variable</p></td>
425
- <td class="parameter_description"><p>the environment variable to set, must not contain '='</p></td>
426
- <td class="parameter_annotations"> </td>
425
+ <td class="parameter_description"><p>the environment variable to set,
426
+ must not contain '='. </p></td>
427
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
427
428
  </tr>
428
429
  <tr>
429
430
  <td class="parameter_name"><p>value</p></td>
430
- <td class="parameter_description"><p>the new value for the variable</p></td>
431
- <td class="parameter_annotations"> </td>
431
+ <td class="parameter_description"><p>the new value for the variable. </p></td>
432
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
432
433
  </tr>
433
434
  <tr>
434
435
  <td class="parameter_name"><p>overwrite</p></td>
@@ -467,8 +468,9 @@ containing '='. On Windows, it should be in UTF-8.</p>
467
468
  </tr>
468
469
  <tr>
469
470
  <td class="parameter_name"><p>variable</p></td>
470
- <td class="parameter_description"><p>the environment variable to unset, must not contain '='</p></td>
471
- <td class="parameter_annotations"> </td>
471
+ <td class="parameter_description"><p>the environment variable to unset,
472
+ must not contain '='. </p></td>
473
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
472
474
  </tr>
473
475
  </tbody>
474
476
  </table></div>
@@ -502,15 +504,17 @@ On Windows, it will be UTF-8.</p>
502
504
  </tr>
503
505
  <tr>
504
506
  <td class="parameter_name"><p>variable</p></td>
505
- <td class="parameter_description"><p>the environment variable to get</p></td>
506
- <td class="parameter_annotations"> </td>
507
+ <td class="parameter_description"><p>the environment variable to get. </p></td>
508
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
507
509
  </tr>
508
510
  </tbody>
509
511
  </table></div>
510
512
  </div>
511
513
  <div class="refsect3">
512
514
  <a name="g-subprocess-launcher-getenv.returns"></a><h4>Returns</h4>
513
- <p> the value of the environment variable, <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if unset</p>
515
+ <p>the value of the environment variable,
516
+ <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if unset. </p>
517
+ <p><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></p>
514
518
  </div>
515
519
  <p class="since">Since: <a class="link" href="api-index-2-40.html#api-index-2.40">2.40</a></p>
516
520
  </div>
@@ -540,7 +544,7 @@ of the launching process at the time of launch.</p>
540
544
  </tr>
541
545
  <tr>
542
546
  <td class="parameter_name"><p>cwd</p></td>
543
- <td class="parameter_description"><p> the cwd for launched processes. </p></td>
547
+ <td class="parameter_description"><p>the cwd for launched processes. </p></td>
544
548
  <td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
545
549
  </tr>
546
550
  </tbody>
@@ -701,7 +705,7 @@ if the launcher flags contain any flags directing stdout elsewhere.</p>
701
705
  </tr>
702
706
  <tr>
703
707
  <td class="parameter_name"><p>path</p></td>
704
- <td class="parameter_description"><p> a filename or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
708
+ <td class="parameter_description"><p>a filename or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
705
709
  <td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
706
710
  </tr>
707
711
  </tbody>
@@ -786,7 +790,7 @@ if the launcher flags contain any flags directing stderr elsewhere.</p>
786
790
  </tr>
787
791
  <tr>
788
792
  <td class="parameter_name"><p>path</p></td>
789
- <td class="parameter_description"><p> a filename or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
793
+ <td class="parameter_description"><p>a filename or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
790
794
  <td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
791
795
  </tr>
792
796
  </tbody>
@@ -902,6 +906,7 @@ given.</p>
902
906
  <p><a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> can be given as <em class="parameter"><code>child_setup</code></em>
903
907
  to disable the functionality.</p>
904
908
  <p>Child setup functions are only available on UNIX.</p>
909
+ <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
905
910
  <div class="refsect3">
906
911
  <a name="g-subprocess-launcher-set-child-setup.parameters"></a><h4>Parameters</h4>
907
912
  <div class="informaltable"><table class="informaltable" width="100%" border="0">
@@ -959,6 +964,6 @@ given.</p>
959
964
  </div>
960
965
  </div>
961
966
  <div class="footer">
962
- <hr>Generated by GTK-Doc V1.25.1</div>
967
+ <hr>Generated by GTK-Doc V1.27</div>
963
968
  </body>
964
969
  </html>
@@ -8,7 +8,7 @@
8
8
  <link rel="up" href="async.html" title="Asynchronous I/O">
9
9
  <link rel="prev" href="GAsyncResult.html" title="GAsyncResult">
10
10
  <link rel="next" href="gio-GIOScheduler.html" title="GIOScheduler">
11
- <meta name="generator" content="GTK-Doc V1.25.1 (XML mode)">
11
+ <meta name="generator" content="GTK-Doc V1.27 (XML mode)">
12
12
  <link rel="stylesheet" href="style.css" type="text/css">
13
13
  </head>
14
14
  <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -361,11 +361,13 @@ task object around through your asynchronous operation.
361
361
  Eventually, you will call a method such as
362
362
  <a class="link" href="GTask.html#g-task-return-pointer" title="g_task_return_pointer ()"><code class="function">g_task_return_pointer()</code></a> or <a class="link" href="GTask.html#g-task-return-error" title="g_task_return_error ()"><code class="function">g_task_return_error()</code></a>, which will
363
363
  save the value you give it and then invoke the task's callback
364
- function (waiting until the next iteration of the main
365
- loop first, if necessary). The caller will pass the <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> back
366
- to the operation's finish function (as a <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a>), and
367
- you can use <a class="link" href="GTask.html#g-task-propagate-pointer" title="g_task_propagate_pointer ()"><code class="function">g_task_propagate_pointer()</code></a> or the like to extract
368
- the return value.</p>
364
+ function in the
365
+ <a href="../glib-The-Main-Event-Loop.html#g-main-context-push-thread-default">thread-default main context</a>
366
+ where it was created (waiting until the next iteration of the main
367
+ loop first, if necessary). The caller will pass the <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> back to
368
+ the operation's finish function (as a <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a>), and you can
369
+ can use <a class="link" href="GTask.html#g-task-propagate-pointer" title="g_task_propagate_pointer ()"><code class="function">g_task_propagate_pointer()</code></a> or the like to extract the
370
+ return value.</p>
369
371
  <p>Here is an example for using GTask as a GAsyncResult:</p>
370
372
  <div class="informalexample">
371
373
  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
@@ -462,97 +464,97 @@ the return value.</p>
462
464
  89
463
465
  90
464
466
  91</pre></td>
465
- <td class="listing_code"><pre class="programlisting"><span class="gtkdoc kwc">typedef</span> <span class="gtkdoc kwb">struct</span> <span class="gtkdoc opt">{</span>
466
- CakeFrostingType frosting<span class="gtkdoc opt">;</span>
467
- <span class="gtkdoc kwb">char</span> <span class="gtkdoc opt">*</span>message<span class="gtkdoc opt">;</span>
468
- <span class="gtkdoc opt">}</span> DecorationData<span class="gtkdoc opt">;</span>
467
+ <td class="listing_code"><pre class="programlisting"><span class="keyword">typedef</span><span class="normal"> </span><span class="keyword">struct</span><span class="normal"> </span><span class="cbracket">{</span>
468
+ <span class="normal"> </span><span class="usertype">CakeFrostingType</span><span class="normal"> frosting</span><span class="symbol">;</span>
469
+ <span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">message</span><span class="symbol">;</span>
470
+ <span class="cbracket">}</span><span class="normal"> DecorationData</span><span class="symbol">;</span>
469
471
 
470
- <span class="gtkdoc kwb">static void</span>
471
- <span class="function">decoration_data_free</span> <span class="gtkdoc opt">(</span>DecorationData <span class="gtkdoc opt">*</span>decoration<span class="gtkdoc opt">)</span>
472
- <span class="gtkdoc opt">{</span>
473
- <span class="function"><a href="../glib-Memory-Allocation.html#g-free">g_free</a></span> <span class="gtkdoc opt">(</span>decoration<span class="gtkdoc opt">-&gt;</span>message<span class="gtkdoc opt">);</span>
474
- <span class="function"><a href="../glib-Memory-Slices.html#g-slice-free">g_slice_free</a></span> <span class="gtkdoc opt">(</span>DecorationData<span class="gtkdoc opt">,</span> decoration<span class="gtkdoc opt">);</span>
475
- <span class="gtkdoc opt">}</span>
472
+ <span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
473
+ <span class="function">decoration_data_free</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">DecorationData</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">decoration</span><span class="symbol">)</span>
474
+ <span class="cbracket">{</span>
475
+ <span class="normal"> </span><span class="function"><a href="../glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">decoration</span><span class="symbol">-&gt;</span><span class="normal">message</span><span class="symbol">);</span>
476
+ <span class="normal"> </span><span class="function"><a href="../glib-Memory-Slices.html#g-slice-free">g_slice_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">DecorationData</span><span class="symbol">,</span><span class="normal"> decoration</span><span class="symbol">);</span>
477
+ <span class="cbracket">}</span>
476
478
 
477
- <span class="gtkdoc kwb">static void</span>
478
- <span class="function">baked_cb</span> <span class="gtkdoc opt">(</span>Cake <span class="gtkdoc opt">*</span>cake<span class="gtkdoc opt">,</span>
479
- gpointer user_data<span class="gtkdoc opt">)</span>
480
- <span class="gtkdoc opt">{</span>
481
- GTask <span class="gtkdoc opt">*</span>task <span class="gtkdoc opt">=</span> user_data<span class="gtkdoc opt">;</span>
482
- DecorationData <span class="gtkdoc opt">*</span>decoration <span class="gtkdoc opt">=</span> <span class="function"><a href="GTask.html#g-task-get-task-data">g_task_get_task_data</a></span> <span class="gtkdoc opt">(</span>task<span class="gtkdoc opt">);</span>
483
- GError <span class="gtkdoc opt">*</span>error <span class="gtkdoc opt">=</span> NULL<span class="gtkdoc opt">;</span>
479
+ <span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
480
+ <span class="function">baked_cb</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">Cake</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cake</span><span class="symbol">,</span>
481
+ <span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
482
+ <span class="cbracket">{</span>
483
+ <span class="normal"> </span><span class="usertype">GTask</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">task </span><span class="symbol">=</span><span class="normal"> user_data</span><span class="symbol">;</span>
484
+ <span class="normal"> </span><span class="usertype">DecorationData</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">decoration </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GTask.html#g-task-get-task-data">g_task_get_task_data</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">);</span>
485
+ <span class="normal"> </span><span class="usertype">GError</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">error </span><span class="symbol">=</span><span class="normal"> <a href="../glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
484
486
 
485
- <span class="keyword">if</span> <span class="gtkdoc opt">(</span>cake <span class="gtkdoc opt">==</span> NULL<span class="gtkdoc opt">)</span>
486
- <span class="gtkdoc opt">{</span>
487
- <span class="function"><a href="GTask.html#g-task-return-new-error">g_task_return_new_error</a></span> <span class="gtkdoc opt">(</span>task<span class="gtkdoc opt">,</span> BAKER_ERROR<span class="gtkdoc opt">,</span> BAKER_ERROR_NO_FLOUR<span class="gtkdoc opt">,</span>
488
- <span class="string">&quot;Go to the supermarket&quot;</span><span class="gtkdoc opt">);</span>
489
- <span class="function"><a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span> <span class="gtkdoc opt">(</span>task<span class="gtkdoc opt">);</span>
490
- <span class="keyword">return</span><span class="gtkdoc opt">;</span>
491
- <span class="gtkdoc opt">}</span>
487
+ <span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cake </span><span class="symbol">==</span><span class="normal"> <a href="../glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span>
488
+ <span class="normal"> </span><span class="cbracket">{</span>
489
+ <span class="normal"> </span><span class="function"><a href="GTask.html#g-task-return-new-error">g_task_return_new_error</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> BAKER_ERROR</span><span class="symbol">,</span><span class="normal"> BAKER_ERROR_NO_FLOUR</span><span class="symbol">,</span>
490
+ <span class="normal"> </span><span class="string">"Go to the supermarket"</span><span class="symbol">);</span>
491
+ <span class="normal"> </span><span class="function"><a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">);</span>
492
+ <span class="normal"> </span><span class="keyword">return</span><span class="symbol">;</span>
493
+ <span class="normal"> </span><span class="cbracket">}</span>
492
494
 
493
- <span class="keyword">if</span> <span class="gtkdoc opt">(!</span><span class="function">cake_decorate</span> <span class="gtkdoc opt">(</span>cake<span class="gtkdoc opt">,</span> decoration<span class="gtkdoc opt">-&gt;</span>frosting<span class="gtkdoc opt">,</span> decoration<span class="gtkdoc opt">-&gt;</span>message<span class="gtkdoc opt">, &amp;</span>error<span class="gtkdoc opt">))</span>
494
- <span class="gtkdoc opt">{</span>
495
- <span class="function"><a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span> <span class="gtkdoc opt">(</span>cake<span class="gtkdoc opt">);</span>
496
- <span class="gtkdoc slc">// g_task_return_error() takes ownership of error</span>
497
- <span class="function"><a href="GTask.html#g-task-return-error">g_task_return_error</a></span> <span class="gtkdoc opt">(</span>task<span class="gtkdoc opt">,</span> error<span class="gtkdoc opt">);</span>
498
- <span class="function"><a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span> <span class="gtkdoc opt">(</span>task<span class="gtkdoc opt">);</span>
499
- <span class="keyword">return</span><span class="gtkdoc opt">;</span>
500
- <span class="gtkdoc opt">}</span>
495
+ <span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(!</span><span class="function">cake_decorate</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cake</span><span class="symbol">,</span><span class="normal"> decoration</span><span class="symbol">-&gt;</span><span class="normal">frosting</span><span class="symbol">,</span><span class="normal"> decoration</span><span class="symbol">-&gt;</span><span class="normal">message</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&amp;</span><span class="normal">error</span><span class="symbol">))</span>
496
+ <span class="normal"> </span><span class="cbracket">{</span>
497
+ <span class="normal"> </span><span class="function"><a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cake</span><span class="symbol">);</span>
498
+ <span class="normal"> </span><span class="comment">// g_task_return_error() takes ownership of error</span>
499
+ <span class="normal"> </span><span class="function"><a href="GTask.html#g-task-return-error">g_task_return_error</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> error</span><span class="symbol">);</span>
500
+ <span class="normal"> </span><span class="function"><a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">);</span>
501
+ <span class="normal"> </span><span class="keyword">return</span><span class="symbol">;</span>
502
+ <span class="normal"> </span><span class="cbracket">}</span>
501
503
 
502
- <span class="function"><a href="GTask.html#g-task-return-pointer">g_task_return_pointer</a></span> <span class="gtkdoc opt">(</span>task<span class="gtkdoc opt">,</span> cake<span class="gtkdoc opt">,</span> g_object_unref<span class="gtkdoc opt">);</span>
503
- <span class="function"><a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span> <span class="gtkdoc opt">(</span>task<span class="gtkdoc opt">);</span>
504
- <span class="gtkdoc opt">}</span>
504
+ <span class="normal"> </span><span class="function"><a href="GTask.html#g-task-return-pointer">g_task_return_pointer</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> cake</span><span class="symbol">,</span><span class="normal"> <a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="symbol">);</span>
505
+ <span class="normal"> </span><span class="function"><a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">);</span>
506
+ <span class="cbracket">}</span>
505
507
 
506
- <span class="gtkdoc kwb">void</span>
507
- <span class="function">baker_bake_cake_async</span> <span class="gtkdoc opt">(</span>Baker <span class="gtkdoc opt">*</span>self<span class="gtkdoc opt">,</span>
508
- guint radius<span class="gtkdoc opt">,</span>
509
- CakeFlavor flavor<span class="gtkdoc opt">,</span>
510
- CakeFrostingType frosting<span class="gtkdoc opt">,</span>
511
- <span class="gtkdoc kwb">const char</span> <span class="gtkdoc opt">*</span>message<span class="gtkdoc opt">,</span>
512
- GCancellable <span class="gtkdoc opt">*</span>cancellable<span class="gtkdoc opt">,</span>
513
- GAsyncReadyCallback callback<span class="gtkdoc opt">,</span>
514
- gpointer user_data<span class="gtkdoc opt">)</span>
515
- <span class="gtkdoc opt">{</span>
516
- GTask <span class="gtkdoc opt">*</span>task<span class="gtkdoc opt">;</span>
517
- DecorationData <span class="gtkdoc opt">*</span>decoration<span class="gtkdoc opt">;</span>
518
- Cake <span class="gtkdoc opt">*</span>cake<span class="gtkdoc opt">;</span>
508
+ <span class="type">void</span>
509
+ <span class="function">baker_bake_cake_async</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">Baker</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">self</span><span class="symbol">,</span>
510
+ <span class="normal"> </span><span class="usertype">guint</span><span class="normal"> radius</span><span class="symbol">,</span>
511
+ <span class="normal"> </span><span class="usertype">CakeFlavor</span><span class="normal"> flavor</span><span class="symbol">,</span>
512
+ <span class="normal"> </span><span class="usertype">CakeFrostingType</span><span class="normal"> frosting</span><span class="symbol">,</span>
513
+ <span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">message</span><span class="symbol">,</span>
514
+ <span class="normal"> </span><span class="usertype">GCancellable</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cancellable</span><span class="symbol">,</span>
515
+ <span class="normal"> </span><span class="usertype">GAsyncReadyCallback</span><span class="normal"> callback</span><span class="symbol">,</span>
516
+ <span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
517
+ <span class="cbracket">{</span>
518
+ <span class="normal"> </span><span class="usertype">GTask</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">task</span><span class="symbol">;</span>
519
+ <span class="normal"> </span><span class="usertype">DecorationData</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">decoration</span><span class="symbol">;</span>
520
+ <span class="normal"> </span><span class="usertype">Cake</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cake</span><span class="symbol">;</span>
519
521
 
520
- task <span class="gtkdoc opt">=</span> <span class="function"><a href="GTask.html#g-task-new">g_task_new</a></span> <span class="gtkdoc opt">(</span>self<span class="gtkdoc opt">,</span> cancellable<span class="gtkdoc opt">,</span> callback<span class="gtkdoc opt">,</span> user_data<span class="gtkdoc opt">);</span>
521
- <span class="keyword">if</span> <span class="gtkdoc opt">(</span>radius <span class="gtkdoc opt">&lt;</span> <span class="number">3</span><span class="gtkdoc opt">)</span>
522
- <span class="gtkdoc opt">{</span>
523
- <span class="function"><a href="GTask.html#g-task-return-new-error">g_task_return_new_error</a></span> <span class="gtkdoc opt">(</span>task<span class="gtkdoc opt">,</span> BAKER_ERROR<span class="gtkdoc opt">,</span> BAKER_ERROR_TOO_SMALL<span class="gtkdoc opt">,</span>
524
- <span class="string">&quot;%ucm radius cakes are silly&quot;</span><span class="gtkdoc opt">,</span>
525
- radius<span class="gtkdoc opt">);</span>
526
- <span class="function"><a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span> <span class="gtkdoc opt">(</span>task<span class="gtkdoc opt">);</span>
527
- <span class="keyword">return</span><span class="gtkdoc opt">;</span>
528
- <span class="gtkdoc opt">}</span>
522
+ <span class="normal"> task </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GTask.html#g-task-new">g_task_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">self</span><span class="symbol">,</span><span class="normal"> cancellable</span><span class="symbol">,</span><span class="normal"> callback</span><span class="symbol">,</span><span class="normal"> user_data</span><span class="symbol">);</span>
523
+ <span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">radius </span><span class="symbol">&lt;</span><span class="normal"> </span><span class="number">3</span><span class="symbol">)</span>
524
+ <span class="normal"> </span><span class="cbracket">{</span>
525
+ <span class="normal"> </span><span class="function"><a href="GTask.html#g-task-return-new-error">g_task_return_new_error</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> BAKER_ERROR</span><span class="symbol">,</span><span class="normal"> BAKER_ERROR_TOO_SMALL</span><span class="symbol">,</span>
526
+ <span class="normal"> </span><span class="string">"%ucm radius cakes are silly"</span><span class="symbol">,</span>
527
+ <span class="normal"> radius</span><span class="symbol">);</span>
528
+ <span class="normal"> </span><span class="function"><a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">);</span>
529
+ <span class="normal"> </span><span class="keyword">return</span><span class="symbol">;</span>
530
+ <span class="normal"> </span><span class="cbracket">}</span>
529
531
 
530
- cake <span class="gtkdoc opt">=</span> <span class="function">_baker_get_cached_cake</span> <span class="gtkdoc opt">(</span>self<span class="gtkdoc opt">,</span> radius<span class="gtkdoc opt">,</span> flavor<span class="gtkdoc opt">,</span> frosting<span class="gtkdoc opt">,</span> message<span class="gtkdoc opt">);</span>
531
- <span class="keyword">if</span> <span class="gtkdoc opt">(</span>cake <span class="gtkdoc opt">!=</span> NULL<span class="gtkdoc opt">)</span>
532
- <span class="gtkdoc opt">{</span>
533
- <span class="gtkdoc slc">// _baker_get_cached_cake() returns a reffed cake</span>
534
- <span class="function"><a href="GTask.html#g-task-return-pointer">g_task_return_pointer</a></span> <span class="gtkdoc opt">(</span>task<span class="gtkdoc opt">,</span> cake<span class="gtkdoc opt">,</span> g_object_unref<span class="gtkdoc opt">);</span>
535
- <span class="function"><a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span> <span class="gtkdoc opt">(</span>task<span class="gtkdoc opt">);</span>
536
- <span class="keyword">return</span><span class="gtkdoc opt">;</span>
537
- <span class="gtkdoc opt">}</span>
532
+ <span class="normal"> cake </span><span class="symbol">=</span><span class="normal"> </span><span class="function">_baker_get_cached_cake</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">self</span><span class="symbol">,</span><span class="normal"> radius</span><span class="symbol">,</span><span class="normal"> flavor</span><span class="symbol">,</span><span class="normal"> frosting</span><span class="symbol">,</span><span class="normal"> message</span><span class="symbol">);</span>
533
+ <span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cake </span><span class="symbol">!=</span><span class="normal"> <a href="../glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span>
534
+ <span class="normal"> </span><span class="cbracket">{</span>
535
+ <span class="normal"> </span><span class="comment">// _baker_get_cached_cake() returns a reffed cake</span>
536
+ <span class="normal"> </span><span class="function"><a href="GTask.html#g-task-return-pointer">g_task_return_pointer</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> cake</span><span class="symbol">,</span><span class="normal"> <a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="symbol">);</span>
537
+ <span class="normal"> </span><span class="function"><a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">);</span>
538
+ <span class="normal"> </span><span class="keyword">return</span><span class="symbol">;</span>
539
+ <span class="normal"> </span><span class="cbracket">}</span>
538
540
 
539
- decoration <span class="gtkdoc opt">=</span> <span class="function"><a href="../glib-Memory-Slices.html#g-slice-new">g_slice_new</a></span> <span class="gtkdoc opt">(</span>DecorationData<span class="gtkdoc opt">);</span>
540
- decoration<span class="gtkdoc opt">-&gt;</span>frosting <span class="gtkdoc opt">=</span> frosting<span class="gtkdoc opt">;</span>
541
- decoration<span class="gtkdoc opt">-&gt;</span>message <span class="gtkdoc opt">=</span> <span class="function"><a href="../glib-String-Utility-Functions.html#g-strdup">g_strdup</a></span> <span class="gtkdoc opt">(</span>message<span class="gtkdoc opt">);</span>
542
- <span class="function"><a href="GTask.html#g-task-set-task-data">g_task_set_task_data</a></span> <span class="gtkdoc opt">(</span>task<span class="gtkdoc opt">,</span> decoration<span class="gtkdoc opt">, (</span>GDestroyNotify<span class="gtkdoc opt">)</span> decoration_data_free<span class="gtkdoc opt">);</span>
541
+ <span class="normal"> decoration </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="../glib-Memory-Slices.html#g-slice-new">g_slice_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">DecorationData</span><span class="symbol">);</span>
542
+ <span class="normal"> decoration</span><span class="symbol">-&gt;</span><span class="normal">frosting </span><span class="symbol">=</span><span class="normal"> frosting</span><span class="symbol">;</span>
543
+ <span class="normal"> decoration</span><span class="symbol">-&gt;</span><span class="normal">message </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="../glib-String-Utility-Functions.html#g-strdup">g_strdup</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">message</span><span class="symbol">);</span>
544
+ <span class="normal"> </span><span class="function"><a href="GTask.html#g-task-set-task-data">g_task_set_task_data</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> decoration</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="../glib-Datasets.html#GDestroyNotify">GDestroyNotify</a></span><span class="symbol">)</span><span class="normal"> decoration_data_free</span><span class="symbol">);</span>
543
545
 
544
- <span class="function">_baker_begin_cake</span> <span class="gtkdoc opt">(</span>self<span class="gtkdoc opt">,</span> radius<span class="gtkdoc opt">,</span> flavor<span class="gtkdoc opt">,</span> cancellable<span class="gtkdoc opt">,</span> baked_cb<span class="gtkdoc opt">,</span> task<span class="gtkdoc opt">);</span>
545
- <span class="gtkdoc opt">}</span>
546
+ <span class="normal"> </span><span class="function">_baker_begin_cake</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">self</span><span class="symbol">,</span><span class="normal"> radius</span><span class="symbol">,</span><span class="normal"> flavor</span><span class="symbol">,</span><span class="normal"> cancellable</span><span class="symbol">,</span><span class="normal"> baked_cb</span><span class="symbol">,</span><span class="normal"> task</span><span class="symbol">);</span>
547
+ <span class="cbracket">}</span>
546
548
 
547
- Cake <span class="gtkdoc opt">*</span>
548
- <span class="function">baker_bake_cake_finish</span> <span class="gtkdoc opt">(</span>Baker <span class="gtkdoc opt">*</span>self<span class="gtkdoc opt">,</span>
549
- GAsyncResult <span class="gtkdoc opt">*</span>result<span class="gtkdoc opt">,</span>
550
- GError <span class="gtkdoc opt">**</span>error<span class="gtkdoc opt">)</span>
551
- <span class="gtkdoc opt">{</span>
552
- <span class="function"><a href="../glib-Warnings-and-Assertions.html#g-return-val-if-fail">g_return_val_if_fail</a></span> <span class="gtkdoc opt">(</span><span class="function"><a href="GTask.html#g-task-is-valid">g_task_is_valid</a></span> <span class="gtkdoc opt">(</span>result<span class="gtkdoc opt">,</span> self<span class="gtkdoc opt">),</span> NULL<span class="gtkdoc opt">);</span>
549
+ <span class="normal">Cake </span><span class="symbol">*</span>
550
+ <span class="function">baker_bake_cake_finish</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">Baker</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">self</span><span class="symbol">,</span>
551
+ <span class="normal"> </span><span class="usertype">GAsyncResult</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">result</span><span class="symbol">,</span>
552
+ <span class="normal"> </span><span class="usertype">GError</span><span class="normal"> </span><span class="symbol">**</span><span class="normal">error</span><span class="symbol">)</span>
553
+ <span class="cbracket">{</span>
554
+ <span class="normal"> </span><span class="function"><a href="../glib-Warnings-and-Assertions.html#g-return-val-if-fail">g_return_val_if_fail</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="GTask.html#g-task-is-valid">g_task_is_valid</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">result</span><span class="symbol">,</span><span class="normal"> self</span><span class="symbol">),</span><span class="normal"> <a href="../glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
553
555
 
554
- <span class="keyword">return</span> <span class="function"><a href="GTask.html#g-task-propagate-pointer">g_task_propagate_pointer</a></span> <span class="gtkdoc opt">(</span><span class="function">G_TASK</span> <span class="gtkdoc opt">(</span>result<span class="gtkdoc opt">),</span> error<span class="gtkdoc opt">);</span>
555
- <span class="gtkdoc opt">}</span></pre></td>
556
+ <span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="function"><a href="GTask.html#g-task-propagate-pointer">g_task_propagate_pointer</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">G_TASK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">result</span><span class="symbol">),</span><span class="normal"> error</span><span class="symbol">);</span>
557
+ <span class="cbracket">}</span></pre></td>
556
558
  </tr>
557
559
  </tbody>
558
560
  </table>
@@ -699,129 +701,129 @@ of waiting for a source to fire (automatically using the correct
699
701
  121
700
702
  122
701
703
  123</pre></td>
702
- <td class="listing_code"><pre class="programlisting"><span class="gtkdoc kwc">typedef</span> <span class="gtkdoc kwb">struct</span> <span class="gtkdoc opt">{</span>
703
- Cake <span class="gtkdoc opt">*</span>cake<span class="gtkdoc opt">;</span>
704
- CakeFrostingType frosting<span class="gtkdoc opt">;</span>
705
- <span class="gtkdoc kwb">char</span> <span class="gtkdoc opt">*</span>message<span class="gtkdoc opt">;</span>
706
- <span class="gtkdoc opt">}</span> BakingData<span class="gtkdoc opt">;</span>
704
+ <td class="listing_code"><pre class="programlisting"><span class="keyword">typedef</span><span class="normal"> </span><span class="keyword">struct</span><span class="normal"> </span><span class="cbracket">{</span>
705
+ <span class="normal"> </span><span class="usertype">Cake</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cake</span><span class="symbol">;</span>
706
+ <span class="normal"> </span><span class="usertype">CakeFrostingType</span><span class="normal"> frosting</span><span class="symbol">;</span>
707
+ <span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">message</span><span class="symbol">;</span>
708
+ <span class="cbracket">}</span><span class="normal"> BakingData</span><span class="symbol">;</span>
707
709
 
708
- <span class="gtkdoc kwb">static void</span>
709
- <span class="function">decoration_data_free</span> <span class="gtkdoc opt">(</span>BakingData <span class="gtkdoc opt">*</span>bd<span class="gtkdoc opt">)</span>
710
- <span class="gtkdoc opt">{</span>
711
- <span class="keyword">if</span> <span class="gtkdoc opt">(</span>bd<span class="gtkdoc opt">-&gt;</span>cake<span class="gtkdoc opt">)</span>
712
- <span class="function"><a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span> <span class="gtkdoc opt">(</span>bd<span class="gtkdoc opt">-&gt;</span>cake<span class="gtkdoc opt">);</span>
713
- <span class="function"><a href="../glib-Memory-Allocation.html#g-free">g_free</a></span> <span class="gtkdoc opt">(</span>bd<span class="gtkdoc opt">-&gt;</span>message<span class="gtkdoc opt">);</span>
714
- <span class="function"><a href="../glib-Memory-Slices.html#g-slice-free">g_slice_free</a></span> <span class="gtkdoc opt">(</span>BakingData<span class="gtkdoc opt">,</span> bd<span class="gtkdoc opt">);</span>
715
- <span class="gtkdoc opt">}</span>
710
+ <span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
711
+ <span class="function">decoration_data_free</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">BakingData</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">bd</span><span class="symbol">)</span>
712
+ <span class="cbracket">{</span>
713
+ <span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">bd</span><span class="symbol">-&gt;</span><span class="normal">cake</span><span class="symbol">)</span>
714
+ <span class="normal"> </span><span class="function"><a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">bd</span><span class="symbol">-&gt;</span><span class="normal">cake</span><span class="symbol">);</span>
715
+ <span class="normal"> </span><span class="function"><a href="../glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">bd</span><span class="symbol">-&gt;</span><span class="normal">message</span><span class="symbol">);</span>
716
+ <span class="normal"> </span><span class="function"><a href="../glib-Memory-Slices.html#g-slice-free">g_slice_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">BakingData</span><span class="symbol">,</span><span class="normal"> bd</span><span class="symbol">);</span>
717
+ <span class="cbracket">}</span>
716
718
 
717
- <span class="gtkdoc kwb">static void</span>
718
- <span class="function">decorated_cb</span> <span class="gtkdoc opt">(</span>Cake <span class="gtkdoc opt">*</span>cake<span class="gtkdoc opt">,</span>
719
- GAsyncResult <span class="gtkdoc opt">*</span>result<span class="gtkdoc opt">,</span>
720
- gpointer user_data<span class="gtkdoc opt">)</span>
721
- <span class="gtkdoc opt">{</span>
722
- GTask <span class="gtkdoc opt">*</span>task <span class="gtkdoc opt">=</span> user_data<span class="gtkdoc opt">;</span>
723
- GError <span class="gtkdoc opt">*</span>error <span class="gtkdoc opt">=</span> NULL<span class="gtkdoc opt">;</span>
719
+ <span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
720
+ <span class="function">decorated_cb</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">Cake</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cake</span><span class="symbol">,</span>
721
+ <span class="normal"> </span><span class="usertype">GAsyncResult</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">result</span><span class="symbol">,</span>
722
+ <span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
723
+ <span class="cbracket">{</span>
724
+ <span class="normal"> </span><span class="usertype">GTask</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">task </span><span class="symbol">=</span><span class="normal"> user_data</span><span class="symbol">;</span>
725
+ <span class="normal"> </span><span class="usertype">GError</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">error </span><span class="symbol">=</span><span class="normal"> <a href="../glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
724
726
 
725
- <span class="keyword">if</span> <span class="gtkdoc opt">(!</span><span class="function">cake_decorate_finish</span> <span class="gtkdoc opt">(</span>cake<span class="gtkdoc opt">,</span> result<span class="gtkdoc opt">, &amp;</span>error<span class="gtkdoc opt">))</span>
726
- <span class="gtkdoc opt">{</span>
727
- <span class="function"><a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span> <span class="gtkdoc opt">(</span>cake<span class="gtkdoc opt">);</span>
728
- <span class="function"><a href="GTask.html#g-task-return-error">g_task_return_error</a></span> <span class="gtkdoc opt">(</span>task<span class="gtkdoc opt">,</span> error<span class="gtkdoc opt">);</span>
729
- <span class="function"><a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span> <span class="gtkdoc opt">(</span>task<span class="gtkdoc opt">);</span>
730
- <span class="keyword">return</span><span class="gtkdoc opt">;</span>
731
- <span class="gtkdoc opt">}</span>
727
+ <span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(!</span><span class="function">cake_decorate_finish</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cake</span><span class="symbol">,</span><span class="normal"> result</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&amp;</span><span class="normal">error</span><span class="symbol">))</span>
728
+ <span class="normal"> </span><span class="cbracket">{</span>
729
+ <span class="normal"> </span><span class="function"><a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cake</span><span class="symbol">);</span>
730
+ <span class="normal"> </span><span class="function"><a href="GTask.html#g-task-return-error">g_task_return_error</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> error</span><span class="symbol">);</span>
731
+ <span class="normal"> </span><span class="function"><a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">);</span>
732
+ <span class="normal"> </span><span class="keyword">return</span><span class="symbol">;</span>
733
+ <span class="normal"> </span><span class="cbracket">}</span>
732
734
 
733
- <span class="gtkdoc slc">// baking_data_free() will drop its ref on the cake, so we have to</span>
734
- <span class="gtkdoc slc">// take another here to give to the caller.</span>
735
- <span class="function"><a href="GTask.html#g-task-return-pointer">g_task_return_pointer</a></span> <span class="gtkdoc opt">(</span>task<span class="gtkdoc opt">,</span> <span class="function"><a href="../gobject-The-Base-Object-Type.html#g-object-ref">g_object_ref</a></span> <span class="gtkdoc opt">(</span>cake<span class="gtkdoc opt">),</span> g_object_unref<span class="gtkdoc opt">);</span>
736
- <span class="function"><a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span> <span class="gtkdoc opt">(</span>task<span class="gtkdoc opt">);</span>
737
- <span class="gtkdoc opt">}</span>
735
+ <span class="normal"> </span><span class="comment">// baking_data_free() will drop its ref on the cake, so we have to</span>
736
+ <span class="normal"> </span><span class="comment">// take another here to give to the caller.</span>
737
+ <span class="normal"> </span><span class="function"><a href="GTask.html#g-task-return-pointer">g_task_return_pointer</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="../gobject-The-Base-Object-Type.html#g-object-ref">g_object_ref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cake</span><span class="symbol">),</span><span class="normal"> <a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="symbol">);</span>
738
+ <span class="normal"> </span><span class="function"><a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">);</span>
739
+ <span class="cbracket">}</span>
738
740
 
739
- <span class="gtkdoc kwb">static</span> gboolean
740
- <span class="function">decorator_ready</span> <span class="gtkdoc opt">(</span>gpointer user_data<span class="gtkdoc opt">)</span>
741
- <span class="gtkdoc opt">{</span>
742
- GTask <span class="gtkdoc opt">*</span>task <span class="gtkdoc opt">=</span> user_data<span class="gtkdoc opt">;</span>
743
- BakingData <span class="gtkdoc opt">*</span>bd <span class="gtkdoc opt">=</span> <span class="function"><a href="GTask.html#g-task-get-task-data">g_task_get_task_data</a></span> <span class="gtkdoc opt">(</span>task<span class="gtkdoc opt">);</span>
741
+ <span class="keyword">static</span><span class="normal"> <a href="../glib-Basic-Types.html#gboolean">gboolean</a></span>
742
+ <span class="function">decorator_ready</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
743
+ <span class="cbracket">{</span>
744
+ <span class="normal"> </span><span class="usertype">GTask</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">task </span><span class="symbol">=</span><span class="normal"> user_data</span><span class="symbol">;</span>
745
+ <span class="normal"> </span><span class="usertype">BakingData</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">bd </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GTask.html#g-task-get-task-data">g_task_get_task_data</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">);</span>
744
746
 
745
- <span class="function">cake_decorate_async</span> <span class="gtkdoc opt">(</span>bd<span class="gtkdoc opt">-&gt;</span>cake<span class="gtkdoc opt">,</span> bd<span class="gtkdoc opt">-&gt;</span>frosting<span class="gtkdoc opt">,</span> bd<span class="gtkdoc opt">-&gt;</span>message<span class="gtkdoc opt">,</span>
746
- <span class="function"><a href="GTask.html#g-task-get-cancellable">g_task_get_cancellable</a></span> <span class="gtkdoc opt">(</span>task<span class="gtkdoc opt">),</span>
747
- decorated_cb<span class="gtkdoc opt">,</span> task<span class="gtkdoc opt">);</span>
747
+ <span class="normal"> </span><span class="function">cake_decorate_async</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">bd</span><span class="symbol">-&gt;</span><span class="normal">cake</span><span class="symbol">,</span><span class="normal"> bd</span><span class="symbol">-&gt;</span><span class="normal">frosting</span><span class="symbol">,</span><span class="normal"> bd</span><span class="symbol">-&gt;</span><span class="normal">message</span><span class="symbol">,</span>
748
+ <span class="normal"> </span><span class="function"><a href="GTask.html#g-task-get-cancellable">g_task_get_cancellable</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">),</span>
749
+ <span class="normal"> decorated_cb</span><span class="symbol">,</span><span class="normal"> task</span><span class="symbol">);</span>
748
750
 
749
- <span class="keyword">return</span> G_SOURCE_REMOVE<span class="gtkdoc opt">;</span>
750
- <span class="gtkdoc opt">}</span>
751
+ <span class="normal"> </span><span class="keyword">return</span><span class="normal"> <a href="../glib-The-Main-Event-Loop.html#G-SOURCE-REMOVE:CAPS">G_SOURCE_REMOVE</a></span><span class="symbol">;</span>
752
+ <span class="cbracket">}</span>
751
753
 
752
- <span class="gtkdoc kwb">static void</span>
753
- <span class="function">baked_cb</span> <span class="gtkdoc opt">(</span>Cake <span class="gtkdoc opt">*</span>cake<span class="gtkdoc opt">,</span>
754
- gpointer user_data<span class="gtkdoc opt">)</span>
755
- <span class="gtkdoc opt">{</span>
756
- GTask <span class="gtkdoc opt">*</span>task <span class="gtkdoc opt">=</span> user_data<span class="gtkdoc opt">;</span>
757
- BakingData <span class="gtkdoc opt">*</span>bd <span class="gtkdoc opt">=</span> <span class="function"><a href="GTask.html#g-task-get-task-data">g_task_get_task_data</a></span> <span class="gtkdoc opt">(</span>task<span class="gtkdoc opt">);</span>
758
- GError <span class="gtkdoc opt">*</span>error <span class="gtkdoc opt">=</span> NULL<span class="gtkdoc opt">;</span>
754
+ <span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
755
+ <span class="function">baked_cb</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">Cake</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cake</span><span class="symbol">,</span>
756
+ <span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
757
+ <span class="cbracket">{</span>
758
+ <span class="normal"> </span><span class="usertype">GTask</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">task </span><span class="symbol">=</span><span class="normal"> user_data</span><span class="symbol">;</span>
759
+ <span class="normal"> </span><span class="usertype">BakingData</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">bd </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GTask.html#g-task-get-task-data">g_task_get_task_data</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">);</span>
760
+ <span class="normal"> </span><span class="usertype">GError</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">error </span><span class="symbol">=</span><span class="normal"> <a href="../glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
759
761
 
760
- <span class="keyword">if</span> <span class="gtkdoc opt">(</span>cake <span class="gtkdoc opt">==</span> NULL<span class="gtkdoc opt">)</span>
761
- <span class="gtkdoc opt">{</span>
762
- <span class="function"><a href="GTask.html#g-task-return-new-error">g_task_return_new_error</a></span> <span class="gtkdoc opt">(</span>task<span class="gtkdoc opt">,</span> BAKER_ERROR<span class="gtkdoc opt">,</span> BAKER_ERROR_NO_FLOUR<span class="gtkdoc opt">,</span>
763
- <span class="string">&quot;Go to the supermarket&quot;</span><span class="gtkdoc opt">);</span>
764
- <span class="function"><a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span> <span class="gtkdoc opt">(</span>task<span class="gtkdoc opt">);</span>
765
- <span class="keyword">return</span><span class="gtkdoc opt">;</span>
766
- <span class="gtkdoc opt">}</span>
762
+ <span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cake </span><span class="symbol">==</span><span class="normal"> <a href="../glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span>
763
+ <span class="normal"> </span><span class="cbracket">{</span>
764
+ <span class="normal"> </span><span class="function"><a href="GTask.html#g-task-return-new-error">g_task_return_new_error</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> BAKER_ERROR</span><span class="symbol">,</span><span class="normal"> BAKER_ERROR_NO_FLOUR</span><span class="symbol">,</span>
765
+ <span class="normal"> </span><span class="string">"Go to the supermarket"</span><span class="symbol">);</span>
766
+ <span class="normal"> </span><span class="function"><a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">);</span>
767
+ <span class="normal"> </span><span class="keyword">return</span><span class="symbol">;</span>
768
+ <span class="normal"> </span><span class="cbracket">}</span>
767
769
 
768
- bd<span class="gtkdoc opt">-&gt;</span>cake <span class="gtkdoc opt">=</span> cake<span class="gtkdoc opt">;</span>
770
+ <span class="normal"> bd</span><span class="symbol">-&gt;</span><span class="normal">cake </span><span class="symbol">=</span><span class="normal"> cake</span><span class="symbol">;</span>
769
771
 
770
- <span class="gtkdoc slc">// Bail out now if the user has already cancelled</span>
771
- <span class="keyword">if</span> <span class="gtkdoc opt">(</span><span class="function"><a href="GTask.html#g-task-return-error-if-cancelled">g_task_return_error_if_cancelled</a></span> <span class="gtkdoc opt">(</span>task<span class="gtkdoc opt">))</span>
772
- <span class="gtkdoc opt">{</span>
773
- <span class="function"><a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span> <span class="gtkdoc opt">(</span>task<span class="gtkdoc opt">);</span>
774
- <span class="keyword">return</span><span class="gtkdoc opt">;</span>
775
- <span class="gtkdoc opt">}</span>
772
+ <span class="normal"> </span><span class="comment">// Bail out now if the user has already cancelled</span>
773
+ <span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="GTask.html#g-task-return-error-if-cancelled">g_task_return_error_if_cancelled</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">))</span>
774
+ <span class="normal"> </span><span class="cbracket">{</span>
775
+ <span class="normal"> </span><span class="function"><a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">);</span>
776
+ <span class="normal"> </span><span class="keyword">return</span><span class="symbol">;</span>
777
+ <span class="normal"> </span><span class="cbracket">}</span>
776
778
 
777
- <span class="keyword">if</span> <span class="gtkdoc opt">(</span><span class="function">cake_decorator_available</span> <span class="gtkdoc opt">(</span>cake<span class="gtkdoc opt">))</span>
778
- <span class="function">decorator_ready</span> <span class="gtkdoc opt">(</span>task<span class="gtkdoc opt">);</span>
779
- <span class="keyword">else</span>
780
- <span class="gtkdoc opt">{</span>
781
- GSource <span class="gtkdoc opt">*</span>source<span class="gtkdoc opt">;</span>
779
+ <span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function">cake_decorator_available</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cake</span><span class="symbol">))</span>
780
+ <span class="normal"> </span><span class="function">decorator_ready</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">);</span>
781
+ <span class="normal"> </span><span class="keyword">else</span>
782
+ <span class="normal"> </span><span class="cbracket">{</span>
783
+ <span class="normal"> </span><span class="usertype">GSource</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">source</span><span class="symbol">;</span>
782
784
 
783
- source <span class="gtkdoc opt">=</span> <span class="function">cake_decorator_wait_source_new</span> <span class="gtkdoc opt">(</span>cake<span class="gtkdoc opt">);</span>
784
- <span class="gtkdoc slc">// Attach &#64;source to &#64;task&apos;s GMainContext and have it call</span>
785
- <span class="gtkdoc slc">// decorator_ready() when it is ready.</span>
786
- <span class="function"><a href="GTask.html#g-task-attach-source">g_task_attach_source</a></span> <span class="gtkdoc opt">(</span>task<span class="gtkdoc opt">,</span> source<span class="gtkdoc opt">,</span> decorator_ready<span class="gtkdoc opt">);</span>
787
- <span class="function"><a href="../glib-The-Main-Event-Loop.html#g-source-unref">g_source_unref</a></span> <span class="gtkdoc opt">(</span>source<span class="gtkdoc opt">);</span>
788
- <span class="gtkdoc opt">}</span>
789
- <span class="gtkdoc opt">}</span>
785
+ <span class="normal"> source </span><span class="symbol">=</span><span class="normal"> </span><span class="function">cake_decorator_wait_source_new</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cake</span><span class="symbol">);</span>
786
+ <span class="normal"> </span><span class="comment">// Attach @source to @task's GMainContext and have it call</span>
787
+ <span class="normal"> </span><span class="comment">// decorator_ready() when it is ready.</span>
788
+ <span class="normal"> </span><span class="function"><a href="GTask.html#g-task-attach-source">g_task_attach_source</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> source</span><span class="symbol">,</span><span class="normal"> decorator_ready</span><span class="symbol">);</span>
789
+ <span class="normal"> </span><span class="function"><a href="../glib-The-Main-Event-Loop.html#g-source-unref">g_source_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">source</span><span class="symbol">);</span>
790
+ <span class="normal"> </span><span class="cbracket">}</span>
791
+ <span class="cbracket">}</span>
790
792
 
791
- <span class="gtkdoc kwb">void</span>
792
- <span class="function">baker_bake_cake_async</span> <span class="gtkdoc opt">(</span>Baker <span class="gtkdoc opt">*</span>self<span class="gtkdoc opt">,</span>
793
- guint radius<span class="gtkdoc opt">,</span>
794
- CakeFlavor flavor<span class="gtkdoc opt">,</span>
795
- CakeFrostingType frosting<span class="gtkdoc opt">,</span>
796
- <span class="gtkdoc kwb">const char</span> <span class="gtkdoc opt">*</span>message<span class="gtkdoc opt">,</span>
797
- gint priority<span class="gtkdoc opt">,</span>
798
- GCancellable <span class="gtkdoc opt">*</span>cancellable<span class="gtkdoc opt">,</span>
799
- GAsyncReadyCallback callback<span class="gtkdoc opt">,</span>
800
- gpointer user_data<span class="gtkdoc opt">)</span>
801
- <span class="gtkdoc opt">{</span>
802
- GTask <span class="gtkdoc opt">*</span>task<span class="gtkdoc opt">;</span>
803
- BakingData <span class="gtkdoc opt">*</span>bd<span class="gtkdoc opt">;</span>
793
+ <span class="type">void</span>
794
+ <span class="function">baker_bake_cake_async</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">Baker</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">self</span><span class="symbol">,</span>
795
+ <span class="normal"> </span><span class="usertype">guint</span><span class="normal"> radius</span><span class="symbol">,</span>
796
+ <span class="normal"> </span><span class="usertype">CakeFlavor</span><span class="normal"> flavor</span><span class="symbol">,</span>
797
+ <span class="normal"> </span><span class="usertype">CakeFrostingType</span><span class="normal"> frosting</span><span class="symbol">,</span>
798
+ <span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">message</span><span class="symbol">,</span>
799
+ <span class="normal"> </span><span class="usertype">gint</span><span class="normal"> priority</span><span class="symbol">,</span>
800
+ <span class="normal"> </span><span class="usertype">GCancellable</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cancellable</span><span class="symbol">,</span>
801
+ <span class="normal"> </span><span class="usertype">GAsyncReadyCallback</span><span class="normal"> callback</span><span class="symbol">,</span>
802
+ <span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
803
+ <span class="cbracket">{</span>
804
+ <span class="normal"> </span><span class="usertype">GTask</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">task</span><span class="symbol">;</span>
805
+ <span class="normal"> </span><span class="usertype">BakingData</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">bd</span><span class="symbol">;</span>
804
806
 
805
- task <span class="gtkdoc opt">=</span> <span class="function"><a href="GTask.html#g-task-new">g_task_new</a></span> <span class="gtkdoc opt">(</span>self<span class="gtkdoc opt">,</span> cancellable<span class="gtkdoc opt">,</span> callback<span class="gtkdoc opt">,</span> user_data<span class="gtkdoc opt">);</span>
806
- <span class="function"><a href="GTask.html#g-task-set-priority">g_task_set_priority</a></span> <span class="gtkdoc opt">(</span>task<span class="gtkdoc opt">,</span> priority<span class="gtkdoc opt">);</span>
807
+ <span class="normal"> task </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GTask.html#g-task-new">g_task_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">self</span><span class="symbol">,</span><span class="normal"> cancellable</span><span class="symbol">,</span><span class="normal"> callback</span><span class="symbol">,</span><span class="normal"> user_data</span><span class="symbol">);</span>
808
+ <span class="normal"> </span><span class="function"><a href="GTask.html#g-task-set-priority">g_task_set_priority</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> priority</span><span class="symbol">);</span>
807
809
 
808
- bd <span class="gtkdoc opt">=</span> <span class="function"><a href="../glib-Memory-Slices.html#g-slice-new0">g_slice_new0</a></span> <span class="gtkdoc opt">(</span>BakingData<span class="gtkdoc opt">);</span>
809
- bd<span class="gtkdoc opt">-&gt;</span>frosting <span class="gtkdoc opt">=</span> frosting<span class="gtkdoc opt">;</span>
810
- bd<span class="gtkdoc opt">-&gt;</span>message <span class="gtkdoc opt">=</span> <span class="function"><a href="../glib-String-Utility-Functions.html#g-strdup">g_strdup</a></span> <span class="gtkdoc opt">(</span>message<span class="gtkdoc opt">);</span>
811
- <span class="function"><a href="GTask.html#g-task-set-task-data">g_task_set_task_data</a></span> <span class="gtkdoc opt">(</span>task<span class="gtkdoc opt">,</span> bd<span class="gtkdoc opt">, (</span>GDestroyNotify<span class="gtkdoc opt">)</span> baking_data_free<span class="gtkdoc opt">);</span>
810
+ <span class="normal"> bd </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="../glib-Memory-Slices.html#g-slice-new0">g_slice_new0</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">BakingData</span><span class="symbol">);</span>
811
+ <span class="normal"> bd</span><span class="symbol">-&gt;</span><span class="normal">frosting </span><span class="symbol">=</span><span class="normal"> frosting</span><span class="symbol">;</span>
812
+ <span class="normal"> bd</span><span class="symbol">-&gt;</span><span class="normal">message </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="../glib-String-Utility-Functions.html#g-strdup">g_strdup</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">message</span><span class="symbol">);</span>
813
+ <span class="normal"> </span><span class="function"><a href="GTask.html#g-task-set-task-data">g_task_set_task_data</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> bd</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="../glib-Datasets.html#GDestroyNotify">GDestroyNotify</a></span><span class="symbol">)</span><span class="normal"> baking_data_free</span><span class="symbol">);</span>
812
814
 
813
- <span class="function">_baker_begin_cake</span> <span class="gtkdoc opt">(</span>self<span class="gtkdoc opt">,</span> radius<span class="gtkdoc opt">,</span> flavor<span class="gtkdoc opt">,</span> cancellable<span class="gtkdoc opt">,</span> baked_cb<span class="gtkdoc opt">,</span> task<span class="gtkdoc opt">);</span>
814
- <span class="gtkdoc opt">}</span>
815
+ <span class="normal"> </span><span class="function">_baker_begin_cake</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">self</span><span class="symbol">,</span><span class="normal"> radius</span><span class="symbol">,</span><span class="normal"> flavor</span><span class="symbol">,</span><span class="normal"> cancellable</span><span class="symbol">,</span><span class="normal"> baked_cb</span><span class="symbol">,</span><span class="normal"> task</span><span class="symbol">);</span>
816
+ <span class="cbracket">}</span>
815
817
 
816
- Cake <span class="gtkdoc opt">*</span>
817
- <span class="function">baker_bake_cake_finish</span> <span class="gtkdoc opt">(</span>Baker <span class="gtkdoc opt">*</span>self<span class="gtkdoc opt">,</span>
818
- GAsyncResult <span class="gtkdoc opt">*</span>result<span class="gtkdoc opt">,</span>
819
- GError <span class="gtkdoc opt">**</span>error<span class="gtkdoc opt">)</span>
820
- <span class="gtkdoc opt">{</span>
821
- <span class="function"><a href="../glib-Warnings-and-Assertions.html#g-return-val-if-fail">g_return_val_if_fail</a></span> <span class="gtkdoc opt">(</span><span class="function"><a href="GTask.html#g-task-is-valid">g_task_is_valid</a></span> <span class="gtkdoc opt">(</span>result<span class="gtkdoc opt">,</span> self<span class="gtkdoc opt">),</span> NULL<span class="gtkdoc opt">);</span>
818
+ <span class="normal">Cake </span><span class="symbol">*</span>
819
+ <span class="function">baker_bake_cake_finish</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">Baker</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">self</span><span class="symbol">,</span>
820
+ <span class="normal"> </span><span class="usertype">GAsyncResult</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">result</span><span class="symbol">,</span>
821
+ <span class="normal"> </span><span class="usertype">GError</span><span class="normal"> </span><span class="symbol">**</span><span class="normal">error</span><span class="symbol">)</span>
822
+ <span class="cbracket">{</span>
823
+ <span class="normal"> </span><span class="function"><a href="../glib-Warnings-and-Assertions.html#g-return-val-if-fail">g_return_val_if_fail</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="GTask.html#g-task-is-valid">g_task_is_valid</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">result</span><span class="symbol">,</span><span class="normal"> self</span><span class="symbol">),</span><span class="normal"> <a href="../glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
822
824
 
823
- <span class="keyword">return</span> <span class="function"><a href="GTask.html#g-task-propagate-pointer">g_task_propagate_pointer</a></span> <span class="gtkdoc opt">(</span><span class="function">G_TASK</span> <span class="gtkdoc opt">(</span>result<span class="gtkdoc opt">),</span> error<span class="gtkdoc opt">);</span>
824
- <span class="gtkdoc opt">}</span></pre></td>
825
+ <span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="function"><a href="GTask.html#g-task-propagate-pointer">g_task_propagate_pointer</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">G_TASK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">result</span><span class="symbol">),</span><span class="normal"> error</span><span class="symbol">);</span>
826
+ <span class="cbracket">}</span></pre></td>
825
827
  </tr>
826
828
  </tbody>
827
829
  </table>
@@ -832,9 +834,10 @@ Cake <span class="gtkdoc opt">*</span>
832
834
  <div class="refsect3">
833
835
  <a name="id-1.4.5.4.9.5"></a><h4>Asynchronous operations from synchronous ones</h4>
834
836
  <p>You can use <a class="link" href="GTask.html#g-task-run-in-thread" title="g_task_run_in_thread ()"><code class="function">g_task_run_in_thread()</code></a> to turn a synchronous
835
- operation into an asynchronous one, by running it in a thread
836
- which will then dispatch the result back to the caller's
837
- <a href="../glib-The-Main-Event-Loop.html#GMainContext"><span class="type">GMainContext</span></a> when it completes.</p>
837
+ operation into an asynchronous one, by running it in a thread.
838
+ When it completes, the result will be dispatched to the
839
+ <a href="../glib-The-Main-Event-Loop.html#g-main-context-push-thread-default">thread-default main context</a>
840
+ where the <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> was created.</p>
838
841
  <p>Running a task in a thread:</p>
839
842
  <div class="informalexample">
840
843
  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
@@ -907,73 +910,73 @@ which will then dispatch the result back to the caller's
907
910
  65
908
911
  66
909
912
  67</pre></td>
910
- <td class="listing_code"><pre class="programlisting"><span class="gtkdoc kwc">typedef</span> <span class="gtkdoc kwb">struct</span> <span class="gtkdoc opt">{</span>
911
- guint radius<span class="gtkdoc opt">;</span>
912
- CakeFlavor flavor<span class="gtkdoc opt">;</span>
913
- CakeFrostingType frosting<span class="gtkdoc opt">;</span>
914
- <span class="gtkdoc kwb">char</span> <span class="gtkdoc opt">*</span>message<span class="gtkdoc opt">;</span>
915
- <span class="gtkdoc opt">}</span> CakeData<span class="gtkdoc opt">;</span>
913
+ <td class="listing_code"><pre class="programlisting"><span class="keyword">typedef</span><span class="normal"> </span><span class="keyword">struct</span><span class="normal"> </span><span class="cbracket">{</span>
914
+ <span class="normal"> </span><span class="usertype">guint</span><span class="normal"> radius</span><span class="symbol">;</span>
915
+ <span class="normal"> </span><span class="usertype">CakeFlavor</span><span class="normal"> flavor</span><span class="symbol">;</span>
916
+ <span class="normal"> </span><span class="usertype">CakeFrostingType</span><span class="normal"> frosting</span><span class="symbol">;</span>
917
+ <span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">message</span><span class="symbol">;</span>
918
+ <span class="cbracket">}</span><span class="normal"> CakeData</span><span class="symbol">;</span>
916
919
 
917
- <span class="gtkdoc kwb">static void</span>
918
- <span class="function">cake_data_free</span> <span class="gtkdoc opt">(</span>CakeData <span class="gtkdoc opt">*</span>cake_data<span class="gtkdoc opt">)</span>
919
- <span class="gtkdoc opt">{</span>
920
- <span class="function"><a href="../glib-Memory-Allocation.html#g-free">g_free</a></span> <span class="gtkdoc opt">(</span>cake_data<span class="gtkdoc opt">-&gt;</span>message<span class="gtkdoc opt">);</span>
921
- <span class="function"><a href="../glib-Memory-Slices.html#g-slice-free">g_slice_free</a></span> <span class="gtkdoc opt">(</span>CakeData<span class="gtkdoc opt">,</span> cake_data<span class="gtkdoc opt">);</span>
922
- <span class="gtkdoc opt">}</span>
920
+ <span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
921
+ <span class="function">cake_data_free</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">CakeData</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cake_data</span><span class="symbol">)</span>
922
+ <span class="cbracket">{</span>
923
+ <span class="normal"> </span><span class="function"><a href="../glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cake_data</span><span class="symbol">-&gt;</span><span class="normal">message</span><span class="symbol">);</span>
924
+ <span class="normal"> </span><span class="function"><a href="../glib-Memory-Slices.html#g-slice-free">g_slice_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">CakeData</span><span class="symbol">,</span><span class="normal"> cake_data</span><span class="symbol">);</span>
925
+ <span class="cbracket">}</span>
923
926
 
924
- <span class="gtkdoc kwb">static void</span>
925
- <span class="function">bake_cake_thread</span> <span class="gtkdoc opt">(</span>GTask <span class="gtkdoc opt">*</span>task<span class="gtkdoc opt">,</span>
926
- gpointer source_object<span class="gtkdoc opt">,</span>
927
- gpointer task_data<span class="gtkdoc opt">,</span>
928
- GCancellable <span class="gtkdoc opt">*</span>cancellable<span class="gtkdoc opt">)</span>
929
- <span class="gtkdoc opt">{</span>
930
- Baker <span class="gtkdoc opt">*</span>self <span class="gtkdoc opt">=</span> source_object<span class="gtkdoc opt">;</span>
931
- CakeData <span class="gtkdoc opt">*</span>cake_data <span class="gtkdoc opt">=</span> task_data<span class="gtkdoc opt">;</span>
932
- Cake <span class="gtkdoc opt">*</span>cake<span class="gtkdoc opt">;</span>
933
- GError <span class="gtkdoc opt">*</span>error <span class="gtkdoc opt">=</span> NULL<span class="gtkdoc opt">;</span>
927
+ <span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
928
+ <span class="function">bake_cake_thread</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GTask</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">task</span><span class="symbol">,</span>
929
+ <span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> source_object</span><span class="symbol">,</span>
930
+ <span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> task_data</span><span class="symbol">,</span>
931
+ <span class="normal"> </span><span class="usertype">GCancellable</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cancellable</span><span class="symbol">)</span>
932
+ <span class="cbracket">{</span>
933
+ <span class="normal"> </span><span class="usertype">Baker</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">self </span><span class="symbol">=</span><span class="normal"> source_object</span><span class="symbol">;</span>
934
+ <span class="normal"> </span><span class="usertype">CakeData</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cake_data </span><span class="symbol">=</span><span class="normal"> task_data</span><span class="symbol">;</span>
935
+ <span class="normal"> </span><span class="usertype">Cake</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cake</span><span class="symbol">;</span>
936
+ <span class="normal"> </span><span class="usertype">GError</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">error </span><span class="symbol">=</span><span class="normal"> <a href="../glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
934
937
 
935
- cake <span class="gtkdoc opt">=</span> <span class="function">bake_cake</span> <span class="gtkdoc opt">(</span>baker<span class="gtkdoc opt">,</span> cake_data<span class="gtkdoc opt">-&gt;</span>radius<span class="gtkdoc opt">,</span> cake_data<span class="gtkdoc opt">-&gt;</span>flavor<span class="gtkdoc opt">,</span>
936
- cake_data<span class="gtkdoc opt">-&gt;</span>frosting<span class="gtkdoc opt">,</span> cake_data<span class="gtkdoc opt">-&gt;</span>message<span class="gtkdoc opt">,</span>
937
- cancellable<span class="gtkdoc opt">, &amp;</span>error<span class="gtkdoc opt">);</span>
938
- <span class="keyword">if</span> <span class="gtkdoc opt">(</span>cake<span class="gtkdoc opt">)</span>
939
- <span class="function"><a href="GTask.html#g-task-return-pointer">g_task_return_pointer</a></span> <span class="gtkdoc opt">(</span>task<span class="gtkdoc opt">,</span> cake<span class="gtkdoc opt">,</span> g_object_unref<span class="gtkdoc opt">);</span>
940
- <span class="keyword">else</span>
941
- <span class="function"><a href="GTask.html#g-task-return-error">g_task_return_error</a></span> <span class="gtkdoc opt">(</span>task<span class="gtkdoc opt">,</span> error<span class="gtkdoc opt">);</span>
942
- <span class="gtkdoc opt">}</span>
938
+ <span class="normal"> cake </span><span class="symbol">=</span><span class="normal"> </span><span class="function">bake_cake</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">baker</span><span class="symbol">,</span><span class="normal"> cake_data</span><span class="symbol">-&gt;</span><span class="normal">radius</span><span class="symbol">,</span><span class="normal"> cake_data</span><span class="symbol">-&gt;</span><span class="normal">flavor</span><span class="symbol">,</span>
939
+ <span class="normal"> cake_data</span><span class="symbol">-&gt;</span><span class="normal">frosting</span><span class="symbol">,</span><span class="normal"> cake_data</span><span class="symbol">-&gt;</span><span class="normal">message</span><span class="symbol">,</span>
940
+ <span class="normal"> cancellable</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&amp;</span><span class="normal">error</span><span class="symbol">);</span>
941
+ <span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cake</span><span class="symbol">)</span>
942
+ <span class="normal"> </span><span class="function"><a href="GTask.html#g-task-return-pointer">g_task_return_pointer</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> cake</span><span class="symbol">,</span><span class="normal"> <a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="symbol">);</span>
943
+ <span class="normal"> </span><span class="keyword">else</span>
944
+ <span class="normal"> </span><span class="function"><a href="GTask.html#g-task-return-error">g_task_return_error</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> error</span><span class="symbol">);</span>
945
+ <span class="cbracket">}</span>
943
946
 
944
- <span class="gtkdoc kwb">void</span>
945
- <span class="function">baker_bake_cake_async</span> <span class="gtkdoc opt">(</span>Baker <span class="gtkdoc opt">*</span>self<span class="gtkdoc opt">,</span>
946
- guint radius<span class="gtkdoc opt">,</span>
947
- CakeFlavor flavor<span class="gtkdoc opt">,</span>
948
- CakeFrostingType frosting<span class="gtkdoc opt">,</span>
949
- <span class="gtkdoc kwb">const char</span> <span class="gtkdoc opt">*</span>message<span class="gtkdoc opt">,</span>
950
- GCancellable <span class="gtkdoc opt">*</span>cancellable<span class="gtkdoc opt">,</span>
951
- GAsyncReadyCallback callback<span class="gtkdoc opt">,</span>
952
- gpointer user_data<span class="gtkdoc opt">)</span>
953
- <span class="gtkdoc opt">{</span>
954
- CakeData <span class="gtkdoc opt">*</span>cake_data<span class="gtkdoc opt">;</span>
955
- GTask <span class="gtkdoc opt">*</span>task<span class="gtkdoc opt">;</span>
947
+ <span class="type">void</span>
948
+ <span class="function">baker_bake_cake_async</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">Baker</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">self</span><span class="symbol">,</span>
949
+ <span class="normal"> </span><span class="usertype">guint</span><span class="normal"> radius</span><span class="symbol">,</span>
950
+ <span class="normal"> </span><span class="usertype">CakeFlavor</span><span class="normal"> flavor</span><span class="symbol">,</span>
951
+ <span class="normal"> </span><span class="usertype">CakeFrostingType</span><span class="normal"> frosting</span><span class="symbol">,</span>
952
+ <span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">message</span><span class="symbol">,</span>
953
+ <span class="normal"> </span><span class="usertype">GCancellable</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cancellable</span><span class="symbol">,</span>
954
+ <span class="normal"> </span><span class="usertype">GAsyncReadyCallback</span><span class="normal"> callback</span><span class="symbol">,</span>
955
+ <span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
956
+ <span class="cbracket">{</span>
957
+ <span class="normal"> </span><span class="usertype">CakeData</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cake_data</span><span class="symbol">;</span>
958
+ <span class="normal"> </span><span class="usertype">GTask</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">task</span><span class="symbol">;</span>
956
959
 
957
- cake_data <span class="gtkdoc opt">=</span> <span class="function"><a href="../glib-Memory-Slices.html#g-slice-new">g_slice_new</a></span> <span class="gtkdoc opt">(</span>CakeData<span class="gtkdoc opt">);</span>
958
- cake_data<span class="gtkdoc opt">-&gt;</span>radius <span class="gtkdoc opt">=</span> radius<span class="gtkdoc opt">;</span>
959
- cake_data<span class="gtkdoc opt">-&gt;</span>flavor <span class="gtkdoc opt">=</span> flavor<span class="gtkdoc opt">;</span>
960
- cake_data<span class="gtkdoc opt">-&gt;</span>frosting <span class="gtkdoc opt">=</span> frosting<span class="gtkdoc opt">;</span>
961
- cake_data<span class="gtkdoc opt">-&gt;</span>message <span class="gtkdoc opt">=</span> <span class="function"><a href="../glib-String-Utility-Functions.html#g-strdup">g_strdup</a></span> <span class="gtkdoc opt">(</span>message<span class="gtkdoc opt">);</span>
962
- task <span class="gtkdoc opt">=</span> <span class="function"><a href="GTask.html#g-task-new">g_task_new</a></span> <span class="gtkdoc opt">(</span>self<span class="gtkdoc opt">,</span> cancellable<span class="gtkdoc opt">,</span> callback<span class="gtkdoc opt">,</span> user_data<span class="gtkdoc opt">);</span>
963
- <span class="function"><a href="GTask.html#g-task-set-task-data">g_task_set_task_data</a></span> <span class="gtkdoc opt">(</span>task<span class="gtkdoc opt">,</span> cake_data<span class="gtkdoc opt">, (</span>GDestroyNotify<span class="gtkdoc opt">)</span> cake_data_free<span class="gtkdoc opt">);</span>
964
- <span class="function"><a href="GTask.html#g-task-run-in-thread">g_task_run_in_thread</a></span> <span class="gtkdoc opt">(</span>task<span class="gtkdoc opt">,</span> bake_cake_thread<span class="gtkdoc opt">);</span>
965
- <span class="function"><a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span> <span class="gtkdoc opt">(</span>task<span class="gtkdoc opt">);</span>
966
- <span class="gtkdoc opt">}</span>
960
+ <span class="normal"> cake_data </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="../glib-Memory-Slices.html#g-slice-new">g_slice_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">CakeData</span><span class="symbol">);</span>
961
+ <span class="normal"> cake_data</span><span class="symbol">-&gt;</span><span class="normal">radius </span><span class="symbol">=</span><span class="normal"> radius</span><span class="symbol">;</span>
962
+ <span class="normal"> cake_data</span><span class="symbol">-&gt;</span><span class="normal">flavor </span><span class="symbol">=</span><span class="normal"> flavor</span><span class="symbol">;</span>
963
+ <span class="normal"> cake_data</span><span class="symbol">-&gt;</span><span class="normal">frosting </span><span class="symbol">=</span><span class="normal"> frosting</span><span class="symbol">;</span>
964
+ <span class="normal"> cake_data</span><span class="symbol">-&gt;</span><span class="normal">message </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="../glib-String-Utility-Functions.html#g-strdup">g_strdup</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">message</span><span class="symbol">);</span>
965
+ <span class="normal"> task </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GTask.html#g-task-new">g_task_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">self</span><span class="symbol">,</span><span class="normal"> cancellable</span><span class="symbol">,</span><span class="normal"> callback</span><span class="symbol">,</span><span class="normal"> user_data</span><span class="symbol">);</span>
966
+ <span class="normal"> </span><span class="function"><a href="GTask.html#g-task-set-task-data">g_task_set_task_data</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> cake_data</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="../glib-Datasets.html#GDestroyNotify">GDestroyNotify</a></span><span class="symbol">)</span><span class="normal"> cake_data_free</span><span class="symbol">);</span>
967
+ <span class="normal"> </span><span class="function"><a href="GTask.html#g-task-run-in-thread">g_task_run_in_thread</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> bake_cake_thread</span><span class="symbol">);</span>
968
+ <span class="normal"> </span><span class="function"><a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">);</span>
969
+ <span class="cbracket">}</span>
967
970
 
968
- Cake <span class="gtkdoc opt">*</span>
969
- <span class="function">baker_bake_cake_finish</span> <span class="gtkdoc opt">(</span>Baker <span class="gtkdoc opt">*</span>self<span class="gtkdoc opt">,</span>
970
- GAsyncResult <span class="gtkdoc opt">*</span>result<span class="gtkdoc opt">,</span>
971
- GError <span class="gtkdoc opt">**</span>error<span class="gtkdoc opt">)</span>
972
- <span class="gtkdoc opt">{</span>
973
- <span class="function"><a href="../glib-Warnings-and-Assertions.html#g-return-val-if-fail">g_return_val_if_fail</a></span> <span class="gtkdoc opt">(</span><span class="function"><a href="GTask.html#g-task-is-valid">g_task_is_valid</a></span> <span class="gtkdoc opt">(</span>result<span class="gtkdoc opt">,</span> self<span class="gtkdoc opt">),</span> NULL<span class="gtkdoc opt">);</span>
971
+ <span class="normal">Cake </span><span class="symbol">*</span>
972
+ <span class="function">baker_bake_cake_finish</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">Baker</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">self</span><span class="symbol">,</span>
973
+ <span class="normal"> </span><span class="usertype">GAsyncResult</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">result</span><span class="symbol">,</span>
974
+ <span class="normal"> </span><span class="usertype">GError</span><span class="normal"> </span><span class="symbol">**</span><span class="normal">error</span><span class="symbol">)</span>
975
+ <span class="cbracket">{</span>
976
+ <span class="normal"> </span><span class="function"><a href="../glib-Warnings-and-Assertions.html#g-return-val-if-fail">g_return_val_if_fail</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="GTask.html#g-task-is-valid">g_task_is_valid</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">result</span><span class="symbol">,</span><span class="normal"> self</span><span class="symbol">),</span><span class="normal"> <a href="../glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
974
977
 
975
- <span class="keyword">return</span> <span class="function"><a href="GTask.html#g-task-propagate-pointer">g_task_propagate_pointer</a></span> <span class="gtkdoc opt">(</span><span class="function">G_TASK</span> <span class="gtkdoc opt">(</span>result<span class="gtkdoc opt">),</span> error<span class="gtkdoc opt">);</span>
976
- <span class="gtkdoc opt">}</span></pre></td>
978
+ <span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="function"><a href="GTask.html#g-task-propagate-pointer">g_task_propagate_pointer</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">G_TASK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">result</span><span class="symbol">),</span><span class="normal"> error</span><span class="symbol">);</span>
979
+ <span class="cbracket">}</span></pre></td>
977
980
  </tr>
978
981
  </tbody>
979
982
  </table>
@@ -1087,94 +1090,94 @@ synchronous variants of blocking APIs.</p>
1087
1090
  86
1088
1091
  87
1089
1092
  88</pre></td>
1090
- <td class="listing_code"><pre class="programlisting"><span class="gtkdoc kwb">static void</span>
1091
- <span class="function">bake_cake_thread</span> <span class="gtkdoc opt">(</span>GTask <span class="gtkdoc opt">*</span>task<span class="gtkdoc opt">,</span>
1092
- gpointer source_object<span class="gtkdoc opt">,</span>
1093
- gpointer task_data<span class="gtkdoc opt">,</span>
1094
- GCancellable <span class="gtkdoc opt">*</span>cancellable<span class="gtkdoc opt">)</span>
1095
- <span class="gtkdoc opt">{</span>
1096
- Baker <span class="gtkdoc opt">*</span>self <span class="gtkdoc opt">=</span> source_object<span class="gtkdoc opt">;</span>
1097
- CakeData <span class="gtkdoc opt">*</span>cake_data <span class="gtkdoc opt">=</span> task_data<span class="gtkdoc opt">;</span>
1098
- Cake <span class="gtkdoc opt">*</span>cake<span class="gtkdoc opt">;</span>
1099
- GError <span class="gtkdoc opt">*</span>error <span class="gtkdoc opt">=</span> NULL<span class="gtkdoc opt">;</span>
1093
+ <td class="listing_code"><pre class="programlisting"><span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
1094
+ <span class="function">bake_cake_thread</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GTask</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">task</span><span class="symbol">,</span>
1095
+ <span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> source_object</span><span class="symbol">,</span>
1096
+ <span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> task_data</span><span class="symbol">,</span>
1097
+ <span class="normal"> </span><span class="usertype">GCancellable</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cancellable</span><span class="symbol">)</span>
1098
+ <span class="cbracket">{</span>
1099
+ <span class="normal"> </span><span class="usertype">Baker</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">self </span><span class="symbol">=</span><span class="normal"> source_object</span><span class="symbol">;</span>
1100
+ <span class="normal"> </span><span class="usertype">CakeData</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cake_data </span><span class="symbol">=</span><span class="normal"> task_data</span><span class="symbol">;</span>
1101
+ <span class="normal"> </span><span class="usertype">Cake</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cake</span><span class="symbol">;</span>
1102
+ <span class="normal"> </span><span class="usertype">GError</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">error </span><span class="symbol">=</span><span class="normal"> <a href="../glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
1100
1103
 
1101
- cake <span class="gtkdoc opt">=</span> <span class="function">bake_cake</span> <span class="gtkdoc opt">(</span>baker<span class="gtkdoc opt">,</span> cake_data<span class="gtkdoc opt">-&gt;</span>radius<span class="gtkdoc opt">,</span> cake_data<span class="gtkdoc opt">-&gt;</span>flavor<span class="gtkdoc opt">,</span>
1102
- cake_data<span class="gtkdoc opt">-&gt;</span>frosting<span class="gtkdoc opt">,</span> cake_data<span class="gtkdoc opt">-&gt;</span>message<span class="gtkdoc opt">,</span>
1103
- <span class="gtkdoc opt">&amp;</span>error<span class="gtkdoc opt">);</span>
1104
- <span class="keyword">if</span> <span class="gtkdoc opt">(</span>error<span class="gtkdoc opt">)</span>
1105
- <span class="gtkdoc opt">{</span>
1106
- <span class="function"><a href="GTask.html#g-task-return-error">g_task_return_error</a></span> <span class="gtkdoc opt">(</span>task<span class="gtkdoc opt">,</span> error<span class="gtkdoc opt">);</span>
1107
- <span class="keyword">return</span><span class="gtkdoc opt">;</span>
1108
- <span class="gtkdoc opt">}</span>
1104
+ <span class="normal"> cake </span><span class="symbol">=</span><span class="normal"> </span><span class="function">bake_cake</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">baker</span><span class="symbol">,</span><span class="normal"> cake_data</span><span class="symbol">-&gt;</span><span class="normal">radius</span><span class="symbol">,</span><span class="normal"> cake_data</span><span class="symbol">-&gt;</span><span class="normal">flavor</span><span class="symbol">,</span>
1105
+ <span class="normal"> cake_data</span><span class="symbol">-&gt;</span><span class="normal">frosting</span><span class="symbol">,</span><span class="normal"> cake_data</span><span class="symbol">-&gt;</span><span class="normal">message</span><span class="symbol">,</span>
1106
+ <span class="normal"> </span><span class="symbol">&amp;</span><span class="normal">error</span><span class="symbol">);</span>
1107
+ <span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">error</span><span class="symbol">)</span>
1108
+ <span class="normal"> </span><span class="cbracket">{</span>
1109
+ <span class="normal"> </span><span class="function"><a href="GTask.html#g-task-return-error">g_task_return_error</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> error</span><span class="symbol">);</span>
1110
+ <span class="normal"> </span><span class="keyword">return</span><span class="symbol">;</span>
1111
+ <span class="normal"> </span><span class="cbracket">}</span>
1109
1112
 
1110
- <span class="gtkdoc slc">// If the task has already been cancelled, then we don&apos;t want to add</span>
1111
- <span class="gtkdoc slc">// the cake to the cake cache. Likewise, we don&apos;t want to have the</span>
1112
- <span class="gtkdoc slc">// task get cancelled in the middle of updating the cache.</span>
1113
- <span class="gtkdoc slc">// g_task_set_return_on_cancel() will return %TRUE here if it managed</span>
1114
- <span class="gtkdoc slc">// to disable return-on-cancel, or %FALSE if the task was cancelled</span>
1115
- <span class="gtkdoc slc">// before it could.</span>
1116
- <span class="keyword">if</span> <span class="gtkdoc opt">(</span><span class="function"><a href="GTask.html#g-task-set-return-on-cancel">g_task_set_return_on_cancel</a></span> <span class="gtkdoc opt">(</span>task<span class="gtkdoc opt">,</span> FALSE<span class="gtkdoc opt">))</span>
1117
- <span class="gtkdoc opt">{</span>
1118
- <span class="gtkdoc slc">// If the caller cancels at this point, their</span>
1119
- <span class="gtkdoc slc">// GAsyncReadyCallback won&apos;t be invoked until we return,</span>
1120
- <span class="gtkdoc slc">// so we don&apos;t have to worry that this code will run at</span>
1121
- <span class="gtkdoc slc">// the same time as that code does. But if there were</span>
1122
- <span class="gtkdoc slc">// other functions that might look at the cake cache,</span>
1123
- <span class="gtkdoc slc">// then we&apos;d probably need a GMutex here as well.</span>
1124
- <span class="function">baker_add_cake_to_cache</span> <span class="gtkdoc opt">(</span>baker<span class="gtkdoc opt">,</span> cake<span class="gtkdoc opt">);</span>
1125
- <span class="function"><a href="GTask.html#g-task-return-pointer">g_task_return_pointer</a></span> <span class="gtkdoc opt">(</span>task<span class="gtkdoc opt">,</span> cake<span class="gtkdoc opt">,</span> g_object_unref<span class="gtkdoc opt">);</span>
1126
- <span class="gtkdoc opt">}</span>
1127
- <span class="gtkdoc opt">}</span>
1113
+ <span class="normal"> </span><span class="comment">// If the task has already been cancelled, then we don't want to add</span>
1114
+ <span class="normal"> </span><span class="comment">// the cake to the cake cache. Likewise, we don't want to have the</span>
1115
+ <span class="normal"> </span><span class="comment">// task get cancelled in the middle of updating the cache.</span>
1116
+ <span class="normal"> </span><span class="comment">// g_task_set_return_on_cancel() will return %TRUE here if it managed</span>
1117
+ <span class="normal"> </span><span class="comment">// to disable return-on-cancel, or %FALSE if the task was cancelled</span>
1118
+ <span class="normal"> </span><span class="comment">// before it could.</span>
1119
+ <span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="GTask.html#g-task-set-return-on-cancel">g_task_set_return_on_cancel</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> <a href="../glib-Standard-Macros.html#FALSE:CAPS">FALSE</a></span><span class="symbol">))</span>
1120
+ <span class="normal"> </span><span class="cbracket">{</span>
1121
+ <span class="normal"> </span><span class="comment">// If the caller cancels at this point, their</span>
1122
+ <span class="normal"> </span><span class="comment">// GAsyncReadyCallback won't be invoked until we return,</span>
1123
+ <span class="normal"> </span><span class="comment">// so we don't have to worry that this code will run at</span>
1124
+ <span class="normal"> </span><span class="comment">// the same time as that code does. But if there were</span>
1125
+ <span class="normal"> </span><span class="comment">// other functions that might look at the cake cache,</span>
1126
+ <span class="normal"> </span><span class="comment">// then we'd probably need a GMutex here as well.</span>
1127
+ <span class="normal"> </span><span class="function">baker_add_cake_to_cache</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">baker</span><span class="symbol">,</span><span class="normal"> cake</span><span class="symbol">);</span>
1128
+ <span class="normal"> </span><span class="function"><a href="GTask.html#g-task-return-pointer">g_task_return_pointer</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> cake</span><span class="symbol">,</span><span class="normal"> <a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="symbol">);</span>
1129
+ <span class="normal"> </span><span class="cbracket">}</span>
1130
+ <span class="cbracket">}</span>
1128
1131
 
1129
- <span class="gtkdoc kwb">void</span>
1130
- <span class="function">baker_bake_cake_async</span> <span class="gtkdoc opt">(</span>Baker <span class="gtkdoc opt">*</span>self<span class="gtkdoc opt">,</span>
1131
- guint radius<span class="gtkdoc opt">,</span>
1132
- CakeFlavor flavor<span class="gtkdoc opt">,</span>
1133
- CakeFrostingType frosting<span class="gtkdoc opt">,</span>
1134
- <span class="gtkdoc kwb">const char</span> <span class="gtkdoc opt">*</span>message<span class="gtkdoc opt">,</span>
1135
- GCancellable <span class="gtkdoc opt">*</span>cancellable<span class="gtkdoc opt">,</span>
1136
- GAsyncReadyCallback callback<span class="gtkdoc opt">,</span>
1137
- gpointer user_data<span class="gtkdoc opt">)</span>
1138
- <span class="gtkdoc opt">{</span>
1139
- CakeData <span class="gtkdoc opt">*</span>cake_data<span class="gtkdoc opt">;</span>
1140
- GTask <span class="gtkdoc opt">*</span>task<span class="gtkdoc opt">;</span>
1132
+ <span class="type">void</span>
1133
+ <span class="function">baker_bake_cake_async</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">Baker</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">self</span><span class="symbol">,</span>
1134
+ <span class="normal"> </span><span class="usertype">guint</span><span class="normal"> radius</span><span class="symbol">,</span>
1135
+ <span class="normal"> </span><span class="usertype">CakeFlavor</span><span class="normal"> flavor</span><span class="symbol">,</span>
1136
+ <span class="normal"> </span><span class="usertype">CakeFrostingType</span><span class="normal"> frosting</span><span class="symbol">,</span>
1137
+ <span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">message</span><span class="symbol">,</span>
1138
+ <span class="normal"> </span><span class="usertype">GCancellable</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cancellable</span><span class="symbol">,</span>
1139
+ <span class="normal"> </span><span class="usertype">GAsyncReadyCallback</span><span class="normal"> callback</span><span class="symbol">,</span>
1140
+ <span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
1141
+ <span class="cbracket">{</span>
1142
+ <span class="normal"> </span><span class="usertype">CakeData</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cake_data</span><span class="symbol">;</span>
1143
+ <span class="normal"> </span><span class="usertype">GTask</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">task</span><span class="symbol">;</span>
1141
1144
 
1142
- cake_data <span class="gtkdoc opt">=</span> <span class="function"><a href="../glib-Memory-Slices.html#g-slice-new">g_slice_new</a></span> <span class="gtkdoc opt">(</span>CakeData<span class="gtkdoc opt">);</span>
1145
+ <span class="normal"> cake_data </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="../glib-Memory-Slices.html#g-slice-new">g_slice_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">CakeData</span><span class="symbol">);</span>
1143
1146
 
1144
- <span class="gtkdoc opt">...</span>
1147
+ <span class="normal"> </span><span class="symbol">...</span>
1145
1148
 
1146
- task <span class="gtkdoc opt">=</span> <span class="function"><a href="GTask.html#g-task-new">g_task_new</a></span> <span class="gtkdoc opt">(</span>self<span class="gtkdoc opt">,</span> cancellable<span class="gtkdoc opt">,</span> callback<span class="gtkdoc opt">,</span> user_data<span class="gtkdoc opt">);</span>
1147
- <span class="function"><a href="GTask.html#g-task-set-task-data">g_task_set_task_data</a></span> <span class="gtkdoc opt">(</span>task<span class="gtkdoc opt">,</span> cake_data<span class="gtkdoc opt">, (</span>GDestroyNotify<span class="gtkdoc opt">)</span> cake_data_free<span class="gtkdoc opt">);</span>
1148
- <span class="function"><a href="GTask.html#g-task-set-return-on-cancel">g_task_set_return_on_cancel</a></span> <span class="gtkdoc opt">(</span>task<span class="gtkdoc opt">,</span> TRUE<span class="gtkdoc opt">);</span>
1149
- <span class="function"><a href="GTask.html#g-task-run-in-thread">g_task_run_in_thread</a></span> <span class="gtkdoc opt">(</span>task<span class="gtkdoc opt">,</span> bake_cake_thread<span class="gtkdoc opt">);</span>
1150
- <span class="gtkdoc opt">}</span>
1149
+ <span class="normal"> task </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GTask.html#g-task-new">g_task_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">self</span><span class="symbol">,</span><span class="normal"> cancellable</span><span class="symbol">,</span><span class="normal"> callback</span><span class="symbol">,</span><span class="normal"> user_data</span><span class="symbol">);</span>
1150
+ <span class="normal"> </span><span class="function"><a href="GTask.html#g-task-set-task-data">g_task_set_task_data</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> cake_data</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="../glib-Datasets.html#GDestroyNotify">GDestroyNotify</a></span><span class="symbol">)</span><span class="normal"> cake_data_free</span><span class="symbol">);</span>
1151
+ <span class="normal"> </span><span class="function"><a href="GTask.html#g-task-set-return-on-cancel">g_task_set_return_on_cancel</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> <a href="../glib-Standard-Macros.html#TRUE:CAPS">TRUE</a></span><span class="symbol">);</span>
1152
+ <span class="normal"> </span><span class="function"><a href="GTask.html#g-task-run-in-thread">g_task_run_in_thread</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> bake_cake_thread</span><span class="symbol">);</span>
1153
+ <span class="cbracket">}</span>
1151
1154
 
1152
- Cake <span class="gtkdoc opt">*</span>
1153
- <span class="function">baker_bake_cake_sync</span> <span class="gtkdoc opt">(</span>Baker <span class="gtkdoc opt">*</span>self<span class="gtkdoc opt">,</span>
1154
- guint radius<span class="gtkdoc opt">,</span>
1155
- CakeFlavor flavor<span class="gtkdoc opt">,</span>
1156
- CakeFrostingType frosting<span class="gtkdoc opt">,</span>
1157
- <span class="gtkdoc kwb">const char</span> <span class="gtkdoc opt">*</span>message<span class="gtkdoc opt">,</span>
1158
- GCancellable <span class="gtkdoc opt">*</span>cancellable<span class="gtkdoc opt">,</span>
1159
- GError <span class="gtkdoc opt">**</span>error<span class="gtkdoc opt">)</span>
1160
- <span class="gtkdoc opt">{</span>
1161
- CakeData <span class="gtkdoc opt">*</span>cake_data<span class="gtkdoc opt">;</span>
1162
- GTask <span class="gtkdoc opt">*</span>task<span class="gtkdoc opt">;</span>
1163
- Cake <span class="gtkdoc opt">*</span>cake<span class="gtkdoc opt">;</span>
1155
+ <span class="normal">Cake </span><span class="symbol">*</span>
1156
+ <span class="function">baker_bake_cake_sync</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">Baker</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">self</span><span class="symbol">,</span>
1157
+ <span class="normal"> </span><span class="usertype">guint</span><span class="normal"> radius</span><span class="symbol">,</span>
1158
+ <span class="normal"> </span><span class="usertype">CakeFlavor</span><span class="normal"> flavor</span><span class="symbol">,</span>
1159
+ <span class="normal"> </span><span class="usertype">CakeFrostingType</span><span class="normal"> frosting</span><span class="symbol">,</span>
1160
+ <span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">message</span><span class="symbol">,</span>
1161
+ <span class="normal"> </span><span class="usertype">GCancellable</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cancellable</span><span class="symbol">,</span>
1162
+ <span class="normal"> </span><span class="usertype">GError</span><span class="normal"> </span><span class="symbol">**</span><span class="normal">error</span><span class="symbol">)</span>
1163
+ <span class="cbracket">{</span>
1164
+ <span class="normal"> </span><span class="usertype">CakeData</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cake_data</span><span class="symbol">;</span>
1165
+ <span class="normal"> </span><span class="usertype">GTask</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">task</span><span class="symbol">;</span>
1166
+ <span class="normal"> </span><span class="usertype">Cake</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cake</span><span class="symbol">;</span>
1164
1167
 
1165
- cake_data <span class="gtkdoc opt">=</span> <span class="function"><a href="../glib-Memory-Slices.html#g-slice-new">g_slice_new</a></span> <span class="gtkdoc opt">(</span>CakeData<span class="gtkdoc opt">);</span>
1168
+ <span class="normal"> cake_data </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="../glib-Memory-Slices.html#g-slice-new">g_slice_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">CakeData</span><span class="symbol">);</span>
1166
1169
 
1167
- <span class="gtkdoc opt">...</span>
1170
+ <span class="normal"> </span><span class="symbol">...</span>
1168
1171
 
1169
- task <span class="gtkdoc opt">=</span> <span class="function"><a href="GTask.html#g-task-new">g_task_new</a></span> <span class="gtkdoc opt">(</span>self<span class="gtkdoc opt">,</span> cancellable<span class="gtkdoc opt">,</span> NULL<span class="gtkdoc opt">,</span> NULL<span class="gtkdoc opt">);</span>
1170
- <span class="function"><a href="GTask.html#g-task-set-task-data">g_task_set_task_data</a></span> <span class="gtkdoc opt">(</span>task<span class="gtkdoc opt">,</span> cake_data<span class="gtkdoc opt">, (</span>GDestroyNotify<span class="gtkdoc opt">)</span> cake_data_free<span class="gtkdoc opt">);</span>
1171
- <span class="function"><a href="GTask.html#g-task-set-return-on-cancel">g_task_set_return_on_cancel</a></span> <span class="gtkdoc opt">(</span>task<span class="gtkdoc opt">,</span> TRUE<span class="gtkdoc opt">);</span>
1172
- <span class="function"><a href="GTask.html#g-task-run-in-thread-sync">g_task_run_in_thread_sync</a></span> <span class="gtkdoc opt">(</span>task<span class="gtkdoc opt">,</span> bake_cake_thread<span class="gtkdoc opt">);</span>
1172
+ <span class="normal"> task </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GTask.html#g-task-new">g_task_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">self</span><span class="symbol">,</span><span class="normal"> cancellable</span><span class="symbol">,</span><span class="normal"> <a href="../glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="../glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
1173
+ <span class="normal"> </span><span class="function"><a href="GTask.html#g-task-set-task-data">g_task_set_task_data</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> cake_data</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="../glib-Datasets.html#GDestroyNotify">GDestroyNotify</a></span><span class="symbol">)</span><span class="normal"> cake_data_free</span><span class="symbol">);</span>
1174
+ <span class="normal"> </span><span class="function"><a href="GTask.html#g-task-set-return-on-cancel">g_task_set_return_on_cancel</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> <a href="../glib-Standard-Macros.html#TRUE:CAPS">TRUE</a></span><span class="symbol">);</span>
1175
+ <span class="normal"> </span><span class="function"><a href="GTask.html#g-task-run-in-thread-sync">g_task_run_in_thread_sync</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> bake_cake_thread</span><span class="symbol">);</span>
1173
1176
 
1174
- cake <span class="gtkdoc opt">=</span> <span class="function"><a href="GTask.html#g-task-propagate-pointer">g_task_propagate_pointer</a></span> <span class="gtkdoc opt">(</span>task<span class="gtkdoc opt">,</span> error<span class="gtkdoc opt">);</span>
1175
- <span class="function"><a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span> <span class="gtkdoc opt">(</span>task<span class="gtkdoc opt">);</span>
1176
- <span class="keyword">return</span> cake<span class="gtkdoc opt">;</span>
1177
- <span class="gtkdoc opt">}</span></pre></td>
1177
+ <span class="normal"> cake </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GTask.html#g-task-propagate-pointer">g_task_propagate_pointer</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> error</span><span class="symbol">);</span>
1178
+ <span class="normal"> </span><span class="function"><a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">);</span>
1179
+ <span class="normal"> </span><span class="keyword">return</span><span class="normal"> cake</span><span class="symbol">;</span>
1180
+ <span class="cbracket">}</span></pre></td>
1178
1181
  </tr>
1179
1182
  </tbody>
1180
1183
  </table>
@@ -1216,7 +1219,7 @@ in idle" distinction. (<a class="link" href="GTask.html" title="GTask"><span cla
1216
1219
  whether the task's callback can be invoked directly, or
1217
1220
  if it needs to be sent to another <a href="../glib-The-Main-Event-Loop.html#GMainContext"><span class="type">GMainContext</span></a>, or delayed
1218
1221
  until the next iteration of the current <a href="../glib-The-Main-Event-Loop.html#GMainContext"><span class="type">GMainContext</span></a>.)</p></li>
1219
- <li class="listitem"><p>The "finish" functions for <span class="type">GTask-based</span> operations are generally
1222
+ <li class="listitem"><p>The "finish" functions for <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> based operations are generally
1220
1223
  much simpler than <a class="link" href="GSimpleAsyncResult.html" title="GSimpleAsyncResult"><span class="type">GSimpleAsyncResult</span></a> ones, normally consisting
1221
1224
  of only a single call to <a class="link" href="GTask.html#g-task-propagate-pointer" title="g_task_propagate_pointer ()"><code class="function">g_task_propagate_pointer()</code></a> or the like.
1222
1225
  Since <a class="link" href="GTask.html#g-task-propagate-pointer" title="g_task_propagate_pointer ()"><code class="function">g_task_propagate_pointer()</code></a> "steals" the return value from
@@ -1278,23 +1281,23 @@ do not want this behavior, you can use
1278
1281
  <tbody>
1279
1282
  <tr>
1280
1283
  <td class="parameter_name"><p>source_object</p></td>
1281
- <td class="parameter_description"><p> the <a href="../gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> that owns
1284
+ <td class="parameter_description"><p>the <a href="../gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> that owns
1282
1285
  this task, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
1283
1286
  <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GObject]</span></td>
1284
1287
  </tr>
1285
1288
  <tr>
1286
1289
  <td class="parameter_name"><p>cancellable</p></td>
1287
- <td class="parameter_description"><p> optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. </p></td>
1290
+ <td class="parameter_description"><p>optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. </p></td>
1288
1291
  <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
1289
1292
  </tr>
1290
1293
  <tr>
1291
1294
  <td class="parameter_name"><p>callback</p></td>
1292
- <td class="parameter_description"><p> a <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a>. </p></td>
1295
+ <td class="parameter_description"><p>a <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a>. </p></td>
1293
1296
  <td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid until first called."><span class="acronym">scope async</span></acronym>]</span></td>
1294
1297
  </tr>
1295
1298
  <tr>
1296
1299
  <td class="parameter_name"><p>callback_data</p></td>
1297
- <td class="parameter_description"><p> user data passed to <em class="parameter"><code>callback</code></em>
1300
+ <td class="parameter_description"><p>user data passed to <em class="parameter"><code>callback</code></em>
1298
1301
  . </p></td>
1299
1302
  <td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span></td>
1300
1303
  </tr>
@@ -1332,12 +1335,12 @@ g_task_set_task_data (<em class="parameter"><code><a class="link" href="GTask.ht
1332
1335
  </tr>
1333
1336
  <tr>
1334
1337
  <td class="parameter_name"><p>task_data</p></td>
1335
- <td class="parameter_description"><p> task-specific data. </p></td>
1338
+ <td class="parameter_description"><p>task-specific data. </p></td>
1336
1339
  <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
1337
1340
  </tr>
1338
1341
  <tr>
1339
1342
  <td class="parameter_name"><p>task_data_destroy</p></td>
1340
- <td class="parameter_description"><p> <a href="../glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> for <em class="parameter"><code>task_data</code></em>
1343
+ <td class="parameter_description"><p><a href="../glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> for <em class="parameter"><code>task_data</code></em>
1341
1344
  . </p></td>
1342
1345
  <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
1343
1346
  </tr>
@@ -1560,18 +1563,18 @@ wrapper method, and deal with it appropriately if so.</p>
1560
1563
  <tbody>
1561
1564
  <tr>
1562
1565
  <td class="parameter_name"><p>source_object</p></td>
1563
- <td class="parameter_description"><p> the <a href="../gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> that owns
1566
+ <td class="parameter_description"><p>the <a href="../gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> that owns
1564
1567
  this task, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
1565
1568
  <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GObject]</span></td>
1566
1569
  </tr>
1567
1570
  <tr>
1568
1571
  <td class="parameter_name"><p>callback</p></td>
1569
- <td class="parameter_description"><p> a <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a>. </p></td>
1572
+ <td class="parameter_description"><p>a <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a>. </p></td>
1570
1573
  <td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid until first called."><span class="acronym">scope async</span></acronym>]</span></td>
1571
1574
  </tr>
1572
1575
  <tr>
1573
1576
  <td class="parameter_name"><p>callback_data</p></td>
1574
- <td class="parameter_description"><p> user data passed to <em class="parameter"><code>callback</code></em>
1577
+ <td class="parameter_description"><p>user data passed to <em class="parameter"><code>callback</code></em>
1575
1578
  . </p></td>
1576
1579
  <td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span></td>
1577
1580
  </tr>
@@ -1582,7 +1585,7 @@ this task, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="lite
1582
1585
  </tr>
1583
1586
  <tr>
1584
1587
  <td class="parameter_name"><p>error</p></td>
1585
- <td class="parameter_description"><p> error to report. </p></td>
1588
+ <td class="parameter_description"><p>error to report. </p></td>
1586
1589
  <td class="parameter_annotations"><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
1587
1590
  </tr>
1588
1591
  </tbody>
@@ -1621,18 +1624,18 @@ appropriately if so.</p>
1621
1624
  <tbody>
1622
1625
  <tr>
1623
1626
  <td class="parameter_name"><p>source_object</p></td>
1624
- <td class="parameter_description"><p> the <a href="../gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> that owns
1627
+ <td class="parameter_description"><p>the <a href="../gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> that owns
1625
1628
  this task, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
1626
1629
  <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GObject]</span></td>
1627
1630
  </tr>
1628
1631
  <tr>
1629
1632
  <td class="parameter_name"><p>callback</p></td>
1630
- <td class="parameter_description"><p> a <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a>. </p></td>
1633
+ <td class="parameter_description"><p>a <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a>. </p></td>
1631
1634
  <td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid until first called."><span class="acronym">scope async</span></acronym>]</span></td>
1632
1635
  </tr>
1633
1636
  <tr>
1634
1637
  <td class="parameter_name"><p>callback_data</p></td>
1635
- <td class="parameter_description"><p> user data passed to <em class="parameter"><code>callback</code></em>
1638
+ <td class="parameter_description"><p>user data passed to <em class="parameter"><code>callback</code></em>
1636
1639
  . </p></td>
1637
1640
  <td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span></td>
1638
1641
  </tr>
@@ -1691,7 +1694,7 @@ g_task_get_task_data (<em class="parameter"><code><a class="link" href="GTask.ht
1691
1694
  </div>
1692
1695
  <div class="refsect3">
1693
1696
  <a name="g-task-get-task-data.returns"></a><h4>Returns</h4>
1694
- <p> <em class="parameter"><code>task</code></em>
1697
+ <p><em class="parameter"><code>task</code></em>
1695
1698
  's <code class="literal">task_data</code>. </p>
1696
1699
  <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
1697
1700
  </div>
@@ -1750,7 +1753,7 @@ g_task_get_cancellable (<em class="parameter"><code><a class="link" href="GTask.
1750
1753
  </div>
1751
1754
  <div class="refsect3">
1752
1755
  <a name="g-task-get-cancellable.returns"></a><h4>Returns</h4>
1753
- <p> <em class="parameter"><code>task</code></em>
1756
+ <p><em class="parameter"><code>task</code></em>
1754
1757
  's <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a>. </p>
1755
1758
  <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
1756
1759
  </div>
@@ -1836,7 +1839,7 @@ context is the default <a href="../glib-The-Main-Event-Loop.html#GMainContext"><
1836
1839
  </div>
1837
1840
  <div class="refsect3">
1838
1841
  <a name="g-task-get-context.returns"></a><h4>Returns</h4>
1839
- <p> <em class="parameter"><code>task</code></em>
1842
+ <p><em class="parameter"><code>task</code></em>
1840
1843
  's <a href="../glib-The-Main-Event-Loop.html#GMainContext"><span class="type">GMainContext</span></a>. </p>
1841
1844
  <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
1842
1845
  </div>
@@ -1867,9 +1870,9 @@ g_task_get_source_object (<em class="parameter"><code><a class="link" href="GTas
1867
1870
  </div>
1868
1871
  <div class="refsect3">
1869
1872
  <a name="g-task-get-source-object.returns"></a><h4>Returns</h4>
1870
- <p> <em class="parameter"><code>task</code></em>
1873
+ <p><em class="parameter"><code>task</code></em>
1871
1874
  's source object, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
1872
- <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GObject]</span></p>
1875
+ <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GObject]</span></p>
1873
1876
  </div>
1874
1877
  <p class="since">Since: <a class="link" href="api-index-2-36.html#api-index-2.36">2.36</a></p>
1875
1878
  </div>
@@ -1897,7 +1900,7 @@ g_task_get_source_tag (<em class="parameter"><code><a class="link" href="GTask.h
1897
1900
  </div>
1898
1901
  <div class="refsect3">
1899
1902
  <a name="g-task-get-source-tag.returns"></a><h4>Returns</h4>
1900
- <p> <em class="parameter"><code>task</code></em>
1903
+ <p><em class="parameter"><code>task</code></em>
1901
1904
  's source tag. </p>
1902
1905
  <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
1903
1906
  </div>
@@ -2019,13 +2022,13 @@ reference on it.</p>
2019
2022
  </tr>
2020
2023
  <tr>
2021
2024
  <td class="parameter_name"><p>result</p></td>
2022
- <td class="parameter_description"><p> the pointer result of a task
2025
+ <td class="parameter_description"><p>the pointer result of a task
2023
2026
  function. </p></td>
2024
2027
  <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
2025
2028
  </tr>
2026
2029
  <tr>
2027
2030
  <td class="parameter_name"><p>result_destroy</p></td>
2028
- <td class="parameter_description"><p> a <a href="../glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> function. </p></td>
2031
+ <td class="parameter_description"><p>a <a href="../glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> function. </p></td>
2029
2032
  <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
2030
2033
  </tr>
2031
2034
  </tbody>
@@ -2069,7 +2072,7 @@ as well.</p>
2069
2072
  </tr>
2070
2073
  <tr>
2071
2074
  <td class="parameter_name"><p>error</p></td>
2072
- <td class="parameter_description"><p> the <a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> result of a task function. </p></td>
2075
+ <td class="parameter_description"><p>the <a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> result of a task function. </p></td>
2073
2076
  <td class="parameter_annotations"><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
2074
2077
  </tr>
2075
2078
  </tbody>
@@ -2288,7 +2291,7 @@ error) to the caller, you may only call it once.</p>
2288
2291
  </div>
2289
2292
  <div class="refsect3">
2290
2293
  <a name="g-task-propagate-pointer.returns"></a><h4>Returns</h4>
2291
- <p> the task result, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error. </p>
2294
+ <p>the task result, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error. </p>
2292
2295
  <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
2293
2296
  </div>
2294
2297
  <p class="since">Since: <a class="link" href="api-index-2-36.html#api-index-2.36">2.36</a></p>
@@ -2482,7 +2485,7 @@ externally-visible state in this case. See
2482
2485
  </tr>
2483
2486
  <tr>
2484
2487
  <td class="parameter_name"><p>source_object</p></td>
2485
- <td class="parameter_description"><p> <em class="parameter"><code>task</code></em>
2488
+ <td class="parameter_description"><p><em class="parameter"><code>task</code></em>
2486
2489
  's source object. </p></td>
2487
2490
  <td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GObject]</span></td>
2488
2491
  </tr>
@@ -2577,12 +2580,12 @@ source object). This can be used in <a href="../glib-Warnings-and-Assertions.htm
2577
2580
  <tbody>
2578
2581
  <tr>
2579
2582
  <td class="parameter_name"><p>result</p></td>
2580
- <td class="parameter_description"><p> A <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a>. </p></td>
2583
+ <td class="parameter_description"><p>A <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a>. </p></td>
2581
2584
  <td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> Gio.AsyncResult]</span></td>
2582
2585
  </tr>
2583
2586
  <tr>
2584
2587
  <td class="parameter_name"><p>source_object</p></td>
2585
- <td class="parameter_description"><p> the source object
2588
+ <td class="parameter_description"><p>the source object
2586
2589
  expected to be associated with the task. </p></td>
2587
2590
  <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GObject]</span></td>
2588
2591
  </tr>
@@ -2631,6 +2634,6 @@ context as the task’s callback, immediately after that callback is invoked.</p
2631
2634
  </div>
2632
2635
  </div>
2633
2636
  <div class="footer">
2634
- <hr>Generated by GTK-Doc V1.25.1</div>
2637
+ <hr>Generated by GTK-Doc V1.27</div>
2635
2638
  </body>
2636
2639
  </html>