glib2 0.90.8-x86-mingw32 → 0.90.9-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (620) hide show
  1. data/ChangeLog +46 -0
  2. data/Rakefile +1 -0
  3. data/ext/glib2/rbglib.h +1 -1
  4. data/ext/glib2/rbglib_iochannel.c +15 -6
  5. data/ext/glib2/rbgobj_signal.c +1 -1
  6. data/ext/glib2/rbgobject.h +1 -1
  7. data/lib/1.8/glib2.so +0 -0
  8. data/lib/1.9/glib2.so +0 -0
  9. data/lib/gnome2-raketask.rb +3 -2
  10. data/lib/mkmf-gnome2.rb +47 -23
  11. data/test/glib-test-init.rb +1 -3
  12. data/vendor/local/bin/glib-genmarshal.exe +0 -0
  13. data/vendor/local/bin/glib-gettextize +2 -2
  14. data/vendor/local/bin/glib-mkenums +3 -2
  15. data/vendor/local/bin/gobject-query.exe +0 -0
  16. data/vendor/local/bin/gspawn-win32-helper-console.exe +0 -0
  17. data/vendor/local/bin/gspawn-win32-helper.exe +0 -0
  18. data/vendor/local/bin/libgio-2.0-0.dll +0 -0
  19. data/vendor/local/bin/libglib-2.0-0.dll +0 -0
  20. data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
  21. data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
  22. data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
  23. data/vendor/local/include/glib-2.0/gio/gaction.h +91 -0
  24. data/vendor/local/include/glib-2.0/gio/gactiongroup.h +151 -0
  25. data/vendor/local/include/glib-2.0/gio/gappinfo.h +11 -1
  26. data/vendor/local/include/glib-2.0/gio/gapplication.h +165 -0
  27. data/vendor/local/include/glib-2.0/gio/gapplicationcommandline.h +118 -0
  28. data/vendor/local/include/glib-2.0/gio/gasyncresult.h +2 -2
  29. data/vendor/local/include/glib-2.0/gio/gcancellable.h +2 -0
  30. data/vendor/local/include/glib-2.0/gio/gemblemedicon.h +15 -0
  31. data/vendor/local/include/glib-2.0/gio/gfileenumerator.h +2 -2
  32. data/vendor/local/include/glib-2.0/gio/gfileinputstream.h +1 -1
  33. data/vendor/local/include/glib-2.0/gio/gfileiostream.h +1 -1
  34. data/vendor/local/include/glib-2.0/gio/gfilemonitor.h +1 -1
  35. data/vendor/local/include/glib-2.0/gio/gfileoutputstream.h +1 -1
  36. data/vendor/local/include/glib-2.0/gio/gio.h +14 -0
  37. data/vendor/local/include/glib-2.0/gio/gioenums.h +158 -2
  38. data/vendor/local/include/glib-2.0/gio/gioenumtypes.h +12 -0
  39. data/vendor/local/include/glib-2.0/gio/giomodule.h +1 -1
  40. data/vendor/local/include/glib-2.0/gio/giostream.h +11 -0
  41. data/vendor/local/include/glib-2.0/gio/giotypes.h +48 -0
  42. data/vendor/local/include/glib-2.0/gio/goutputstream.h +1 -1
  43. data/vendor/local/include/glib-2.0/gio/gpollableinputstream.h +101 -0
  44. data/vendor/local/include/glib-2.0/gio/gpollableoutputstream.h +98 -0
  45. data/vendor/local/include/glib-2.0/gio/gsettings.h +9 -2
  46. data/vendor/local/include/glib-2.0/gio/gsettingsbackend.h +6 -0
  47. data/vendor/local/include/glib-2.0/gio/gsimpleaction.h +95 -0
  48. data/vendor/local/include/glib-2.0/gio/gsimpleactiongroup.h +87 -0
  49. data/vendor/local/include/glib-2.0/gio/gsimpleasyncresult.h +11 -1
  50. data/vendor/local/include/glib-2.0/gio/gsocketclient.h +7 -0
  51. data/vendor/local/include/glib-2.0/gio/gtcpwrapperconnection.h +68 -0
  52. data/vendor/local/include/glib-2.0/gio/gtlsbackend.h +92 -0
  53. data/vendor/local/include/glib-2.0/gio/gtlscertificate.h +83 -0
  54. data/vendor/local/include/glib-2.0/gio/gtlsclientconnection.h +72 -0
  55. data/vendor/local/include/glib-2.0/gio/gtlsconnection.h +136 -0
  56. data/vendor/local/include/glib-2.0/gio/gtlsserverconnection.h +61 -0
  57. data/vendor/local/include/glib-2.0/glib/glist.h +2 -0
  58. data/vendor/local/include/glib-2.0/glib/gmain.h +27 -6
  59. data/vendor/local/include/glib-2.0/glib/gmarkup.h +80 -5
  60. data/vendor/local/include/glib-2.0/glib/grand.h +1 -1
  61. data/vendor/local/include/glib-2.0/glib/gsequence.h +8 -0
  62. data/vendor/local/include/glib-2.0/glib/gslist.h +2 -0
  63. data/vendor/local/include/glib-2.0/glib/gtimezone.h +37 -0
  64. data/vendor/local/include/glib-2.0/glib/gtypes.h +1 -0
  65. data/vendor/local/include/glib-2.0/glib/gunicode.h +22 -16
  66. data/vendor/local/include/glib-2.0/glib/gutils.h +5 -0
  67. data/vendor/local/include/glib-2.0/glib/gvariant.h +35 -11
  68. data/vendor/local/include/glib-2.0/gobject/gobject.h +15 -0
  69. data/vendor/local/include/glib-2.0/gobject/gsignal.h +5 -0
  70. data/vendor/local/include/glib-2.0/gobject/gsourceclosure.h +4 -2
  71. data/vendor/local/include/glib-2.0/gobject/gtypemodule.h +1 -1
  72. data/vendor/local/lib/gio-2.0.def +142 -0
  73. data/vendor/local/lib/gio-2.0.lib +0 -0
  74. data/vendor/local/lib/glib-2.0.def +21 -0
  75. data/vendor/local/lib/glib-2.0.lib +0 -0
  76. data/vendor/local/lib/glib-2.0/include/glibconfig.h +1 -1
  77. data/vendor/local/lib/gmodule-2.0.lib +0 -0
  78. data/vendor/local/lib/gobject-2.0.def +3 -0
  79. data/vendor/local/lib/gobject-2.0.lib +0 -0
  80. data/vendor/local/lib/gthread-2.0.lib +0 -0
  81. data/vendor/local/lib/libgio-2.0.dll.a +0 -0
  82. data/vendor/local/lib/libglib-2.0.dll.a +0 -0
  83. data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
  84. data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
  85. data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
  86. data/vendor/local/lib/pkgconfig/gio-2.0.pc +2 -2
  87. data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +1 -1
  88. data/vendor/local/lib/pkgconfig/glib-2.0.pc +1 -1
  89. data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +1 -1
  90. data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +1 -1
  91. data/vendor/local/lib/pkgconfig/gobject-2.0.pc +1 -1
  92. data/vendor/local/lib/pkgconfig/gthread-2.0.pc +1 -1
  93. data/vendor/local/manifest/{glib-dev_2.26.1-1_win32.mft → glib-dev_2.28.1-1_win32.mft} +55 -19
  94. data/vendor/local/manifest/{glib_2.26.1-1_win32.mft → glib_2.28.1-1_win32.mft} +3 -2
  95. data/vendor/local/share/aclocal/glib-2.0.m4 +4 -4
  96. data/vendor/local/share/doc/{glib-2.26.1 → glib-2.28.1}/COPYING +0 -0
  97. data/vendor/local/share/doc/{glib-dev-2.26.1 → glib-dev-2.28.1}/COPYING +0 -0
  98. data/vendor/local/share/glib-2.0/gettext/mkinstalldirs +72 -21
  99. data/vendor/local/share/glib-2.0/schemas/gschema.dtd +21 -8
  100. data/vendor/local/share/gtk-doc/html/gio/GAction.html +469 -0
  101. data/vendor/local/share/gtk-doc/html/gio/GActionGroup.html +754 -0
  102. data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +296 -249
  103. data/vendor/local/share/gtk-doc/html/gio/GApplication.html +1458 -0
  104. data/vendor/local/share/gtk-doc/html/gio/GApplicationCommandLine.html +815 -0
  105. data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +61 -97
  106. data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +31 -38
  107. data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +52 -68
  108. data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +38 -50
  109. data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +120 -77
  110. data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +26 -34
  111. data/vendor/local/share/gtk-doc/html/gio/GConverter.html +49 -51
  112. data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +39 -62
  113. data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +26 -35
  114. data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +415 -650
  115. data/vendor/local/share/gtk-doc/html/gio/{gio-GDBusError.html → GDBusError.html} +118 -147
  116. data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +204 -347
  117. data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +66 -111
  118. data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +210 -309
  119. data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +68 -87
  120. data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +190 -232
  121. data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +89 -118
  122. data/vendor/local/share/gtk-doc/html/gio/GDrive.html +196 -270
  123. data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +40 -46
  124. data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +56 -24
  125. data/vendor/local/share/gtk-doc/html/gio/GFile.html +1090 -1443
  126. data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +13 -16
  127. data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +66 -86
  128. data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +31 -45
  129. data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +19 -21
  130. data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +466 -602
  131. data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +32 -40
  132. data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +60 -59
  133. data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +32 -47
  134. data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +37 -45
  135. data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +22 -26
  136. data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +22 -26
  137. data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +32 -38
  138. data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +184 -52
  139. data/vendor/local/share/gtk-doc/html/gio/GIcon.html +45 -54
  140. data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +96 -125
  141. data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +21 -25
  142. data/vendor/local/share/gtk-doc/html/gio/GInitable.html +49 -71
  143. data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +102 -134
  144. data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +43 -54
  145. data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +21 -24
  146. data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +34 -41
  147. data/vendor/local/share/gtk-doc/html/gio/GMount.html +223 -294
  148. data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +127 -153
  149. data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +35 -46
  150. data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +37 -46
  151. data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +138 -174
  152. data/vendor/local/share/gtk-doc/html/gio/GPermission.html +46 -68
  153. data/vendor/local/share/gtk-doc/html/gio/GPollableInputStream.html +398 -0
  154. data/vendor/local/share/gtk-doc/html/gio/GPollableOutputStream.html +340 -0
  155. data/vendor/local/share/gtk-doc/html/gio/GProxy.html +89 -32
  156. data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +42 -56
  157. data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +59 -34
  158. data/vendor/local/share/gtk-doc/html/gio/GResolver.html +82 -95
  159. data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +58 -72
  160. data/vendor/local/share/gtk-doc/html/gio/GSettings.html +597 -357
  161. data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +125 -75
  162. data/vendor/local/share/gtk-doc/html/gio/GSimpleAction.html +339 -0
  163. data/vendor/local/share/gtk-doc/html/gio/GSimpleActionGroup.html +200 -0
  164. data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +232 -167
  165. data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +15 -16
  166. data/vendor/local/share/gtk-doc/html/gio/GSocket.html +291 -406
  167. data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +39 -45
  168. data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +301 -223
  169. data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +41 -44
  170. data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +41 -49
  171. data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +22 -32
  172. data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +88 -107
  173. data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +26 -32
  174. data/vendor/local/share/gtk-doc/html/gio/{gio-GSrvTarget.html → GSrvTarget.html} +74 -77
  175. data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +21 -22
  176. data/vendor/local/share/gtk-doc/html/gio/GTcpWrapperConnection.html +156 -0
  177. data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +40 -46
  178. data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +29 -35
  179. data/vendor/local/share/gtk-doc/html/gio/GTlsBackend.html +260 -0
  180. data/vendor/local/share/gtk-doc/html/gio/GTlsCertificate.html +396 -0
  181. data/vendor/local/share/gtk-doc/html/gio/GTlsClientConnection.html +428 -0
  182. data/vendor/local/share/gtk-doc/html/gio/GTlsConnection.html +869 -0
  183. data/vendor/local/share/gtk-doc/html/gio/GTlsServerConnection.html +158 -0
  184. data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +32 -41
  185. data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +28 -34
  186. data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +44 -54
  187. data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +36 -41
  188. data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +35 -32
  189. data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +35 -32
  190. data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +59 -67
  191. data/vendor/local/share/gtk-doc/html/gio/GVfs.html +49 -57
  192. data/vendor/local/share/gtk-doc/html/gio/GVolume.html +142 -187
  193. data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +99 -132
  194. data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +33 -32
  195. data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +22 -24
  196. data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +43 -13
  197. data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +5 -5
  198. data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +10 -3
  199. data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +20 -20
  200. data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +8 -8
  201. data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +36 -28
  202. data/vendor/local/share/gtk-doc/html/gio/api-index-2-28.html +744 -0
  203. data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +3 -3
  204. data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +915 -107
  205. data/vendor/local/share/gtk-doc/html/gio/application.html +50 -0
  206. data/vendor/local/share/gtk-doc/html/gio/async.html +5 -5
  207. data/vendor/local/share/gtk-doc/html/gio/ch01.html +4 -4
  208. data/vendor/local/share/gtk-doc/html/gio/ch02.html +5 -5
  209. data/vendor/local/share/gtk-doc/html/gio/ch03.html +23 -24
  210. data/vendor/local/share/gtk-doc/html/gio/ch26.html +54 -36
  211. data/vendor/local/share/gtk-doc/html/gio/ch27.html +188 -41
  212. data/vendor/local/share/gtk-doc/html/gio/ch27s02.html +19 -108
  213. data/vendor/local/share/gtk-doc/html/gio/ch27s03.html +16 -179
  214. data/vendor/local/share/gtk-doc/html/gio/ch28.html +57 -0
  215. data/vendor/local/share/gtk-doc/html/gio/{ch26s02.html → ch28s02.html} +10 -10
  216. data/vendor/local/share/gtk-doc/html/gio/{ch26s03.html → ch28s03.html} +10 -10
  217. data/vendor/local/share/gtk-doc/html/gio/{ch26s04.html → ch28s04.html} +10 -10
  218. data/vendor/local/share/gtk-doc/html/gio/{ch26s05.html → ch28s05.html} +10 -10
  219. data/vendor/local/share/gtk-doc/html/gio/{ch26s06.html → ch28s06.html} +17 -15
  220. data/vendor/local/share/gtk-doc/html/gio/{ch26s07.html → ch28s07.html} +10 -10
  221. data/vendor/local/share/gtk-doc/html/gio/ch29.html +70 -0
  222. data/vendor/local/share/gtk-doc/html/gio/ch29s02.html +130 -0
  223. data/vendor/local/share/gtk-doc/html/gio/ch29s03.html +202 -0
  224. data/vendor/local/share/gtk-doc/html/gio/{ch27s04.html → ch29s04.html} +11 -11
  225. data/vendor/local/share/gtk-doc/html/gio/{ch27s05.html → ch29s05.html} +12 -12
  226. data/vendor/local/share/gtk-doc/html/gio/{ch27s06.html → ch29s06.html} +10 -10
  227. data/vendor/local/share/gtk-doc/html/gio/conversion.html +3 -3
  228. data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +27 -14
  229. data/vendor/local/share/gtk-doc/html/gio/extending.html +5 -5
  230. data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +3 -3
  231. data/vendor/local/share/gtk-doc/html/gio/file_mon.html +3 -3
  232. data/vendor/local/share/gtk-doc/html/gio/file_ops.html +3 -3
  233. data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +3 -3
  234. data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +6 -6
  235. data/vendor/local/share/gtk-doc/html/gio/gdbus.html +18 -18
  236. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +39 -62
  237. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +141 -248
  238. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +28 -40
  239. data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +29 -112
  240. data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +45 -57
  241. data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +58 -68
  242. data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +16 -18
  243. data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +18 -20
  244. data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +82 -76
  245. data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +34 -28
  246. data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +25 -33
  247. data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +87 -113
  248. data/vendor/local/share/gtk-doc/html/gio/gio-TLS-Overview.html +287 -0
  249. data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +119 -151
  250. data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +62 -95
  251. data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +66 -6
  252. data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +8 -8
  253. data/vendor/local/share/gtk-doc/html/gio/gio.devhelp +312 -91
  254. data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +386 -133
  255. data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +12 -12
  256. data/vendor/local/share/gtk-doc/html/gio/gsettings-tool.html +162 -0
  257. data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +7 -4
  258. data/vendor/local/share/gtk-doc/html/gio/icons.html +3 -3
  259. data/vendor/local/share/gtk-doc/html/gio/index.html +88 -36
  260. data/vendor/local/share/gtk-doc/html/gio/index.sgml +506 -95
  261. data/vendor/local/share/gtk-doc/html/gio/migrating.html +23 -23
  262. data/vendor/local/share/gtk-doc/html/gio/networking.html +3 -3
  263. data/vendor/local/share/gtk-doc/html/gio/permissions.html +5 -5
  264. data/vendor/local/share/gtk-doc/html/gio/pt01.html +4 -4
  265. data/vendor/local/share/gtk-doc/html/gio/pt02.html +68 -17
  266. data/vendor/local/share/gtk-doc/html/gio/resolver.html +6 -6
  267. data/vendor/local/share/gtk-doc/html/gio/settings.html +7 -7
  268. data/vendor/local/share/gtk-doc/html/gio/streaming.html +9 -3
  269. data/vendor/local/share/gtk-doc/html/gio/style.css +2 -1
  270. data/vendor/local/share/gtk-doc/html/gio/tls.html +50 -0
  271. data/vendor/local/share/gtk-doc/html/gio/tools.html +4 -4
  272. data/vendor/local/share/gtk-doc/html/gio/types.html +6 -6
  273. data/vendor/local/share/gtk-doc/html/gio/utils.html +7 -7
  274. data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +4 -4
  275. data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +8 -11
  276. data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +3 -3
  277. data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +3 -3
  278. data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +3 -3
  279. data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +3 -3
  280. data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +4 -4
  281. data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +3 -3
  282. data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +3 -3
  283. data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +3 -3
  284. data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +3 -3
  285. data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +25 -5
  286. data/vendor/local/share/gtk-doc/html/glib/api-index-2-28.html +112 -0
  287. data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +6 -6
  288. data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +15 -11
  289. data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +5 -5
  290. data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +9 -5
  291. data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +201 -89
  292. data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +144 -210
  293. data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +97 -136
  294. data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +40 -58
  295. data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +99 -128
  296. data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +104 -155
  297. data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +42 -71
  298. data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +40 -43
  299. data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +224 -314
  300. data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +104 -142
  301. data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +193 -308
  302. data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +51 -76
  303. data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +170 -307
  304. data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +154 -198
  305. data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +45 -67
  306. data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +60 -97
  307. data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +390 -428
  308. data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +265 -333
  309. data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +306 -330
  310. data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +60 -99
  311. data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +122 -152
  312. data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +241 -571
  313. data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +233 -330
  314. data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +310 -34
  315. data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +739 -590
  316. data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +136 -143
  317. data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +22 -29
  318. data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +210 -297
  319. data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +294 -355
  320. data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +27 -39
  321. data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +102 -95
  322. data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +402 -486
  323. data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +308 -442
  324. data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +75 -116
  325. data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +229 -297
  326. data/vendor/local/share/gtk-doc/html/glib/glib-Limits-of-Basic-Types.html +36 -36
  327. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +121 -187
  328. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocators.html +23 -27
  329. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Chunks.html +80 -107
  330. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +46 -69
  331. data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +63 -99
  332. data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +121 -115
  333. data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +304 -327
  334. data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +307 -366
  335. data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +39 -20
  336. data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +230 -343
  337. data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +121 -167
  338. data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +31 -45
  339. data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +73 -113
  340. data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +75 -106
  341. data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +229 -184
  342. data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +31 -40
  343. data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +247 -286
  344. data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +281 -283
  345. data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +83 -337
  346. data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +65 -80
  347. data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +36 -42
  348. data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +408 -621
  349. data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +253 -322
  350. data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +161 -252
  351. data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +677 -590
  352. data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +88 -111
  353. data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +378 -475
  354. data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +27 -48
  355. data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +39 -48
  356. data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +19 -25
  357. data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +57 -93
  358. data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +413 -534
  359. data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +117 -21
  360. data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +38 -53
  361. data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +60 -114
  362. data/vendor/local/share/gtk-doc/html/glib/glib-building.html +38 -39
  363. data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +7 -13
  364. data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +5 -5
  365. data/vendor/local/share/gtk-doc/html/glib/glib-core.html +3 -3
  366. data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +19 -19
  367. data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +6 -3
  368. data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +3 -3
  369. data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +10 -10
  370. data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +82 -82
  371. data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +9 -9
  372. data/vendor/local/share/gtk-doc/html/glib/glib-running.html +26 -26
  373. data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +3 -3
  374. data/vendor/local/share/gtk-doc/html/glib/glib.devhelp +144 -103
  375. data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +170 -105
  376. data/vendor/local/share/gtk-doc/html/glib/glib.html +3 -3
  377. data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +10 -10
  378. data/vendor/local/share/gtk-doc/html/glib/gtester.html +10 -10
  379. data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +48 -43
  380. data/vendor/local/share/gtk-doc/html/glib/gvariant-text.html +660 -0
  381. data/vendor/local/share/gtk-doc/html/glib/index.html +8 -4
  382. data/vendor/local/share/gtk-doc/html/glib/index.sgml +67 -2
  383. data/vendor/local/share/gtk-doc/html/glib/style.css +2 -1
  384. data/vendor/local/share/gtk-doc/html/glib/tools.html +5 -5
  385. data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +72 -90
  386. data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +79 -108
  387. data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +67 -85
  388. data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +63 -9
  389. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +4 -4
  390. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +3 -3
  391. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +3 -3
  392. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +3 -3
  393. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +3 -3
  394. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +3 -3
  395. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +3 -3
  396. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +6 -6
  397. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-28.html +47 -0
  398. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +4 -4
  399. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +3 -3
  400. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +3 -3
  401. data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +3 -3
  402. data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +65 -53
  403. data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +7 -7
  404. data/vendor/local/share/gtk-doc/html/gobject/ch06s03.html +4 -4
  405. data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +8 -11
  406. data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +19 -19
  407. data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +6 -6
  408. data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +18 -18
  409. data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +22 -22
  410. data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +16 -16
  411. data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +40 -54
  412. data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +405 -512
  413. data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +170 -213
  414. data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +242 -292
  415. data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +91 -127
  416. data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +407 -573
  417. data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +951 -1268
  418. data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +383 -441
  419. data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +648 -829
  420. data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +82 -95
  421. data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +31 -49
  422. data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +8 -8
  423. data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +15 -14
  424. data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +10 -10
  425. data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp +62 -58
  426. data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +62 -58
  427. data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +6 -6
  428. data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +11 -11
  429. data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +14 -14
  430. data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +6 -6
  431. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +5 -5
  432. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +3 -3
  433. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +7 -7
  434. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +3 -3
  435. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +9 -9
  436. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +10 -10
  437. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +4 -4
  438. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +7 -7
  439. data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +6 -6
  440. data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +6 -6
  441. data/vendor/local/share/gtk-doc/html/gobject/index.html +11 -10
  442. data/vendor/local/share/gtk-doc/html/gobject/index.sgml +13 -1
  443. data/vendor/local/share/gtk-doc/html/gobject/pr01.html +4 -4
  444. data/vendor/local/share/gtk-doc/html/gobject/pt01.html +7 -7
  445. data/vendor/local/share/gtk-doc/html/gobject/pt02.html +8 -8
  446. data/vendor/local/share/gtk-doc/html/gobject/pt03.html +5 -5
  447. data/vendor/local/share/gtk-doc/html/gobject/rn01.html +4 -4
  448. data/vendor/local/share/gtk-doc/html/gobject/rn02.html +4 -4
  449. data/vendor/local/share/gtk-doc/html/gobject/signal.html +13 -13
  450. data/vendor/local/share/gtk-doc/html/gobject/style.css +2 -1
  451. data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +3 -3
  452. data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +3 -3
  453. data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +6 -6
  454. data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +3 -3
  455. data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +3 -3
  456. data/vendor/local/share/locale/ar/LC_MESSAGES/glib20.mo +0 -0
  457. data/vendor/local/share/locale/be/LC_MESSAGES/glib20.mo +0 -0
  458. data/vendor/local/share/locale/bg/LC_MESSAGES/glib20.mo +0 -0
  459. data/vendor/local/share/locale/bn_IN/LC_MESSAGES/glib20.mo +0 -0
  460. data/vendor/local/share/locale/cs/LC_MESSAGES/glib20.mo +0 -0
  461. data/vendor/local/share/locale/da/LC_MESSAGES/glib20.mo +0 -0
  462. data/vendor/local/share/locale/de/LC_MESSAGES/glib20.mo +0 -0
  463. data/vendor/local/share/locale/el/LC_MESSAGES/glib20.mo +0 -0
  464. data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib20.mo +0 -0
  465. data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
  466. data/vendor/local/share/locale/et/LC_MESSAGES/glib20.mo +0 -0
  467. data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
  468. data/vendor/local/share/locale/fr/LC_MESSAGES/glib20.mo +0 -0
  469. data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
  470. data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
  471. data/vendor/local/share/locale/hu/LC_MESSAGES/glib20.mo +0 -0
  472. data/vendor/local/share/locale/hy/LC_MESSAGES/glib20.mo +0 -0
  473. data/vendor/local/share/locale/id/LC_MESSAGES/glib20.mo +0 -0
  474. data/vendor/local/share/locale/it/LC_MESSAGES/glib20.mo +0 -0
  475. data/vendor/local/share/locale/ja/LC_MESSAGES/glib20.mo +0 -0
  476. data/vendor/local/share/locale/ko/LC_MESSAGES/glib20.mo +0 -0
  477. data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
  478. data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
  479. data/vendor/local/share/locale/pa/LC_MESSAGES/glib20.mo +0 -0
  480. data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
  481. data/vendor/local/share/locale/pt/LC_MESSAGES/glib20.mo +0 -0
  482. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib20.mo +0 -0
  483. data/vendor/local/share/locale/ro/LC_MESSAGES/glib20.mo +0 -0
  484. data/vendor/local/share/locale/ru/LC_MESSAGES/glib20.mo +0 -0
  485. data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
  486. data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
  487. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib20.mo +0 -0
  488. data/vendor/local/share/locale/sv/LC_MESSAGES/glib20.mo +0 -0
  489. data/vendor/local/share/locale/ug/LC_MESSAGES/glib20.mo +0 -0
  490. data/vendor/local/share/locale/vi/LC_MESSAGES/glib20.mo +0 -0
  491. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib20.mo +0 -0
  492. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/glib20.mo +0 -0
  493. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib20.mo +0 -0
  494. data/vendor/local/share/man/man1/glib-genmarshal.1 +2 -2
  495. data/vendor/local/share/man/man1/glib-mkenums.1 +2 -2
  496. data/vendor/local/share/man/man1/gobject-query.1 +2 -2
  497. data/vendor/local/src/tml/packaging/{glib_2.26.1-1_win32.log → glib_2.28.1-1_win32.log} +690 -773
  498. data/vendor/local/src/tml/packaging/{glib_2.26.1-1_win32.sh → glib_2.28.1-1_win32.sh} +2 -4
  499. metadata +78 -146
  500. data/ext/glib2/Makefile +0 -169
  501. data/ext/glib2/glib-enum-types.c +0 -1065
  502. data/ext/glib2/glib-enum-types.h +0 -144
  503. data/ext/glib2/ruby-glib2.pc +0 -3
  504. data/test-unit/COPYING +0 -56
  505. data/test-unit/GPL +0 -340
  506. data/test-unit/History.txt +0 -279
  507. data/test-unit/Manifest.txt +0 -110
  508. data/test-unit/PSFL +0 -271
  509. data/test-unit/README.txt +0 -75
  510. data/test-unit/Rakefile +0 -53
  511. data/test-unit/TODO +0 -5
  512. data/test-unit/bin/testrb +0 -5
  513. data/test-unit/html/bar.png +0 -0
  514. data/test-unit/html/bar.svg +0 -153
  515. data/test-unit/html/developer.png +0 -0
  516. data/test-unit/html/developer.svg +0 -469
  517. data/test-unit/html/famfamfam-logo.png +0 -0
  518. data/test-unit/html/favicon.ico +0 -0
  519. data/test-unit/html/favicon.png +0 -0
  520. data/test-unit/html/favicon.svg +0 -82
  521. data/test-unit/html/heading-mark.png +0 -0
  522. data/test-unit/html/heading-mark.svg +0 -393
  523. data/test-unit/html/index.html +0 -285
  524. data/test-unit/html/index.html.ja +0 -299
  525. data/test-unit/html/install.png +0 -0
  526. data/test-unit/html/install.svg +0 -636
  527. data/test-unit/html/jp.png +0 -0
  528. data/test-unit/html/kinotan-failure.png +0 -0
  529. data/test-unit/html/kinotan-pass.png +0 -0
  530. data/test-unit/html/logo.png +0 -0
  531. data/test-unit/html/logo.svg +0 -483
  532. data/test-unit/html/reference.png +0 -0
  533. data/test-unit/html/rubyforge.png +0 -0
  534. data/test-unit/html/tango-logo.png +0 -0
  535. data/test-unit/html/test-unit.css +0 -339
  536. data/test-unit/html/tutorial.png +0 -0
  537. data/test-unit/html/tutorial.svg +0 -559
  538. data/test-unit/html/us.png +0 -0
  539. data/test-unit/images/color-diff.png +0 -0
  540. data/test-unit/lib/test/unit.rb +0 -328
  541. data/test-unit/lib/test/unit/assertionfailederror.rb +0 -25
  542. data/test-unit/lib/test/unit/assertions.rb +0 -1792
  543. data/test-unit/lib/test/unit/attribute.rb +0 -125
  544. data/test-unit/lib/test/unit/autorunner.rb +0 -415
  545. data/test-unit/lib/test/unit/collector.rb +0 -38
  546. data/test-unit/lib/test/unit/collector/descendant.rb +0 -23
  547. data/test-unit/lib/test/unit/collector/dir.rb +0 -108
  548. data/test-unit/lib/test/unit/collector/load.rb +0 -187
  549. data/test-unit/lib/test/unit/collector/objectspace.rb +0 -34
  550. data/test-unit/lib/test/unit/collector/xml.rb +0 -250
  551. data/test-unit/lib/test/unit/color-scheme.rb +0 -106
  552. data/test-unit/lib/test/unit/color.rb +0 -96
  553. data/test-unit/lib/test/unit/diff.rb +0 -740
  554. data/test-unit/lib/test/unit/error.rb +0 -131
  555. data/test-unit/lib/test/unit/exceptionhandler.rb +0 -39
  556. data/test-unit/lib/test/unit/failure.rb +0 -136
  557. data/test-unit/lib/test/unit/fixture.rb +0 -185
  558. data/test-unit/lib/test/unit/notification.rb +0 -129
  559. data/test-unit/lib/test/unit/omission.rb +0 -191
  560. data/test-unit/lib/test/unit/pending.rb +0 -150
  561. data/test-unit/lib/test/unit/priority.rb +0 -180
  562. data/test-unit/lib/test/unit/runner/console.rb +0 -52
  563. data/test-unit/lib/test/unit/runner/emacs.rb +0 -8
  564. data/test-unit/lib/test/unit/runner/tap.rb +0 -8
  565. data/test-unit/lib/test/unit/runner/xml.rb +0 -15
  566. data/test-unit/lib/test/unit/testcase.rb +0 -515
  567. data/test-unit/lib/test/unit/testresult.rb +0 -125
  568. data/test-unit/lib/test/unit/testsuite.rb +0 -134
  569. data/test-unit/lib/test/unit/ui/console/outputlevel.rb +0 -14
  570. data/test-unit/lib/test/unit/ui/console/testrunner.rb +0 -467
  571. data/test-unit/lib/test/unit/ui/emacs/testrunner.rb +0 -63
  572. data/test-unit/lib/test/unit/ui/tap/testrunner.rb +0 -82
  573. data/test-unit/lib/test/unit/ui/testrunner.rb +0 -53
  574. data/test-unit/lib/test/unit/ui/testrunnermediator.rb +0 -86
  575. data/test-unit/lib/test/unit/ui/testrunnerutilities.rb +0 -41
  576. data/test-unit/lib/test/unit/ui/xml/testrunner.rb +0 -224
  577. data/test-unit/lib/test/unit/util/backtracefilter.rb +0 -42
  578. data/test-unit/lib/test/unit/util/method-owner-finder.rb +0 -28
  579. data/test-unit/lib/test/unit/util/observable.rb +0 -90
  580. data/test-unit/lib/test/unit/util/output.rb +0 -31
  581. data/test-unit/lib/test/unit/util/procwrapper.rb +0 -48
  582. data/test-unit/lib/test/unit/version.rb +0 -7
  583. data/test-unit/sample/adder.rb +0 -13
  584. data/test-unit/sample/subtracter.rb +0 -12
  585. data/test-unit/sample/test_adder.rb +0 -20
  586. data/test-unit/sample/test_subtracter.rb +0 -20
  587. data/test-unit/sample/test_user.rb +0 -23
  588. data/test-unit/test/collector/test-descendant.rb +0 -133
  589. data/test-unit/test/collector/test-load.rb +0 -442
  590. data/test-unit/test/collector/test_dir.rb +0 -406
  591. data/test-unit/test/collector/test_objectspace.rb +0 -100
  592. data/test-unit/test/run-test.rb +0 -22
  593. data/test-unit/test/test-assertions.rb +0 -1849
  594. data/test-unit/test/test-attribute.rb +0 -86
  595. data/test-unit/test/test-color-scheme.rb +0 -69
  596. data/test-unit/test/test-color.rb +0 -47
  597. data/test-unit/test/test-diff.rb +0 -518
  598. data/test-unit/test/test-emacs-runner.rb +0 -60
  599. data/test-unit/test/test-fixture.rb +0 -324
  600. data/test-unit/test/test-notification.rb +0 -33
  601. data/test-unit/test/test-omission.rb +0 -81
  602. data/test-unit/test/test-pending.rb +0 -70
  603. data/test-unit/test/test-priority.rb +0 -119
  604. data/test-unit/test/test-testcase.rb +0 -569
  605. data/test-unit/test/test_error.rb +0 -26
  606. data/test-unit/test/test_failure.rb +0 -33
  607. data/test-unit/test/test_testresult.rb +0 -113
  608. data/test-unit/test/test_testsuite.rb +0 -137
  609. data/test-unit/test/testunit-test-util.rb +0 -14
  610. data/test-unit/test/ui/test_tap.rb +0 -33
  611. data/test-unit/test/ui/test_testrunmediator.rb +0 -20
  612. data/test-unit/test/util/test-method-owner-finder.rb +0 -38
  613. data/test-unit/test/util/test-output.rb +0 -11
  614. data/test-unit/test/util/test_backtracefilter.rb +0 -41
  615. data/test-unit/test/util/test_observable.rb +0 -102
  616. data/test-unit/test/util/test_procwrapper.rb +0 -36
  617. data/vendor/local/share/gtk-doc/html/gio/ch24.html +0 -75
  618. data/vendor/local/share/gtk-doc/html/gio/ch25.html +0 -217
  619. data/vendor/local/share/gtk-doc/html/gio/ch25s02.html +0 -41
  620. data/vendor/local/share/gtk-doc/html/gio/ch25s03.html +0 -39
@@ -8,7 +8,7 @@
8
8
  <link rel="up" href="glib-core.html" title="GLib Core Application Support">
9
9
  <link rel="prev" href="glib-core.html" title="GLib Core Application Support">
10
10
  <link rel="next" href="glib-Threads.html" title="Threads">
11
- <meta name="generator" content="GTK-Doc V1.15 (XML mode)">
11
+ <meta name="generator" content="GTK-Doc V1.16.1 (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">
@@ -26,7 +26,7 @@
26
26
  <a href="#glib-The-Main-Event-Loop.description" class="shortcut">Description</a>
27
27
  </td></tr>
28
28
  </table>
29
- <div class="refentry" title="The Main Event Loop">
29
+ <div class="refentry">
30
30
  <a name="glib-The-Main-Event-Loop"></a><div class="titlepage"></div>
31
31
  <div class="refnamediv"><table width="100%"><tr>
32
32
  <td valign="top">
@@ -35,7 +35,7 @@
35
35
  </td>
36
36
  <td valign="top" align="right"></td>
37
37
  </tr></table></div>
38
- <div class="refsynopsisdiv" title="Synopsis">
38
+ <div class="refsynopsisdiv">
39
39
  <a name="glib-The-Main-Event-Loop.synopsis"></a><h2>Synopsis</h2>
40
40
  <pre class="synopsis">
41
41
  #include &lt;glib.h&gt;
@@ -71,14 +71,14 @@
71
71
  #define <a class="link" href="glib-The-Main-Event-Loop.html#g-main-iteration" title="g_main_iteration()">g_main_iteration</a> (may_block)
72
72
  <a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-pending" title="g_main_context_pending ()">g_main_context_pending</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>);
73
73
  #define <a class="link" href="glib-The-Main-Event-Loop.html#g-main-pending" title="g_main_pending">g_main_pending</a>
74
- <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="returnvalue">GSource</span></a> * <a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-find-source-by-id" title="g_main_context_find_source_by_id ()">g_main_context_find_source_by_id</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>,
74
+ <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="returnvalue">GSource</span></a> * <a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-find-source-by-id" title="g_main_context_find_source_by_id ()">g_main_context_find_source_by_id</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>,
75
75
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> source_id</code></em>);
76
- <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="returnvalue">GSource</span></a> * <a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-find-source-by-user-data" title="g_main_context_find_source_by_user_data ()">g_main_context_find_source_by_user_data</a>
76
+ <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="returnvalue">GSource</span></a> * <a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-find-source-by-user-data" title="g_main_context_find_source_by_user_data ()">g_main_context_find_source_by_user_data</a>
77
77
  (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>,
78
78
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
79
- <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="returnvalue">GSource</span></a> * <a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-find-source-by-funcs-user-data" title="g_main_context_find_source_by_funcs_user_data ()">g_main_context_find_source_by_funcs_user_data</a>
79
+ <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="returnvalue">GSource</span></a> * <a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-find-source-by-funcs-user-data" title="g_main_context_find_source_by_funcs_user_data ()">g_main_context_find_source_by_funcs_user_data</a>
80
80
  (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>,
81
- <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSourceFuncs" title="GSourceFuncs"><span class="type">GSourceFuncs</span></a> *funcs</code></em>,
81
+ <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSourceFuncs" title="struct GSourceFuncs"><span class="type">GSourceFuncs</span></a> *funcs</code></em>,
82
82
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
83
83
  <span class="returnvalue">void</span> <a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-wakeup" title="g_main_context_wakeup ()">g_main_context_wakeup</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>);
84
84
  <a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-acquire" title="g_main_context_acquire ()">g_main_context_acquire</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>);
@@ -92,34 +92,42 @@
92
92
  <a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-query" title="g_main_context_query ()">g_main_context_query</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>,
93
93
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> max_priority</code></em>,
94
94
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> *timeout_</code></em>,
95
- <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="GPollFD"><span class="type">GPollFD</span></a> *fds</code></em>,
95
+ <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="struct GPollFD"><span class="type">GPollFD</span></a> *fds</code></em>,
96
96
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> n_fds</code></em>);
97
97
  <a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-check" title="g_main_context_check ()">g_main_context_check</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>,
98
98
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> max_priority</code></em>,
99
- <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="GPollFD"><span class="type">GPollFD</span></a> *fds</code></em>,
99
+ <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="struct GPollFD"><span class="type">GPollFD</span></a> *fds</code></em>,
100
100
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> n_fds</code></em>);
101
101
  <span class="returnvalue">void</span> <a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-dispatch" title="g_main_context_dispatch ()">g_main_context_dispatch</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>);
102
102
  <span class="returnvalue">void</span> <a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-set-poll-func" title="g_main_context_set_poll_func ()">g_main_context_set_poll_func</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>,
103
103
  <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPollFunc" title="GPollFunc ()"><span class="type">GPollFunc</span></a> func</code></em>);
104
104
  <a class="link" href="glib-The-Main-Event-Loop.html#GPollFunc" title="GPollFunc ()"><span class="returnvalue">GPollFunc</span></a> <a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-get-poll-func" title="g_main_context_get_poll_func ()">g_main_context_get_poll_func</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>);
105
- <a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> (<a class="link" href="glib-The-Main-Event-Loop.html#GPollFunc" title="GPollFunc ()">*GPollFunc</a>) (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="GPollFD"><span class="type">GPollFD</span></a> *ufds</code></em>,
105
+ <a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> (<a class="link" href="glib-The-Main-Event-Loop.html#GPollFunc" title="GPollFunc ()">*GPollFunc</a>) (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="struct GPollFD"><span class="type">GPollFD</span></a> *ufds</code></em>,
106
106
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> nfsd</code></em>,
107
107
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> timeout_</code></em>);
108
108
  <span class="returnvalue">void</span> <a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-add-poll" title="g_main_context_add_poll ()">g_main_context_add_poll</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>,
109
- <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="GPollFD"><span class="type">GPollFD</span></a> *fd</code></em>,
109
+ <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="struct GPollFD"><span class="type">GPollFD</span></a> *fd</code></em>,
110
110
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> priority</code></em>);
111
111
  <span class="returnvalue">void</span> <a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-remove-poll" title="g_main_context_remove_poll ()">g_main_context_remove_poll</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>,
112
- <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="GPollFD"><span class="type">GPollFD</span></a> *fd</code></em>);
112
+ <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="struct GPollFD"><span class="type">GPollFD</span></a> *fd</code></em>);
113
113
  <a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-The-Main-Event-Loop.html#g-main-depth" title="g_main_depth ()">g_main_depth</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
114
- <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="returnvalue">GSource</span></a> * <a class="link" href="glib-The-Main-Event-Loop.html#g-main-current-source" title="g_main_current_source ()">g_main_current_source</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
114
+ <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="returnvalue">GSource</span></a> * <a class="link" href="glib-The-Main-Event-Loop.html#g-main-current-source" title="g_main_current_source ()">g_main_current_source</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
115
115
  #define <a class="link" href="glib-The-Main-Event-Loop.html#g-main-set-poll-func" title="g_main_set_poll_func()">g_main_set_poll_func</a> (func)
116
+ <span class="returnvalue">void</span> <a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-invoke" title="g_main_context_invoke ()">g_main_context_invoke</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>,
117
+ <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSourceFunc" title="GSourceFunc ()"><span class="type">GSourceFunc</span></a> function</code></em>,
118
+ <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>);
119
+ <span class="returnvalue">void</span> <a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-invoke-full" title="g_main_context_invoke_full ()">g_main_context_invoke_full</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>,
120
+ <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> priority</code></em>,
121
+ <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSourceFunc" title="GSourceFunc ()"><span class="type">GSourceFunc</span></a> function</code></em>,
122
+ <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>,
123
+ <em class="parameter"><code><a class="link" href="glib-Datasets.html#GDestroyNotify" title="GDestroyNotify ()"><span class="type">GDestroyNotify</span></a> notify</code></em>);
116
124
 
117
125
  <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="returnvalue">GMainContext</span></a> * <a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-get-thread-default" title="g_main_context_get_thread_default ()">g_main_context_get_thread_default</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
118
126
  <span class="returnvalue">void</span> <a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-push-thread-default" title="g_main_context_push_thread_default ()">g_main_context_push_thread_default</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>);
119
127
  <span class="returnvalue">void</span> <a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-pop-thread-default" title="g_main_context_pop_thread_default ()">g_main_context_pop_thread_default</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>);
120
128
 
121
- <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="returnvalue">GSource</span></a> * <a class="link" href="glib-The-Main-Event-Loop.html#g-timeout-source-new" title="g_timeout_source_new ()">g_timeout_source_new</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> interval</code></em>);
122
- <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="returnvalue">GSource</span></a> * <a class="link" href="glib-The-Main-Event-Loop.html#g-timeout-source-new-seconds" title="g_timeout_source_new_seconds ()">g_timeout_source_new_seconds</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> interval</code></em>);
129
+ <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="returnvalue">GSource</span></a> * <a class="link" href="glib-The-Main-Event-Loop.html#g-timeout-source-new" title="g_timeout_source_new ()">g_timeout_source_new</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> interval</code></em>);
130
+ <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="returnvalue">GSource</span></a> * <a class="link" href="glib-The-Main-Event-Loop.html#g-timeout-source-new-seconds" title="g_timeout_source_new_seconds ()">g_timeout_source_new_seconds</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> interval</code></em>);
123
131
  <a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> <a class="link" href="glib-The-Main-Event-Loop.html#g-timeout-add" title="g_timeout_add ()">g_timeout_add</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> interval</code></em>,
124
132
  <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSourceFunc" title="GSourceFunc ()"><span class="type">GSourceFunc</span></a> function</code></em>,
125
133
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>);
@@ -137,7 +145,7 @@
137
145
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>,
138
146
  <em class="parameter"><code><a class="link" href="glib-Datasets.html#GDestroyNotify" title="GDestroyNotify ()"><span class="type">GDestroyNotify</span></a> notify</code></em>);
139
147
 
140
- <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="returnvalue">GSource</span></a> * <a class="link" href="glib-The-Main-Event-Loop.html#g-idle-source-new" title="g_idle_source_new ()">g_idle_source_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
148
+ <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="returnvalue">GSource</span></a> * <a class="link" href="glib-The-Main-Event-Loop.html#g-idle-source-new" title="g_idle_source_new ()">g_idle_source_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
141
149
  <a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> <a class="link" href="glib-The-Main-Event-Loop.html#g-idle-add" title="g_idle_add ()">g_idle_add</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSourceFunc" title="GSourceFunc ()"><span class="type">GSourceFunc</span></a> function</code></em>,
142
150
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>);
143
151
  <a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> <a class="link" href="glib-The-Main-Event-Loop.html#g-idle-add-full" title="g_idle_add_full ()">g_idle_add_full</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> priority</code></em>,
@@ -150,7 +158,7 @@ typedef <a class="link" href="glib-The-Main-Event-Loop.html#GPid" ti
150
158
  <span class="returnvalue">void</span> (<a class="link" href="glib-The-Main-Event-Loop.html#GChildWatchFunc" title="GChildWatchFunc ()">*GChildWatchFunc</a>) (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPid" title="GPid"><span class="type">GPid</span></a> pid</code></em>,
151
159
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> status</code></em>,
152
160
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>);
153
- <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="returnvalue">GSource</span></a> * <a class="link" href="glib-The-Main-Event-Loop.html#g-child-watch-source-new" title="g_child_watch_source_new ()">g_child_watch_source_new</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPid" title="GPid"><span class="type">GPid</span></a> pid</code></em>);
161
+ <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="returnvalue">GSource</span></a> * <a class="link" href="glib-The-Main-Event-Loop.html#g-child-watch-source-new" title="g_child_watch_source_new ()">g_child_watch_source_new</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPid" title="GPid"><span class="type">GPid</span></a> pid</code></em>);
154
162
  <a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> <a class="link" href="glib-The-Main-Event-Loop.html#g-child-watch-add" title="g_child_watch_add ()">g_child_watch_add</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPid" title="GPid"><span class="type">GPid</span></a> pid</code></em>,
155
163
  <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GChildWatchFunc" title="GChildWatchFunc ()"><span class="type">GChildWatchFunc</span></a> function</code></em>,
156
164
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>);
@@ -160,60 +168,65 @@ typedef <a class="link" href="glib-The-Main-Event-Loop.html#GPid" ti
160
168
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>,
161
169
  <em class="parameter"><code><a class="link" href="glib-Datasets.html#GDestroyNotify" title="GDestroyNotify ()"><span class="type">GDestroyNotify</span></a> notify</code></em>);
162
170
 
163
- <a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="GPollFD">GPollFD</a>;
164
- <a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-The-Main-Event-Loop.html#g-poll" title="g_poll ()">g_poll</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="GPollFD"><span class="type">GPollFD</span></a> *fds</code></em>,
171
+ struct <a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="struct GPollFD">GPollFD</a>;
172
+ <a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-The-Main-Event-Loop.html#g-poll" title="g_poll ()">g_poll</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="struct GPollFD"><span class="type">GPollFD</span></a> *fds</code></em>,
165
173
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> nfds</code></em>,
166
174
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> timeout</code></em>);
167
175
  #define <a class="link" href="glib-The-Main-Event-Loop.html#G-POLLFD-FORMAT:CAPS" title="G_POLLFD_FORMAT">G_POLLFD_FORMAT</a>
168
176
 
169
- <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource">GSource</a>;
177
+ struct <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource">GSource</a>;
170
178
  <span class="returnvalue">void</span> (<a class="link" href="glib-The-Main-Event-Loop.html#GSourceDummyMarshal" title="GSourceDummyMarshal ()">*GSourceDummyMarshal</a>) (<em class="parameter"><code><span class="type">void</span></code></em>);
171
- <a class="link" href="glib-The-Main-Event-Loop.html#GSourceFuncs" title="GSourceFuncs">GSourceFuncs</a>;
172
- <a class="link" href="glib-The-Main-Event-Loop.html#GSourceCallbackFuncs" title="GSourceCallbackFuncs">GSourceCallbackFuncs</a>;
173
- <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="returnvalue">GSource</span></a> * <a class="link" href="glib-The-Main-Event-Loop.html#g-source-new" title="g_source_new ()">g_source_new</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSourceFuncs" title="GSourceFuncs"><span class="type">GSourceFuncs</span></a> *source_funcs</code></em>,
179
+ struct <a class="link" href="glib-The-Main-Event-Loop.html#GSourceFuncs" title="struct GSourceFuncs">GSourceFuncs</a>;
180
+ struct <a class="link" href="glib-The-Main-Event-Loop.html#GSourceCallbackFuncs" title="struct GSourceCallbackFuncs">GSourceCallbackFuncs</a>;
181
+ <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="returnvalue">GSource</span></a> * <a class="link" href="glib-The-Main-Event-Loop.html#g-source-new" title="g_source_new ()">g_source_new</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSourceFuncs" title="struct GSourceFuncs"><span class="type">GSourceFuncs</span></a> *source_funcs</code></em>,
174
182
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> struct_size</code></em>);
175
- <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="returnvalue">GSource</span></a> * <a class="link" href="glib-The-Main-Event-Loop.html#g-source-ref" title="g_source_ref ()">g_source_ref</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>);
176
- <span class="returnvalue">void</span> <a class="link" href="glib-The-Main-Event-Loop.html#g-source-unref" title="g_source_unref ()">g_source_unref</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>);
177
- <span class="returnvalue">void</span> <a class="link" href="glib-The-Main-Event-Loop.html#g-source-set-funcs" title="g_source_set_funcs ()">g_source_set_funcs</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>,
178
- <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSourceFuncs" title="GSourceFuncs"><span class="type">GSourceFuncs</span></a> *funcs</code></em>);
179
- <a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> <a class="link" href="glib-The-Main-Event-Loop.html#g-source-attach" title="g_source_attach ()">g_source_attach</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>,
183
+ <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="returnvalue">GSource</span></a> * <a class="link" href="glib-The-Main-Event-Loop.html#g-source-ref" title="g_source_ref ()">g_source_ref</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *source</code></em>);
184
+ <span class="returnvalue">void</span> <a class="link" href="glib-The-Main-Event-Loop.html#g-source-unref" title="g_source_unref ()">g_source_unref</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *source</code></em>);
185
+ <span class="returnvalue">void</span> <a class="link" href="glib-The-Main-Event-Loop.html#g-source-set-funcs" title="g_source_set_funcs ()">g_source_set_funcs</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *source</code></em>,
186
+ <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSourceFuncs" title="struct GSourceFuncs"><span class="type">GSourceFuncs</span></a> *funcs</code></em>);
187
+ <a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> <a class="link" href="glib-The-Main-Event-Loop.html#g-source-attach" title="g_source_attach ()">g_source_attach</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *source</code></em>,
180
188
  <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>);
181
- <span class="returnvalue">void</span> <a class="link" href="glib-The-Main-Event-Loop.html#g-source-destroy" title="g_source_destroy ()">g_source_destroy</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>);
182
- <a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-The-Main-Event-Loop.html#g-source-is-destroyed" title="g_source_is_destroyed ()">g_source_is_destroyed</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>);
183
- <span class="returnvalue">void</span> <a class="link" href="glib-The-Main-Event-Loop.html#g-source-set-priority" title="g_source_set_priority ()">g_source_set_priority</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>,
189
+ <span class="returnvalue">void</span> <a class="link" href="glib-The-Main-Event-Loop.html#g-source-destroy" title="g_source_destroy ()">g_source_destroy</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *source</code></em>);
190
+ <a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-The-Main-Event-Loop.html#g-source-is-destroyed" title="g_source_is_destroyed ()">g_source_is_destroyed</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *source</code></em>);
191
+ <span class="returnvalue">void</span> <a class="link" href="glib-The-Main-Event-Loop.html#g-source-set-priority" title="g_source_set_priority ()">g_source_set_priority</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *source</code></em>,
184
192
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> priority</code></em>);
185
- <a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-The-Main-Event-Loop.html#g-source-get-priority" title="g_source_get_priority ()">g_source_get_priority</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>);
186
- <span class="returnvalue">void</span> <a class="link" href="glib-The-Main-Event-Loop.html#g-source-set-can-recurse" title="g_source_set_can_recurse ()">g_source_set_can_recurse</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>,
193
+ <a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-The-Main-Event-Loop.html#g-source-get-priority" title="g_source_get_priority ()">g_source_get_priority</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *source</code></em>);
194
+ <span class="returnvalue">void</span> <a class="link" href="glib-The-Main-Event-Loop.html#g-source-set-can-recurse" title="g_source_set_can_recurse ()">g_source_set_can_recurse</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *source</code></em>,
187
195
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> can_recurse</code></em>);
188
- <a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-The-Main-Event-Loop.html#g-source-get-can-recurse" title="g_source_get_can_recurse ()">g_source_get_can_recurse</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>);
189
- <a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> <a class="link" href="glib-The-Main-Event-Loop.html#g-source-get-id" title="g_source_get_id ()">g_source_get_id</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>);
190
- const <span class="returnvalue">char</span>* <a class="link" href="glib-The-Main-Event-Loop.html#g-source-get-name" title="g_source_get_name ()">g_source_get_name</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>);
191
- <span class="returnvalue">void</span> <a class="link" href="glib-The-Main-Event-Loop.html#g-source-set-name" title="g_source_set_name ()">g_source_set_name</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>,
196
+ <a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-The-Main-Event-Loop.html#g-source-get-can-recurse" title="g_source_get_can_recurse ()">g_source_get_can_recurse</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *source</code></em>);
197
+ <a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> <a class="link" href="glib-The-Main-Event-Loop.html#g-source-get-id" title="g_source_get_id ()">g_source_get_id</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *source</code></em>);
198
+ const <span class="returnvalue">char</span> * <a class="link" href="glib-The-Main-Event-Loop.html#g-source-get-name" title="g_source_get_name ()">g_source_get_name</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *source</code></em>);
199
+ <span class="returnvalue">void</span> <a class="link" href="glib-The-Main-Event-Loop.html#g-source-set-name" title="g_source_set_name ()">g_source_set_name</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *source</code></em>,
192
200
  <em class="parameter"><code>const <span class="type">char</span> *name</code></em>);
193
201
  <span class="returnvalue">void</span> <a class="link" href="glib-The-Main-Event-Loop.html#g-source-set-name-by-id" title="g_source_set_name_by_id ()">g_source_set_name_by_id</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> tag</code></em>,
194
202
  <em class="parameter"><code>const <span class="type">char</span> *name</code></em>);
195
- <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="returnvalue">GMainContext</span></a> * <a class="link" href="glib-The-Main-Event-Loop.html#g-source-get-context" title="g_source_get_context ()">g_source_get_context</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>);
196
- <span class="returnvalue">void</span> <a class="link" href="glib-The-Main-Event-Loop.html#g-source-set-callback" title="g_source_set_callback ()">g_source_set_callback</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>,
203
+ <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="returnvalue">GMainContext</span></a> * <a class="link" href="glib-The-Main-Event-Loop.html#g-source-get-context" title="g_source_get_context ()">g_source_get_context</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *source</code></em>);
204
+ <span class="returnvalue">void</span> <a class="link" href="glib-The-Main-Event-Loop.html#g-source-set-callback" title="g_source_set_callback ()">g_source_set_callback</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *source</code></em>,
197
205
  <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSourceFunc" title="GSourceFunc ()"><span class="type">GSourceFunc</span></a> func</code></em>,
198
206
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>,
199
207
  <em class="parameter"><code><a class="link" href="glib-Datasets.html#GDestroyNotify" title="GDestroyNotify ()"><span class="type">GDestroyNotify</span></a> notify</code></em>);
200
208
  <a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> (<a class="link" href="glib-The-Main-Event-Loop.html#GSourceFunc" title="GSourceFunc ()">*GSourceFunc</a>) (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>);
201
- <span class="returnvalue">void</span> <a class="link" href="glib-The-Main-Event-Loop.html#g-source-set-callback-indirect" title="g_source_set_callback_indirect ()">g_source_set_callback_indirect</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>,
209
+ <span class="returnvalue">void</span> <a class="link" href="glib-The-Main-Event-Loop.html#g-source-set-callback-indirect" title="g_source_set_callback_indirect ()">g_source_set_callback_indirect</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *source</code></em>,
202
210
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> callback_data</code></em>,
203
- <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSourceCallbackFuncs" title="GSourceCallbackFuncs"><span class="type">GSourceCallbackFuncs</span></a> *callback_funcs</code></em>);
204
- <span class="returnvalue">void</span> <a class="link" href="glib-The-Main-Event-Loop.html#g-source-add-poll" title="g_source_add_poll ()">g_source_add_poll</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>,
205
- <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="GPollFD"><span class="type">GPollFD</span></a> *fd</code></em>);
206
- <span class="returnvalue">void</span> <a class="link" href="glib-The-Main-Event-Loop.html#g-source-remove-poll" title="g_source_remove_poll ()">g_source_remove_poll</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>,
207
- <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="GPollFD"><span class="type">GPollFD</span></a> *fd</code></em>);
208
- <span class="returnvalue">void</span> <a class="link" href="glib-The-Main-Event-Loop.html#g-source-get-current-time" title="g_source_get_current_time ()">g_source_get_current_time</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>,
209
- <em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="GTimeVal"><span class="type">GTimeVal</span></a> *timeval</code></em>);
211
+ <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSourceCallbackFuncs" title="struct GSourceCallbackFuncs"><span class="type">GSourceCallbackFuncs</span></a> *callback_funcs</code></em>);
212
+ <span class="returnvalue">void</span> <a class="link" href="glib-The-Main-Event-Loop.html#g-source-add-poll" title="g_source_add_poll ()">g_source_add_poll</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *source</code></em>,
213
+ <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="struct GPollFD"><span class="type">GPollFD</span></a> *fd</code></em>);
214
+ <span class="returnvalue">void</span> <a class="link" href="glib-The-Main-Event-Loop.html#g-source-remove-poll" title="g_source_remove_poll ()">g_source_remove_poll</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *source</code></em>,
215
+ <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="struct GPollFD"><span class="type">GPollFD</span></a> *fd</code></em>);
216
+ <span class="returnvalue">void</span> <a class="link" href="glib-The-Main-Event-Loop.html#g-source-add-child-source" title="g_source_add_child_source ()">g_source_add_child_source</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *source</code></em>,
217
+ <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *child_source</code></em>);
218
+ <span class="returnvalue">void</span> <a class="link" href="glib-The-Main-Event-Loop.html#g-source-remove-child-source" title="g_source_remove_child_source ()">g_source_remove_child_source</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *source</code></em>,
219
+ <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *child_source</code></em>);
220
+ <a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="returnvalue">gint64</span></a> <a class="link" href="glib-The-Main-Event-Loop.html#g-source-get-time" title="g_source_get_time ()">g_source_get_time</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *source</code></em>);
221
+ <span class="returnvalue">void</span> <a class="link" href="glib-The-Main-Event-Loop.html#g-source-get-current-time" title="g_source_get_current_time ()">g_source_get_current_time</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *source</code></em>,
222
+ <em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="struct GTimeVal"><span class="type">GTimeVal</span></a> *timeval</code></em>);
210
223
  <a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-The-Main-Event-Loop.html#g-source-remove" title="g_source_remove ()">g_source_remove</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> tag</code></em>);
211
- <a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-The-Main-Event-Loop.html#g-source-remove-by-funcs-user-data" title="g_source_remove_by_funcs_user_data ()">g_source_remove_by_funcs_user_data</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSourceFuncs" title="GSourceFuncs"><span class="type">GSourceFuncs</span></a> *funcs</code></em>,
224
+ <a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-The-Main-Event-Loop.html#g-source-remove-by-funcs-user-data" title="g_source_remove_by_funcs_user_data ()">g_source_remove_by_funcs_user_data</a> (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSourceFuncs" title="struct GSourceFuncs"><span class="type">GSourceFuncs</span></a> *funcs</code></em>,
212
225
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
213
226
  <a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-The-Main-Event-Loop.html#g-source-remove-by-user-data" title="g_source_remove_by_user_data ()">g_source_remove_by_user_data</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
214
227
  </pre>
215
228
  </div>
216
- <div class="refsect1" title="Description">
229
+ <div class="refsect1">
217
230
  <a name="glib-The-Main-Event-Loop.description"></a><h2>Description</h2>
218
231
  <p>
219
232
  The main event loop manages all the available sources of events for
@@ -254,32 +267,36 @@ boxes. Note that event sources are associated with a particular
254
267
  loops associated with that GMainContext.
255
268
  </p>
256
269
  <p>
257
- GTK+ contains wrappers of some of these functions, e.g. <a href="http://library.gnome.org/devel/gtk/unstable/gtk3-General.html#gtk-main"><code class="function">gtk_main()</code></a>,
258
- <a href="http://library.gnome.org/devel/gtk/unstable/gtk3-General.html#gtk-main-quit"><code class="function">gtk_main_quit()</code></a> and <a href="http://library.gnome.org/devel/gtk/unstable/gtk3-General.html#gtk-events-pending"><code class="function">gtk_events_pending()</code></a>.
270
+ GTK+ contains wrappers of some of these functions, e.g. <a href="http://library.gnome.org/devel/gtk/2.24/gtk3-General.html#gtk-main"><code class="function">gtk_main()</code></a>,
271
+ <a href="http://library.gnome.org/devel/gtk/2.24/gtk3-General.html#gtk-main-quit"><code class="function">gtk_main_quit()</code></a> and <a href="http://library.gnome.org/devel/gtk/2.24/gtk3-General.html#gtk-events-pending"><code class="function">gtk_events_pending()</code></a>.
259
272
  </p>
260
- <div class="refsect2" title="Creating new source types">
261
- <a name="id671135"></a><h3>Creating new source types</h3>
273
+ <p>
274
+ </p>
275
+ <div class="refsect2">
276
+ <a name="id492030"></a><h3>Creating new source types</h3>
262
277
  <p>One of the unusual features of the <a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="type">GMainLoop</span></a> functionality
263
278
  is that new types of event source can be created and used in
264
279
  addition to the builtin type of event source. A new event source
265
280
  type is used for handling GDK events. A new source type is created
266
- by <em class="firstterm">deriving</em> from the <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> structure.
281
+ by <em class="firstterm">deriving</em> from the <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> structure.
267
282
  The derived type of source is represented by a structure that has
268
- the <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> structure as a first element, and other elements specific
283
+ the <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> structure as a first element, and other elements specific
269
284
  to the new source type. To create an instance of the new source type,
270
285
  call <a class="link" href="glib-The-Main-Event-Loop.html#g-source-new" title="g_source_new ()"><code class="function">g_source_new()</code></a> passing in the size of the derived structure and
271
- a table of functions. These <a class="link" href="glib-The-Main-Event-Loop.html#GSourceFuncs" title="GSourceFuncs"><span class="type">GSourceFuncs</span></a> determine the behavior of
286
+ a table of functions. These <a class="link" href="glib-The-Main-Event-Loop.html#GSourceFuncs" title="struct GSourceFuncs"><span class="type">GSourceFuncs</span></a> determine the behavior of
272
287
  the new source type.</p>
273
288
  <p>New source types basically interact with the main context
274
- in two ways. Their prepare function in <a class="link" href="glib-The-Main-Event-Loop.html#GSourceFuncs" title="GSourceFuncs"><span class="type">GSourceFuncs</span></a> can set a timeout
289
+ in two ways. Their prepare function in <a class="link" href="glib-The-Main-Event-Loop.html#GSourceFuncs" title="struct GSourceFuncs"><span class="type">GSourceFuncs</span></a> can set a timeout
275
290
  to determine the maximum amount of time that the main loop will sleep
276
291
  before checking the source again. In addition, or as well, the source
277
292
  can add file descriptors to the set that the main context checks using
278
293
  <a class="link" href="glib-The-Main-Event-Loop.html#g-source-add-poll" title="g_source_add_poll ()"><code class="function">g_source_add_poll()</code></a>.</p>
279
294
  </div>
295
+ <p>
296
+ </p>
280
297
  <hr>
281
- <div class="refsect2" title="Customizing the main loop iteration">
282
- <a name="id671212"></a><h3>Customizing the main loop iteration</h3>
298
+ <div class="refsect2">
299
+ <a name="id492099"></a><h3>Customizing the main loop iteration</h3>
283
300
  <p>Single iterations of a <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> can be run with
284
301
  <a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-iteration" title="g_main_context_iteration ()"><code class="function">g_main_context_iteration()</code></a>. In some cases, more detailed control
285
302
  of exactly how the details of the main loop work is desired, for
@@ -296,10 +313,12 @@ of a state diagram, as shown in <a class="xref" href="glib-The-Main-Event-Loop.h
296
313
  </div>
297
314
  <br class="figure-break">
298
315
  </div>
316
+ <p>
317
+ </p>
299
318
  </div>
300
- <div class="refsect1" title="Details">
319
+ <div class="refsect1">
301
320
  <a name="glib-The-Main-Event-Loop.details"></a><h2>Details</h2>
302
- <div class="refsect2" title="GMainLoop">
321
+ <div class="refsect2">
303
322
  <a name="GMainLoop"></a><h3>GMainLoop</h3>
304
323
  <pre class="programlisting">typedef struct _GMainLoop GMainLoop;</pre>
305
324
  <p>
@@ -308,7 +327,7 @@ representing the main event loop of a GLib or GTK+ application.
308
327
  </p>
309
328
  </div>
310
329
  <hr>
311
- <div class="refsect2" title="g_main_loop_new ()">
330
+ <div class="refsect2">
312
331
  <a name="g-main-loop-new"></a><h3>g_main_loop_new ()</h3>
313
332
  <pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="returnvalue">GMainLoop</span></a> * g_main_loop_new (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>,
314
333
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> is_running</code></em>);</pre>
@@ -320,26 +339,23 @@ Creates a new <a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" tit
320
339
  <tbody>
321
340
  <tr>
322
341
  <td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
323
- <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> (if <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, the default context will be used).
324
- </td>
342
+ <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> (if <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, the default context will be used).</td>
325
343
  </tr>
326
344
  <tr>
327
345
  <td><p><span class="term"><em class="parameter"><code>is_running</code></em> :</span></p></td>
328
346
  <td>set to <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> to indicate that the loop is running. This
329
347
  is not very important since calling <a class="link" href="glib-The-Main-Event-Loop.html#g-main-loop-run" title="g_main_loop_run ()"><code class="function">g_main_loop_run()</code></a> will set this to
330
- <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> anyway.
331
- </td>
348
+ <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> anyway.</td>
332
349
  </tr>
333
350
  <tr>
334
351
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
335
- <td> a new <a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="type">GMainLoop</span></a>.
336
- </td>
352
+ <td>a new <a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="type">GMainLoop</span></a>.</td>
337
353
  </tr>
338
354
  </tbody>
339
355
  </table></div>
340
356
  </div>
341
357
  <hr>
342
- <div class="refsect2" title="g_main_loop_ref ()">
358
+ <div class="refsect2">
343
359
  <a name="g-main-loop-ref"></a><h3>g_main_loop_ref ()</h3>
344
360
  <pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="returnvalue">GMainLoop</span></a> * g_main_loop_ref (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="type">GMainLoop</span></a> *loop</code></em>);</pre>
345
361
  <p>
@@ -355,14 +371,13 @@ Increases the reference count on a <a class="link" href="glib-The-Main-Event-Loo
355
371
  </tr>
356
372
  <tr>
357
373
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
358
- <td> <em class="parameter"><code>loop</code></em>
359
- </td>
374
+ <td><em class="parameter"><code>loop</code></em></td>
360
375
  </tr>
361
376
  </tbody>
362
377
  </table></div>
363
378
  </div>
364
379
  <hr>
365
- <div class="refsect2" title="g_main_loop_unref ()">
380
+ <div class="refsect2">
366
381
  <a name="g-main-loop-unref"></a><h3>g_main_loop_unref ()</h3>
367
382
  <pre class="programlisting"><span class="returnvalue">void</span> g_main_loop_unref (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="type">GMainLoop</span></a> *loop</code></em>);</pre>
368
383
  <p>
@@ -379,7 +394,7 @@ the result is zero, free the loop and free all associated memory.
379
394
  </table></div>
380
395
  </div>
381
396
  <hr>
382
- <div class="refsect2" title="g_main_loop_run ()">
397
+ <div class="refsect2">
383
398
  <a name="g-main-loop-run"></a><h3>g_main_loop_run ()</h3>
384
399
  <pre class="programlisting"><span class="returnvalue">void</span> g_main_loop_run (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="type">GMainLoop</span></a> *loop</code></em>);</pre>
385
400
  <p>
@@ -398,7 +413,7 @@ simply wait.
398
413
  </table></div>
399
414
  </div>
400
415
  <hr>
401
- <div class="refsect2" title="g_main_loop_quit ()">
416
+ <div class="refsect2">
402
417
  <a name="g-main-loop-quit"></a><h3>g_main_loop_quit ()</h3>
403
418
  <pre class="programlisting"><span class="returnvalue">void</span> g_main_loop_quit (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="type">GMainLoop</span></a> *loop</code></em>);</pre>
404
419
  <p>
@@ -419,7 +434,7 @@ Note that sources that have already been dispatched when
419
434
  </table></div>
420
435
  </div>
421
436
  <hr>
422
- <div class="refsect2" title="g_main_loop_is_running ()">
437
+ <div class="refsect2">
423
438
  <a name="g-main-loop-is-running"></a><h3>g_main_loop_is_running ()</h3>
424
439
  <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_main_loop_is_running (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="type">GMainLoop</span></a> *loop</code></em>);</pre>
425
440
  <p>
@@ -430,19 +445,18 @@ Checks to see if the main loop is currently being run via <a class="link" href="
430
445
  <tbody>
431
446
  <tr>
432
447
  <td><p><span class="term"><em class="parameter"><code>loop</code></em> :</span></p></td>
433
- <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="type">GMainLoop</span></a>.
434
- </td>
448
+ <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="type">GMainLoop</span></a>.</td>
435
449
  </tr>
436
450
  <tr>
437
451
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
438
- <td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the mainloop is currently being run.
439
- </td>
452
+ <td>
453
+ <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the mainloop is currently being run.</td>
440
454
  </tr>
441
455
  </tbody>
442
456
  </table></div>
443
457
  </div>
444
458
  <hr>
445
- <div class="refsect2" title="g_main_loop_get_context ()">
459
+ <div class="refsect2">
446
460
  <a name="g-main-loop-get-context"></a><h3>g_main_loop_get_context ()</h3>
447
461
  <pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="returnvalue">GMainContext</span></a> * g_main_loop_get_context (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="type">GMainLoop</span></a> *loop</code></em>);</pre>
448
462
  <p>
@@ -453,22 +467,21 @@ Returns the <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" ti
453
467
  <tbody>
454
468
  <tr>
455
469
  <td><p><span class="term"><em class="parameter"><code>loop</code></em> :</span></p></td>
456
- <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="type">GMainLoop</span></a>.
457
- </td>
470
+ <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="type">GMainLoop</span></a>.</td>
458
471
  </tr>
459
472
  <tr>
460
473
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
461
- <td> the <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> of <em class="parameter"><code>loop</code></em>
474
+ <td>the <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> of <em class="parameter"><code>loop</code></em>
462
475
  </td>
463
476
  </tr>
464
477
  </tbody>
465
478
  </table></div>
466
479
  </div>
467
480
  <hr>
468
- <div class="refsect2" title="g_main_new()">
481
+ <div class="refsect2">
469
482
  <a name="g-main-new"></a><h3>g_main_new()</h3>
470
483
  <pre class="programlisting">#define g_main_new(is_running)</pre>
471
- <div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
484
+ <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
472
485
  <h3 class="title">Warning</h3>
473
486
  <p><code class="literal">g_main_new</code> has been deprecated since version 2.2 and should not be used in newly-written code. Use <a class="link" href="glib-The-Main-Event-Loop.html#g-main-loop-new" title="g_main_loop_new ()"><code class="function">g_main_loop_new()</code></a> instead</p>
474
487
  </div>
@@ -481,24 +494,22 @@ Creates a new <a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" tit
481
494
  <tr>
482
495
  <td><p><span class="term"><em class="parameter"><code>is_running</code></em> :</span></p></td>
483
496
  <td>set to <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> to indicate that the loop is running. This
484
- is not very important since calling <a class="link" href="glib-The-Main-Event-Loop.html#g-main-run" title="g_main_run()"><code class="function">g_main_run()</code></a> will set this
485
- to <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> anyway.
486
- </td>
497
+ is not very important since calling <a class="link" href="glib-The-Main-Event-Loop.html#g-main-run" title="g_main_run()"><code class="function">g_main_run()</code></a> will set this
498
+ to <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> anyway.</td>
487
499
  </tr>
488
500
  <tr>
489
501
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
490
- <td> a new <a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="type">GMainLoop</span></a>
491
-
502
+ <td>a new <a class="link" href="glib-The-Main-Event-Loop.html#GMainLoop" title="GMainLoop"><span class="type">GMainLoop</span></a>
492
503
  </td>
493
504
  </tr>
494
505
  </tbody>
495
506
  </table></div>
496
507
  </div>
497
508
  <hr>
498
- <div class="refsect2" title="g_main_destroy()">
509
+ <div class="refsect2">
499
510
  <a name="g-main-destroy"></a><h3>g_main_destroy()</h3>
500
511
  <pre class="programlisting">#define g_main_destroy(loop)</pre>
501
- <div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
512
+ <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
502
513
  <h3 class="title">Warning</h3>
503
514
  <p><code class="literal">g_main_destroy</code> has been deprecated since version 2.2 and should not be used in newly-written code. Use <a class="link" href="glib-The-Main-Event-Loop.html#g-main-loop-unref" title="g_main_loop_unref ()"><code class="function">g_main_loop_unref()</code></a> instead</p>
504
515
  </div>
@@ -515,10 +526,10 @@ Frees the memory allocated for the <a class="link" href="glib-The-Main-Event-Loo
515
526
  </table></div>
516
527
  </div>
517
528
  <hr>
518
- <div class="refsect2" title="g_main_run()">
529
+ <div class="refsect2">
519
530
  <a name="g-main-run"></a><h3>g_main_run()</h3>
520
531
  <pre class="programlisting">#define g_main_run(loop)</pre>
521
- <div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
532
+ <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
522
533
  <h3 class="title">Warning</h3>
523
534
  <p><code class="literal">g_main_run</code> has been deprecated since version 2.2 and should not be used in newly-written code. Use <a class="link" href="glib-The-Main-Event-Loop.html#g-main-loop-run" title="g_main_loop_run ()"><code class="function">g_main_loop_run()</code></a> instead</p>
524
535
  </div>
@@ -535,10 +546,10 @@ Runs a main loop until it stops running.
535
546
  </table></div>
536
547
  </div>
537
548
  <hr>
538
- <div class="refsect2" title="g_main_quit()">
549
+ <div class="refsect2">
539
550
  <a name="g-main-quit"></a><h3>g_main_quit()</h3>
540
551
  <pre class="programlisting">#define g_main_quit(loop)</pre>
541
- <div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
552
+ <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
542
553
  <h3 class="title">Warning</h3>
543
554
  <p><code class="literal">g_main_quit</code> has been deprecated since version 2.2 and should not be used in newly-written code. Use <a class="link" href="glib-The-Main-Event-Loop.html#g-main-loop-quit" title="g_main_loop_quit ()"><code class="function">g_main_loop_quit()</code></a> instead</p>
544
555
  </div>
@@ -556,10 +567,10 @@ If <a class="link" href="glib-The-Main-Event-Loop.html#g-main-run" title="g_main
556
567
  </table></div>
557
568
  </div>
558
569
  <hr>
559
- <div class="refsect2" title="g_main_is_running()">
570
+ <div class="refsect2">
560
571
  <a name="g-main-is-running"></a><h3>g_main_is_running()</h3>
561
572
  <pre class="programlisting">#define g_main_is_running(loop)</pre>
562
- <div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
573
+ <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
563
574
  <h3 class="title">Warning</h3>
564
575
  <p><code class="literal">g_main_is_running</code> has been deprecated since version 2.2 and should not be used in newly-written code. Use <a class="link" href="glib-The-Main-Event-Loop.html#g-main-loop-is-running" title="g_main_loop_is_running ()"><code class="function">g_main_loop_is_running()</code></a> instead</p>
565
576
  </div>
@@ -576,15 +587,14 @@ Checks if the main loop is running.
576
587
  </tr>
577
588
  <tr>
578
589
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
579
- <td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the main loop is running
580
-
581
- </td>
590
+ <td>
591
+ <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the main loop is running</td>
582
592
  </tr>
583
593
  </tbody>
584
594
  </table></div>
585
595
  </div>
586
596
  <hr>
587
- <div class="refsect2" title="G_PRIORITY_HIGH">
597
+ <div class="refsect2">
588
598
  <a name="G-PRIORITY-HIGH:CAPS"></a><h3>G_PRIORITY_HIGH</h3>
589
599
  <pre class="programlisting">#define G_PRIORITY_HIGH -100
590
600
  </pre>
@@ -596,7 +606,7 @@ It is not used within GLib or GTK+.
596
606
  </p>
597
607
  </div>
598
608
  <hr>
599
- <div class="refsect2" title="G_PRIORITY_DEFAULT">
609
+ <div class="refsect2">
600
610
  <a name="G-PRIORITY-DEFAULT:CAPS"></a><h3>G_PRIORITY_DEFAULT</h3>
601
611
  <pre class="programlisting">#define G_PRIORITY_DEFAULT 0
602
612
  </pre>
@@ -610,7 +620,7 @@ from the X server.
610
620
  </p>
611
621
  </div>
612
622
  <hr>
613
- <div class="refsect2" title="G_PRIORITY_HIGH_IDLE">
623
+ <div class="refsect2">
614
624
  <a name="G-PRIORITY-HIGH-IDLE:CAPS"></a><h3>G_PRIORITY_HIGH_IDLE</h3>
615
625
  <pre class="programlisting">#define G_PRIORITY_HIGH_IDLE 100
616
626
  </pre>
@@ -625,7 +635,7 @@ pending redraws, so that widgets are not redrawn twice unnecessarily.)
625
635
  </p>
626
636
  </div>
627
637
  <hr>
628
- <div class="refsect2" title="G_PRIORITY_DEFAULT_IDLE">
638
+ <div class="refsect2">
629
639
  <a name="G-PRIORITY-DEFAULT-IDLE:CAPS"></a><h3>G_PRIORITY_DEFAULT_IDLE</h3>
630
640
  <pre class="programlisting">#define G_PRIORITY_DEFAULT_IDLE 200
631
641
  </pre>
@@ -638,7 +648,7 @@ In GLib this priority is used when adding idle functions with
638
648
  </p>
639
649
  </div>
640
650
  <hr>
641
- <div class="refsect2" title="G_PRIORITY_LOW">
651
+ <div class="refsect2">
642
652
  <a name="G-PRIORITY-LOW:CAPS"></a><h3>G_PRIORITY_LOW</h3>
643
653
  <pre class="programlisting">#define G_PRIORITY_LOW 300
644
654
  </pre>
@@ -650,7 +660,7 @@ It is not used within GLib or GTK+.
650
660
  </p>
651
661
  </div>
652
662
  <hr>
653
- <div class="refsect2" title="GMainContext">
663
+ <div class="refsect2">
654
664
  <a name="GMainContext"></a><h3>GMainContext</h3>
655
665
  <pre class="programlisting">typedef struct _GMainContext GMainContext;</pre>
656
666
  <p>
@@ -659,7 +669,7 @@ type representing a set of sources to be handled in a main loop.
659
669
  </p>
660
670
  </div>
661
671
  <hr>
662
- <div class="refsect2" title="g_main_context_new ()">
672
+ <div class="refsect2">
663
673
  <a name="g-main-context-new"></a><h3>g_main_context_new ()</h3>
664
674
  <pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="returnvalue">GMainContext</span></a> * g_main_context_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
665
675
  <p>
@@ -669,13 +679,13 @@ Creates a new <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext"
669
679
  <col align="left" valign="top">
670
680
  <tbody><tr>
671
681
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
672
- <td> the new <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a>
682
+ <td>the new <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a>
673
683
  </td>
674
684
  </tr></tbody>
675
685
  </table></div>
676
686
  </div>
677
687
  <hr>
678
- <div class="refsect2" title="g_main_context_ref ()">
688
+ <div class="refsect2">
679
689
  <a name="g-main-context-ref"></a><h3>g_main_context_ref ()</h3>
680
690
  <pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="returnvalue">GMainContext</span></a> * g_main_context_ref (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>);</pre>
681
691
  <p>
@@ -691,14 +701,13 @@ Increases the reference count on a <a class="link" href="glib-The-Main-Event-Loo
691
701
  </tr>
692
702
  <tr>
693
703
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
694
- <td> the <em class="parameter"><code>context</code></em> that was passed in (since 2.6)
695
- </td>
704
+ <td>the <em class="parameter"><code>context</code></em> that was passed in (since 2.6)</td>
696
705
  </tr>
697
706
  </tbody>
698
707
  </table></div>
699
708
  </div>
700
709
  <hr>
701
- <div class="refsect2" title="g_main_context_unref ()">
710
+ <div class="refsect2">
702
711
  <a name="g-main-context-unref"></a><h3>g_main_context_unref ()</h3>
703
712
  <pre class="programlisting"><span class="returnvalue">void</span> g_main_context_unref (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>);</pre>
704
713
  <p>
@@ -715,7 +724,7 @@ the result is zero, free the context and free all associated memory.
715
724
  </table></div>
716
725
  </div>
717
726
  <hr>
718
- <div class="refsect2" title="g_main_context_default ()">
727
+ <div class="refsect2">
719
728
  <a name="g-main-context-default"></a><h3>g_main_context_default ()</h3>
720
729
  <pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="returnvalue">GMainContext</span></a> * g_main_context_default (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
721
730
  <p>
@@ -728,13 +737,12 @@ specified, and corresponds to the "main" main loop. See also
728
737
  <col align="left" valign="top">
729
738
  <tbody><tr>
730
739
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
731
- <td> the global default main context.
732
- </td>
740
+ <td>the global default main context.</td>
733
741
  </tr></tbody>
734
742
  </table></div>
735
743
  </div>
736
744
  <hr>
737
- <div class="refsect2" title="g_main_context_iteration ()">
745
+ <div class="refsect2">
738
746
  <a name="g-main-context-iteration"></a><h3>g_main_context_iteration ()</h3>
739
747
  <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_main_context_iteration (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>,
740
748
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> may_block</code></em>);</pre>
@@ -758,27 +766,25 @@ be interrupted for other reasons than an event source becoming ready.
758
766
  <tbody>
759
767
  <tr>
760
768
  <td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
761
- <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> (if <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, the default context will be used)
762
- </td>
769
+ <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> (if <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, the default context will be used)</td>
763
770
  </tr>
764
771
  <tr>
765
772
  <td><p><span class="term"><em class="parameter"><code>may_block</code></em> :</span></p></td>
766
- <td>whether the call may block.
767
- </td>
773
+ <td>whether the call may block.</td>
768
774
  </tr>
769
775
  <tr>
770
776
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
771
- <td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if events were dispatched.
772
- </td>
777
+ <td>
778
+ <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if events were dispatched.</td>
773
779
  </tr>
774
780
  </tbody>
775
781
  </table></div>
776
782
  </div>
777
783
  <hr>
778
- <div class="refsect2" title="g_main_iteration()">
784
+ <div class="refsect2">
779
785
  <a name="g-main-iteration"></a><h3>g_main_iteration()</h3>
780
786
  <pre class="programlisting">#define g_main_iteration(may_block)</pre>
781
- <div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
787
+ <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
782
788
  <h3 class="title">Warning</h3>
783
789
  <p><code class="literal">g_main_iteration</code> has been deprecated since version 2.2 and should not be used in newly-written code. Use <a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-iteration" title="g_main_context_iteration ()"><code class="function">g_main_context_iteration()</code></a> instead.</p>
784
790
  </div>
@@ -791,22 +797,20 @@ Runs a single iteration for the default <a class="link" href="glib-The-Main-Even
791
797
  <tr>
792
798
  <td><p><span class="term"><em class="parameter"><code>may_block</code></em> :</span></p></td>
793
799
  <td>set to <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if it should block (i.e. wait) until an event
794
- source becomes ready. It will return after an event source has been
795
- processed. If set to <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> it will return immediately if no event
796
- source is ready to be processed.
797
- </td>
800
+ source becomes ready. It will return after an event source has been
801
+ processed. If set to <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> it will return immediately if no event
802
+ source is ready to be processed.</td>
798
803
  </tr>
799
804
  <tr>
800
805
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
801
- <td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if more events are pending.
802
-
803
- </td>
806
+ <td>
807
+ <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if more events are pending.</td>
804
808
  </tr>
805
809
  </tbody>
806
810
  </table></div>
807
811
  </div>
808
812
  <hr>
809
- <div class="refsect2" title="g_main_context_pending ()">
813
+ <div class="refsect2">
810
814
  <a name="g-main-context-pending"></a><h3>g_main_context_pending ()</h3>
811
815
  <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_main_context_pending (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>);</pre>
812
816
  <p>
@@ -817,22 +821,21 @@ Checks if any sources have pending events for the given context.
817
821
  <tbody>
818
822
  <tr>
819
823
  <td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
820
- <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> (if <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, the default context will be used)
821
- </td>
824
+ <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> (if <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, the default context will be used)</td>
822
825
  </tr>
823
826
  <tr>
824
827
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
825
- <td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if events are pending.
826
- </td>
828
+ <td>
829
+ <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if events are pending.</td>
827
830
  </tr>
828
831
  </tbody>
829
832
  </table></div>
830
833
  </div>
831
834
  <hr>
832
- <div class="refsect2" title="g_main_pending">
835
+ <div class="refsect2">
833
836
  <a name="g-main-pending"></a><h3>g_main_pending</h3>
834
837
  <pre class="programlisting">#define g_main_pending()</pre>
835
- <div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
838
+ <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
836
839
  <h3 class="title">Warning</h3>
837
840
  <p><code class="literal">g_main_pending</code> is deprecated and should not be used in newly-written code.</p>
838
841
  </div>
@@ -844,46 +847,43 @@ Checks if any events are pending for the default <a class="link" href="glib-The-
844
847
  <col align="left" valign="top">
845
848
  <tbody><tr>
846
849
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
847
- <td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if any events are pending.
848
-
849
- Deprected: 2.2: Use <a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-pending" title="g_main_context_pending ()"><code class="function">g_main_context_pending()</code></a> instead.
850
- </td>
850
+ <td>
851
+ <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if any events are pending.
852
+ Deprected: 2.2: Use <a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-pending" title="g_main_context_pending ()"><code class="function">g_main_context_pending()</code></a> instead.</td>
851
853
  </tr></tbody>
852
854
  </table></div>
853
855
  </div>
854
856
  <hr>
855
- <div class="refsect2" title="g_main_context_find_source_by_id ()">
857
+ <div class="refsect2">
856
858
  <a name="g-main-context-find-source-by-id"></a><h3>g_main_context_find_source_by_id ()</h3>
857
- <pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="returnvalue">GSource</span></a> * g_main_context_find_source_by_id (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>,
859
+ <pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="returnvalue">GSource</span></a> * g_main_context_find_source_by_id (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>,
858
860
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> source_id</code></em>);</pre>
859
861
  <p>
860
- Finds a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> given a pair of context and ID.
862
+ Finds a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> given a pair of context and ID.
861
863
  </p>
862
864
  <div class="variablelist"><table border="0">
863
865
  <col align="left" valign="top">
864
866
  <tbody>
865
867
  <tr>
866
868
  <td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
867
- <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> (if <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, the default context will be used)
868
- </td>
869
+ <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> (if <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, the default context will be used)</td>
869
870
  </tr>
870
871
  <tr>
871
872
  <td><p><span class="term"><em class="parameter"><code>source_id</code></em> :</span></p></td>
872
- <td>the source ID, as returned by <a class="link" href="glib-The-Main-Event-Loop.html#g-source-get-id" title="g_source_get_id ()"><code class="function">g_source_get_id()</code></a>.
873
- </td>
873
+ <td>the source ID, as returned by <a class="link" href="glib-The-Main-Event-Loop.html#g-source-get-id" title="g_source_get_id ()"><code class="function">g_source_get_id()</code></a>.</td>
874
874
  </tr>
875
875
  <tr>
876
876
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
877
- <td> the <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> if found, otherwise, <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
877
+ <td>the <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> if found, otherwise, <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
878
878
  </td>
879
879
  </tr>
880
880
  </tbody>
881
881
  </table></div>
882
882
  </div>
883
883
  <hr>
884
- <div class="refsect2" title="g_main_context_find_source_by_user_data ()">
884
+ <div class="refsect2">
885
885
  <a name="g-main-context-find-source-by-user-data"></a><h3>g_main_context_find_source_by_user_data ()</h3>
886
- <pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="returnvalue">GSource</span></a> * g_main_context_find_source_by_user_data
886
+ <pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="returnvalue">GSource</span></a> * g_main_context_find_source_by_user_data
887
887
  (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>,
888
888
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
889
889
  <p>
@@ -901,23 +901,22 @@ one found will be returned.
901
901
  </tr>
902
902
  <tr>
903
903
  <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
904
- <td>the user_data for the callback.
905
- </td>
904
+ <td>the user_data for the callback.</td>
906
905
  </tr>
907
906
  <tr>
908
907
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
909
- <td> the source, if one was found, otherwise <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
908
+ <td>the source, if one was found, otherwise <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
910
909
  </td>
911
910
  </tr>
912
911
  </tbody>
913
912
  </table></div>
914
913
  </div>
915
914
  <hr>
916
- <div class="refsect2" title="g_main_context_find_source_by_funcs_user_data ()">
915
+ <div class="refsect2">
917
916
  <a name="g-main-context-find-source-by-funcs-user-data"></a><h3>g_main_context_find_source_by_funcs_user_data ()</h3>
918
- <pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="returnvalue">GSource</span></a> * g_main_context_find_source_by_funcs_user_data
917
+ <pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="returnvalue">GSource</span></a> * g_main_context_find_source_by_funcs_user_data
919
918
  (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>,
920
- <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSourceFuncs" title="GSourceFuncs"><span class="type">GSourceFuncs</span></a> *funcs</code></em>,
919
+ <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSourceFuncs" title="struct GSourceFuncs"><span class="type">GSourceFuncs</span></a> *funcs</code></em>,
921
920
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
922
921
  <p>
923
922
  Finds a source with the given source functions and user data. If
@@ -929,29 +928,26 @@ the first one found will be returned.
929
928
  <tbody>
930
929
  <tr>
931
930
  <td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
932
- <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> (if <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, the default context will be used).
933
- </td>
931
+ <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> (if <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, the default context will be used).</td>
934
932
  </tr>
935
933
  <tr>
936
934
  <td><p><span class="term"><em class="parameter"><code>funcs</code></em> :</span></p></td>
937
- <td>the <em class="parameter"><code>source_funcs</code></em> passed to <a class="link" href="glib-The-Main-Event-Loop.html#g-source-new" title="g_source_new ()"><code class="function">g_source_new()</code></a>.
938
- </td>
935
+ <td>the <em class="parameter"><code>source_funcs</code></em> passed to <a class="link" href="glib-The-Main-Event-Loop.html#g-source-new" title="g_source_new ()"><code class="function">g_source_new()</code></a>.</td>
939
936
  </tr>
940
937
  <tr>
941
938
  <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
942
- <td>the user data from the callback.
943
- </td>
939
+ <td>the user data from the callback.</td>
944
940
  </tr>
945
941
  <tr>
946
942
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
947
- <td> the source, if one was found, otherwise <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
943
+ <td>the source, if one was found, otherwise <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
948
944
  </td>
949
945
  </tr>
950
946
  </tbody>
951
947
  </table></div>
952
948
  </div>
953
949
  <hr>
954
- <div class="refsect2" title="g_main_context_wakeup ()">
950
+ <div class="refsect2">
955
951
  <a name="g-main-context-wakeup"></a><h3>g_main_context_wakeup ()</h3>
956
952
  <pre class="programlisting"><span class="returnvalue">void</span> g_main_context_wakeup (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>);</pre>
957
953
  <p>
@@ -968,7 +964,7 @@ the <code class="function">poll()</code>, and continue the iteration process.
968
964
  </table></div>
969
965
  </div>
970
966
  <hr>
971
- <div class="refsect2" title="g_main_context_acquire ()">
967
+ <div class="refsect2">
972
968
  <a name="g-main-context-acquire"></a><h3>g_main_context_acquire ()</h3>
973
969
  <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_main_context_acquire (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>);</pre>
974
970
  <p>
@@ -994,15 +990,15 @@ can call <a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-prep
994
990
  </tr>
995
991
  <tr>
996
992
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
997
- <td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the operation succeeded, and
998
- this thread is now the owner of <em class="parameter"><code>context</code></em>.
999
- </td>
993
+ <td>
994
+ <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the operation succeeded, and
995
+ this thread is now the owner of <em class="parameter"><code>context</code></em>.</td>
1000
996
  </tr>
1001
997
  </tbody>
1002
998
  </table></div>
1003
999
  </div>
1004
1000
  <hr>
1005
- <div class="refsect2" title="g_main_context_release ()">
1001
+ <div class="refsect2">
1006
1002
  <a name="g-main-context-release"></a><h3>g_main_context_release ()</h3>
1007
1003
  <pre class="programlisting"><span class="returnvalue">void</span> g_main_context_release (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>);</pre>
1008
1004
  <p>
@@ -1021,7 +1017,7 @@ is called as many times as it was acquired.
1021
1017
  </table></div>
1022
1018
  </div>
1023
1019
  <hr>
1024
- <div class="refsect2" title="g_main_context_is_owner ()">
1020
+ <div class="refsect2">
1025
1021
  <a name="g-main-context-is-owner"></a><h3>g_main_context_is_owner ()</h3>
1026
1022
  <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_main_context_is_owner (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>);</pre>
1027
1023
  <p>
@@ -1040,16 +1036,15 @@ blocking to get ownership of <em class="parameter"><code>context</code></em>.
1040
1036
  </tr>
1041
1037
  <tr>
1042
1038
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1043
- <td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if current thread is owner of <em class="parameter"><code>context</code></em>.
1044
-
1045
- </td>
1039
+ <td>
1040
+ <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if current thread is owner of <em class="parameter"><code>context</code></em>.</td>
1046
1041
  </tr>
1047
1042
  </tbody>
1048
1043
  </table></div>
1049
1044
  <p class="since">Since 2.10</p>
1050
1045
  </div>
1051
1046
  <hr>
1052
- <div class="refsect2" title="g_main_context_wait ()">
1047
+ <div class="refsect2">
1053
1048
  <a name="g-main-context-wait"></a><h3>g_main_context_wait ()</h3>
1054
1049
  <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_main_context_wait (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>,
1055
1050
  <em class="parameter"><code><a class="link" href="glib-Threads.html#GCond" title="GCond"><span class="type">GCond</span></a> *cond</code></em>,
@@ -1071,25 +1066,23 @@ try again (once) to become the owner.
1071
1066
  </tr>
1072
1067
  <tr>
1073
1068
  <td><p><span class="term"><em class="parameter"><code>cond</code></em> :</span></p></td>
1074
- <td>a condition variable
1075
- </td>
1069
+ <td>a condition variable</td>
1076
1070
  </tr>
1077
1071
  <tr>
1078
1072
  <td><p><span class="term"><em class="parameter"><code>mutex</code></em> :</span></p></td>
1079
- <td>a mutex, currently held
1080
- </td>
1073
+ <td>a mutex, currently held</td>
1081
1074
  </tr>
1082
1075
  <tr>
1083
1076
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1084
- <td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the operation succeeded, and
1085
- this thread is now the owner of <em class="parameter"><code>context</code></em>.
1086
- </td>
1077
+ <td>
1078
+ <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the operation succeeded, and
1079
+ this thread is now the owner of <em class="parameter"><code>context</code></em>.</td>
1087
1080
  </tr>
1088
1081
  </tbody>
1089
1082
  </table></div>
1090
1083
  </div>
1091
1084
  <hr>
1092
- <div class="refsect2" title="g_main_context_prepare ()">
1085
+ <div class="refsect2">
1093
1086
  <a name="g-main-context-prepare"></a><h3>g_main_context_prepare ()</h3>
1094
1087
  <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_main_context_prepare (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>,
1095
1088
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> *priority</code></em>);</pre>
@@ -1108,25 +1101,24 @@ for polling is determined by calling <a class="link" href="glib-The-Main-Event-L
1108
1101
  <tr>
1109
1102
  <td><p><span class="term"><em class="parameter"><code>priority</code></em> :</span></p></td>
1110
1103
  <td>location to store priority of highest priority
1111
- source already ready.
1112
- </td>
1104
+ source already ready.</td>
1113
1105
  </tr>
1114
1106
  <tr>
1115
1107
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1116
- <td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if some source is ready to be dispatched
1117
- prior to polling.
1118
- </td>
1108
+ <td>
1109
+ <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if some source is ready to be dispatched
1110
+ prior to polling.</td>
1119
1111
  </tr>
1120
1112
  </tbody>
1121
1113
  </table></div>
1122
1114
  </div>
1123
1115
  <hr>
1124
- <div class="refsect2" title="g_main_context_query ()">
1116
+ <div class="refsect2">
1125
1117
  <a name="g-main-context-query"></a><h3>g_main_context_query ()</h3>
1126
1118
  <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_main_context_query (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>,
1127
1119
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> max_priority</code></em>,
1128
1120
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> *timeout_</code></em>,
1129
- <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="GPollFD"><span class="type">GPollFD</span></a> *fds</code></em>,
1121
+ <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="struct GPollFD"><span class="type">GPollFD</span></a> *fds</code></em>,
1130
1122
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> n_fds</code></em>);</pre>
1131
1123
  <p>
1132
1124
  Determines information necessary to poll this main loop.
@@ -1141,40 +1133,35 @@ Determines information necessary to poll this main loop.
1141
1133
  </tr>
1142
1134
  <tr>
1143
1135
  <td><p><span class="term"><em class="parameter"><code>max_priority</code></em> :</span></p></td>
1144
- <td>maximum priority source to check
1145
- </td>
1136
+ <td>maximum priority source to check</td>
1146
1137
  </tr>
1147
1138
  <tr>
1148
1139
  <td><p><span class="term"><em class="parameter"><code>timeout_</code></em> :</span></p></td>
1149
- <td>location to store timeout to be used in polling
1150
- </td>
1140
+ <td>location to store timeout to be used in polling</td>
1151
1141
  </tr>
1152
1142
  <tr>
1153
1143
  <td><p><span class="term"><em class="parameter"><code>fds</code></em> :</span></p></td>
1154
- <td>location to store <a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="GPollFD"><span class="type">GPollFD</span></a> records that need to be polled.
1155
- </td>
1144
+ <td>location to store <a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="struct GPollFD"><span class="type">GPollFD</span></a> records that need to be polled.</td>
1156
1145
  </tr>
1157
1146
  <tr>
1158
1147
  <td><p><span class="term"><em class="parameter"><code>n_fds</code></em> :</span></p></td>
1159
- <td>length of <em class="parameter"><code>fds</code></em>.
1160
- </td>
1148
+ <td>length of <em class="parameter"><code>fds</code></em>.</td>
1161
1149
  </tr>
1162
1150
  <tr>
1163
1151
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1164
- <td> the number of records actually stored in <em class="parameter"><code>fds</code></em>,
1165
- or, if more than <em class="parameter"><code>n_fds</code></em> records need to be stored, the number
1166
- of records that need to be stored.
1167
- </td>
1152
+ <td>the number of records actually stored in <em class="parameter"><code>fds</code></em>,
1153
+ or, if more than <em class="parameter"><code>n_fds</code></em> records need to be stored, the number
1154
+ of records that need to be stored.</td>
1168
1155
  </tr>
1169
1156
  </tbody>
1170
1157
  </table></div>
1171
1158
  </div>
1172
1159
  <hr>
1173
- <div class="refsect2" title="g_main_context_check ()">
1160
+ <div class="refsect2">
1174
1161
  <a name="g-main-context-check"></a><h3>g_main_context_check ()</h3>
1175
1162
  <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_main_context_check (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>,
1176
1163
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> max_priority</code></em>,
1177
- <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="GPollFD"><span class="type">GPollFD</span></a> *fds</code></em>,
1164
+ <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="struct GPollFD"><span class="type">GPollFD</span></a> *fds</code></em>,
1178
1165
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> n_fds</code></em>);</pre>
1179
1166
  <p>
1180
1167
  Passes the results of polling back to the main loop.
@@ -1189,13 +1176,12 @@ Passes the results of polling back to the main loop.
1189
1176
  </tr>
1190
1177
  <tr>
1191
1178
  <td><p><span class="term"><em class="parameter"><code>max_priority</code></em> :</span></p></td>
1192
- <td>the maximum numerical priority of sources to check
1193
- </td>
1179
+ <td>the maximum numerical priority of sources to check</td>
1194
1180
  </tr>
1195
1181
  <tr>
1196
1182
  <td><p><span class="term"><em class="parameter"><code>fds</code></em> :</span></p></td>
1197
- <td>array of <a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="GPollFD"><span class="type">GPollFD</span></a>'s that was passed to the last call to
1198
- <a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-query" title="g_main_context_query ()"><code class="function">g_main_context_query()</code></a>
1183
+ <td>array of <a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="struct GPollFD"><span class="type">GPollFD</span></a>'s that was passed to the last call to
1184
+ <a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-query" title="g_main_context_query ()"><code class="function">g_main_context_query()</code></a>
1199
1185
  </td>
1200
1186
  </tr>
1201
1187
  <tr>
@@ -1205,14 +1191,14 @@ Passes the results of polling back to the main loop.
1205
1191
  </tr>
1206
1192
  <tr>
1207
1193
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1208
- <td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if some sources are ready to be dispatched.
1209
- </td>
1194
+ <td>
1195
+ <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if some sources are ready to be dispatched.</td>
1210
1196
  </tr>
1211
1197
  </tbody>
1212
1198
  </table></div>
1213
1199
  </div>
1214
1200
  <hr>
1215
- <div class="refsect2" title="g_main_context_dispatch ()">
1201
+ <div class="refsect2">
1216
1202
  <a name="g-main-context-dispatch"></a><h3>g_main_context_dispatch ()</h3>
1217
1203
  <pre class="programlisting"><span class="returnvalue">void</span> g_main_context_dispatch (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>);</pre>
1218
1204
  <p>
@@ -1228,7 +1214,7 @@ Dispatches all pending sources.
1228
1214
  </table></div>
1229
1215
  </div>
1230
1216
  <hr>
1231
- <div class="refsect2" title="g_main_context_set_poll_func ()">
1217
+ <div class="refsect2">
1232
1218
  <a name="g-main-context-set-poll-func"></a><h3>g_main_context_set_poll_func ()</h3>
1233
1219
  <pre class="programlisting"><span class="returnvalue">void</span> g_main_context_set_poll_func (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>,
1234
1220
  <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPollFunc" title="GPollFunc ()"><span class="type">GPollFunc</span></a> func</code></em>);</pre>
@@ -1252,14 +1238,13 @@ loop with an external event loop.
1252
1238
  </tr>
1253
1239
  <tr>
1254
1240
  <td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
1255
- <td>the function to call to poll all file descriptors
1256
- </td>
1241
+ <td>the function to call to poll all file descriptors</td>
1257
1242
  </tr>
1258
1243
  </tbody>
1259
1244
  </table></div>
1260
1245
  </div>
1261
1246
  <hr>
1262
- <div class="refsect2" title="g_main_context_get_poll_func ()">
1247
+ <div class="refsect2">
1263
1248
  <a name="g-main-context-get-poll-func"></a><h3>g_main_context_get_poll_func ()</h3>
1264
1249
  <pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GPollFunc" title="GPollFunc ()"><span class="returnvalue">GPollFunc</span></a> g_main_context_get_poll_func (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>);</pre>
1265
1250
  <p>
@@ -1275,16 +1260,15 @@ Gets the poll function set by <a class="link" href="glib-The-Main-Event-Loop.htm
1275
1260
  </tr>
1276
1261
  <tr>
1277
1262
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1278
- <td> the poll function
1279
- </td>
1263
+ <td>the poll function</td>
1280
1264
  </tr>
1281
1265
  </tbody>
1282
1266
  </table></div>
1283
1267
  </div>
1284
1268
  <hr>
1285
- <div class="refsect2" title="GPollFunc ()">
1269
+ <div class="refsect2">
1286
1270
  <a name="GPollFunc"></a><h3>GPollFunc ()</h3>
1287
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> (*GPollFunc) (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="GPollFD"><span class="type">GPollFD</span></a> *ufds</code></em>,
1271
+ <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> (*GPollFunc) (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="struct GPollFD"><span class="type">GPollFD</span></a> *ufds</code></em>,
1288
1272
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> nfsd</code></em>,
1289
1273
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> timeout_</code></em>);</pre>
1290
1274
  <p>
@@ -1296,8 +1280,7 @@ The semantics of the function should match those of the <code class="function">p
1296
1280
  <tbody>
1297
1281
  <tr>
1298
1282
  <td><p><span class="term"><em class="parameter"><code>ufds</code></em> :</span></p></td>
1299
- <td>an array of <a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="GPollFD"><span class="type">GPollFD</span></a> elements
1300
- </td>
1283
+ <td>an array of <a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="struct GPollFD"><span class="type">GPollFD</span></a> elements</td>
1301
1284
  </tr>
1302
1285
  <tr>
1303
1286
  <td><p><span class="term"><em class="parameter"><code>nfsd</code></em> :</span></p></td>
@@ -1307,23 +1290,21 @@ The semantics of the function should match those of the <code class="function">p
1307
1290
  <tr>
1308
1291
  <td><p><span class="term"><em class="parameter"><code>timeout_</code></em> :</span></p></td>
1309
1292
  <td>the maximum time to wait for an event of the file descriptors.
1310
- A negative value indicates an infinite timeout.
1311
- </td>
1293
+ A negative value indicates an infinite timeout.</td>
1312
1294
  </tr>
1313
1295
  <tr>
1314
1296
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1315
- <td> the number of <a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="GPollFD"><span class="type">GPollFD</span></a> elements which have events or errors
1316
- reported, or -1 if an error occurred.
1317
- </td>
1297
+ <td>the number of <a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="struct GPollFD"><span class="type">GPollFD</span></a> elements which have events or errors
1298
+ reported, or -1 if an error occurred.</td>
1318
1299
  </tr>
1319
1300
  </tbody>
1320
1301
  </table></div>
1321
1302
  </div>
1322
1303
  <hr>
1323
- <div class="refsect2" title="g_main_context_add_poll ()">
1304
+ <div class="refsect2">
1324
1305
  <a name="g-main-context-add-poll"></a><h3>g_main_context_add_poll ()</h3>
1325
1306
  <pre class="programlisting"><span class="returnvalue">void</span> g_main_context_add_poll (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>,
1326
- <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="GPollFD"><span class="type">GPollFD</span></a> *fd</code></em>,
1307
+ <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="struct GPollFD"><span class="type">GPollFD</span></a> *fd</code></em>,
1327
1308
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> priority</code></em>);</pre>
1328
1309
  <p>
1329
1310
  Adds a file descriptor to the set of file descriptors polled for
@@ -1335,30 +1316,27 @@ a typical event source will use <a class="link" href="glib-The-Main-Event-Loop.h
1335
1316
  <tbody>
1336
1317
  <tr>
1337
1318
  <td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
1338
- <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> (or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> for the default context)
1339
- </td>
1319
+ <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> (or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> for the default context)</td>
1340
1320
  </tr>
1341
1321
  <tr>
1342
1322
  <td><p><span class="term"><em class="parameter"><code>fd</code></em> :</span></p></td>
1343
- <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="GPollFD"><span class="type">GPollFD</span></a> structure holding information about a file
1344
- descriptor to watch.
1345
- </td>
1323
+ <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="struct GPollFD"><span class="type">GPollFD</span></a> structure holding information about a file
1324
+ descriptor to watch.</td>
1346
1325
  </tr>
1347
1326
  <tr>
1348
1327
  <td><p><span class="term"><em class="parameter"><code>priority</code></em> :</span></p></td>
1349
1328
  <td>the priority for this file descriptor which should be
1350
- the same as the priority used for <a class="link" href="glib-The-Main-Event-Loop.html#g-source-attach" title="g_source_attach ()"><code class="function">g_source_attach()</code></a> to ensure that the
1351
- file descriptor is polled whenever the results may be needed.
1352
- </td>
1329
+ the same as the priority used for <a class="link" href="glib-The-Main-Event-Loop.html#g-source-attach" title="g_source_attach ()"><code class="function">g_source_attach()</code></a> to ensure that the
1330
+ file descriptor is polled whenever the results may be needed.</td>
1353
1331
  </tr>
1354
1332
  </tbody>
1355
1333
  </table></div>
1356
1334
  </div>
1357
1335
  <hr>
1358
- <div class="refsect2" title="g_main_context_remove_poll ()">
1336
+ <div class="refsect2">
1359
1337
  <a name="g-main-context-remove-poll"></a><h3>g_main_context_remove_poll ()</h3>
1360
1338
  <pre class="programlisting"><span class="returnvalue">void</span> g_main_context_remove_poll (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>,
1361
- <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="GPollFD"><span class="type">GPollFD</span></a> *fd</code></em>);</pre>
1339
+ <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="struct GPollFD"><span class="type">GPollFD</span></a> *fd</code></em>);</pre>
1362
1340
  <p>
1363
1341
  Removes file descriptor from the set of file descriptors to be
1364
1342
  polled for a particular context.
@@ -1368,19 +1346,19 @@ polled for a particular context.
1368
1346
  <tbody>
1369
1347
  <tr>
1370
1348
  <td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
1371
- <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a>
1349
+ <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a>
1372
1350
  </td>
1373
1351
  </tr>
1374
1352
  <tr>
1375
1353
  <td><p><span class="term"><em class="parameter"><code>fd</code></em> :</span></p></td>
1376
- <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="GPollFD"><span class="type">GPollFD</span></a> descriptor previously added with <a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-add-poll" title="g_main_context_add_poll ()"><code class="function">g_main_context_add_poll()</code></a>
1354
+ <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="struct GPollFD"><span class="type">GPollFD</span></a> descriptor previously added with <a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-add-poll" title="g_main_context_add_poll ()"><code class="function">g_main_context_add_poll()</code></a>
1377
1355
  </td>
1378
1356
  </tr>
1379
1357
  </tbody>
1380
1358
  </table></div>
1381
1359
  </div>
1382
1360
  <hr>
1383
- <div class="refsect2" title="g_main_depth ()">
1361
+ <div class="refsect2">
1384
1362
  <a name="g-main-depth"></a><h3>g_main_depth ()</h3>
1385
1363
  <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_main_depth (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
1386
1364
  <p>
@@ -1561,7 +1539,7 @@ following techniques:
1561
1539
  </p>
1562
1540
  <div class="orderedlist"><ol class="orderedlist" type="1">
1563
1541
  <li class="listitem"><p>
1564
- Use <a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html#gtk-widget-set-sensitive"><code class="function">gtk_widget_set_sensitive()</code></a> or modal dialogs to prevent
1542
+ Use <a href="http://library.gnome.org/devel/gtk/2.24/GtkWidget.html#gtk-widget-set-sensitive"><code class="function">gtk_widget_set_sensitive()</code></a> or modal dialogs to prevent
1565
1543
  the user from interacting with elements while the main
1566
1544
  loop is recursing.
1567
1545
  </p></li>
@@ -1578,15 +1556,14 @@ following techniques:
1578
1556
  <col align="left" valign="top">
1579
1557
  <tbody><tr>
1580
1558
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1581
- <td> The main loop recursion level in the current thread
1582
- </td>
1559
+ <td>The main loop recursion level in the current thread</td>
1583
1560
  </tr></tbody>
1584
1561
  </table></div>
1585
1562
  </div>
1586
1563
  <hr>
1587
- <div class="refsect2" title="g_main_current_source ()">
1564
+ <div class="refsect2">
1588
1565
  <a name="g-main-current-source"></a><h3>g_main_current_source ()</h3>
1589
- <pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="returnvalue">GSource</span></a> * g_main_current_source (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
1566
+ <pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="returnvalue">GSource</span></a> * g_main_current_source (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
1590
1567
  <p>
1591
1568
  Returns the currently firing source for this thread.
1592
1569
  </p>
@@ -1594,18 +1571,16 @@ Returns the currently firing source for this thread.
1594
1571
  <col align="left" valign="top">
1595
1572
  <tbody><tr>
1596
1573
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1597
- <td> The currently firing source or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.
1598
-
1599
- </td>
1574
+ <td>The currently firing source or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.</td>
1600
1575
  </tr></tbody>
1601
1576
  </table></div>
1602
1577
  <p class="since">Since 2.12</p>
1603
1578
  </div>
1604
1579
  <hr>
1605
- <div class="refsect2" title="g_main_set_poll_func()">
1580
+ <div class="refsect2">
1606
1581
  <a name="g-main-set-poll-func"></a><h3>g_main_set_poll_func()</h3>
1607
1582
  <pre class="programlisting">#define g_main_set_poll_func(func)</pre>
1608
- <div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
1583
+ <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
1609
1584
  <h3 class="title">Warning</h3>
1610
1585
  <p><code class="literal">g_main_set_poll_func</code> has been deprecated since version 2.2 and should not be used in newly-written code. Use <a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-set-poll-func" title="g_main_context_set_poll_func ()"><code class="function">g_main_context_set_poll_func()</code></a> again</p>
1611
1586
  </div>
@@ -1617,20 +1592,124 @@ for the default main context.
1617
1592
  <col align="left" valign="top">
1618
1593
  <tbody><tr>
1619
1594
  <td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
1620
- <td>the function to call to poll all file descriptors
1621
- </td>
1595
+ <td>the function to call to poll all file descriptors</td>
1622
1596
  </tr></tbody>
1623
1597
  </table></div>
1624
1598
  </div>
1625
1599
  <hr>
1626
- <div class="refsect2" title="g_main_context_get_thread_default ()">
1600
+ <div class="refsect2">
1601
+ <a name="g-main-context-invoke"></a><h3>g_main_context_invoke ()</h3>
1602
+ <pre class="programlisting"><span class="returnvalue">void</span> g_main_context_invoke (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>,
1603
+ <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSourceFunc" title="GSourceFunc ()"><span class="type">GSourceFunc</span></a> function</code></em>,
1604
+ <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
1605
+ <p>
1606
+ Invokes a function in such a way that <em class="parameter"><code>context</code></em> is owned during the
1607
+ invocation of <em class="parameter"><code>function</code></em>.
1608
+ </p>
1609
+ <p>
1610
+ If <em class="parameter"><code>context</code></em> is <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> then the global default main context — as
1611
+ returned by <a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-default" title="g_main_context_default ()"><code class="function">g_main_context_default()</code></a> — is used.
1612
+ </p>
1613
+ <p>
1614
+ If <em class="parameter"><code>context</code></em> is owned by the current thread, <em class="parameter"><code>function</code></em> is called
1615
+ directly. Otherwise, if <em class="parameter"><code>context</code></em> is the thread-default main context
1616
+ of the current thread and <a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-acquire" title="g_main_context_acquire ()"><code class="function">g_main_context_acquire()</code></a> succeeds, then
1617
+ <em class="parameter"><code>function</code></em> is called and <a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-release" title="g_main_context_release ()"><code class="function">g_main_context_release()</code></a> is called
1618
+ afterwards.
1619
+ </p>
1620
+ <p>
1621
+ In any other case, an idle source is created to call <em class="parameter"><code>function</code></em> and
1622
+ that source is attached to <em class="parameter"><code>context</code></em> (presumably to be run in another
1623
+ thread). The idle source is attached with <a class="link" href="glib-The-Main-Event-Loop.html#G-PRIORITY-DEFAULT:CAPS" title="G_PRIORITY_DEFAULT"><span class="type">G_PRIORITY_DEFAULT</span></a>
1624
+ priority. If you want a different priority, use
1625
+ <a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-invoke-full" title="g_main_context_invoke_full ()"><code class="function">g_main_context_invoke_full()</code></a>.
1626
+ </p>
1627
+ <p>
1628
+ Note that, as with normal idle functions, <em class="parameter"><code>function</code></em> should probably
1629
+ return <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a>. If it returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>, it will be continuously run in a
1630
+ loop (and may prevent this call from returning).
1631
+ </p>
1632
+ <div class="variablelist"><table border="0">
1633
+ <col align="left" valign="top">
1634
+ <tbody>
1635
+ <tr>
1636
+ <td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
1637
+ <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
1638
+ </td>
1639
+ </tr>
1640
+ <tr>
1641
+ <td><p><span class="term"><em class="parameter"><code>function</code></em> :</span></p></td>
1642
+ <td>function to call</td>
1643
+ </tr>
1644
+ <tr>
1645
+ <td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
1646
+ <td>data to pass to <em class="parameter"><code>function</code></em>
1647
+ </td>
1648
+ </tr>
1649
+ </tbody>
1650
+ </table></div>
1651
+ <p class="since">Since 2.28</p>
1652
+ </div>
1653
+ <hr>
1654
+ <div class="refsect2">
1655
+ <a name="g-main-context-invoke-full"></a><h3>g_main_context_invoke_full ()</h3>
1656
+ <pre class="programlisting"><span class="returnvalue">void</span> g_main_context_invoke_full (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>,
1657
+ <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> priority</code></em>,
1658
+ <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSourceFunc" title="GSourceFunc ()"><span class="type">GSourceFunc</span></a> function</code></em>,
1659
+ <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>,
1660
+ <em class="parameter"><code><a class="link" href="glib-Datasets.html#GDestroyNotify" title="GDestroyNotify ()"><span class="type">GDestroyNotify</span></a> notify</code></em>);</pre>
1661
+ <p>
1662
+ Invokes a function in such a way that <em class="parameter"><code>context</code></em> is owned during the
1663
+ invocation of <em class="parameter"><code>function</code></em>.
1664
+ </p>
1665
+ <p>
1666
+ This function is the same as <a class="link" href="glib-The-Main-Event-Loop.html#g-main-context-invoke" title="g_main_context_invoke ()"><code class="function">g_main_context_invoke()</code></a> except that it
1667
+ lets you specify the priority incase <em class="parameter"><code>function</code></em> ends up being
1668
+ scheduled as an idle and also lets you give a <a class="link" href="glib-Datasets.html#GDestroyNotify" title="GDestroyNotify ()"><span class="type">GDestroyNotify</span></a> for <em class="parameter"><code>data</code></em>.
1669
+ </p>
1670
+ <p>
1671
+ <em class="parameter"><code>notify</code></em> should not assume that it is called from any particular
1672
+ thread or with any particular context acquired.
1673
+ </p>
1674
+ <div class="variablelist"><table border="0">
1675
+ <col align="left" valign="top">
1676
+ <tbody>
1677
+ <tr>
1678
+ <td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
1679
+ <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
1680
+ </td>
1681
+ </tr>
1682
+ <tr>
1683
+ <td><p><span class="term"><em class="parameter"><code>priority</code></em> :</span></p></td>
1684
+ <td>the priority at which to run <em class="parameter"><code>function</code></em>
1685
+ </td>
1686
+ </tr>
1687
+ <tr>
1688
+ <td><p><span class="term"><em class="parameter"><code>function</code></em> :</span></p></td>
1689
+ <td>function to call</td>
1690
+ </tr>
1691
+ <tr>
1692
+ <td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
1693
+ <td>data to pass to <em class="parameter"><code>function</code></em>
1694
+ </td>
1695
+ </tr>
1696
+ <tr>
1697
+ <td><p><span class="term"><em class="parameter"><code>notify</code></em> :</span></p></td>
1698
+ <td>a function to call when <em class="parameter"><code>data</code></em> is no longer in use, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.</td>
1699
+ </tr>
1700
+ </tbody>
1701
+ </table></div>
1702
+ <p class="since">Since 2.28</p>
1703
+ </div>
1704
+ <hr>
1705
+ <div class="refsect2">
1627
1706
  <a name="g-main-context-get-thread-default"></a><h3>g_main_context_get_thread_default ()</h3>
1628
1707
  <pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="returnvalue">GMainContext</span></a> * g_main_context_get_thread_default (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
1629
1708
  <p>
1630
1709
  Gets the thread-default <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> for this thread. Asynchronous
1631
1710
  operations that want to be able to be run in contexts other than
1632
1711
  the default one should call this method to get a <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> to
1633
- add their <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a>s to. (Note that even in single-threaded
1712
+ add their <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a>s to. (Note that even in single-threaded
1634
1713
  programs applications may sometimes want to temporarily push a
1635
1714
  non-default context, so it is not safe to assume that this will
1636
1715
  always return <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if threads are not initialized.)
@@ -1639,16 +1718,14 @@ always return <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="
1639
1718
  <col align="left" valign="top">
1640
1719
  <tbody><tr>
1641
1720
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1642
- <td> the thread-default <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if the
1643
- thread-default context is the global default context.
1644
-
1645
- </td>
1721
+ <td>the thread-default <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if the
1722
+ thread-default context is the global default context.</td>
1646
1723
  </tr></tbody>
1647
1724
  </table></div>
1648
1725
  <p class="since">Since 2.22</p>
1649
1726
  </div>
1650
1727
  <hr>
1651
- <div class="refsect2" title="g_main_context_push_thread_default ()">
1728
+ <div class="refsect2">
1652
1729
  <a name="g-main-context-push-thread-default"></a><h3>g_main_context_push_thread_default ()</h3>
1653
1730
  <pre class="programlisting"><span class="returnvalue">void</span> g_main_context_push_thread_default (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>);</pre>
1654
1731
  <p>
@@ -1687,14 +1764,13 @@ see <a href="http://library.gnome.org/devel/gio/unstable/GFile.html#g-file-suppo
1687
1764
  <col align="left" valign="top">
1688
1765
  <tbody><tr>
1689
1766
  <td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
1690
- <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> for the global default context
1691
- </td>
1767
+ <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> for the global default context</td>
1692
1768
  </tr></tbody>
1693
1769
  </table></div>
1694
1770
  <p class="since">Since 2.22</p>
1695
1771
  </div>
1696
1772
  <hr>
1697
- <div class="refsect2" title="g_main_context_pop_thread_default ()">
1773
+ <div class="refsect2">
1698
1774
  <a name="g-main-context-pop-thread-default"></a><h3>g_main_context_pop_thread_default ()</h3>
1699
1775
  <pre class="programlisting"><span class="returnvalue">void</span> g_main_context_pop_thread_default (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>);</pre>
1700
1776
  <p>
@@ -1712,9 +1788,9 @@ it was on the top of the stack).
1712
1788
  <p class="since">Since 2.22</p>
1713
1789
  </div>
1714
1790
  <hr>
1715
- <div class="refsect2" title="g_timeout_source_new ()">
1791
+ <div class="refsect2">
1716
1792
  <a name="g-timeout-source-new"></a><h3>g_timeout_source_new ()</h3>
1717
- <pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="returnvalue">GSource</span></a> * g_timeout_source_new (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> interval</code></em>);</pre>
1793
+ <pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="returnvalue">GSource</span></a> * g_timeout_source_new (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> interval</code></em>);</pre>
1718
1794
  <p>
1719
1795
  Creates a new timeout source.
1720
1796
  </p>
@@ -1728,21 +1804,19 @@ executed.
1728
1804
  <tbody>
1729
1805
  <tr>
1730
1806
  <td><p><span class="term"><em class="parameter"><code>interval</code></em> :</span></p></td>
1731
- <td>the timeout interval in milliseconds.
1732
- </td>
1807
+ <td>the timeout interval in milliseconds.</td>
1733
1808
  </tr>
1734
1809
  <tr>
1735
1810
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1736
- <td> the newly-created timeout source
1737
- </td>
1811
+ <td>the newly-created timeout source</td>
1738
1812
  </tr>
1739
1813
  </tbody>
1740
1814
  </table></div>
1741
1815
  </div>
1742
1816
  <hr>
1743
- <div class="refsect2" title="g_timeout_source_new_seconds ()">
1817
+ <div class="refsect2">
1744
1818
  <a name="g-timeout-source-new-seconds"></a><h3>g_timeout_source_new_seconds ()</h3>
1745
- <pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="returnvalue">GSource</span></a> * g_timeout_source_new_seconds (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> interval</code></em>);</pre>
1819
+ <pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="returnvalue">GSource</span></a> * g_timeout_source_new_seconds (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> interval</code></em>);</pre>
1746
1820
  <p>
1747
1821
  Creates a new timeout source.
1748
1822
  </p>
@@ -1760,21 +1834,18 @@ in seconds.
1760
1834
  <tbody>
1761
1835
  <tr>
1762
1836
  <td><p><span class="term"><em class="parameter"><code>interval</code></em> :</span></p></td>
1763
- <td>the timeout interval in seconds
1764
- </td>
1837
+ <td>the timeout interval in seconds</td>
1765
1838
  </tr>
1766
1839
  <tr>
1767
1840
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1768
- <td> the newly-created timeout source
1769
-
1770
- </td>
1841
+ <td>the newly-created timeout source</td>
1771
1842
  </tr>
1772
1843
  </tbody>
1773
1844
  </table></div>
1774
1845
  <p class="since">Since 2.14</p>
1775
1846
  </div>
1776
1847
  <hr>
1777
- <div class="refsect2" title="g_timeout_add ()">
1848
+ <div class="refsect2">
1778
1849
  <a name="g-timeout-add"></a><h3>g_timeout_add ()</h3>
1779
1850
  <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_timeout_add (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> interval</code></em>,
1780
1851
  <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSourceFunc" title="GSourceFunc ()"><span class="type">GSourceFunc</span></a> function</code></em>,
@@ -1810,13 +1881,11 @@ do these steps manually if you need greater control.
1810
1881
  <tr>
1811
1882
  <td><p><span class="term"><em class="parameter"><code>interval</code></em> :</span></p></td>
1812
1883
  <td>the time between calls to the function, in milliseconds
1813
- (1/1000ths of a second)
1814
- </td>
1884
+ (1/1000ths of a second)</td>
1815
1885
  </tr>
1816
1886
  <tr>
1817
1887
  <td><p><span class="term"><em class="parameter"><code>function</code></em> :</span></p></td>
1818
- <td>function to call
1819
- </td>
1888
+ <td>function to call</td>
1820
1889
  </tr>
1821
1890
  <tr>
1822
1891
  <td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
@@ -1825,14 +1894,13 @@ do these steps manually if you need greater control.
1825
1894
  </tr>
1826
1895
  <tr>
1827
1896
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1828
- <td> the ID (greater than 0) of the event source.
1829
- </td>
1897
+ <td>the ID (greater than 0) of the event source.</td>
1830
1898
  </tr>
1831
1899
  </tbody>
1832
1900
  </table></div>
1833
1901
  </div>
1834
1902
  <hr>
1835
- <div class="refsect2" title="g_timeout_add_full ()">
1903
+ <div class="refsect2">
1836
1904
  <a name="g-timeout-add-full"></a><h3>g_timeout_add_full ()</h3>
1837
1905
  <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_timeout_add_full (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> priority</code></em>,
1838
1906
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> interval</code></em>,
@@ -1865,19 +1933,16 @@ do these steps manually if you need greater control.
1865
1933
  <tr>
1866
1934
  <td><p><span class="term"><em class="parameter"><code>priority</code></em> :</span></p></td>
1867
1935
  <td>the priority of the timeout source. Typically this will be in
1868
- the range between <a class="link" href="glib-The-Main-Event-Loop.html#G-PRIORITY-DEFAULT:CAPS" title="G_PRIORITY_DEFAULT"><span class="type">G_PRIORITY_DEFAULT</span></a> and <a class="link" href="glib-The-Main-Event-Loop.html#G-PRIORITY-HIGH:CAPS" title="G_PRIORITY_HIGH"><span class="type">G_PRIORITY_HIGH</span></a>.
1869
- </td>
1936
+ the range between <a class="link" href="glib-The-Main-Event-Loop.html#G-PRIORITY-DEFAULT:CAPS" title="G_PRIORITY_DEFAULT"><span class="type">G_PRIORITY_DEFAULT</span></a> and <a class="link" href="glib-The-Main-Event-Loop.html#G-PRIORITY-HIGH:CAPS" title="G_PRIORITY_HIGH"><span class="type">G_PRIORITY_HIGH</span></a>.</td>
1870
1937
  </tr>
1871
1938
  <tr>
1872
1939
  <td><p><span class="term"><em class="parameter"><code>interval</code></em> :</span></p></td>
1873
1940
  <td>the time between calls to the function, in milliseconds
1874
- (1/1000ths of a second)
1875
- </td>
1941
+ (1/1000ths of a second)</td>
1876
1942
  </tr>
1877
1943
  <tr>
1878
1944
  <td><p><span class="term"><em class="parameter"><code>function</code></em> :</span></p></td>
1879
- <td>function to call
1880
- </td>
1945
+ <td>function to call</td>
1881
1946
  </tr>
1882
1947
  <tr>
1883
1948
  <td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
@@ -1891,14 +1956,13 @@ do these steps manually if you need greater control.
1891
1956
  </tr>
1892
1957
  <tr>
1893
1958
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1894
- <td> the ID (greater than 0) of the event source.
1895
- </td>
1959
+ <td>the ID (greater than 0) of the event source.</td>
1896
1960
  </tr>
1897
1961
  </tbody>
1898
1962
  </table></div>
1899
1963
  </div>
1900
1964
  <hr>
1901
- <div class="refsect2" title="g_timeout_add_seconds ()">
1965
+ <div class="refsect2">
1902
1966
  <a name="g-timeout-add-seconds"></a><h3>g_timeout_add_seconds ()</h3>
1903
1967
  <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_timeout_add_seconds (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> interval</code></em>,
1904
1968
  <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSourceFunc" title="GSourceFunc ()"><span class="type">GSourceFunc</span></a> function</code></em>,
@@ -1920,13 +1984,11 @@ greater control. Also see <code class="function">g_timout_add_seconds_full()</co
1920
1984
  <tbody>
1921
1985
  <tr>
1922
1986
  <td><p><span class="term"><em class="parameter"><code>interval</code></em> :</span></p></td>
1923
- <td>the time between calls to the function, in seconds
1924
- </td>
1987
+ <td>the time between calls to the function, in seconds</td>
1925
1988
  </tr>
1926
1989
  <tr>
1927
1990
  <td><p><span class="term"><em class="parameter"><code>function</code></em> :</span></p></td>
1928
- <td>function to call
1929
- </td>
1991
+ <td>function to call</td>
1930
1992
  </tr>
1931
1993
  <tr>
1932
1994
  <td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
@@ -1935,16 +1997,14 @@ greater control. Also see <code class="function">g_timout_add_seconds_full()</co
1935
1997
  </tr>
1936
1998
  <tr>
1937
1999
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1938
- <td> the ID (greater than 0) of the event source.
1939
-
1940
- </td>
2000
+ <td>the ID (greater than 0) of the event source.</td>
1941
2001
  </tr>
1942
2002
  </tbody>
1943
2003
  </table></div>
1944
2004
  <p class="since">Since 2.14</p>
1945
2005
  </div>
1946
2006
  <hr>
1947
- <div class="refsect2" title="g_timeout_add_seconds_full ()">
2007
+ <div class="refsect2">
1948
2008
  <a name="g-timeout-add-seconds-full"></a><h3>g_timeout_add_seconds_full ()</h3>
1949
2009
  <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_timeout_add_seconds_full (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> priority</code></em>,
1950
2010
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> interval</code></em>,
@@ -1994,18 +2054,15 @@ greater control.
1994
2054
  <tr>
1995
2055
  <td><p><span class="term"><em class="parameter"><code>priority</code></em> :</span></p></td>
1996
2056
  <td>the priority of the timeout source. Typically this will be in
1997
- the range between <a class="link" href="glib-The-Main-Event-Loop.html#G-PRIORITY-DEFAULT:CAPS" title="G_PRIORITY_DEFAULT"><span class="type">G_PRIORITY_DEFAULT</span></a> and <a class="link" href="glib-The-Main-Event-Loop.html#G-PRIORITY-HIGH:CAPS" title="G_PRIORITY_HIGH"><span class="type">G_PRIORITY_HIGH</span></a>.
1998
- </td>
2057
+ the range between <a class="link" href="glib-The-Main-Event-Loop.html#G-PRIORITY-DEFAULT:CAPS" title="G_PRIORITY_DEFAULT"><span class="type">G_PRIORITY_DEFAULT</span></a> and <a class="link" href="glib-The-Main-Event-Loop.html#G-PRIORITY-HIGH:CAPS" title="G_PRIORITY_HIGH"><span class="type">G_PRIORITY_HIGH</span></a>.</td>
1999
2058
  </tr>
2000
2059
  <tr>
2001
2060
  <td><p><span class="term"><em class="parameter"><code>interval</code></em> :</span></p></td>
2002
- <td>the time between calls to the function, in seconds
2003
- </td>
2061
+ <td>the time between calls to the function, in seconds</td>
2004
2062
  </tr>
2005
2063
  <tr>
2006
2064
  <td><p><span class="term"><em class="parameter"><code>function</code></em> :</span></p></td>
2007
- <td>function to call
2008
- </td>
2065
+ <td>function to call</td>
2009
2066
  </tr>
2010
2067
  <tr>
2011
2068
  <td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
@@ -2019,18 +2076,16 @@ greater control.
2019
2076
  </tr>
2020
2077
  <tr>
2021
2078
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2022
- <td> the ID (greater than 0) of the event source.
2023
-
2024
- </td>
2079
+ <td>the ID (greater than 0) of the event source.</td>
2025
2080
  </tr>
2026
2081
  </tbody>
2027
2082
  </table></div>
2028
2083
  <p class="since">Since 2.14</p>
2029
2084
  </div>
2030
2085
  <hr>
2031
- <div class="refsect2" title="g_idle_source_new ()">
2086
+ <div class="refsect2">
2032
2087
  <a name="g-idle-source-new"></a><h3>g_idle_source_new ()</h3>
2033
- <pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="returnvalue">GSource</span></a> * g_idle_source_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
2088
+ <pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="returnvalue">GSource</span></a> * g_idle_source_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
2034
2089
  <p>
2035
2090
  Creates a new idle source.
2036
2091
  </p>
@@ -2045,13 +2100,12 @@ have a default priority of <a class="link" href="glib-The-Main-Event-Loop.html#G
2045
2100
  <col align="left" valign="top">
2046
2101
  <tbody><tr>
2047
2102
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2048
- <td> the newly-created idle source
2049
- </td>
2103
+ <td>the newly-created idle source</td>
2050
2104
  </tr></tbody>
2051
2105
  </table></div>
2052
2106
  </div>
2053
2107
  <hr>
2054
- <div class="refsect2" title="g_idle_add ()">
2108
+ <div class="refsect2">
2055
2109
  <a name="g-idle-add"></a><h3>g_idle_add ()</h3>
2056
2110
  <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_idle_add (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSourceFunc" title="GSourceFunc ()"><span class="type">GSourceFunc</span></a> function</code></em>,
2057
2111
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
@@ -2072,24 +2126,21 @@ You can do these steps manually if you need greater control.
2072
2126
  <tbody>
2073
2127
  <tr>
2074
2128
  <td><p><span class="term"><em class="parameter"><code>function</code></em> :</span></p></td>
2075
- <td>function to call
2076
- </td>
2129
+ <td>function to call</td>
2077
2130
  </tr>
2078
2131
  <tr>
2079
2132
  <td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
2080
- <td>data to pass to <em class="parameter"><code>function</code></em>.
2081
- </td>
2133
+ <td>data to pass to <em class="parameter"><code>function</code></em>.</td>
2082
2134
  </tr>
2083
2135
  <tr>
2084
2136
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2085
- <td> the ID (greater than 0) of the event source.
2086
- </td>
2137
+ <td>the ID (greater than 0) of the event source.</td>
2087
2138
  </tr>
2088
2139
  </tbody>
2089
2140
  </table></div>
2090
2141
  </div>
2091
2142
  <hr>
2092
- <div class="refsect2" title="g_idle_add_full ()">
2143
+ <div class="refsect2">
2093
2144
  <a name="g-idle-add-full"></a><h3>g_idle_add_full ()</h3>
2094
2145
  <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_idle_add_full (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> priority</code></em>,
2095
2146
  <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSourceFunc" title="GSourceFunc ()"><span class="type">GSourceFunc</span></a> function</code></em>,
@@ -2111,13 +2162,11 @@ You can do these steps manually if you need greater control.
2111
2162
  <tr>
2112
2163
  <td><p><span class="term"><em class="parameter"><code>priority</code></em> :</span></p></td>
2113
2164
  <td>the priority of the idle source. Typically this will be in the
2114
- range between <a class="link" href="glib-The-Main-Event-Loop.html#G-PRIORITY-DEFAULT-IDLE:CAPS" title="G_PRIORITY_DEFAULT_IDLE"><span class="type">G_PRIORITY_DEFAULT_IDLE</span></a> and <a class="link" href="glib-The-Main-Event-Loop.html#G-PRIORITY-HIGH-IDLE:CAPS" title="G_PRIORITY_HIGH_IDLE"><span class="type">G_PRIORITY_HIGH_IDLE</span></a>.
2115
- </td>
2165
+ range between <a class="link" href="glib-The-Main-Event-Loop.html#G-PRIORITY-DEFAULT-IDLE:CAPS" title="G_PRIORITY_DEFAULT_IDLE"><span class="type">G_PRIORITY_DEFAULT_IDLE</span></a> and <a class="link" href="glib-The-Main-Event-Loop.html#G-PRIORITY-HIGH-IDLE:CAPS" title="G_PRIORITY_HIGH_IDLE"><span class="type">G_PRIORITY_HIGH_IDLE</span></a>.</td>
2116
2166
  </tr>
2117
2167
  <tr>
2118
2168
  <td><p><span class="term"><em class="parameter"><code>function</code></em> :</span></p></td>
2119
- <td>function to call
2120
- </td>
2169
+ <td>function to call</td>
2121
2170
  </tr>
2122
2171
  <tr>
2123
2172
  <td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
@@ -2131,14 +2180,13 @@ You can do these steps manually if you need greater control.
2131
2180
  </tr>
2132
2181
  <tr>
2133
2182
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2134
- <td> the ID (greater than 0) of the event source.
2135
- </td>
2183
+ <td>the ID (greater than 0) of the event source.</td>
2136
2184
  </tr>
2137
2185
  </tbody>
2138
2186
  </table></div>
2139
2187
  </div>
2140
2188
  <hr>
2141
- <div class="refsect2" title="g_idle_remove_by_data ()">
2189
+ <div class="refsect2">
2142
2190
  <a name="g-idle-remove-by-data"></a><h3>g_idle_remove_by_data ()</h3>
2143
2191
  <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_idle_remove_by_data (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
2144
2192
  <p>
@@ -2149,19 +2197,18 @@ Removes the idle function with the given data.
2149
2197
  <tbody>
2150
2198
  <tr>
2151
2199
  <td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
2152
- <td>the data for the idle source's callback.
2153
- </td>
2200
+ <td>the data for the idle source's callback.</td>
2154
2201
  </tr>
2155
2202
  <tr>
2156
2203
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2157
- <td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if an idle source was found and removed.
2158
- </td>
2204
+ <td>
2205
+ <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if an idle source was found and removed.</td>
2159
2206
  </tr>
2160
2207
  </tbody>
2161
2208
  </table></div>
2162
2209
  </div>
2163
2210
  <hr>
2164
- <div class="refsect2" title="GPid">
2211
+ <div class="refsect2">
2165
2212
  <a name="GPid"></a><h3>GPid</h3>
2166
2213
  <pre class="programlisting">typedef int GPid;
2167
2214
  </pre>
@@ -2174,7 +2221,7 @@ while Windows uses process handles (which are pointers).
2174
2221
  </p>
2175
2222
  </div>
2176
2223
  <hr>
2177
- <div class="refsect2" title="GChildWatchFunc ()">
2224
+ <div class="refsect2">
2178
2225
  <a name="GChildWatchFunc"></a><h3>GChildWatchFunc ()</h3>
2179
2226
  <pre class="programlisting"><span class="returnvalue">void</span> (*GChildWatchFunc) (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPid" title="GPid"><span class="type">GPid</span></a> pid</code></em>,
2180
2227
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> status</code></em>,
@@ -2187,14 +2234,12 @@ The type of functions to be called when a child exists.
2187
2234
  <tbody>
2188
2235
  <tr>
2189
2236
  <td><p><span class="term"><em class="parameter"><code>pid</code></em> :</span></p></td>
2190
- <td>the process id of the child process
2191
- </td>
2237
+ <td>the process id of the child process</td>
2192
2238
  </tr>
2193
2239
  <tr>
2194
2240
  <td><p><span class="term"><em class="parameter"><code>status</code></em> :</span></p></td>
2195
2241
  <td>Status information about the child process,
2196
- see waitpid(2) for more information about this field
2197
- </td>
2242
+ see waitpid(2) for more information about this field</td>
2198
2243
  </tr>
2199
2244
  <tr>
2200
2245
  <td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
@@ -2205,9 +2250,9 @@ The type of functions to be called when a child exists.
2205
2250
  </table></div>
2206
2251
  </div>
2207
2252
  <hr>
2208
- <div class="refsect2" title="g_child_watch_source_new ()">
2253
+ <div class="refsect2">
2209
2254
  <a name="g-child-watch-source-new"></a><h3>g_child_watch_source_new ()</h3>
2210
- <pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="returnvalue">GSource</span></a> * g_child_watch_source_new (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPid" title="GPid"><span class="type">GPid</span></a> pid</code></em>);</pre>
2255
+ <pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="returnvalue">GSource</span></a> * g_child_watch_source_new (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPid" title="GPid"><span class="type">GPid</span></a> pid</code></em>);</pre>
2211
2256
  <p>
2212
2257
  Creates a new child_watch source.
2213
2258
  </p>
@@ -2239,21 +2284,18 @@ still work fine.
2239
2284
  <tr>
2240
2285
  <td><p><span class="term"><em class="parameter"><code>pid</code></em> :</span></p></td>
2241
2286
  <td>process to watch. On POSIX the pid of a child process. On
2242
- Windows a handle for a process (which doesn't have to be a child).
2243
- </td>
2287
+ Windows a handle for a process (which doesn't have to be a child).</td>
2244
2288
  </tr>
2245
2289
  <tr>
2246
2290
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2247
- <td> the newly-created child watch source
2248
-
2249
- </td>
2291
+ <td>the newly-created child watch source</td>
2250
2292
  </tr>
2251
2293
  </tbody>
2252
2294
  </table></div>
2253
2295
  <p class="since">Since 2.4</p>
2254
2296
  </div>
2255
2297
  <hr>
2256
- <div class="refsect2" title="g_child_watch_add ()">
2298
+ <div class="refsect2">
2257
2299
  <a name="g-child-watch-add"></a><h3>g_child_watch_add ()</h3>
2258
2300
  <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_child_watch_add (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPid" title="GPid"><span class="type">GPid</span></a> pid</code></em>,
2259
2301
  <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GChildWatchFunc" title="GChildWatchFunc ()"><span class="type">GChildWatchFunc</span></a> function</code></em>,
@@ -2263,7 +2305,7 @@ Sets a function to be called when the child indicated by <em class="parameter"><
2263
2305
  exits, at a default priority, <a class="link" href="glib-The-Main-Event-Loop.html#G-PRIORITY-DEFAULT:CAPS" title="G_PRIORITY_DEFAULT"><span class="type">G_PRIORITY_DEFAULT</span></a>.
2264
2306
  </p>
2265
2307
  <p>
2266
- If you obtain <em class="parameter"><code>pid</code></em> from <a class="link" href="glib-Spawning-Processes.html#g-spawn-async" title="g_spawn_async ()"><code class="function">g_spawn_async()</code></a> or <a class="link" href="glib-Spawning-Processes.html#g-spawn-async-with-pipes" title="g_spawn_async_with_pipes ()"><code class="function">g_spawn_async_with_pipes()</code></a>
2308
+ If you obtain <em class="parameter"><code>pid</code></em> from <a class="link" href="glib-Spawning-Processes.html#g-spawn-async" title="g_spawn_async"><code class="function">g_spawn_async()</code></a> or <a class="link" href="glib-Spawning-Processes.html#g-spawn-async-with-pipes" title="g_spawn_async_with_pipes"><code class="function">g_spawn_async_with_pipes()</code></a>
2267
2309
  you will need to pass <a class="link" href="glib-Spawning-Processes.html#G-SPAWN-DO-NOT-REAP-CHILD:CAPS"><span class="type">G_SPAWN_DO_NOT_REAP_CHILD</span></a> as flag to
2268
2310
  the spawn function for the child watching to work.
2269
2311
  </p>
@@ -2288,13 +2330,11 @@ need greater control.
2288
2330
  <tr>
2289
2331
  <td><p><span class="term"><em class="parameter"><code>pid</code></em> :</span></p></td>
2290
2332
  <td>process id to watch. On POSIX the pid of a child process. On
2291
- Windows a handle for a process (which doesn't have to be a child).
2292
- </td>
2333
+ Windows a handle for a process (which doesn't have to be a child).</td>
2293
2334
  </tr>
2294
2335
  <tr>
2295
2336
  <td><p><span class="term"><em class="parameter"><code>function</code></em> :</span></p></td>
2296
- <td>function to call
2297
- </td>
2337
+ <td>function to call</td>
2298
2338
  </tr>
2299
2339
  <tr>
2300
2340
  <td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
@@ -2303,16 +2343,14 @@ Windows a handle for a process (which doesn't have to be a child).
2303
2343
  </tr>
2304
2344
  <tr>
2305
2345
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2306
- <td> the ID (greater than 0) of the event source.
2307
-
2308
- </td>
2346
+ <td>the ID (greater than 0) of the event source.</td>
2309
2347
  </tr>
2310
2348
  </tbody>
2311
2349
  </table></div>
2312
2350
  <p class="since">Since 2.4</p>
2313
2351
  </div>
2314
2352
  <hr>
2315
- <div class="refsect2" title="g_child_watch_add_full ()">
2353
+ <div class="refsect2">
2316
2354
  <a name="g-child-watch-add-full"></a><h3>g_child_watch_add_full ()</h3>
2317
2355
  <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_child_watch_add_full (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> priority</code></em>,
2318
2356
  <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPid" title="GPid"><span class="type">GPid</span></a> pid</code></em>,
@@ -2324,7 +2362,7 @@ Sets a function to be called when the child indicated by <em class="parameter"><
2324
2362
  exits, at the priority <em class="parameter"><code>priority</code></em>.
2325
2363
  </p>
2326
2364
  <p>
2327
- If you obtain <em class="parameter"><code>pid</code></em> from <a class="link" href="glib-Spawning-Processes.html#g-spawn-async" title="g_spawn_async ()"><code class="function">g_spawn_async()</code></a> or <a class="link" href="glib-Spawning-Processes.html#g-spawn-async-with-pipes" title="g_spawn_async_with_pipes ()"><code class="function">g_spawn_async_with_pipes()</code></a>
2365
+ If you obtain <em class="parameter"><code>pid</code></em> from <a class="link" href="glib-Spawning-Processes.html#g-spawn-async" title="g_spawn_async"><code class="function">g_spawn_async()</code></a> or <a class="link" href="glib-Spawning-Processes.html#g-spawn-async-with-pipes" title="g_spawn_async_with_pipes"><code class="function">g_spawn_async_with_pipes()</code></a>
2328
2366
  you will need to pass <a class="link" href="glib-Spawning-Processes.html#G-SPAWN-DO-NOT-REAP-CHILD:CAPS"><span class="type">G_SPAWN_DO_NOT_REAP_CHILD</span></a> as flag to
2329
2367
  the spawn function for the child watching to work.
2330
2368
  </p>
@@ -2349,19 +2387,16 @@ need greater control.
2349
2387
  <tr>
2350
2388
  <td><p><span class="term"><em class="parameter"><code>priority</code></em> :</span></p></td>
2351
2389
  <td>the priority of the idle source. Typically this will be in the
2352
- range between <a class="link" href="glib-The-Main-Event-Loop.html#G-PRIORITY-DEFAULT-IDLE:CAPS" title="G_PRIORITY_DEFAULT_IDLE"><span class="type">G_PRIORITY_DEFAULT_IDLE</span></a> and <a class="link" href="glib-The-Main-Event-Loop.html#G-PRIORITY-HIGH-IDLE:CAPS" title="G_PRIORITY_HIGH_IDLE"><span class="type">G_PRIORITY_HIGH_IDLE</span></a>.
2353
- </td>
2390
+ range between <a class="link" href="glib-The-Main-Event-Loop.html#G-PRIORITY-DEFAULT-IDLE:CAPS" title="G_PRIORITY_DEFAULT_IDLE"><span class="type">G_PRIORITY_DEFAULT_IDLE</span></a> and <a class="link" href="glib-The-Main-Event-Loop.html#G-PRIORITY-HIGH-IDLE:CAPS" title="G_PRIORITY_HIGH_IDLE"><span class="type">G_PRIORITY_HIGH_IDLE</span></a>.</td>
2354
2391
  </tr>
2355
2392
  <tr>
2356
2393
  <td><p><span class="term"><em class="parameter"><code>pid</code></em> :</span></p></td>
2357
2394
  <td>process to watch. On POSIX the pid of a child process. On
2358
- Windows a handle for a process (which doesn't have to be a child).
2359
- </td>
2395
+ Windows a handle for a process (which doesn't have to be a child).</td>
2360
2396
  </tr>
2361
2397
  <tr>
2362
2398
  <td><p><span class="term"><em class="parameter"><code>function</code></em> :</span></p></td>
2363
- <td>function to call
2364
- </td>
2399
+ <td>function to call</td>
2365
2400
  </tr>
2366
2401
  <tr>
2367
2402
  <td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
@@ -2375,18 +2410,16 @@ Windows a handle for a process (which doesn't have to be a child).
2375
2410
  </tr>
2376
2411
  <tr>
2377
2412
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2378
- <td> the ID (greater than 0) of the event source.
2379
-
2380
- </td>
2413
+ <td>the ID (greater than 0) of the event source.</td>
2381
2414
  </tr>
2382
2415
  </tbody>
2383
2416
  </table></div>
2384
2417
  <p class="since">Since 2.4</p>
2385
2418
  </div>
2386
2419
  <hr>
2387
- <div class="refsect2" title="GPollFD">
2388
- <a name="GPollFD"></a><h3>GPollFD</h3>
2389
- <pre class="programlisting">typedef struct {
2420
+ <div class="refsect2">
2421
+ <a name="GPollFD"></a><h3>struct GPollFD</h3>
2422
+ <pre class="programlisting">struct GPollFD {
2390
2423
  #if defined (G_OS_WIN32) &amp;&amp; GLIB_SIZEOF_VOID_P == 8
2391
2424
  gint64 fd;
2392
2425
  #else
@@ -2394,15 +2427,14 @@ Windows a handle for a process (which doesn't have to be a child).
2394
2427
  #endif
2395
2428
  gushort events;
2396
2429
  gushort revents;
2397
- } GPollFD;
2430
+ };
2398
2431
  </pre>
2399
2432
  <div class="variablelist"><table border="0">
2400
2433
  <col align="left" valign="top">
2401
2434
  <tbody>
2402
2435
  <tr>
2403
2436
  <td><p><span class="term"><a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="type">gint64</span></a> <em class="structfield"><code><a name="GPollFD.fd"></a>fd</code></em>;</span></p></td>
2404
- <td>
2405
- </td>
2437
+ <td></td>
2406
2438
  </tr>
2407
2439
  <tr>
2408
2440
  <td><p><span class="term"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GPollFD.fd"></a>fd</code></em>;</span></p></td>
@@ -2411,24 +2443,22 @@ Windows a handle for a process (which doesn't have to be a child).
2411
2443
  <tr>
2412
2444
  <td><p><span class="term"><a class="link" href="glib-Basic-Types.html#gushort" title="gushort"><span class="type">gushort</span></a> <em class="structfield"><code><a name="GPollFD.events"></a>events</code></em>;</span></p></td>
2413
2445
  <td>a bitwise combination from <a class="link" href="glib-IO-Channels.html#GIOCondition" title="enum GIOCondition"><span class="type">GIOCondition</span></a>, specifying which
2414
- events should be polled for. Typically for reading from a file
2415
- descriptor you would use <a class="link" href="glib-IO-Channels.html#G-IO-IN:CAPS"><code class="literal">G_IO_IN</code></a> | <a class="link" href="glib-IO-Channels.html#G-IO-HUP:CAPS"><code class="literal">G_IO_HUP</code></a> | <a class="link" href="glib-IO-Channels.html#G-IO-ERR:CAPS"><code class="literal">G_IO_ERR</code></a>, and
2416
- for writing you would use <a class="link" href="glib-IO-Channels.html#G-IO-OUT:CAPS"><code class="literal">G_IO_OUT</code></a> | <a class="link" href="glib-IO-Channels.html#G-IO-ERR:CAPS"><code class="literal">G_IO_ERR</code></a>.
2417
- </td>
2446
+ events should be polled for. Typically for reading from a file
2447
+ descriptor you would use <a class="link" href="glib-IO-Channels.html#G-IO-IN:CAPS"><code class="literal">G_IO_IN</code></a> | <a class="link" href="glib-IO-Channels.html#G-IO-HUP:CAPS"><code class="literal">G_IO_HUP</code></a> | <a class="link" href="glib-IO-Channels.html#G-IO-ERR:CAPS"><code class="literal">G_IO_ERR</code></a>, and
2448
+ for writing you would use <a class="link" href="glib-IO-Channels.html#G-IO-OUT:CAPS"><code class="literal">G_IO_OUT</code></a> | <a class="link" href="glib-IO-Channels.html#G-IO-ERR:CAPS"><code class="literal">G_IO_ERR</code></a>.</td>
2418
2449
  </tr>
2419
2450
  <tr>
2420
2451
  <td><p><span class="term"><a class="link" href="glib-Basic-Types.html#gushort" title="gushort"><span class="type">gushort</span></a> <em class="structfield"><code><a name="GPollFD.revents"></a>revents</code></em>;</span></p></td>
2421
2452
  <td>a bitwise combination of flags from <a class="link" href="glib-IO-Channels.html#GIOCondition" title="enum GIOCondition"><span class="type">GIOCondition</span></a>, returned
2422
- from the <code class="function">poll()</code> function to indicate which events occurred.
2423
- </td>
2453
+ from the <code class="function">poll()</code> function to indicate which events occurred.</td>
2424
2454
  </tr>
2425
2455
  </tbody>
2426
2456
  </table></div>
2427
2457
  </div>
2428
2458
  <hr>
2429
- <div class="refsect2" title="g_poll ()">
2459
+ <div class="refsect2">
2430
2460
  <a name="g-poll"></a><h3>g_poll ()</h3>
2431
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_poll (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="GPollFD"><span class="type">GPollFD</span></a> *fds</code></em>,
2461
+ <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_poll (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="struct GPollFD"><span class="type">GPollFD</span></a> *fds</code></em>,
2432
2462
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> nfds</code></em>,
2433
2463
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> timeout</code></em>);</pre>
2434
2464
  <p>
@@ -2439,7 +2469,7 @@ directly if you need to block until a file descriptor is ready, but
2439
2469
  don't want to run the full main loop.
2440
2470
  </p>
2441
2471
  <p>
2442
- Each element of <em class="parameter"><code>fds</code></em> is a <a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="GPollFD"><span class="type">GPollFD</span></a> describing a single file
2472
+ Each element of <em class="parameter"><code>fds</code></em> is a <a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="struct GPollFD"><span class="type">GPollFD</span></a> describing a single file
2443
2473
  descriptor to poll. The <code class="literal">fd</code> field indicates the file descriptor,
2444
2474
  and the <code class="literal">events</code> field indicates the events to poll for. On return,
2445
2475
  the <code class="literal">revents</code> fields will be filled with the events that actually
@@ -2450,15 +2480,14 @@ On POSIX systems, the file descriptors in <em class="parameter"><code>fds</code>
2450
2480
  file descriptor, but the situation is much more complicated on
2451
2481
  Windows. If you need to use <a class="link" href="glib-The-Main-Event-Loop.html#g-poll" title="g_poll ()"><code class="function">g_poll()</code></a> in code that has to run on
2452
2482
  Windows, the easiest solution is to construct all of your
2453
- <a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="GPollFD"><span class="type">GPollFD</span></a>s with <code class="function">g_io_channel_win32_make_pollfd()</code>.
2483
+ <a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="struct GPollFD"><span class="type">GPollFD</span></a>s with <code class="function">g_io_channel_win32_make_pollfd()</code>.
2454
2484
  </p>
2455
2485
  <div class="variablelist"><table border="0">
2456
2486
  <col align="left" valign="top">
2457
2487
  <tbody>
2458
2488
  <tr>
2459
2489
  <td><p><span class="term"><em class="parameter"><code>fds</code></em> :</span></p></td>
2460
- <td>file descriptors to poll
2461
- </td>
2490
+ <td>file descriptors to poll</td>
2462
2491
  </tr>
2463
2492
  <tr>
2464
2493
  <td><p><span class="term"><em class="parameter"><code>nfds</code></em> :</span></p></td>
@@ -2467,33 +2496,31 @@ Windows, the easiest solution is to construct all of your
2467
2496
  </tr>
2468
2497
  <tr>
2469
2498
  <td><p><span class="term"><em class="parameter"><code>timeout</code></em> :</span></p></td>
2470
- <td>amount of time to wait, in milliseconds, or -1 to wait forever
2471
- </td>
2499
+ <td>amount of time to wait, in milliseconds, or -1 to wait forever</td>
2472
2500
  </tr>
2473
2501
  <tr>
2474
2502
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2475
- <td> the number of entries in <em class="parameter"><code>fds</code></em> whose <code class="literal">revents</code> fields
2503
+ <td>the number of entries in <em class="parameter"><code>fds</code></em> whose <code class="literal">revents</code> fields
2476
2504
  were filled in, or 0 if the operation timed out, or -1 on error or
2477
- if the call was interrupted.
2478
-
2479
- </td>
2505
+ if the call was interrupted.</td>
2480
2506
  </tr>
2481
2507
  </tbody>
2482
2508
  </table></div>
2483
2509
  <p class="since">Since 2.20</p>
2484
2510
  </div>
2485
2511
  <hr>
2486
- <div class="refsect2" title="G_POLLFD_FORMAT">
2512
+ <div class="refsect2">
2487
2513
  <a name="G-POLLFD-FORMAT:CAPS"></a><h3>G_POLLFD_FORMAT</h3>
2488
- <pre class="programlisting">#define G_POLLFD_FORMAT</pre>
2514
+ <pre class="programlisting">#define G_POLLFD_FORMAT "%#I64x"
2515
+ </pre>
2489
2516
  <p>
2490
2517
  </p>
2491
2518
  </div>
2492
2519
  <hr>
2493
- <div class="refsect2" title="GSource">
2494
- <a name="GSource"></a><h3>GSource</h3>
2495
- <pre class="programlisting">typedef struct {
2496
- } GSource;
2520
+ <div class="refsect2">
2521
+ <a name="GSource"></a><h3>struct GSource</h3>
2522
+ <pre class="programlisting">struct GSource {
2523
+ };
2497
2524
  </pre>
2498
2525
  <p>
2499
2526
  The <span class="structname">GSource</span> struct is an opaque data type
@@ -2501,7 +2528,7 @@ representing an event source.
2501
2528
  </p>
2502
2529
  </div>
2503
2530
  <hr>
2504
- <div class="refsect2" title="GSourceDummyMarshal ()">
2531
+ <div class="refsect2">
2505
2532
  <a name="GSourceDummyMarshal"></a><h3>GSourceDummyMarshal ()</h3>
2506
2533
  <pre class="programlisting"><span class="returnvalue">void</span> (*GSourceDummyMarshal) (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
2507
2534
  <p>
@@ -2510,9 +2537,9 @@ for dependency reasons.
2510
2537
  </p>
2511
2538
  </div>
2512
2539
  <hr>
2513
- <div class="refsect2" title="GSourceFuncs">
2514
- <a name="GSourceFuncs"></a><h3>GSourceFuncs</h3>
2515
- <pre class="programlisting">typedef struct {
2540
+ <div class="refsect2">
2541
+ <a name="GSourceFuncs"></a><h3>struct GSourceFuncs</h3>
2542
+ <pre class="programlisting">struct GSourceFuncs {
2516
2543
  gboolean (*prepare) (GSource *source,
2517
2544
  gint *timeout_);
2518
2545
  gboolean (*check) (GSource *source);
@@ -2524,7 +2551,7 @@ for dependency reasons.
2524
2551
  /* For use by g_source_set_closure */
2525
2552
  GSourceFunc closure_callback;
2526
2553
  GSourceDummyMarshal closure_marshal; /* Really is of type GClosureMarshal */
2527
- } GSourceFuncs;
2554
+ };
2528
2555
  </pre>
2529
2556
  <p>
2530
2557
  The <span class="structname">GSourceFuncs</span> struct contains a table of
@@ -2557,37 +2584,33 @@ required condition has been met, and returns <a class="link" href="glib-Standard
2557
2584
  <tr>
2558
2585
  <td><p><span class="term"><em class="structfield"><code><a name="GSourceFuncs.prepare"></a>prepare</code></em> ()</span></p></td>
2559
2586
  <td>Called before all the file descriptors are polled. If the
2560
- source can determine that it is ready here (without waiting for the
2561
- results of the <code class="function">poll()</code> call) it should return <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>. It can also return
2562
- a <em class="parameter"><code>timeout_</code></em> value which should be the maximum timeout (in milliseconds)
2563
- which should be passed to the <code class="function">poll()</code> call. The actual timeout used will
2564
- be -1 if all sources returned -1, or it will be the minimum of all the
2565
- <em class="parameter"><code>timeout_</code></em> values returned which were &gt;= 0.
2566
- </td>
2587
+ source can determine that it is ready here (without waiting for the
2588
+ results of the <code class="function">poll()</code> call) it should return <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>. It can also return
2589
+ a <em class="parameter"><code>timeout_</code></em> value which should be the maximum timeout (in milliseconds)
2590
+ which should be passed to the <code class="function">poll()</code> call. The actual timeout used will
2591
+ be -1 if all sources returned -1, or it will be the minimum of all the
2592
+ <em class="parameter"><code>timeout_</code></em> values returned which were &gt;= 0.</td>
2567
2593
  </tr>
2568
2594
  <tr>
2569
2595
  <td><p><span class="term"><em class="structfield"><code><a name="GSourceFuncs.check"></a>check</code></em> ()</span></p></td>
2570
2596
  <td>Called after all the file descriptors are polled. The source
2571
- should return <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if it is ready to be dispatched. Note that some
2572
- time may have passed since the previous prepare function was called,
2573
- so the source should be checked again here.
2574
- </td>
2597
+ should return <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if it is ready to be dispatched. Note that some
2598
+ time may have passed since the previous prepare function was called,
2599
+ so the source should be checked again here.</td>
2575
2600
  </tr>
2576
2601
  <tr>
2577
2602
  <td><p><span class="term"><em class="structfield"><code><a name="GSourceFuncs.dispatch"></a>dispatch</code></em> ()</span></p></td>
2578
2603
  <td>Called to dispatch the event source, after it has returned
2579
- <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> in either its <em class="parameter"><code>prepare</code></em> or its <em class="parameter"><code>check</code></em> function. The <em class="parameter"><code>dispatch</code></em>
2580
- function is passed in a callback function and data. The callback
2581
- function may be <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if the source was never connected to a callback
2582
- using <a class="link" href="glib-The-Main-Event-Loop.html#g-source-set-callback" title="g_source_set_callback ()"><code class="function">g_source_set_callback()</code></a>. The <em class="parameter"><code>dispatch</code></em> function should call the
2583
- callback function with <em class="parameter"><code>user_data</code></em> and whatever additional parameters
2584
- are needed for this type of event source.
2585
- </td>
2604
+ <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> in either its <em class="parameter"><code>prepare</code></em> or its <em class="parameter"><code>check</code></em> function. The <em class="parameter"><code>dispatch</code></em>
2605
+ function is passed in a callback function and data. The callback
2606
+ function may be <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if the source was never connected to a callback
2607
+ using <a class="link" href="glib-The-Main-Event-Loop.html#g-source-set-callback" title="g_source_set_callback ()"><code class="function">g_source_set_callback()</code></a>. The <em class="parameter"><code>dispatch</code></em> function should call the
2608
+ callback function with <em class="parameter"><code>user_data</code></em> and whatever additional parameters
2609
+ are needed for this type of event source.</td>
2586
2610
  </tr>
2587
2611
  <tr>
2588
2612
  <td><p><span class="term"><em class="structfield"><code><a name="GSourceFuncs.finalize"></a>finalize</code></em> ()</span></p></td>
2589
- <td>Called when the source is finalized.
2590
- </td>
2613
+ <td>Called when the source is finalized.</td>
2591
2614
  </tr>
2592
2615
  <tr>
2593
2616
  <td><p><span class="term"><a class="link" href="glib-The-Main-Event-Loop.html#GSourceFunc" title="GSourceFunc ()"><span class="type">GSourceFunc</span></a> <em class="structfield"><code><a name="GSourceFuncs.closure-callback"></a>closure_callback</code></em>;</span></p></td>
@@ -2601,16 +2624,16 @@ required condition has been met, and returns <a class="link" href="glib-Standard
2601
2624
  </table></div>
2602
2625
  </div>
2603
2626
  <hr>
2604
- <div class="refsect2" title="GSourceCallbackFuncs">
2605
- <a name="GSourceCallbackFuncs"></a><h3>GSourceCallbackFuncs</h3>
2606
- <pre class="programlisting">typedef struct {
2627
+ <div class="refsect2">
2628
+ <a name="GSourceCallbackFuncs"></a><h3>struct GSourceCallbackFuncs</h3>
2629
+ <pre class="programlisting">struct GSourceCallbackFuncs {
2607
2630
  void (*ref) (gpointer cb_data);
2608
2631
  void (*unref) (gpointer cb_data);
2609
2632
  void (*get) (gpointer cb_data,
2610
2633
  GSource *source,
2611
2634
  GSourceFunc *func,
2612
2635
  gpointer *data);
2613
- } GSourceCallbackFuncs;
2636
+ };
2614
2637
  </pre>
2615
2638
  <p>
2616
2639
  The <span class="structname">GSourceCallbackFuncs</span> struct contains
@@ -2621,31 +2644,28 @@ functions for managing callback objects.
2621
2644
  <tbody>
2622
2645
  <tr>
2623
2646
  <td><p><span class="term"><em class="structfield"><code><a name="GSourceCallbackFuncs.ref"></a>ref</code></em> ()</span></p></td>
2624
- <td>Called when a reference is added to the callback object
2625
- </td>
2647
+ <td>Called when a reference is added to the callback object</td>
2626
2648
  </tr>
2627
2649
  <tr>
2628
2650
  <td><p><span class="term"><em class="structfield"><code><a name="GSourceCallbackFuncs.unref"></a>unref</code></em> ()</span></p></td>
2629
- <td>Called when a reference to the callback object is dropped
2630
- </td>
2651
+ <td>Called when a reference to the callback object is dropped</td>
2631
2652
  </tr>
2632
2653
  <tr>
2633
2654
  <td><p><span class="term"><em class="structfield"><code><a name="GSourceCallbackFuncs.get"></a>get</code></em> ()</span></p></td>
2634
2655
  <td>Called to extract the callback function and data from the
2635
- callback object.
2636
- </td>
2656
+ callback object.</td>
2637
2657
  </tr>
2638
2658
  </tbody>
2639
2659
  </table></div>
2640
2660
  </div>
2641
2661
  <hr>
2642
- <div class="refsect2" title="g_source_new ()">
2662
+ <div class="refsect2">
2643
2663
  <a name="g-source-new"></a><h3>g_source_new ()</h3>
2644
- <pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="returnvalue">GSource</span></a> * g_source_new (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSourceFuncs" title="GSourceFuncs"><span class="type">GSourceFuncs</span></a> *source_funcs</code></em>,
2664
+ <pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="returnvalue">GSource</span></a> * g_source_new (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSourceFuncs" title="struct GSourceFuncs"><span class="type">GSourceFuncs</span></a> *source_funcs</code></em>,
2645
2665
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> struct_size</code></em>);</pre>
2646
2666
  <p>
2647
- Creates a new <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> structure. The size is specified to
2648
- allow creating structures derived from <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> that contain
2667
+ Creates a new <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> structure. The size is specified to
2668
+ allow creating structures derived from <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> that contain
2649
2669
  additional data. The size passed in must be at least
2650
2670
  <code class="literal">sizeof (GSource)</code>.
2651
2671
  </p>
@@ -2660,26 +2680,23 @@ executed.
2660
2680
  <tr>
2661
2681
  <td><p><span class="term"><em class="parameter"><code>source_funcs</code></em> :</span></p></td>
2662
2682
  <td>structure containing functions that implement
2663
- the sources behavior.
2664
- </td>
2683
+ the sources behavior.</td>
2665
2684
  </tr>
2666
2685
  <tr>
2667
2686
  <td><p><span class="term"><em class="parameter"><code>struct_size</code></em> :</span></p></td>
2668
- <td>size of the <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> structure to create.
2669
- </td>
2687
+ <td>size of the <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> structure to create.</td>
2670
2688
  </tr>
2671
2689
  <tr>
2672
2690
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2673
- <td> the newly-created <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a>.
2674
- </td>
2691
+ <td>the newly-created <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a>.</td>
2675
2692
  </tr>
2676
2693
  </tbody>
2677
2694
  </table></div>
2678
2695
  </div>
2679
2696
  <hr>
2680
- <div class="refsect2" title="g_source_ref ()">
2697
+ <div class="refsect2">
2681
2698
  <a name="g-source-ref"></a><h3>g_source_ref ()</h3>
2682
- <pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="returnvalue">GSource</span></a> * g_source_ref (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>);</pre>
2699
+ <pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="returnvalue">GSource</span></a> * g_source_ref (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *source</code></em>);</pre>
2683
2700
  <p>
2684
2701
  Increases the reference count on a source by one.
2685
2702
  </p>
@@ -2688,21 +2705,20 @@ Increases the reference count on a source by one.
2688
2705
  <tbody>
2689
2706
  <tr>
2690
2707
  <td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
2691
- <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a>
2708
+ <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a>
2692
2709
  </td>
2693
2710
  </tr>
2694
2711
  <tr>
2695
2712
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2696
- <td> <em class="parameter"><code>source</code></em>
2697
- </td>
2713
+ <td><em class="parameter"><code>source</code></em></td>
2698
2714
  </tr>
2699
2715
  </tbody>
2700
2716
  </table></div>
2701
2717
  </div>
2702
2718
  <hr>
2703
- <div class="refsect2" title="g_source_unref ()">
2719
+ <div class="refsect2">
2704
2720
  <a name="g-source-unref"></a><h3>g_source_unref ()</h3>
2705
- <pre class="programlisting"><span class="returnvalue">void</span> g_source_unref (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>);</pre>
2721
+ <pre class="programlisting"><span class="returnvalue">void</span> g_source_unref (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *source</code></em>);</pre>
2706
2722
  <p>
2707
2723
  Decreases the reference count of a source by one. If the
2708
2724
  resulting reference count is zero the source and associated
@@ -2712,16 +2728,16 @@ memory will be destroyed.
2712
2728
  <col align="left" valign="top">
2713
2729
  <tbody><tr>
2714
2730
  <td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
2715
- <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a>
2731
+ <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a>
2716
2732
  </td>
2717
2733
  </tr></tbody>
2718
2734
  </table></div>
2719
2735
  </div>
2720
2736
  <hr>
2721
- <div class="refsect2" title="g_source_set_funcs ()">
2737
+ <div class="refsect2">
2722
2738
  <a name="g-source-set-funcs"></a><h3>g_source_set_funcs ()</h3>
2723
- <pre class="programlisting"><span class="returnvalue">void</span> g_source_set_funcs (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>,
2724
- <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSourceFuncs" title="GSourceFuncs"><span class="type">GSourceFuncs</span></a> *funcs</code></em>);</pre>
2739
+ <pre class="programlisting"><span class="returnvalue">void</span> g_source_set_funcs (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *source</code></em>,
2740
+ <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSourceFuncs" title="struct GSourceFuncs"><span class="type">GSourceFuncs</span></a> *funcs</code></em>);</pre>
2725
2741
  <p>
2726
2742
  Sets the source functions (can be used to override
2727
2743
  default implementations) of an unattached source.
@@ -2731,12 +2747,12 @@ default implementations) of an unattached source.
2731
2747
  <tbody>
2732
2748
  <tr>
2733
2749
  <td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
2734
- <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a>
2750
+ <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a>
2735
2751
  </td>
2736
2752
  </tr>
2737
2753
  <tr>
2738
2754
  <td><p><span class="term"><em class="parameter"><code>funcs</code></em> :</span></p></td>
2739
- <td>the new <a class="link" href="glib-The-Main-Event-Loop.html#GSourceFuncs" title="GSourceFuncs"><span class="type">GSourceFuncs</span></a>
2755
+ <td>the new <a class="link" href="glib-The-Main-Event-Loop.html#GSourceFuncs" title="struct GSourceFuncs"><span class="type">GSourceFuncs</span></a>
2740
2756
  </td>
2741
2757
  </tr>
2742
2758
  </tbody>
@@ -2744,12 +2760,12 @@ default implementations) of an unattached source.
2744
2760
  <p class="since">Since 2.12</p>
2745
2761
  </div>
2746
2762
  <hr>
2747
- <div class="refsect2" title="g_source_attach ()">
2763
+ <div class="refsect2">
2748
2764
  <a name="g-source-attach"></a><h3>g_source_attach ()</h3>
2749
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_source_attach (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>,
2765
+ <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_source_attach (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *source</code></em>,
2750
2766
  <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> *context</code></em>);</pre>
2751
2767
  <p>
2752
- Adds a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> to a <em class="parameter"><code>context</code></em> so that it will be executed within
2768
+ Adds a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> to a <em class="parameter"><code>context</code></em> so that it will be executed within
2753
2769
  that context. Remove it by calling <a class="link" href="glib-The-Main-Event-Loop.html#g-source-destroy" title="g_source_destroy ()"><code class="function">g_source_destroy()</code></a>.
2754
2770
  </p>
2755
2771
  <div class="variablelist"><table border="0">
@@ -2757,27 +2773,25 @@ that context. Remove it by calling <a class="link" href="glib-The-Main-Event-Loo
2757
2773
  <tbody>
2758
2774
  <tr>
2759
2775
  <td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
2760
- <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a>
2776
+ <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a>
2761
2777
  </td>
2762
2778
  </tr>
2763
2779
  <tr>
2764
2780
  <td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
2765
- <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> (if <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, the default context will be used)
2766
- </td>
2781
+ <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> (if <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, the default context will be used)</td>
2767
2782
  </tr>
2768
2783
  <tr>
2769
2784
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2770
- <td> the ID (greater than 0) for the source within the
2771
- <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a>.
2772
- </td>
2785
+ <td>the ID (greater than 0) for the source within the
2786
+ <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a>.</td>
2773
2787
  </tr>
2774
2788
  </tbody>
2775
2789
  </table></div>
2776
2790
  </div>
2777
2791
  <hr>
2778
- <div class="refsect2" title="g_source_destroy ()">
2792
+ <div class="refsect2">
2779
2793
  <a name="g-source-destroy"></a><h3>g_source_destroy ()</h3>
2780
- <pre class="programlisting"><span class="returnvalue">void</span> g_source_destroy (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>);</pre>
2794
+ <pre class="programlisting"><span class="returnvalue">void</span> g_source_destroy (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *source</code></em>);</pre>
2781
2795
  <p>
2782
2796
  Removes a source from its <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a>, if any, and mark it as
2783
2797
  destroyed. The source cannot be subsequently added to another
@@ -2787,15 +2801,15 @@ context.
2787
2801
  <col align="left" valign="top">
2788
2802
  <tbody><tr>
2789
2803
  <td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
2790
- <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a>
2804
+ <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a>
2791
2805
  </td>
2792
2806
  </tr></tbody>
2793
2807
  </table></div>
2794
2808
  </div>
2795
2809
  <hr>
2796
- <div class="refsect2" title="g_source_is_destroyed ()">
2810
+ <div class="refsect2">
2797
2811
  <a name="g-source-is-destroyed"></a><h3>g_source_is_destroyed ()</h3>
2798
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_source_is_destroyed (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>);</pre>
2812
+ <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_source_is_destroyed (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *source</code></em>);</pre>
2799
2813
  <p>
2800
2814
  Returns whether <em class="parameter"><code>source</code></em> has been destroyed.
2801
2815
  </p>
@@ -2844,10 +2858,10 @@ before the dispatch of your idle handler.
2844
2858
  <span class="cbracket">{</span>
2845
2859
  <span class="normal"> </span><span class="usertype">SomeWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">self </span><span class="symbol">=</span><span class="normal"> data</span><span class="symbol">;</span>
2846
2860
  <span class="normal"> </span>
2847
- <span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Threads.html#GDK-THREADS-ENTER:CAPS">GDK_THREADS_ENTER</a></span><span class="normal"> </span><span class="symbol">();</span>
2861
+ <span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gdk/2.24/gdk3-Threads.html#GDK-THREADS-ENTER:CAPS">GDK_THREADS_ENTER</a></span><span class="normal"> </span><span class="symbol">();</span>
2848
2862
  <span class="normal"> </span><span class="comment">/* do stuff with self */</span>
2849
2863
  <span class="normal"> self</span><span class="symbol">-&gt;</span><span class="normal">idle_id </span><span class="symbol">=</span><span class="normal"> </span><span class="number">0</span><span class="symbol">;</span>
2850
- <span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Threads.html#GDK-THREADS-LEAVE:CAPS">GDK_THREADS_LEAVE</a></span><span class="normal"> </span><span class="symbol">();</span>
2864
+ <span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gdk/2.24/gdk3-Threads.html#GDK-THREADS-LEAVE:CAPS">GDK_THREADS_LEAVE</a></span><span class="normal"> </span><span class="symbol">();</span>
2851
2865
  <span class="normal"> </span>
2852
2866
  <span class="normal"> </span><span class="keyword">return</span><span class="normal"> <a href="glib-Standard-Macros.html#FALSE:CAPS">FALSE</a></span><span class="symbol">;</span>
2853
2867
  <span class="cbracket">}</span>
@@ -2907,12 +2921,12 @@ has already been destroy within the callback.
2907
2921
  <span class="cbracket">{</span>
2908
2922
  <span class="normal"> </span><span class="usertype">SomeWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">self </span><span class="symbol">=</span><span class="normal"> data</span><span class="symbol">;</span>
2909
2923
  <span class="normal"> </span>
2910
- <span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Threads.html#GDK-THREADS-ENTER:CAPS">GDK_THREADS_ENTER</a></span><span class="normal"> </span><span class="symbol">();</span>
2924
+ <span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gdk/2.24/gdk3-Threads.html#GDK-THREADS-ENTER:CAPS">GDK_THREADS_ENTER</a></span><span class="normal"> </span><span class="symbol">();</span>
2911
2925
  <span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(!</span><span class="function"><a href="glib-The-Main-Event-Loop.html#g-source-is-destroyed">g_source_is_destroyed</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="glib-The-Main-Event-Loop.html#g-main-current-source">g_main_current_source</a></span><span class="normal"> </span><span class="symbol">()))</span>
2912
2926
  <span class="normal"> </span><span class="cbracket">{</span>
2913
2927
  <span class="normal"> </span><span class="comment">/* do stuff with self */</span>
2914
2928
  <span class="normal"> </span><span class="cbracket">}</span>
2915
- <span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Threads.html#GDK-THREADS-LEAVE:CAPS">GDK_THREADS_LEAVE</a></span><span class="normal"> </span><span class="symbol">();</span>
2929
+ <span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gdk/2.24/gdk3-Threads.html#GDK-THREADS-LEAVE:CAPS">GDK_THREADS_LEAVE</a></span><span class="normal"> </span><span class="symbol">();</span>
2916
2930
  <span class="normal"> </span>
2917
2931
  <span class="normal"> </span><span class="keyword">return</span><span class="normal"> <a href="glib-Standard-Macros.html#FALSE:CAPS">FALSE</a></span><span class="symbol">;</span>
2918
2932
  <span class="cbracket">}</span></pre></td>
@@ -2928,49 +2942,48 @@ has already been destroy within the callback.
2928
2942
  <tbody>
2929
2943
  <tr>
2930
2944
  <td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
2931
- <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a>
2945
+ <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a>
2932
2946
  </td>
2933
2947
  </tr>
2934
2948
  <tr>
2935
2949
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2936
- <td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the source has been destroyed
2937
-
2938
- </td>
2950
+ <td>
2951
+ <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the source has been destroyed</td>
2939
2952
  </tr>
2940
2953
  </tbody>
2941
2954
  </table></div>
2942
2955
  <p class="since">Since 2.12</p>
2943
2956
  </div>
2944
2957
  <hr>
2945
- <div class="refsect2" title="g_source_set_priority ()">
2958
+ <div class="refsect2">
2946
2959
  <a name="g-source-set-priority"></a><h3>g_source_set_priority ()</h3>
2947
- <pre class="programlisting"><span class="returnvalue">void</span> g_source_set_priority (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>,
2960
+ <pre class="programlisting"><span class="returnvalue">void</span> g_source_set_priority (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *source</code></em>,
2948
2961
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> priority</code></em>);</pre>
2949
2962
  <p>
2950
- Sets the priority of a source. While the main loop is being
2951
- run, a source will be dispatched if it is ready to be dispatched and no sources
2952
- at a higher (numerically smaller) priority are ready to be dispatched.
2963
+ Sets the priority of a source. While the main loop is being run, a
2964
+ source will be dispatched if it is ready to be dispatched and no
2965
+ sources at a higher (numerically smaller) priority are ready to be
2966
+ dispatched.
2953
2967
  </p>
2954
2968
  <div class="variablelist"><table border="0">
2955
2969
  <col align="left" valign="top">
2956
2970
  <tbody>
2957
2971
  <tr>
2958
2972
  <td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
2959
- <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a>
2973
+ <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a>
2960
2974
  </td>
2961
2975
  </tr>
2962
2976
  <tr>
2963
2977
  <td><p><span class="term"><em class="parameter"><code>priority</code></em> :</span></p></td>
2964
- <td>the new priority.
2965
- </td>
2978
+ <td>the new priority.</td>
2966
2979
  </tr>
2967
2980
  </tbody>
2968
2981
  </table></div>
2969
2982
  </div>
2970
2983
  <hr>
2971
- <div class="refsect2" title="g_source_get_priority ()">
2984
+ <div class="refsect2">
2972
2985
  <a name="g-source-get-priority"></a><h3>g_source_get_priority ()</h3>
2973
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_source_get_priority (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>);</pre>
2986
+ <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_source_get_priority (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *source</code></em>);</pre>
2974
2987
  <p>
2975
2988
  Gets the priority of a source.
2976
2989
  </p>
@@ -2979,21 +2992,20 @@ Gets the priority of a source.
2979
2992
  <tbody>
2980
2993
  <tr>
2981
2994
  <td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
2982
- <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a>
2995
+ <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a>
2983
2996
  </td>
2984
2997
  </tr>
2985
2998
  <tr>
2986
2999
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2987
- <td> the priority of the source
2988
- </td>
3000
+ <td>the priority of the source</td>
2989
3001
  </tr>
2990
3002
  </tbody>
2991
3003
  </table></div>
2992
3004
  </div>
2993
3005
  <hr>
2994
- <div class="refsect2" title="g_source_set_can_recurse ()">
3006
+ <div class="refsect2">
2995
3007
  <a name="g-source-set-can-recurse"></a><h3>g_source_set_can_recurse ()</h3>
2996
- <pre class="programlisting"><span class="returnvalue">void</span> g_source_set_can_recurse (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>,
3008
+ <pre class="programlisting"><span class="returnvalue">void</span> g_source_set_can_recurse (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *source</code></em>,
2997
3009
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> can_recurse</code></em>);</pre>
2998
3010
  <p>
2999
3011
  Sets whether a source can be called recursively. If <em class="parameter"><code>can_recurse</code></em> is
@@ -3006,21 +3018,20 @@ source is blocked until the dispatch function returns.
3006
3018
  <tbody>
3007
3019
  <tr>
3008
3020
  <td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
3009
- <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a>
3021
+ <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a>
3010
3022
  </td>
3011
3023
  </tr>
3012
3024
  <tr>
3013
3025
  <td><p><span class="term"><em class="parameter"><code>can_recurse</code></em> :</span></p></td>
3014
- <td>whether recursion is allowed for this source
3015
- </td>
3026
+ <td>whether recursion is allowed for this source</td>
3016
3027
  </tr>
3017
3028
  </tbody>
3018
3029
  </table></div>
3019
3030
  </div>
3020
3031
  <hr>
3021
- <div class="refsect2" title="g_source_get_can_recurse ()">
3032
+ <div class="refsect2">
3022
3033
  <a name="g-source-get-can-recurse"></a><h3>g_source_get_can_recurse ()</h3>
3023
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_source_get_can_recurse (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>);</pre>
3034
+ <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_source_get_can_recurse (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *source</code></em>);</pre>
3024
3035
  <p>
3025
3036
  Checks whether a source is allowed to be called recursively.
3026
3037
  see <a class="link" href="glib-The-Main-Event-Loop.html#g-source-set-can-recurse" title="g_source_set_can_recurse ()"><code class="function">g_source_set_can_recurse()</code></a>.
@@ -3030,21 +3041,20 @@ see <a class="link" href="glib-The-Main-Event-Loop.html#g-source-set-can-recurse
3030
3041
  <tbody>
3031
3042
  <tr>
3032
3043
  <td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
3033
- <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a>
3044
+ <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a>
3034
3045
  </td>
3035
3046
  </tr>
3036
3047
  <tr>
3037
3048
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
3038
- <td> whether recursion is allowed.
3039
- </td>
3049
+ <td>whether recursion is allowed.</td>
3040
3050
  </tr>
3041
3051
  </tbody>
3042
3052
  </table></div>
3043
3053
  </div>
3044
3054
  <hr>
3045
- <div class="refsect2" title="g_source_get_id ()">
3055
+ <div class="refsect2">
3046
3056
  <a name="g-source-get-id"></a><h3>g_source_get_id ()</h3>
3047
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_source_get_id (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>);</pre>
3057
+ <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_source_get_id (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *source</code></em>);</pre>
3048
3058
  <p>
3049
3059
  Returns the numeric ID for a particular source. The ID of a source
3050
3060
  is a positive integer which is unique within a particular main loop
@@ -3056,21 +3066,20 @@ mapping from ID to source is done by <a class="link" href="glib-The-Main-Event-L
3056
3066
  <tbody>
3057
3067
  <tr>
3058
3068
  <td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
3059
- <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a>
3069
+ <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a>
3060
3070
  </td>
3061
3071
  </tr>
3062
3072
  <tr>
3063
3073
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
3064
- <td> the ID (greater than 0) for the source
3065
- </td>
3074
+ <td>the ID (greater than 0) for the source</td>
3066
3075
  </tr>
3067
3076
  </tbody>
3068
3077
  </table></div>
3069
3078
  </div>
3070
3079
  <hr>
3071
- <div class="refsect2" title="g_source_get_name ()">
3080
+ <div class="refsect2">
3072
3081
  <a name="g-source-get-name"></a><h3>g_source_get_name ()</h3>
3073
- <pre class="programlisting">const <span class="returnvalue">char</span>* g_source_get_name (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>);</pre>
3082
+ <pre class="programlisting">const <span class="returnvalue">char</span> * g_source_get_name (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *source</code></em>);</pre>
3074
3083
  <p>
3075
3084
  Gets a name for the source, used in debugging and profiling.
3076
3085
  The name may be <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><span class="type">NULL</span></a> if it has never been set with
@@ -3081,22 +3090,21 @@ The name may be <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title
3081
3090
  <tbody>
3082
3091
  <tr>
3083
3092
  <td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
3084
- <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a>
3093
+ <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a>
3085
3094
  </td>
3086
3095
  </tr>
3087
3096
  <tr>
3088
3097
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
3089
- <td> the name of the source
3090
- </td>
3098
+ <td>the name of the source</td>
3091
3099
  </tr>
3092
3100
  </tbody>
3093
3101
  </table></div>
3094
3102
  <p class="since">Since 2.26</p>
3095
3103
  </div>
3096
3104
  <hr>
3097
- <div class="refsect2" title="g_source_set_name ()">
3105
+ <div class="refsect2">
3098
3106
  <a name="g-source-set-name"></a><h3>g_source_set_name ()</h3>
3099
- <pre class="programlisting"><span class="returnvalue">void</span> g_source_set_name (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>,
3107
+ <pre class="programlisting"><span class="returnvalue">void</span> g_source_set_name (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *source</code></em>,
3100
3108
  <em class="parameter"><code>const <span class="type">char</span> *name</code></em>);</pre>
3101
3109
  <p>
3102
3110
  Sets a name for the source, used in debugging and profiling.
@@ -3110,7 +3118,7 @@ or "GTK+ repaint idle handler" or whatever it is.
3110
3118
  <p>
3111
3119
  It is permitted to call this function multiple times, but is not
3112
3120
  recommended due to the potential performance impact. For example,
3113
- one could change the name in the "check" function of a <a class="link" href="glib-The-Main-Event-Loop.html#GSourceFuncs" title="GSourceFuncs"><span class="type">GSourceFuncs</span></a>
3121
+ one could change the name in the "check" function of a <a class="link" href="glib-The-Main-Event-Loop.html#GSourceFuncs" title="struct GSourceFuncs"><span class="type">GSourceFuncs</span></a>
3114
3122
  to include details like the event type in the source name.
3115
3123
  </p>
3116
3124
  <div class="variablelist"><table border="0">
@@ -3118,20 +3126,19 @@ to include details like the event type in the source name.
3118
3126
  <tbody>
3119
3127
  <tr>
3120
3128
  <td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
3121
- <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a>
3129
+ <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a>
3122
3130
  </td>
3123
3131
  </tr>
3124
3132
  <tr>
3125
3133
  <td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
3126
- <td>debug name for the source
3127
- </td>
3134
+ <td>debug name for the source</td>
3128
3135
  </tr>
3129
3136
  </tbody>
3130
3137
  </table></div>
3131
3138
  <p class="since">Since 2.26</p>
3132
3139
  </div>
3133
3140
  <hr>
3134
- <div class="refsect2" title="g_source_set_name_by_id ()">
3141
+ <div class="refsect2">
3135
3142
  <a name="g-source-set-name-by-id"></a><h3>g_source_set_name_by_id ()</h3>
3136
3143
  <pre class="programlisting"><span class="returnvalue">void</span> g_source_set_name_by_id (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> tag</code></em>,
3137
3144
  <em class="parameter"><code>const <span class="type">char</span> *name</code></em>);</pre>
@@ -3147,22 +3154,20 @@ value of <a class="link" href="glib-The-Main-Event-Loop.html#g-idle-add" title="
3147
3154
  <tbody>
3148
3155
  <tr>
3149
3156
  <td><p><span class="term"><em class="parameter"><code>tag</code></em> :</span></p></td>
3150
- <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> ID
3151
- </td>
3157
+ <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> ID</td>
3152
3158
  </tr>
3153
3159
  <tr>
3154
3160
  <td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
3155
- <td>debug name for the source
3156
- </td>
3161
+ <td>debug name for the source</td>
3157
3162
  </tr>
3158
3163
  </tbody>
3159
3164
  </table></div>
3160
3165
  <p class="since">Since 2.26</p>
3161
3166
  </div>
3162
3167
  <hr>
3163
- <div class="refsect2" title="g_source_get_context ()">
3168
+ <div class="refsect2">
3164
3169
  <a name="g-source-get-context"></a><h3>g_source_get_context ()</h3>
3165
- <pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="returnvalue">GMainContext</span></a> * g_source_get_context (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>);</pre>
3170
+ <pre class="programlisting"><a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="returnvalue">GMainContext</span></a> * g_source_get_context (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *source</code></em>);</pre>
3166
3171
  <p>
3167
3172
  Gets the <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> with which the source is associated.
3168
3173
  Calling this function on a destroyed source is an error.
@@ -3172,23 +3177,22 @@ Calling this function on a destroyed source is an error.
3172
3177
  <tbody>
3173
3178
  <tr>
3174
3179
  <td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
3175
- <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a>
3180
+ <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a>
3176
3181
  </td>
3177
3182
  </tr>
3178
3183
  <tr>
3179
3184
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
3180
- <td> the <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> with which the source is associated,
3181
- or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if the context has not yet been added
3182
- to a source.
3183
- </td>
3185
+ <td>the <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a> with which the source is associated,
3186
+ or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if the context has not yet been added
3187
+ to a source.</td>
3184
3188
  </tr>
3185
3189
  </tbody>
3186
3190
  </table></div>
3187
3191
  </div>
3188
3192
  <hr>
3189
- <div class="refsect2" title="g_source_set_callback ()">
3193
+ <div class="refsect2">
3190
3194
  <a name="g-source-set-callback"></a><h3>g_source_set_callback ()</h3>
3191
- <pre class="programlisting"><span class="returnvalue">void</span> g_source_set_callback (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>,
3195
+ <pre class="programlisting"><span class="returnvalue">void</span> g_source_set_callback (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *source</code></em>,
3192
3196
  <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSourceFunc" title="GSourceFunc ()"><span class="type">GSourceFunc</span></a> func</code></em>,
3193
3197
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>,
3194
3198
  <em class="parameter"><code><a class="link" href="glib-Datasets.html#GDestroyNotify" title="GDestroyNotify ()"><span class="type">GDestroyNotify</span></a> notify</code></em>);</pre>
@@ -3210,29 +3214,25 @@ to the type of source you are using.
3210
3214
  <tbody>
3211
3215
  <tr>
3212
3216
  <td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
3213
- <td>the source
3214
- </td>
3217
+ <td>the source</td>
3215
3218
  </tr>
3216
3219
  <tr>
3217
3220
  <td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
3218
- <td>a callback function
3219
- </td>
3221
+ <td>a callback function</td>
3220
3222
  </tr>
3221
3223
  <tr>
3222
3224
  <td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
3223
- <td>the data to pass to callback function
3224
- </td>
3225
+ <td>the data to pass to callback function</td>
3225
3226
  </tr>
3226
3227
  <tr>
3227
3228
  <td><p><span class="term"><em class="parameter"><code>notify</code></em> :</span></p></td>
3228
- <td>a function to call when <em class="parameter"><code>data</code></em> is no longer in use, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.
3229
- </td>
3229
+ <td>a function to call when <em class="parameter"><code>data</code></em> is no longer in use, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.</td>
3230
3230
  </tr>
3231
3231
  </tbody>
3232
3232
  </table></div>
3233
3233
  </div>
3234
3234
  <hr>
3235
- <div class="refsect2" title="GSourceFunc ()">
3235
+ <div class="refsect2">
3236
3236
  <a name="GSourceFunc"></a><h3>GSourceFunc ()</h3>
3237
3237
  <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> (*GSourceFunc) (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
3238
3238
  <p>
@@ -3245,23 +3245,21 @@ Specifies the type of function passed to <a class="link" href="glib-The-Main-Eve
3245
3245
  <tr>
3246
3246
  <td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
3247
3247
  <td>data passed to the function, set when the source was created with one
3248
- of the above functions.
3249
- </td>
3248
+ of the above functions.</td>
3250
3249
  </tr>
3251
3250
  <tr>
3252
3251
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
3253
- <td>it should return <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> if the source should be removed.
3254
- </td>
3252
+ <td>it should return <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> if the source should be removed.</td>
3255
3253
  </tr>
3256
3254
  </tbody>
3257
3255
  </table></div>
3258
3256
  </div>
3259
3257
  <hr>
3260
- <div class="refsect2" title="g_source_set_callback_indirect ()">
3258
+ <div class="refsect2">
3261
3259
  <a name="g-source-set-callback-indirect"></a><h3>g_source_set_callback_indirect ()</h3>
3262
- <pre class="programlisting"><span class="returnvalue">void</span> g_source_set_callback_indirect (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>,
3260
+ <pre class="programlisting"><span class="returnvalue">void</span> g_source_set_callback_indirect (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *source</code></em>,
3263
3261
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> callback_data</code></em>,
3264
- <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSourceCallbackFuncs" title="GSourceCallbackFuncs"><span class="type">GSourceCallbackFuncs</span></a> *callback_funcs</code></em>);</pre>
3262
+ <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSourceCallbackFuncs" title="struct GSourceCallbackFuncs"><span class="type">GSourceCallbackFuncs</span></a> *callback_funcs</code></em>);</pre>
3265
3263
  <p>
3266
3264
  Sets the callback function storing the data as a refcounted callback
3267
3265
  "object". This is used internally. Note that calling
@@ -3275,33 +3273,30 @@ than <em class="parameter"><code>callback_funcs-&gt;ref</code></em>.
3275
3273
  <tbody>
3276
3274
  <tr>
3277
3275
  <td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
3278
- <td>the source
3279
- </td>
3276
+ <td>the source</td>
3280
3277
  </tr>
3281
3278
  <tr>
3282
3279
  <td><p><span class="term"><em class="parameter"><code>callback_data</code></em> :</span></p></td>
3283
- <td>pointer to callback data "object"
3284
- </td>
3280
+ <td>pointer to callback data "object"</td>
3285
3281
  </tr>
3286
3282
  <tr>
3287
3283
  <td><p><span class="term"><em class="parameter"><code>callback_funcs</code></em> :</span></p></td>
3288
3284
  <td>functions for reference counting <em class="parameter"><code>callback_data</code></em>
3289
- and getting the callback and data
3290
- </td>
3285
+ and getting the callback and data</td>
3291
3286
  </tr>
3292
3287
  </tbody>
3293
3288
  </table></div>
3294
3289
  </div>
3295
3290
  <hr>
3296
- <div class="refsect2" title="g_source_add_poll ()">
3291
+ <div class="refsect2">
3297
3292
  <a name="g-source-add-poll"></a><h3>g_source_add_poll ()</h3>
3298
- <pre class="programlisting"><span class="returnvalue">void</span> g_source_add_poll (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>,
3299
- <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="GPollFD"><span class="type">GPollFD</span></a> *fd</code></em>);</pre>
3293
+ <pre class="programlisting"><span class="returnvalue">void</span> g_source_add_poll (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *source</code></em>,
3294
+ <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="struct GPollFD"><span class="type">GPollFD</span></a> *fd</code></em>);</pre>
3300
3295
  <p>
3301
3296
  Adds a file descriptor to the set of file descriptors polled for
3302
3297
  this source. This is usually combined with <a class="link" href="glib-The-Main-Event-Loop.html#g-source-new" title="g_source_new ()"><code class="function">g_source_new()</code></a> to add an
3303
3298
  event source. The event source's check function will typically test
3304
- the <em class="parameter"><code>revents</code></em> field in the <a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="GPollFD"><span class="type">GPollFD</span></a> struct and return <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if events need
3299
+ the <em class="parameter"><code>revents</code></em> field in the <a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="struct GPollFD"><span class="type">GPollFD</span></a> struct and return <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if events need
3305
3300
  to be processed.
3306
3301
  </p>
3307
3302
  <div class="variablelist"><table border="0">
@@ -3309,23 +3304,22 @@ to be processed.
3309
3304
  <tbody>
3310
3305
  <tr>
3311
3306
  <td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
3312
- <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a>
3307
+ <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a>
3313
3308
  </td>
3314
3309
  </tr>
3315
3310
  <tr>
3316
3311
  <td><p><span class="term"><em class="parameter"><code>fd</code></em> :</span></p></td>
3317
- <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="GPollFD"><span class="type">GPollFD</span></a> structure holding information about a file
3318
- descriptor to watch.
3319
- </td>
3312
+ <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="struct GPollFD"><span class="type">GPollFD</span></a> structure holding information about a file
3313
+ descriptor to watch.</td>
3320
3314
  </tr>
3321
3315
  </tbody>
3322
3316
  </table></div>
3323
3317
  </div>
3324
3318
  <hr>
3325
- <div class="refsect2" title="g_source_remove_poll ()">
3319
+ <div class="refsect2">
3326
3320
  <a name="g-source-remove-poll"></a><h3>g_source_remove_poll ()</h3>
3327
- <pre class="programlisting"><span class="returnvalue">void</span> g_source_remove_poll (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>,
3328
- <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="GPollFD"><span class="type">GPollFD</span></a> *fd</code></em>);</pre>
3321
+ <pre class="programlisting"><span class="returnvalue">void</span> g_source_remove_poll (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *source</code></em>,
3322
+ <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="struct GPollFD"><span class="type">GPollFD</span></a> *fd</code></em>);</pre>
3329
3323
  <p>
3330
3324
  Removes a file descriptor from the set of file descriptors polled for
3331
3325
  this source.
@@ -3335,22 +3329,119 @@ this source.
3335
3329
  <tbody>
3336
3330
  <tr>
3337
3331
  <td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
3338
- <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a>
3332
+ <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a>
3339
3333
  </td>
3340
3334
  </tr>
3341
3335
  <tr>
3342
3336
  <td><p><span class="term"><em class="parameter"><code>fd</code></em> :</span></p></td>
3343
- <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="GPollFD"><span class="type">GPollFD</span></a> structure previously passed to <a class="link" href="glib-The-Main-Event-Loop.html#g-source-add-poll" title="g_source_add_poll ()"><code class="function">g_source_add_poll()</code></a>.
3337
+ <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GPollFD" title="struct GPollFD"><span class="type">GPollFD</span></a> structure previously passed to <a class="link" href="glib-The-Main-Event-Loop.html#g-source-add-poll" title="g_source_add_poll ()"><code class="function">g_source_add_poll()</code></a>.</td>
3338
+ </tr>
3339
+ </tbody>
3340
+ </table></div>
3341
+ </div>
3342
+ <hr>
3343
+ <div class="refsect2">
3344
+ <a name="g-source-add-child-source"></a><h3>g_source_add_child_source ()</h3>
3345
+ <pre class="programlisting"><span class="returnvalue">void</span> g_source_add_child_source (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *source</code></em>,
3346
+ <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *child_source</code></em>);</pre>
3347
+ <p>
3348
+ Adds <em class="parameter"><code>child_source</code></em> to <em class="parameter"><code>source</code></em> as a "polled" source; when <em class="parameter"><code>source</code></em> is
3349
+ added to a <a class="link" href="glib-The-Main-Event-Loop.html#GMainContext" title="GMainContext"><span class="type">GMainContext</span></a>, <em class="parameter"><code>child_source</code></em> will be automatically added
3350
+ with the same priority, when <em class="parameter"><code>child_source</code></em> is triggered, it will
3351
+ cause <em class="parameter"><code>source</code></em> to dispatch (in addition to calling its own
3352
+ callback), and when <em class="parameter"><code>source</code></em> is destroyed, it will destroy
3353
+ <em class="parameter"><code>child_source</code></em> as well. (<em class="parameter"><code>source</code></em> will also still be dispatched if
3354
+ its own prepare/check functions indicate that it is ready.)
3355
+ </p>
3356
+ <p>
3357
+ If you don't need <em class="parameter"><code>child_source</code></em> to do anything on its own when it
3358
+ triggers, you can call <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Closures.html#g-source-set-dummy-callback"><code class="function">g_source_set_dummy_callback()</code></a> on it to set a
3359
+ callback that does nothing (except return <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if appropriate).
3360
+ </p>
3361
+ <p>
3362
+ <em class="parameter"><code>source</code></em> will hold a reference on <em class="parameter"><code>child_source</code></em> while <em class="parameter"><code>child_source</code></em>
3363
+ is attached to it.
3364
+ </p>
3365
+ <div class="variablelist"><table border="0">
3366
+ <col align="left" valign="top">
3367
+ <tbody>
3368
+ <tr>
3369
+ <td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
3370
+ <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a>
3344
3371
  </td>
3345
3372
  </tr>
3373
+ <tr>
3374
+ <td><p><span class="term"><em class="parameter"><code>child_source</code></em> :</span></p></td>
3375
+ <td>a second <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> that <em class="parameter"><code>source</code></em> should "poll"</td>
3376
+ </tr>
3346
3377
  </tbody>
3347
3378
  </table></div>
3379
+ <p class="since">Since 2.28</p>
3348
3380
  </div>
3349
3381
  <hr>
3350
- <div class="refsect2" title="g_source_get_current_time ()">
3382
+ <div class="refsect2">
3383
+ <a name="g-source-remove-child-source"></a><h3>g_source_remove_child_source ()</h3>
3384
+ <pre class="programlisting"><span class="returnvalue">void</span> g_source_remove_child_source (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *source</code></em>,
3385
+ <em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *child_source</code></em>);</pre>
3386
+ <p>
3387
+ Detaches <em class="parameter"><code>child_source</code></em> from <em class="parameter"><code>source</code></em> and destroys it.
3388
+ </p>
3389
+ <div class="variablelist"><table border="0">
3390
+ <col align="left" valign="top">
3391
+ <tbody>
3392
+ <tr>
3393
+ <td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
3394
+ <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a>
3395
+ </td>
3396
+ </tr>
3397
+ <tr>
3398
+ <td><p><span class="term"><em class="parameter"><code>child_source</code></em> :</span></p></td>
3399
+ <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> previously passed to
3400
+ <a class="link" href="glib-The-Main-Event-Loop.html#g-source-add-child-source" title="g_source_add_child_source ()"><code class="function">g_source_add_child_source()</code></a>.</td>
3401
+ </tr>
3402
+ </tbody>
3403
+ </table></div>
3404
+ <p class="since">Since 2.28</p>
3405
+ </div>
3406
+ <hr>
3407
+ <div class="refsect2">
3408
+ <a name="g-source-get-time"></a><h3>g_source_get_time ()</h3>
3409
+ <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="returnvalue">gint64</span></a> g_source_get_time (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *source</code></em>);</pre>
3410
+ <p>
3411
+ Gets the time to be used when checking this source. The advantage of
3412
+ calling this function over calling <a class="link" href="glib-Date-and-Time-Functions.html#g-get-monotonic-time" title="g_get_monotonic_time ()"><code class="function">g_get_monotonic_time()</code></a> directly is
3413
+ that when checking multiple sources, GLib can cache a single value
3414
+ instead of having to repeatedly get the system monotonic time.
3415
+ </p>
3416
+ <p>
3417
+ The time here is the system monotonic time, if available, or some
3418
+ other reasonable alternative otherwise. See <a class="link" href="glib-Date-and-Time-Functions.html#g-get-monotonic-time" title="g_get_monotonic_time ()"><code class="function">g_get_monotonic_time()</code></a>.
3419
+ </p>
3420
+ <div class="variablelist"><table border="0">
3421
+ <col align="left" valign="top">
3422
+ <tbody>
3423
+ <tr>
3424
+ <td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
3425
+ <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a>
3426
+ </td>
3427
+ </tr>
3428
+ <tr>
3429
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
3430
+ <td>the monotonic time in microseconds</td>
3431
+ </tr>
3432
+ </tbody>
3433
+ </table></div>
3434
+ <p class="since">Since 2.28</p>
3435
+ </div>
3436
+ <hr>
3437
+ <div class="refsect2">
3351
3438
  <a name="g-source-get-current-time"></a><h3>g_source_get_current_time ()</h3>
3352
- <pre class="programlisting"><span class="returnvalue">void</span> g_source_get_current_time (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> *source</code></em>,
3353
- <em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="GTimeVal"><span class="type">GTimeVal</span></a> *timeval</code></em>);</pre>
3439
+ <pre class="programlisting"><span class="returnvalue">void</span> g_source_get_current_time (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> *source</code></em>,
3440
+ <em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="struct GTimeVal"><span class="type">GTimeVal</span></a> *timeval</code></em>);</pre>
3441
+ <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
3442
+ <h3 class="title">Warning</h3>
3443
+ <p><code class="literal">g_source_get_current_time</code> has been deprecated since version 2.28 and should not be used in newly-written code. use <a class="link" href="glib-The-Main-Event-Loop.html#g-source-get-time" title="g_source_get_time ()"><code class="function">g_source_get_time()</code></a> instead</p>
3444
+ </div>
3354
3445
  <p>
3355
3446
  Gets the "current time" to be used when checking
3356
3447
  this source. The advantage of calling this function over
@@ -3363,26 +3454,25 @@ instead of having to repeatedly get the system time.
3363
3454
  <tbody>
3364
3455
  <tr>
3365
3456
  <td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
3366
- <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a>
3457
+ <td>a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a>
3367
3458
  </td>
3368
3459
  </tr>
3369
3460
  <tr>
3370
3461
  <td><p><span class="term"><em class="parameter"><code>timeval</code></em> :</span></p></td>
3371
3462
  <td>
3372
- <a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="GTimeVal"><span class="type">GTimeVal</span></a> structure in which to store current time.
3373
- </td>
3463
+ <a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="struct GTimeVal"><span class="type">GTimeVal</span></a> structure in which to store current time.</td>
3374
3464
  </tr>
3375
3465
  </tbody>
3376
3466
  </table></div>
3377
3467
  </div>
3378
3468
  <hr>
3379
- <div class="refsect2" title="g_source_remove ()">
3469
+ <div class="refsect2">
3380
3470
  <a name="g-source-remove"></a><h3>g_source_remove ()</h3>
3381
3471
  <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_source_remove (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> tag</code></em>);</pre>
3382
3472
  <p>
3383
3473
  Removes the source with the given id from the default main context.
3384
3474
  The id of
3385
- a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="GSource"><span class="type">GSource</span></a> is given by <a class="link" href="glib-The-Main-Event-Loop.html#g-source-get-id" title="g_source_get_id ()"><code class="function">g_source_get_id()</code></a>, or will be returned by the
3475
+ a <a class="link" href="glib-The-Main-Event-Loop.html#GSource" title="struct GSource"><span class="type">GSource</span></a> is given by <a class="link" href="glib-The-Main-Event-Loop.html#g-source-get-id" title="g_source_get_id ()"><code class="function">g_source_get_id()</code></a>, or will be returned by the
3386
3476
  functions <a class="link" href="glib-The-Main-Event-Loop.html#g-source-attach" title="g_source_attach ()"><code class="function">g_source_attach()</code></a>, <a class="link" href="glib-The-Main-Event-Loop.html#g-idle-add" title="g_idle_add ()"><code class="function">g_idle_add()</code></a>, <a class="link" href="glib-The-Main-Event-Loop.html#g-idle-add-full" title="g_idle_add_full ()"><code class="function">g_idle_add_full()</code></a>,
3387
3477
  <a class="link" href="glib-The-Main-Event-Loop.html#g-timeout-add" title="g_timeout_add ()"><code class="function">g_timeout_add()</code></a>, <a class="link" href="glib-The-Main-Event-Loop.html#g-timeout-add-full" title="g_timeout_add_full ()"><code class="function">g_timeout_add_full()</code></a>, <a class="link" href="glib-The-Main-Event-Loop.html#g-child-watch-add" title="g_child_watch_add ()"><code class="function">g_child_watch_add()</code></a>,
3388
3478
  <a class="link" href="glib-The-Main-Event-Loop.html#g-child-watch-add-full" title="g_child_watch_add_full ()"><code class="function">g_child_watch_add_full()</code></a>, <a class="link" href="glib-IO-Channels.html#g-io-add-watch" title="g_io_add_watch ()"><code class="function">g_io_add_watch()</code></a>, and <a class="link" href="glib-IO-Channels.html#g-io-add-watch-full" title="g_io_add_watch_full ()"><code class="function">g_io_add_watch_full()</code></a>.
@@ -3396,21 +3486,20 @@ added to a non-default main context.
3396
3486
  <tbody>
3397
3487
  <tr>
3398
3488
  <td><p><span class="term"><em class="parameter"><code>tag</code></em> :</span></p></td>
3399
- <td>the ID of the source to remove.
3400
- </td>
3489
+ <td>the ID of the source to remove.</td>
3401
3490
  </tr>
3402
3491
  <tr>
3403
3492
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
3404
- <td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the source was found and removed.
3405
- </td>
3493
+ <td>
3494
+ <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the source was found and removed.</td>
3406
3495
  </tr>
3407
3496
  </tbody>
3408
3497
  </table></div>
3409
3498
  </div>
3410
3499
  <hr>
3411
- <div class="refsect2" title="g_source_remove_by_funcs_user_data ()">
3500
+ <div class="refsect2">
3412
3501
  <a name="g-source-remove-by-funcs-user-data"></a><h3>g_source_remove_by_funcs_user_data ()</h3>
3413
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_source_remove_by_funcs_user_data (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSourceFuncs" title="GSourceFuncs"><span class="type">GSourceFuncs</span></a> *funcs</code></em>,
3502
+ <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_source_remove_by_funcs_user_data (<em class="parameter"><code><a class="link" href="glib-The-Main-Event-Loop.html#GSourceFuncs" title="struct GSourceFuncs"><span class="type">GSourceFuncs</span></a> *funcs</code></em>,
3414
3503
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
3415
3504
  <p>
3416
3505
  Removes a source from the default main loop context given the
@@ -3427,19 +3516,18 @@ same source functions and user data, only one will be destroyed.
3427
3516
  </tr>
3428
3517
  <tr>
3429
3518
  <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
3430
- <td>the user data for the callback
3431
- </td>
3519
+ <td>the user data for the callback</td>
3432
3520
  </tr>
3433
3521
  <tr>
3434
3522
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
3435
- <td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if a source was found and removed.
3436
- </td>
3523
+ <td>
3524
+ <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if a source was found and removed.</td>
3437
3525
  </tr>
3438
3526
  </tbody>
3439
3527
  </table></div>
3440
3528
  </div>
3441
3529
  <hr>
3442
- <div class="refsect2" title="g_source_remove_by_user_data ()">
3530
+ <div class="refsect2">
3443
3531
  <a name="g-source-remove-by-user-data"></a><h3>g_source_remove_by_user_data ()</h3>
3444
3532
  <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_source_remove_by_user_data (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
3445
3533
  <p>
@@ -3452,13 +3540,12 @@ data, only one will be destroyed.
3452
3540
  <tbody>
3453
3541
  <tr>
3454
3542
  <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
3455
- <td>the user_data for the callback.
3456
- </td>
3543
+ <td>the user_data for the callback.</td>
3457
3544
  </tr>
3458
3545
  <tr>
3459
3546
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
3460
- <td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if a source was found and removed.
3461
- </td>
3547
+ <td>
3548
+ <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if a source was found and removed.</td>
3462
3549
  </tr>
3463
3550
  </tbody>
3464
3551
  </table></div>
@@ -3467,6 +3554,6 @@ data, only one will be destroyed.
3467
3554
  </div>
3468
3555
  <div class="footer">
3469
3556
  <hr>
3470
- Generated by GTK-Doc V1.15</div>
3557
+ Generated by GTK-Doc V1.16.1</div>
3471
3558
  </body>
3472
3559
  </html>