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-utilities.html" title="GLib Utilities">
9
9
  <link rel="prev" href="glib-Hook-Functions.html" title="Hook Functions">
10
10
  <link rel="next" href="glib-Lexical-Scanner.html" title="Lexical Scanner">
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-Miscellaneous-Utility-Functions.description" class="shortcut">Description</a>
27
27
  </td></tr>
28
28
  </table>
29
- <div class="refentry" title="Miscellaneous Utility Functions">
29
+ <div class="refentry">
30
30
  <a name="glib-Miscellaneous-Utility-Functions"></a><div class="titlepage"></div>
31
31
  <div class="refnamediv"><table width="100%"><tr>
32
32
  <td valign="top">
@@ -35,42 +35,42 @@
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-Miscellaneous-Utility-Functions.synopsis"></a><h2>Synopsis</h2>
40
40
  <pre class="synopsis">
41
41
  #include &lt;glib.h&gt;
42
42
 
43
- const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-application-name" title="g_get_application_name ()">g_get_application_name</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
43
+ const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-application-name" title="g_get_application_name ()">g_get_application_name</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
44
44
  <span class="returnvalue">void</span> <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-set-application-name" title="g_set_application_name ()">g_set_application_name</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *application_name</code></em>);
45
- <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-prgname" title="g_get_prgname ()">g_get_prgname</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
45
+ <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-prgname" title="g_get_prgname ()">g_get_prgname</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
46
46
  <span class="returnvalue">void</span> <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-set-prgname" title="g_set_prgname ()">g_set_prgname</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *prgname</code></em>);
47
- const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-getenv" title="g_getenv ()">g_getenv</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *variable</code></em>);
48
- <a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-setenv" title="g_setenv ()">g_setenv</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *variable</code></em>,
49
- <em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *value</code></em>,
50
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> overwrite</code></em>);
51
- <span class="returnvalue">void</span> <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-unsetenv" title="g_unsetenv ()">g_unsetenv</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *variable</code></em>);
52
- <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>** <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-listenv" title="g_listenv ()">g_listenv</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
53
- const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-user-name" title="g_get_user_name ()">g_get_user_name</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
54
- const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-real-name" title="g_get_real_name ()">g_get_real_name</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
55
- const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-user-cache-dir" title="g_get_user_cache_dir ()">g_get_user_cache_dir</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
56
- const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-user-data-dir" title="g_get_user_data_dir ()">g_get_user_data_dir</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
57
- const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-user-config-dir" title="g_get_user_config_dir ()">g_get_user_config_dir</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
47
+ <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-environ" title="g_get_environ ()">g_get_environ</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
48
+ #define <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-getenv" title="g_getenv">g_getenv</a>
49
+ #define <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-setenv" title="g_setenv">g_setenv</a>
50
+ #define <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-unsetenv" title="g_unsetenv">g_unsetenv</a>
51
+ <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-listenv" title="g_listenv ()">g_listenv</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
52
+ #define <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-user-name" title="g_get_user_name">g_get_user_name</a>
53
+ #define <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-real-name" title="g_get_real_name">g_get_real_name</a>
54
+ const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-user-cache-dir" title="g_get_user_cache_dir ()">g_get_user_cache_dir</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
55
+ const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-user-data-dir" title="g_get_user_data_dir ()">g_get_user_data_dir</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
56
+ const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-user-config-dir" title="g_get_user_config_dir ()">g_get_user_config_dir</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
57
+ const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-user-runtime-dir" title="g_get_user_runtime_dir ()">g_get_user_runtime_dir</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
58
58
  enum <a class="link" href="glib-Miscellaneous-Utility-Functions.html#GUserDirectory" title="enum GUserDirectory">GUserDirectory</a>;
59
- const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-user-special-dir" title="g_get_user_special_dir ()">g_get_user_special_dir</a> (<em class="parameter"><code><a class="link" href="glib-Miscellaneous-Utility-Functions.html#GUserDirectory" title="enum GUserDirectory"><span class="type">GUserDirectory</span></a> directory</code></em>);
60
- const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* const * <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-system-data-dirs" title="g_get_system_data_dirs ()">g_get_system_data_dirs</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
61
- const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* const * <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-system-config-dirs" title="g_get_system_config_dirs ()">g_get_system_config_dirs</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
59
+ const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-user-special-dir" title="g_get_user_special_dir ()">g_get_user_special_dir</a> (<em class="parameter"><code><a class="link" href="glib-Miscellaneous-Utility-Functions.html#GUserDirectory" title="enum GUserDirectory"><span class="type">GUserDirectory</span></a> directory</code></em>);
60
+ const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * const * <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-system-data-dirs" title="g_get_system_data_dirs ()">g_get_system_data_dirs</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
61
+ const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * const * <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-system-config-dirs" title="g_get_system_config_dirs ()">g_get_system_config_dirs</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
62
62
  <span class="returnvalue">void</span> <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-reload-user-special-dirs-cache" title="g_reload_user_special_dirs_cache ()">g_reload_user_special_dirs_cache</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
63
63
 
64
- const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-host-name" title="g_get_host_name ()">g_get_host_name</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
65
- const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-home-dir" title="g_get_home_dir ()">g_get_home_dir</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
66
- const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-tmp-dir" title="g_get_tmp_dir ()">g_get_tmp_dir</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
67
- <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-current-dir" title="g_get_current_dir ()">g_get_current_dir</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
68
- const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-basename" title="g_basename ()">g_basename</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *file_name</code></em>);
64
+ const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-host-name" title="g_get_host_name ()">g_get_host_name</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
65
+ #define <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-home-dir" title="g_get_home_dir">g_get_home_dir</a>
66
+ #define <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-tmp-dir" title="g_get_tmp_dir">g_get_tmp_dir</a>
67
+ #define <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-current-dir" title="g_get_current_dir">g_get_current_dir</a>
68
+ const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-basename" title="g_basename ()">g_basename</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *file_name</code></em>);
69
69
  #define <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-dirname" title="g_dirname">g_dirname</a>
70
70
  <a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-path-is-absolute" title="g_path_is_absolute ()">g_path_is_absolute</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *file_name</code></em>);
71
- const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-path-skip-root" title="g_path_skip_root ()">g_path_skip_root</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *file_name</code></em>);
72
- <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-path-get-basename" title="g_path_get_basename ()">g_path_get_basename</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *file_name</code></em>);
73
- <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-path-get-dirname" title="g_path_get_dirname ()">g_path_get_dirname</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *file_name</code></em>);
71
+ const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-path-skip-root" title="g_path_skip_root ()">g_path_skip_root</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *file_name</code></em>);
72
+ <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-path-get-basename" title="g_path_get_basename ()">g_path_get_basename</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *file_name</code></em>);
73
+ <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-path-get-dirname" title="g_path_get_dirname ()">g_path_get_dirname</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *file_name</code></em>);
74
74
  <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-build-filename" title="g_build_filename ()">g_build_filename</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *first_element</code></em>,
75
75
  <em class="parameter"><code>...</code></em>);
76
76
  <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-build-filenamev" title="g_build_filenamev ()">g_build_filenamev</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **args</code></em>);
@@ -81,7 +81,7 @@ const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span cla
81
81
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **args</code></em>);
82
82
  <span class="returnvalue">char</span> * <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-format-size-for-display" title="g_format_size_for_display ()">g_format_size_for_display</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#goffset" title="goffset"><span class="type">goffset</span></a> size</code></em>);
83
83
 
84
- <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-find-program-in-path" title="g_find_program_in_path ()">g_find_program_in_path</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *program</code></em>);
84
+ #define <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-find-program-in-path" title="g_find_program_in_path">g_find_program_in_path</a>
85
85
 
86
86
  <a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-bit-nth-lsf" title="g_bit_nth_lsf ()">g_bit_nth_lsf</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gulong" title="gulong"><span class="type">gulong</span></a> mask</code></em>,
87
87
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> nth_bit</code></em>);
@@ -94,9 +94,9 @@ const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span cla
94
94
  <span class="returnvalue">void</span> <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-atexit" title="g_atexit ()">g_atexit</a> (<em class="parameter"><code><a class="link" href="glib-Miscellaneous-Utility-Functions.html#GVoidFunc" title="GVoidFunc ()"><span class="type">GVoidFunc</span></a> func</code></em>);
95
95
 
96
96
  <a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-parse-debug-string" title="g_parse_debug_string ()">g_parse_debug_string</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>,
97
- <em class="parameter"><code>const <a class="link" href="glib-Miscellaneous-Utility-Functions.html#GDebugKey" title="GDebugKey"><span class="type">GDebugKey</span></a> *keys</code></em>,
97
+ <em class="parameter"><code>const <a class="link" href="glib-Miscellaneous-Utility-Functions.html#GDebugKey" title="struct GDebugKey"><span class="type">GDebugKey</span></a> *keys</code></em>,
98
98
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> nkeys</code></em>);
99
- <a class="link" href="glib-Miscellaneous-Utility-Functions.html#GDebugKey" title="GDebugKey">GDebugKey</a>;
99
+ struct <a class="link" href="glib-Miscellaneous-Utility-Functions.html#GDebugKey" title="struct GDebugKey">GDebugKey</a>;
100
100
 
101
101
  <span class="returnvalue">void</span> (<a class="link" href="glib-Miscellaneous-Utility-Functions.html#GVoidFunc" title="GVoidFunc ()">*GVoidFunc</a>) (<em class="parameter"><code><span class="type">void</span></code></em>);
102
102
  <span class="returnvalue">void</span> (<a class="link" href="glib-Miscellaneous-Utility-Functions.html#GFreeFunc" title="GFreeFunc ()">*GFreeFunc</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>);
@@ -110,17 +110,17 @@ const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span cla
110
110
  <span class="returnvalue">void</span> <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-nullify-pointer" title="g_nullify_pointer ()">g_nullify_pointer</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> *nullify_location</code></em>);
111
111
  </pre>
112
112
  </div>
113
- <div class="refsect1" title="Description">
113
+ <div class="refsect1">
114
114
  <a name="glib-Miscellaneous-Utility-Functions.description"></a><h2>Description</h2>
115
115
  <p>
116
116
  These are portable utility functions.
117
117
  </p>
118
118
  </div>
119
- <div class="refsect1" title="Details">
119
+ <div class="refsect1">
120
120
  <a name="glib-Miscellaneous-Utility-Functions.details"></a><h2>Details</h2>
121
- <div class="refsect2" title="g_get_application_name ()">
121
+ <div class="refsect2">
122
122
  <a name="g-get-application-name"></a><h3>g_get_application_name ()</h3>
123
- <pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* g_get_application_name (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
123
+ <pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_get_application_name (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
124
124
  <p>
125
125
  Gets a human-readable name for the application, as set by
126
126
  <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-set-application-name" title="g_set_application_name ()"><code class="function">g_set_application_name()</code></a>. This name should be localized if
@@ -134,22 +134,21 @@ been called).
134
134
  <col align="left" valign="top">
135
135
  <tbody><tr>
136
136
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
137
- <td> human-readable application name. may return <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
138
-
137
+ <td>human-readable application name. may return <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
139
138
  </td>
140
139
  </tr></tbody>
141
140
  </table></div>
142
141
  <p class="since">Since 2.2</p>
143
142
  </div>
144
143
  <hr>
145
- <div class="refsect2" title="g_set_application_name ()">
144
+ <div class="refsect2">
146
145
  <a name="g-set-application-name"></a><h3>g_set_application_name ()</h3>
147
146
  <pre class="programlisting"><span class="returnvalue">void</span> g_set_application_name (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *application_name</code></em>);</pre>
148
147
  <p>
149
148
  Sets a human-readable name for the application. This name should be
150
149
  localized if possible, and is intended for display to the user.
151
150
  Contrast with <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-set-prgname" title="g_set_prgname ()"><code class="function">g_set_prgname()</code></a>, which sets a non-localized name.
152
- <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-set-prgname" title="g_set_prgname ()"><code class="function">g_set_prgname()</code></a> will be called automatically by <a href="http://library.gnome.org/devel/gtk/unstable/gtk3-General.html#gtk-init"><code class="function">gtk_init()</code></a>,
151
+ <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-set-prgname" title="g_set_prgname ()"><code class="function">g_set_prgname()</code></a> will be called automatically by <a href="http://library.gnome.org/devel/gtk/2.24/gtk3-General.html#gtk-init"><code class="function">gtk_init()</code></a>,
153
152
  but <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-set-application-name" title="g_set_application_name ()"><code class="function">g_set_application_name()</code></a> will not.
154
153
  </p>
155
154
  <p>
@@ -164,35 +163,33 @@ or when displaying an application's name in the task list.
164
163
  <col align="left" valign="top">
165
164
  <tbody><tr>
166
165
  <td><p><span class="term"><em class="parameter"><code>application_name</code></em> :</span></p></td>
167
- <td>localized name of the application
168
- </td>
166
+ <td>localized name of the application</td>
169
167
  </tr></tbody>
170
168
  </table></div>
171
169
  <p class="since">Since 2.2</p>
172
170
  </div>
173
171
  <hr>
174
- <div class="refsect2" title="g_get_prgname ()">
172
+ <div class="refsect2">
175
173
  <a name="g-get-prgname"></a><h3>g_get_prgname ()</h3>
176
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* g_get_prgname (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
174
+ <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_get_prgname (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
177
175
  <p>
178
176
  Gets the name of the program. This name should <span class="emphasis"><em>not</em></span>
179
177
  be localized, contrast with <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-application-name" title="g_get_application_name ()"><code class="function">g_get_application_name()</code></a>.
180
- (If you are using GDK or GTK+ the program name is set in <a href="http://library.gnome.org/devel/gdk/unstable/gdk-General.html#gdk-init"><code class="function">gdk_init()</code></a>,
181
- which is called by <a href="http://library.gnome.org/devel/gtk/unstable/gtk3-General.html#gtk-init"><code class="function">gtk_init()</code></a>. The program name is found by taking
178
+ (If you are using GDK or GTK+ the program name is set in <a href="http://library.gnome.org/devel/gdk/2.24/gdk3-General.html#gdk-init"><code class="function">gdk_init()</code></a>,
179
+ which is called by <a href="http://library.gnome.org/devel/gtk/2.24/gtk3-General.html#gtk-init"><code class="function">gtk_init()</code></a>. The program name is found by taking
182
180
  the last component of <code class="literal">argv[0]</code>.)
183
181
  </p>
184
182
  <div class="variablelist"><table border="0">
185
183
  <col align="left" valign="top">
186
184
  <tbody><tr>
187
185
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
188
- <td> the name of the program. The returned string belongs
189
- to GLib and must not be modified or freed.
190
- </td>
186
+ <td>the name of the program. The returned string belongs
187
+ to GLib and must not be modified or freed.</td>
191
188
  </tr></tbody>
192
189
  </table></div>
193
190
  </div>
194
191
  <hr>
195
- <div class="refsect2" title="g_set_prgname ()">
192
+ <div class="refsect2">
196
193
  <a name="g-set-prgname"></a><h3>g_set_prgname ()</h3>
197
194
  <pre class="programlisting"><span class="returnvalue">void</span> g_set_prgname (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *prgname</code></em>);</pre>
198
195
  <p>
@@ -204,15 +201,40 @@ thread-safety reasons this function can only be called once.
204
201
  <col align="left" valign="top">
205
202
  <tbody><tr>
206
203
  <td><p><span class="term"><em class="parameter"><code>prgname</code></em> :</span></p></td>
207
- <td>the name of the program.
208
- </td>
204
+ <td>the name of the program.</td>
209
205
  </tr></tbody>
210
206
  </table></div>
211
207
  </div>
212
208
  <hr>
213
- <div class="refsect2" title="g_getenv ()">
214
- <a name="g-getenv"></a><h3>g_getenv ()</h3>
215
- <pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* g_getenv (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *variable</code></em>);</pre>
209
+ <div class="refsect2">
210
+ <a name="g-get-environ"></a><h3>g_get_environ ()</h3>
211
+ <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** g_get_environ (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
212
+ <p>
213
+ Gets the list of environment variables for the current process. The
214
+ list is <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> terminated and each item in the list is of the form
215
+ 'NAME=VALUE'.
216
+ </p>
217
+ <p>
218
+ This is equivalent to direct access to the 'environ' global variable,
219
+ except portable.
220
+ </p>
221
+ <p>
222
+ The return value is freshly allocated and it should be freed with
223
+ <a class="link" href="glib-String-Utility-Functions.html#g-strfreev" title="g_strfreev ()"><code class="function">g_strfreev()</code></a> when it is no longer needed.
224
+ </p>
225
+ <div class="variablelist"><table border="0">
226
+ <col align="left" valign="top">
227
+ <tbody><tr>
228
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
229
+ <td>the list of environment variables</td>
230
+ </tr></tbody>
231
+ </table></div>
232
+ <p class="since">Since 2.28</p>
233
+ </div>
234
+ <hr>
235
+ <div class="refsect2">
236
+ <a name="g-getenv"></a><h3>g_getenv</h3>
237
+ <pre class="programlisting">#define g_getenv</pre>
216
238
  <p>
217
239
  Returns the value of an environment variable. The name and value
218
240
  are in the GLib file name encoding. On UNIX, this means the actual
@@ -223,29 +245,19 @@ environment variables, they are expanded.
223
245
  </p>
224
246
  <div class="variablelist"><table border="0">
225
247
  <col align="left" valign="top">
226
- <tbody>
227
- <tr>
228
- <td><p><span class="term"><em class="parameter"><code>variable</code></em> :</span></p></td>
229
- <td>the environment variable to get, in the GLib file name encoding.
230
- </td>
231
- </tr>
232
- <tr>
248
+ <tbody><tr>
233
249
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
234
- <td> the value of the environment variable, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if
250
+ <td>the value of the environment variable, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if
235
251
  the environment variable is not found. The returned string may be
236
- overwritten by the next call to <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-getenv" title="g_getenv ()"><code class="function">g_getenv()</code></a>, <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-setenv" title="g_setenv ()"><code class="function">g_setenv()</code></a> or
237
- <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-unsetenv" title="g_unsetenv ()"><code class="function">g_unsetenv()</code></a>.
238
- </td>
239
- </tr>
240
- </tbody>
252
+ overwritten by the next call to <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-getenv" title="g_getenv"><code class="function">g_getenv()</code></a>, <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-setenv" title="g_setenv"><code class="function">g_setenv()</code></a> or
253
+ <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-unsetenv" title="g_unsetenv"><code class="function">g_unsetenv()</code></a>.</td>
254
+ </tr></tbody>
241
255
  </table></div>
242
256
  </div>
243
257
  <hr>
244
- <div class="refsect2" title="g_setenv ()">
245
- <a name="g-setenv"></a><h3>g_setenv ()</h3>
246
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_setenv (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *variable</code></em>,
247
- <em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *value</code></em>,
248
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> overwrite</code></em>);</pre>
258
+ <div class="refsect2">
259
+ <a name="g-setenv"></a><h3>g_setenv</h3>
260
+ <pre class="programlisting">#define g_setenv</pre>
249
261
  <p>
250
262
  Sets an environment variable. Both the variable's name and value
251
263
  should be in the GLib file name encoding. On UNIX, this means that
@@ -258,36 +270,18 @@ used for the previous variables and its value isn't reclaimed.
258
270
  </p>
259
271
  <div class="variablelist"><table border="0">
260
272
  <col align="left" valign="top">
261
- <tbody>
262
- <tr>
263
- <td><p><span class="term"><em class="parameter"><code>variable</code></em> :</span></p></td>
264
- <td>the environment variable to set, must not contain '='.
265
- </td>
266
- </tr>
267
- <tr>
268
- <td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
269
- <td>the value for to set the variable to.
270
- </td>
271
- </tr>
272
- <tr>
273
- <td><p><span class="term"><em class="parameter"><code>overwrite</code></em> :</span></p></td>
274
- <td>whether to change the variable if it already exists.
275
- </td>
276
- </tr>
277
- <tr>
273
+ <tbody><tr>
278
274
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
279
- <td> <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> if the environment variable couldn't be set.
280
-
281
- </td>
282
- </tr>
283
- </tbody>
275
+ <td>
276
+ <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> if the environment variable couldn't be set.</td>
277
+ </tr></tbody>
284
278
  </table></div>
285
279
  <p class="since">Since 2.4</p>
286
280
  </div>
287
281
  <hr>
288
- <div class="refsect2" title="g_unsetenv ()">
289
- <a name="g-unsetenv"></a><h3>g_unsetenv ()</h3>
290
- <pre class="programlisting"><span class="returnvalue">void</span> g_unsetenv (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *variable</code></em>);</pre>
282
+ <div class="refsect2">
283
+ <a name="g-unsetenv"></a><h3>g_unsetenv</h3>
284
+ <pre class="programlisting">#define g_unsetenv</pre>
291
285
  <p>
292
286
  Removes an environment variable from the environment.
293
287
  </p>
@@ -301,16 +295,15 @@ threadsafe way.
301
295
  <col align="left" valign="top">
302
296
  <tbody><tr>
303
297
  <td><p><span class="term"><em class="parameter"><code>variable</code></em> :</span></p></td>
304
- <td>the environment variable to remove, must not contain '='.
305
- </td>
298
+ <td>the environment variable to remove, must not contain '='.</td>
306
299
  </tr></tbody>
307
300
  </table></div>
308
301
  <p class="since">Since 2.4</p>
309
302
  </div>
310
303
  <hr>
311
- <div class="refsect2" title="g_listenv ()">
304
+ <div class="refsect2">
312
305
  <a name="g-listenv"></a><h3>g_listenv ()</h3>
313
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>** g_listenv (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
306
+ <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** g_listenv (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
314
307
  <p>
315
308
  Gets the names of all variables set in the environment.
316
309
  </p>
@@ -318,25 +311,22 @@ Gets the names of all variables set in the environment.
318
311
  <col align="left" valign="top">
319
312
  <tbody><tr>
320
313
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
321
- <td> a <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated list of strings which must be freed
314
+ <td>a <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated list of strings which must be freed
322
315
  with <a class="link" href="glib-String-Utility-Functions.html#g-strfreev" title="g_strfreev ()"><code class="function">g_strfreev()</code></a>.
323
-
324
316
  Programs that want to be portable to Windows should typically use
325
- this function and <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-getenv" title="g_getenv ()"><code class="function">g_getenv()</code></a> instead of using the environ array
317
+ this function and <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-getenv" title="g_getenv"><code class="function">g_getenv()</code></a> instead of using the environ array
326
318
  from the C library directly. On Windows, the strings in the environ
327
319
  array are in system codepage encoding, while in most of the typical
328
320
  use cases for environment variables in GLib-using programs you want
329
- the UTF-8 encoding that this function and <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-getenv" title="g_getenv ()"><code class="function">g_getenv()</code></a> provide.
330
-
331
- </td>
321
+ the UTF-8 encoding that this function and <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-getenv" title="g_getenv"><code class="function">g_getenv()</code></a> provide.</td>
332
322
  </tr></tbody>
333
323
  </table></div>
334
324
  <p class="since">Since 2.8</p>
335
325
  </div>
336
326
  <hr>
337
- <div class="refsect2" title="g_get_user_name ()">
338
- <a name="g-get-user-name"></a><h3>g_get_user_name ()</h3>
339
- <pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* g_get_user_name (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
327
+ <div class="refsect2">
328
+ <a name="g-get-user-name"></a><h3>g_get_user_name</h3>
329
+ <pre class="programlisting">#define g_get_user_name</pre>
340
330
  <p>
341
331
  Gets the user name of the current user. The encoding of the returned
342
332
  string is system-defined. On UNIX, it might be the preferred file name
@@ -347,15 +337,14 @@ consistent on a machine. On Windows, it is always UTF-8.
347
337
  <col align="left" valign="top">
348
338
  <tbody><tr>
349
339
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
350
- <td> the user name of the current user.
351
- </td>
340
+ <td>the user name of the current user.</td>
352
341
  </tr></tbody>
353
342
  </table></div>
354
343
  </div>
355
344
  <hr>
356
- <div class="refsect2" title="g_get_real_name ()">
357
- <a name="g-get-real-name"></a><h3>g_get_real_name ()</h3>
358
- <pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* g_get_real_name (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
345
+ <div class="refsect2">
346
+ <a name="g-get-real-name"></a><h3>g_get_real_name</h3>
347
+ <pre class="programlisting">#define g_get_real_name</pre>
359
348
  <p>
360
349
  Gets the real name of the user. This usually comes from the user's entry
361
350
  in the <code class="filename">passwd</code> file. The encoding of the returned
@@ -367,15 +356,14 @@ returned.
367
356
  <col align="left" valign="top">
368
357
  <tbody><tr>
369
358
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
370
- <td> the user's real name.
371
- </td>
359
+ <td>the user's real name.</td>
372
360
  </tr></tbody>
373
361
  </table></div>
374
362
  </div>
375
363
  <hr>
376
- <div class="refsect2" title="g_get_user_cache_dir ()">
364
+ <div class="refsect2">
377
365
  <a name="g-get-user-cache-dir"></a><h3>g_get_user_cache_dir ()</h3>
378
- <pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* g_get_user_cache_dir (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
366
+ <pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_get_user_cache_dir (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
379
367
  <p>
380
368
  Returns a base directory in which to store non-essential, cached
381
369
  data specific to particular user.
@@ -396,17 +384,16 @@ See documentation for CSIDL_INTERNET_CACHE.
396
384
  <col align="left" valign="top">
397
385
  <tbody><tr>
398
386
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
399
- <td> a string owned by GLib that must not be modified
400
- or freed.
401
- </td>
387
+ <td>a string owned by GLib that must not be modified
388
+ or freed.</td>
402
389
  </tr></tbody>
403
390
  </table></div>
404
391
  <p class="since">Since 2.6</p>
405
392
  </div>
406
393
  <hr>
407
- <div class="refsect2" title="g_get_user_data_dir ()">
394
+ <div class="refsect2">
408
395
  <a name="g-get-user-data-dir"></a><h3>g_get_user_data_dir ()</h3>
409
- <pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* g_get_user_data_dir (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
396
+ <pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_get_user_data_dir (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
410
397
  <p>
411
398
  Returns a base directory in which to access application data such
412
399
  as icons that is customized for a particular user.
@@ -418,24 +405,25 @@ XDG Base Directory Specification</a>.
418
405
  In this case the directory retrieved will be XDG_DATA_HOME.
419
406
  </p>
420
407
  <p>
421
- On Windows is the virtual folder that represents the My Documents
422
- desktop item. See documentation for CSIDL_PERSONAL.
408
+ On Windows this is the folder to use for local (as opposed to
409
+ roaming) application data. See documentation for
410
+ CSIDL_LOCAL_APPDATA. Note that on Windows it thus is the same as
411
+ what <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-user-config-dir" title="g_get_user_config_dir ()"><code class="function">g_get_user_config_dir()</code></a> returns.
423
412
  </p>
424
413
  <div class="variablelist"><table border="0">
425
414
  <col align="left" valign="top">
426
415
  <tbody><tr>
427
416
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
428
- <td> a string owned by GLib that must not be modified
429
- or freed.
430
- </td>
417
+ <td>a string owned by GLib that must not be modified
418
+ or freed.</td>
431
419
  </tr></tbody>
432
420
  </table></div>
433
421
  <p class="since">Since 2.6</p>
434
422
  </div>
435
423
  <hr>
436
- <div class="refsect2" title="g_get_user_config_dir ()">
424
+ <div class="refsect2">
437
425
  <a name="g-get-user-config-dir"></a><h3>g_get_user_config_dir ()</h3>
438
- <pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* g_get_user_config_dir (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
426
+ <pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_get_user_config_dir (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
439
427
  <p>
440
428
  Returns a base directory in which to store user-specific application
441
429
  configuration information such as user preferences and settings.
@@ -447,24 +435,54 @@ XDG Base Directory Specification</a>.
447
435
  In this case the directory retrieved will be XDG_CONFIG_HOME.
448
436
  </p>
449
437
  <p>
450
- On Windows is the directory that serves as a common repository for
451
- application-specific data. A typical path is
452
- C:\Documents and Settings\username\Application. See documentation for
453
- CSIDL_APPDATA.
438
+ On Windows this is the folder to use for local (as opposed to
439
+ roaming) application data. See documentation for
440
+ CSIDL_LOCAL_APPDATA. Note that on Windows it thus is the same as
441
+ what <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-user-data-dir" title="g_get_user_data_dir ()"><code class="function">g_get_user_data_dir()</code></a> returns.
454
442
  </p>
455
443
  <div class="variablelist"><table border="0">
456
444
  <col align="left" valign="top">
457
445
  <tbody><tr>
458
446
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
459
- <td> a string owned by GLib that must not be modified
460
- or freed.
461
- </td>
447
+ <td>a string owned by GLib that must not be modified
448
+ or freed.</td>
462
449
  </tr></tbody>
463
450
  </table></div>
464
451
  <p class="since">Since 2.6</p>
465
452
  </div>
466
453
  <hr>
467
- <div class="refsect2" title="enum GUserDirectory">
454
+ <div class="refsect2">
455
+ <a name="g-get-user-runtime-dir"></a><h3>g_get_user_runtime_dir ()</h3>
456
+ <pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_get_user_runtime_dir (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
457
+ <p>
458
+ Returns a directory that is unique to the current user on the local
459
+ system.
460
+ </p>
461
+ <p>
462
+ On UNIX platforms this is determined using the mechanisms described in
463
+ the <a class="ulink" href="http://www.freedesktop.org/Standards/basedir-spec" target="_top">
464
+ XDG Base Directory Specification</a>. This is the directory
465
+ specified in the <code class="envar">XDG_RUNTIME_DIR</code> environment variable.
466
+ In the case that this variable is not set, GLib will issue a warning
467
+ message to stderr and return the value of <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-user-cache-dir" title="g_get_user_cache_dir ()"><code class="function">g_get_user_cache_dir()</code></a>.
468
+ </p>
469
+ <p>
470
+ On Windows this is the folder to use for local (as opposed to
471
+ roaming) application data. See documentation for
472
+ CSIDL_LOCAL_APPDATA. Note that on Windows it thus is the same as
473
+ what <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-user-config-dir" title="g_get_user_config_dir ()"><code class="function">g_get_user_config_dir()</code></a> returns.
474
+ </p>
475
+ <div class="variablelist"><table border="0">
476
+ <col align="left" valign="top">
477
+ <tbody><tr>
478
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
479
+ <td>a string owned by GLib that must not be modified or freed.</td>
480
+ </tr></tbody>
481
+ </table></div>
482
+ <p class="since">Since 2.28</p>
483
+ </div>
484
+ <hr>
485
+ <div class="refsect2">
468
486
  <a name="GUserDirectory"></a><h3>enum GUserDirectory</h3>
469
487
  <pre class="programlisting">typedef enum {
470
488
  G_USER_DIRECTORY_DESKTOP,
@@ -542,9 +560,9 @@ enumeration.
542
560
  <p class="since">Since 2.14</p>
543
561
  </div>
544
562
  <hr>
545
- <div class="refsect2" title="g_get_user_special_dir ()">
563
+ <div class="refsect2">
546
564
  <a name="g-get-user-special-dir"></a><h3>g_get_user_special_dir ()</h3>
547
- <pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* g_get_user_special_dir (<em class="parameter"><code><a class="link" href="glib-Miscellaneous-Utility-Functions.html#GUserDirectory" title="enum GUserDirectory"><span class="type">GUserDirectory</span></a> directory</code></em>);</pre>
565
+ <pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_get_user_special_dir (<em class="parameter"><code><a class="link" href="glib-Miscellaneous-Utility-Functions.html#GUserDirectory" title="enum GUserDirectory"><span class="type">GUserDirectory</span></a> directory</code></em>);</pre>
548
566
  <p>
549
567
  Returns the full path of a special directory using its logical id.
550
568
  </p>
@@ -564,25 +582,22 @@ will not reflect any change once the special directories are loaded.
564
582
  <tbody>
565
583
  <tr>
566
584
  <td><p><span class="term"><em class="parameter"><code>directory</code></em> :</span></p></td>
567
- <td>the logical id of special directory
568
- </td>
585
+ <td>the logical id of special directory</td>
569
586
  </tr>
570
587
  <tr>
571
588
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
572
- <td> the path to the specified special directory, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
573
- if the logical id was not found. The returned string is owned by
574
- GLib and should not be modified or freed.
575
-
576
- </td>
589
+ <td>the path to the specified special directory, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
590
+ if the logical id was not found. The returned string is owned by
591
+ GLib and should not be modified or freed.</td>
577
592
  </tr>
578
593
  </tbody>
579
594
  </table></div>
580
595
  <p class="since">Since 2.14</p>
581
596
  </div>
582
597
  <hr>
583
- <div class="refsect2" title="g_get_system_data_dirs ()">
598
+ <div class="refsect2">
584
599
  <a name="g-get-system-data-dirs"></a><h3>g_get_system_data_dirs ()</h3>
585
- <pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* const * g_get_system_data_dirs (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
600
+ <pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * const * g_get_system_data_dirs (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
586
601
  <p>
587
602
  Returns an ordered list of base directories in which to access
588
603
  system-wide application data.
@@ -624,17 +639,16 @@ this function is called.
624
639
  <col align="left" valign="top">
625
640
  <tbody><tr>
626
641
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
627
- <td> a <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated array of strings owned by GLib that must
628
- not be modified or freed.
629
- </td>
642
+ <td>a <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated array of strings owned by GLib that must
643
+ not be modified or freed.</td>
630
644
  </tr></tbody>
631
645
  </table></div>
632
646
  <p class="since">Since 2.6</p>
633
647
  </div>
634
648
  <hr>
635
- <div class="refsect2" title="g_get_system_config_dirs ()">
649
+ <div class="refsect2">
636
650
  <a name="g-get-system-config-dirs"></a><h3>g_get_system_config_dirs ()</h3>
637
- <pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* const * g_get_system_config_dirs (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
651
+ <pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * const * g_get_system_config_dirs (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
638
652
  <p>
639
653
  Returns an ordered list of base directories in which to access
640
654
  system-wide configuration information.
@@ -657,15 +671,14 @@ This information will not roam and is available to anyone using the computer.
657
671
  <col align="left" valign="top">
658
672
  <tbody><tr>
659
673
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
660
- <td> a <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated array of strings owned by GLib that must
661
- not be modified or freed.
662
- </td>
674
+ <td>a <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated array of strings owned by GLib that must
675
+ not be modified or freed.</td>
663
676
  </tr></tbody>
664
677
  </table></div>
665
678
  <p class="since">Since 2.6</p>
666
679
  </div>
667
680
  <hr>
668
- <div class="refsect2" title="g_reload_user_special_dirs_cache ()">
681
+ <div class="refsect2">
669
682
  <a name="g-reload-user-special-dirs-cache"></a><h3>g_reload_user_special_dirs_cache ()</h3>
670
683
  <pre class="programlisting"><span class="returnvalue">void</span> g_reload_user_special_dirs_cache (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
671
684
  <p>
@@ -682,9 +695,9 @@ the directories that actually changed value though.
682
695
  <p class="since">Since 2.22</p>
683
696
  </div>
684
697
  <hr>
685
- <div class="refsect2" title="g_get_host_name ()">
698
+ <div class="refsect2">
686
699
  <a name="g-get-host-name"></a><h3>g_get_host_name ()</h3>
687
- <pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* g_get_host_name (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
700
+ <pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_get_host_name (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
688
701
  <p>
689
702
  Return a name for the machine.
690
703
  </p>
@@ -704,17 +717,15 @@ returned.
704
717
  <col align="left" valign="top">
705
718
  <tbody><tr>
706
719
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
707
- <td> the host name of the machine.
708
-
709
- </td>
720
+ <td>the host name of the machine.</td>
710
721
  </tr></tbody>
711
722
  </table></div>
712
723
  <p class="since">Since 2.8</p>
713
724
  </div>
714
725
  <hr>
715
- <div class="refsect2" title="g_get_home_dir ()">
716
- <a name="g-get-home-dir"></a><h3>g_get_home_dir ()</h3>
717
- <pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* g_get_home_dir (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
726
+ <div class="refsect2">
727
+ <a name="g-get-home-dir"></a><h3>g_get_home_dir</h3>
728
+ <pre class="programlisting">#define g_get_home_dir</pre>
718
729
  <p>
719
730
  Gets the current user's home directory as defined in the
720
731
  password database.
@@ -737,7 +748,7 @@ cases need special handling to deal with the case where
737
748
  <p>
738
749
  Since applications are in general <span class="emphasis"><em>not</em></span> written
739
750
  to deal with these situations it was considered better to make
740
- <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-home-dir" title="g_get_home_dir ()"><code class="function">g_get_home_dir()</code></a> not pay attention to <code class="envar">HOME</code> and to
751
+ <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-home-dir" title="g_get_home_dir"><code class="function">g_get_home_dir()</code></a> not pay attention to <code class="envar">HOME</code> and to
741
752
  return the real home directory for the user. If applications
742
753
  want to pay attention to <code class="envar">HOME</code>, they can do:
743
754
  </p>
@@ -762,15 +773,14 @@ want to pay attention to <code class="envar">HOME</code>, they can do:
762
773
  <col align="left" valign="top">
763
774
  <tbody><tr>
764
775
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
765
- <td> the current user's home directory
766
- </td>
776
+ <td>the current user's home directory</td>
767
777
  </tr></tbody>
768
778
  </table></div>
769
779
  </div>
770
780
  <hr>
771
- <div class="refsect2" title="g_get_tmp_dir ()">
772
- <a name="g-get-tmp-dir"></a><h3>g_get_tmp_dir ()</h3>
773
- <pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* g_get_tmp_dir (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
781
+ <div class="refsect2">
782
+ <a name="g-get-tmp-dir"></a><h3>g_get_tmp_dir</h3>
783
+ <pre class="programlisting">#define g_get_tmp_dir</pre>
774
784
  <p>
775
785
  Gets the directory to use for temporary files. This is found from
776
786
  inspecting the environment variables <code class="envar">TMPDIR</code>,
@@ -783,15 +793,14 @@ it is always UTF-8. The return value is never <a class="link" href="glib-Standar
783
793
  <col align="left" valign="top">
784
794
  <tbody><tr>
785
795
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
786
- <td> the directory to use for temporary files.
787
- </td>
796
+ <td>the directory to use for temporary files.</td>
788
797
  </tr></tbody>
789
798
  </table></div>
790
799
  </div>
791
800
  <hr>
792
- <div class="refsect2" title="g_get_current_dir ()">
793
- <a name="g-get-current-dir"></a><h3>g_get_current_dir ()</h3>
794
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* g_get_current_dir (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
801
+ <div class="refsect2">
802
+ <a name="g-get-current-dir"></a><h3>g_get_current_dir</h3>
803
+ <pre class="programlisting">#define g_get_current_dir</pre>
795
804
  <p>
796
805
  Gets the current directory.
797
806
  The returned string should be freed when no longer needed. The encoding
@@ -801,16 +810,15 @@ of the returned string is system defined. On Windows, it is always UTF-8.
801
810
  <col align="left" valign="top">
802
811
  <tbody><tr>
803
812
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
804
- <td> the current directory.
805
- </td>
813
+ <td>the current directory.</td>
806
814
  </tr></tbody>
807
815
  </table></div>
808
816
  </div>
809
817
  <hr>
810
- <div class="refsect2" title="g_basename ()">
818
+ <div class="refsect2">
811
819
  <a name="g-basename"></a><h3>g_basename ()</h3>
812
- <pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* g_basename (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *file_name</code></em>);</pre>
813
- <div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
820
+ <pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_basename (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *file_name</code></em>);</pre>
821
+ <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
814
822
  <h3 class="title">Warning</h3>
815
823
  <p><code class="literal">g_basename</code> has been deprecated since version 2.2 and should not be used in newly-written code. Use <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-path-get-basename" title="g_path_get_basename ()"><code class="function">g_path_get_basename()</code></a> instead, but notice that
816
824
  <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-path-get-basename" title="g_path_get_basename ()"><code class="function">g_path_get_basename()</code></a> allocates new memory for the returned string, unlike
@@ -825,23 +833,20 @@ It returns a pointer into the given file name string.
825
833
  <tbody>
826
834
  <tr>
827
835
  <td><p><span class="term"><em class="parameter"><code>file_name</code></em> :</span></p></td>
828
- <td>the name of the file.
829
- </td>
836
+ <td>the name of the file.</td>
830
837
  </tr>
831
838
  <tr>
832
839
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
833
- <td> the name of the file without any leading directory components.
834
-
835
- </td>
840
+ <td>the name of the file without any leading directory components.</td>
836
841
  </tr>
837
842
  </tbody>
838
843
  </table></div>
839
844
  </div>
840
845
  <hr>
841
- <div class="refsect2" title="g_dirname">
846
+ <div class="refsect2">
842
847
  <a name="g-dirname"></a><h3>g_dirname</h3>
843
848
  <pre class="programlisting">#define g_dirname</pre>
844
- <div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
849
+ <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
845
850
  <h3 class="title">Warning</h3>
846
851
  <p><code class="literal">g_dirname</code> is deprecated and should not be used in newly-written code.</p>
847
852
  </div>
@@ -858,40 +863,63 @@ The returned string should be freed when no longer needed.
858
863
  <col align="left" valign="top">
859
864
  <tbody><tr>
860
865
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
861
- <td>the directory components of the file.
862
- </td>
866
+ <td>the directory components of the file.</td>
863
867
  </tr></tbody>
864
868
  </table></div>
865
869
  </div>
866
870
  <hr>
867
- <div class="refsect2" title="g_path_is_absolute ()">
871
+ <div class="refsect2">
868
872
  <a name="g-path-is-absolute"></a><h3>g_path_is_absolute ()</h3>
869
873
  <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_path_is_absolute (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *file_name</code></em>);</pre>
870
874
  <p>
871
- Returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the given <em class="parameter"><code>file_name</code></em> is an absolute file name,
872
- i.e. it contains a full path from the root directory such as "/usr/local"
873
- on UNIX or "C:\windows" on Windows systems.
875
+ Returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the given <em class="parameter"><code>file_name</code></em> is an absolute file name.
876
+ Note that this is a somewhat vague concept on Windows.
877
+ </p>
878
+ <p>
879
+ On POSIX systems, an absolute file name is well-defined. It always
880
+ starts from the single root directory. For example "/usr/local".
881
+ </p>
882
+ <p>
883
+ On Windows, the concepts of current drive and drive-specific
884
+ current directory introduce vagueness. This function interprets as
885
+ an absolute file name one that either begins with a directory
886
+ separator such as "\Users\tml" or begins with the root on a drive,
887
+ for example "C:\Windows". The first case also includes UNC paths
888
+ such as "\\myserver\docs\foo". In all cases, either slashes or
889
+ backslashes are accepted.
890
+ </p>
891
+ <p>
892
+ Note that a file name relative to the current drive root does not
893
+ truly specify a file uniquely over time and across processes, as
894
+ the current drive is a per-process value and can be changed.
895
+ </p>
896
+ <p>
897
+ File names relative the current directory on some specific drive,
898
+ such as "D:foo/bar", are not interpreted as absolute by this
899
+ function, but they obviously are not relative to the normal current
900
+ directory as returned by <code class="function">getcwd()</code> or <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-current-dir" title="g_get_current_dir"><code class="function">g_get_current_dir()</code></a>
901
+ either. Such paths should be avoided, or need to be handled using
902
+ Windows-specific code.
874
903
  </p>
875
904
  <div class="variablelist"><table border="0">
876
905
  <col align="left" valign="top">
877
906
  <tbody>
878
907
  <tr>
879
908
  <td><p><span class="term"><em class="parameter"><code>file_name</code></em> :</span></p></td>
880
- <td>a file name.
881
- </td>
909
+ <td>a file name.</td>
882
910
  </tr>
883
911
  <tr>
884
912
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
885
- <td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>file_name</code></em> is an absolute path.
886
- </td>
913
+ <td>
914
+ <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>file_name</code></em> is absolute.</td>
887
915
  </tr>
888
916
  </tbody>
889
917
  </table></div>
890
918
  </div>
891
919
  <hr>
892
- <div class="refsect2" title="g_path_skip_root ()">
920
+ <div class="refsect2">
893
921
  <a name="g-path-skip-root"></a><h3>g_path_skip_root ()</h3>
894
- <pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* g_path_skip_root (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *file_name</code></em>);</pre>
922
+ <pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_path_skip_root (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *file_name</code></em>);</pre>
895
923
  <p>
896
924
  Returns a pointer into <em class="parameter"><code>file_name</code></em> after the root component, i.e. after
897
925
  the "/" in UNIX or "C:\" under Windows. If <em class="parameter"><code>file_name</code></em> is not an absolute
@@ -902,21 +930,19 @@ path it returns <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title
902
930
  <tbody>
903
931
  <tr>
904
932
  <td><p><span class="term"><em class="parameter"><code>file_name</code></em> :</span></p></td>
905
- <td>a file name.
906
- </td>
933
+ <td>a file name.</td>
907
934
  </tr>
908
935
  <tr>
909
936
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
910
- <td> a pointer into <em class="parameter"><code>file_name</code></em> after the root component.
911
- </td>
937
+ <td>a pointer into <em class="parameter"><code>file_name</code></em> after the root component.</td>
912
938
  </tr>
913
939
  </tbody>
914
940
  </table></div>
915
941
  </div>
916
942
  <hr>
917
- <div class="refsect2" title="g_path_get_basename ()">
943
+ <div class="refsect2">
918
944
  <a name="g-path-get-basename"></a><h3>g_path_get_basename ()</h3>
919
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* g_path_get_basename (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *file_name</code></em>);</pre>
945
+ <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_path_get_basename (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *file_name</code></em>);</pre>
920
946
  <p>
921
947
  Gets the last component of the filename. If <em class="parameter"><code>file_name</code></em> ends with a
922
948
  directory separator it gets the component before the last slash. If
@@ -929,22 +955,20 @@ possibly a drive letter), a single separator is returned. If
929
955
  <tbody>
930
956
  <tr>
931
957
  <td><p><span class="term"><em class="parameter"><code>file_name</code></em> :</span></p></td>
932
- <td>the name of the file.
933
- </td>
958
+ <td>the name of the file.</td>
934
959
  </tr>
935
960
  <tr>
936
961
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
937
- <td> a newly allocated string containing the last component of
938
- the filename.
939
- </td>
962
+ <td>a newly allocated string containing the last component of
963
+ the filename.</td>
940
964
  </tr>
941
965
  </tbody>
942
966
  </table></div>
943
967
  </div>
944
968
  <hr>
945
- <div class="refsect2" title="g_path_get_dirname ()">
969
+ <div class="refsect2">
946
970
  <a name="g-path-get-dirname"></a><h3>g_path_get_dirname ()</h3>
947
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* g_path_get_dirname (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *file_name</code></em>);</pre>
971
+ <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_path_get_dirname (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *file_name</code></em>);</pre>
948
972
  <p>
949
973
  Gets the directory components of a file name. If the file name has no
950
974
  directory components "." is returned. The returned string should be
@@ -955,19 +979,17 @@ freed when no longer needed.
955
979
  <tbody>
956
980
  <tr>
957
981
  <td><p><span class="term"><em class="parameter"><code>file_name</code></em> :</span></p></td>
958
- <td>the name of the file.
959
- </td>
982
+ <td>the name of the file.</td>
960
983
  </tr>
961
984
  <tr>
962
985
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
963
- <td> the directory components of the file.
964
- </td>
986
+ <td>the directory components of the file.</td>
965
987
  </tr>
966
988
  </tbody>
967
989
  </table></div>
968
990
  </div>
969
991
  <hr>
970
- <div class="refsect2" title="g_build_filename ()">
992
+ <div class="refsect2">
971
993
  <a name="g-build-filename"></a><h3>g_build_filename ()</h3>
972
994
  <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_build_filename (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *first_element</code></em>,
973
995
  <em class="parameter"><code>...</code></em>);</pre>
@@ -997,8 +1019,7 @@ be a relative path.
997
1019
  <tbody>
998
1020
  <tr>
999
1021
  <td><p><span class="term"><em class="parameter"><code>first_element</code></em> :</span></p></td>
1000
- <td>the first element in the path
1001
- </td>
1022
+ <td>the first element in the path</td>
1002
1023
  </tr>
1003
1024
  <tr>
1004
1025
  <td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
@@ -1007,14 +1028,13 @@ be a relative path.
1007
1028
  </tr>
1008
1029
  <tr>
1009
1030
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1010
- <td> a newly-allocated string that must be freed with <a class="link" href="glib-Memory-Allocation.html#g-free" title="g_free ()"><code class="function">g_free()</code></a>.
1011
- </td>
1031
+ <td>a newly-allocated string that must be freed with <a class="link" href="glib-Memory-Allocation.html#g-free" title="g_free ()"><code class="function">g_free()</code></a>.</td>
1012
1032
  </tr>
1013
1033
  </tbody>
1014
1034
  </table></div>
1015
1035
  </div>
1016
1036
  <hr>
1017
- <div class="refsect2" title="g_build_filenamev ()">
1037
+ <div class="refsect2">
1018
1038
  <a name="g-build-filenamev"></a><h3>g_build_filenamev ()</h3>
1019
1039
  <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_build_filenamev (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **args</code></em>);</pre>
1020
1040
  <p>
@@ -1028,21 +1048,18 @@ meant for language bindings.
1028
1048
  <tr>
1029
1049
  <td><p><span class="term"><em class="parameter"><code>args</code></em> :</span></p></td>
1030
1050
  <td>
1031
- <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated array of strings containing the path elements.
1032
- </td>
1051
+ <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated array of strings containing the path elements.</td>
1033
1052
  </tr>
1034
1053
  <tr>
1035
1054
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1036
- <td> a newly-allocated string that must be freed with <a class="link" href="glib-Memory-Allocation.html#g-free" title="g_free ()"><code class="function">g_free()</code></a>.
1037
-
1038
- </td>
1055
+ <td>a newly-allocated string that must be freed with <a class="link" href="glib-Memory-Allocation.html#g-free" title="g_free ()"><code class="function">g_free()</code></a>.</td>
1039
1056
  </tr>
1040
1057
  </tbody>
1041
1058
  </table></div>
1042
1059
  <p class="since">Since 2.8</p>
1043
1060
  </div>
1044
1061
  <hr>
1045
- <div class="refsect2" title="g_build_path ()">
1062
+ <div class="refsect2">
1046
1063
  <a name="g-build-path"></a><h3>g_build_path ()</h3>
1047
1064
  <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_build_path (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *separator</code></em>,
1048
1065
  <em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *first_element</code></em>,
@@ -1086,13 +1103,11 @@ of the separator are ignored.
1086
1103
  <tbody>
1087
1104
  <tr>
1088
1105
  <td><p><span class="term"><em class="parameter"><code>separator</code></em> :</span></p></td>
1089
- <td>a string used to separator the elements of the path.
1090
- </td>
1106
+ <td>a string used to separator the elements of the path.</td>
1091
1107
  </tr>
1092
1108
  <tr>
1093
1109
  <td><p><span class="term"><em class="parameter"><code>first_element</code></em> :</span></p></td>
1094
- <td>the first element in the path
1095
- </td>
1110
+ <td>the first element in the path</td>
1096
1111
  </tr>
1097
1112
  <tr>
1098
1113
  <td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
@@ -1101,14 +1116,13 @@ of the separator are ignored.
1101
1116
  </tr>
1102
1117
  <tr>
1103
1118
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1104
- <td> a newly-allocated string that must be freed with <a class="link" href="glib-Memory-Allocation.html#g-free" title="g_free ()"><code class="function">g_free()</code></a>.
1105
- </td>
1119
+ <td>a newly-allocated string that must be freed with <a class="link" href="glib-Memory-Allocation.html#g-free" title="g_free ()"><code class="function">g_free()</code></a>.</td>
1106
1120
  </tr>
1107
1121
  </tbody>
1108
1122
  </table></div>
1109
1123
  </div>
1110
1124
  <hr>
1111
- <div class="refsect2" title="g_build_pathv ()">
1125
+ <div class="refsect2">
1112
1126
  <a name="g-build-pathv"></a><h3>g_build_pathv ()</h3>
1113
1127
  <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_build_pathv (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *separator</code></em>,
1114
1128
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **args</code></em>);</pre>
@@ -1122,27 +1136,23 @@ meant for language bindings.
1122
1136
  <tbody>
1123
1137
  <tr>
1124
1138
  <td><p><span class="term"><em class="parameter"><code>separator</code></em> :</span></p></td>
1125
- <td>a string used to separator the elements of the path.
1126
- </td>
1139
+ <td>a string used to separator the elements of the path.</td>
1127
1140
  </tr>
1128
1141
  <tr>
1129
1142
  <td><p><span class="term"><em class="parameter"><code>args</code></em> :</span></p></td>
1130
1143
  <td>
1131
- <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated array of strings containing the path elements.
1132
- </td>
1144
+ <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated array of strings containing the path elements.</td>
1133
1145
  </tr>
1134
1146
  <tr>
1135
1147
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1136
- <td> a newly-allocated string that must be freed with <a class="link" href="glib-Memory-Allocation.html#g-free" title="g_free ()"><code class="function">g_free()</code></a>.
1137
-
1138
- </td>
1148
+ <td>a newly-allocated string that must be freed with <a class="link" href="glib-Memory-Allocation.html#g-free" title="g_free ()"><code class="function">g_free()</code></a>.</td>
1139
1149
  </tr>
1140
1150
  </tbody>
1141
1151
  </table></div>
1142
1152
  <p class="since">Since 2.8</p>
1143
1153
  </div>
1144
1154
  <hr>
1145
- <div class="refsect2" title="g_format_size_for_display ()">
1155
+ <div class="refsect2">
1146
1156
  <a name="g-format-size-for-display"></a><h3>g_format_size_for_display ()</h3>
1147
1157
  <pre class="programlisting"><span class="returnvalue">char</span> * g_format_size_for_display (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#goffset" title="goffset"><span class="type">goffset</span></a> size</code></em>);</pre>
1148
1158
  <p>
@@ -1162,24 +1172,21 @@ This string should be freed with <a class="link" href="glib-Memory-Allocation.ht
1162
1172
  <tbody>
1163
1173
  <tr>
1164
1174
  <td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
1165
- <td>a size in bytes.
1166
- </td>
1175
+ <td>a size in bytes.</td>
1167
1176
  </tr>
1168
1177
  <tr>
1169
1178
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1170
- <td> a newly-allocated formatted string containing a human readable
1171
- file size.
1172
-
1173
- </td>
1179
+ <td>a newly-allocated formatted string containing a human readable
1180
+ file size.</td>
1174
1181
  </tr>
1175
1182
  </tbody>
1176
1183
  </table></div>
1177
1184
  <p class="since">Since 2.16</p>
1178
1185
  </div>
1179
1186
  <hr>
1180
- <div class="refsect2" title="g_find_program_in_path ()">
1181
- <a name="g-find-program-in-path"></a><h3>g_find_program_in_path ()</h3>
1182
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* g_find_program_in_path (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *program</code></em>);</pre>
1187
+ <div class="refsect2">
1188
+ <a name="g-find-program-in-path"></a><h3>g_find_program_in_path</h3>
1189
+ <pre class="programlisting">#define g_find_program_in_path</pre>
1183
1190
  <p>
1184
1191
  Locates the first executable named <em class="parameter"><code>program</code></em> in the user's path, in the
1185
1192
  same way that <code class="function">execvp()</code> would locate it. Returns an allocated string
@@ -1202,22 +1209,15 @@ full name including the type suffix.
1202
1209
  </p>
1203
1210
  <div class="variablelist"><table border="0">
1204
1211
  <col align="left" valign="top">
1205
- <tbody>
1206
- <tr>
1207
- <td><p><span class="term"><em class="parameter"><code>program</code></em> :</span></p></td>
1208
- <td>a program name in the GLib file name encoding
1209
- </td>
1210
- </tr>
1211
- <tr>
1212
+ <tbody><tr>
1212
1213
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1213
- <td> absolute path, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
1214
+ <td>absolute path, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
1214
1215
  </td>
1215
- </tr>
1216
- </tbody>
1216
+ </tr></tbody>
1217
1217
  </table></div>
1218
1218
  </div>
1219
1219
  <hr>
1220
- <div class="refsect2" title="g_bit_nth_lsf ()">
1220
+ <div class="refsect2">
1221
1221
  <a name="g-bit-nth-lsf"></a><h3>g_bit_nth_lsf ()</h3>
1222
1222
  <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_bit_nth_lsf (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gulong" title="gulong"><span class="type">gulong</span></a> mask</code></em>,
1223
1223
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> nth_bit</code></em>);</pre>
@@ -1232,24 +1232,21 @@ to sizeof(<a class="link" href="glib-Basic-Types.html#gulong" title="gulong"><sp
1232
1232
  <tbody>
1233
1233
  <tr>
1234
1234
  <td><p><span class="term"><em class="parameter"><code>mask</code></em> :</span></p></td>
1235
- <td>a <a class="link" href="glib-Basic-Types.html#gulong" title="gulong"><span class="type">gulong</span></a> containing flags.
1236
- </td>
1235
+ <td>a <a class="link" href="glib-Basic-Types.html#gulong" title="gulong"><span class="type">gulong</span></a> containing flags.</td>
1237
1236
  </tr>
1238
1237
  <tr>
1239
1238
  <td><p><span class="term"><em class="parameter"><code>nth_bit</code></em> :</span></p></td>
1240
- <td>the index of the bit to start the search from.
1241
- </td>
1239
+ <td>the index of the bit to start the search from.</td>
1242
1240
  </tr>
1243
1241
  <tr>
1244
1242
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1245
- <td>the index of the first bit set which is higher than <em class="parameter"><code>nth_bit</code></em>.
1246
- </td>
1243
+ <td>the index of the first bit set which is higher than <em class="parameter"><code>nth_bit</code></em>.</td>
1247
1244
  </tr>
1248
1245
  </tbody>
1249
1246
  </table></div>
1250
1247
  </div>
1251
1248
  <hr>
1252
- <div class="refsect2" title="g_bit_nth_msf ()">
1249
+ <div class="refsect2">
1253
1250
  <a name="g-bit-nth-msf"></a><h3>g_bit_nth_msf ()</h3>
1254
1251
  <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_bit_nth_msf (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gulong" title="gulong"><span class="type">gulong</span></a> mask</code></em>,
1255
1252
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> nth_bit</code></em>);</pre>
@@ -1264,24 +1261,21 @@ last bit, set <em class="parameter"><code>nth_bit</code></em> to -1 or GLIB_SIZE
1264
1261
  <tbody>
1265
1262
  <tr>
1266
1263
  <td><p><span class="term"><em class="parameter"><code>mask</code></em> :</span></p></td>
1267
- <td>a <a class="link" href="glib-Basic-Types.html#gulong" title="gulong"><span class="type">gulong</span></a> containing flags.
1268
- </td>
1264
+ <td>a <a class="link" href="glib-Basic-Types.html#gulong" title="gulong"><span class="type">gulong</span></a> containing flags.</td>
1269
1265
  </tr>
1270
1266
  <tr>
1271
1267
  <td><p><span class="term"><em class="parameter"><code>nth_bit</code></em> :</span></p></td>
1272
- <td>the index of the bit to start the search from.
1273
- </td>
1268
+ <td>the index of the bit to start the search from.</td>
1274
1269
  </tr>
1275
1270
  <tr>
1276
1271
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1277
- <td>the index of the first bit set which is lower than <em class="parameter"><code>nth_bit</code></em>.
1278
- </td>
1272
+ <td>the index of the first bit set which is lower than <em class="parameter"><code>nth_bit</code></em>.</td>
1279
1273
  </tr>
1280
1274
  </tbody>
1281
1275
  </table></div>
1282
1276
  </div>
1283
1277
  <hr>
1284
- <div class="refsect2" title="g_bit_storage ()">
1278
+ <div class="refsect2">
1285
1279
  <a name="g-bit-storage"></a><h3>g_bit_storage ()</h3>
1286
1280
  <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_bit_storage (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gulong" title="gulong"><span class="type">gulong</span></a> number</code></em>);</pre>
1287
1281
  <p>
@@ -1293,19 +1287,17 @@ e.g. if <em class="parameter"><code>number</code></em> is 4, 3 bits are needed.
1293
1287
  <tbody>
1294
1288
  <tr>
1295
1289
  <td><p><span class="term"><em class="parameter"><code>number</code></em> :</span></p></td>
1296
- <td>a guint.
1297
- </td>
1290
+ <td>a guint.</td>
1298
1291
  </tr>
1299
1292
  <tr>
1300
1293
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1301
- <td>the number of bits used to hold <em class="parameter"><code>number</code></em>.
1302
- </td>
1294
+ <td>the number of bits used to hold <em class="parameter"><code>number</code></em>.</td>
1303
1295
  </tr>
1304
1296
  </tbody>
1305
1297
  </table></div>
1306
1298
  </div>
1307
1299
  <hr>
1308
- <div class="refsect2" title="g_spaced_primes_closest ()">
1300
+ <div class="refsect2">
1309
1301
  <a name="g-spaced-primes-closest"></a><h3>g_spaced_primes_closest ()</h3>
1310
1302
  <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_spaced_primes_closest (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> num</code></em>);</pre>
1311
1303
  <p>
@@ -1322,20 +1314,18 @@ each prime is approximately 1.5-2 times the previous prime.
1322
1314
  <tbody>
1323
1315
  <tr>
1324
1316
  <td><p><span class="term"><em class="parameter"><code>num</code></em> :</span></p></td>
1325
- <td>a <a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a>.
1326
- </td>
1317
+ <td>a <a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a>.</td>
1327
1318
  </tr>
1328
1319
  <tr>
1329
1320
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1330
1321
  <td>the smallest prime number from a built-in array of primes which is
1331
- larger than <em class="parameter"><code>num</code></em>.
1332
- </td>
1322
+ larger than <em class="parameter"><code>num</code></em>.</td>
1333
1323
  </tr>
1334
1324
  </tbody>
1335
1325
  </table></div>
1336
1326
  </div>
1337
1327
  <hr>
1338
- <div class="refsect2" title="g_atexit ()">
1328
+ <div class="refsect2">
1339
1329
  <a name="g-atexit"></a><h3>g_atexit ()</h3>
1340
1330
  <pre class="programlisting"><span class="returnvalue">void</span> g_atexit (<em class="parameter"><code><a class="link" href="glib-Miscellaneous-Utility-Functions.html#GVoidFunc" title="GVoidFunc ()"><span class="type">GVoidFunc</span></a> func</code></em>);</pre>
1341
1331
  <p>
@@ -1380,16 +1370,15 @@ program.
1380
1370
  <col align="left" valign="top">
1381
1371
  <tbody><tr>
1382
1372
  <td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
1383
- <td>the function to call on normal program termination.
1384
- </td>
1373
+ <td>the function to call on normal program termination.</td>
1385
1374
  </tr></tbody>
1386
1375
  </table></div>
1387
1376
  </div>
1388
1377
  <hr>
1389
- <div class="refsect2" title="g_parse_debug_string ()">
1378
+ <div class="refsect2">
1390
1379
  <a name="g-parse-debug-string"></a><h3>g_parse_debug_string ()</h3>
1391
1380
  <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_parse_debug_string (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>,
1392
- <em class="parameter"><code>const <a class="link" href="glib-Miscellaneous-Utility-Functions.html#GDebugKey" title="GDebugKey"><span class="type">GDebugKey</span></a> *keys</code></em>,
1381
+ <em class="parameter"><code>const <a class="link" href="glib-Miscellaneous-Utility-Functions.html#GDebugKey" title="struct GDebugKey"><span class="type">GDebugKey</span></a> *keys</code></em>,
1393
1382
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> nkeys</code></em>);</pre>
1394
1383
  <p>
1395
1384
  Parses a string containing debugging options
@@ -1408,35 +1397,31 @@ out to standard error.
1408
1397
  <tr>
1409
1398
  <td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
1410
1399
  <td>a list of debug options separated by colons, spaces, or
1411
- commas, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.
1412
- </td>
1400
+ commas, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.</td>
1413
1401
  </tr>
1414
1402
  <tr>
1415
1403
  <td><p><span class="term"><em class="parameter"><code>keys</code></em> :</span></p></td>
1416
- <td>pointer to an array of <a class="link" href="glib-Miscellaneous-Utility-Functions.html#GDebugKey" title="GDebugKey"><span class="type">GDebugKey</span></a> which associate
1417
- strings with bit flags.
1418
- </td>
1404
+ <td>pointer to an array of <a class="link" href="glib-Miscellaneous-Utility-Functions.html#GDebugKey" title="struct GDebugKey"><span class="type">GDebugKey</span></a> which associate
1405
+ strings with bit flags.</td>
1419
1406
  </tr>
1420
1407
  <tr>
1421
1408
  <td><p><span class="term"><em class="parameter"><code>nkeys</code></em> :</span></p></td>
1422
- <td>the number of <a class="link" href="glib-Miscellaneous-Utility-Functions.html#GDebugKey" title="GDebugKey"><span class="type">GDebugKey</span></a>s in the array.
1423
- </td>
1409
+ <td>the number of <a class="link" href="glib-Miscellaneous-Utility-Functions.html#GDebugKey" title="struct GDebugKey"><span class="type">GDebugKey</span></a>s in the array.</td>
1424
1410
  </tr>
1425
1411
  <tr>
1426
1412
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1427
- <td> the combined set of bit flags.
1428
- </td>
1413
+ <td>the combined set of bit flags.</td>
1429
1414
  </tr>
1430
1415
  </tbody>
1431
1416
  </table></div>
1432
1417
  </div>
1433
1418
  <hr>
1434
- <div class="refsect2" title="GDebugKey">
1435
- <a name="GDebugKey"></a><h3>GDebugKey</h3>
1436
- <pre class="programlisting">typedef struct {
1419
+ <div class="refsect2">
1420
+ <a name="GDebugKey"></a><h3>struct GDebugKey</h3>
1421
+ <pre class="programlisting">struct GDebugKey {
1437
1422
  const gchar *key;
1438
1423
  guint value;
1439
- } GDebugKey;
1424
+ };
1440
1425
  </pre>
1441
1426
  <p>
1442
1427
  Associates a string with a bit flag.
@@ -1447,19 +1432,17 @@ Used in <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-parse-
1447
1432
  <tbody>
1448
1433
  <tr>
1449
1434
  <td><p><span class="term">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GDebugKey.key"></a>key</code></em>;</span></p></td>
1450
- <td>the string
1451
- </td>
1435
+ <td>the string</td>
1452
1436
  </tr>
1453
1437
  <tr>
1454
1438
  <td><p><span class="term"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GDebugKey.value"></a>value</code></em>;</span></p></td>
1455
- <td>the flag
1456
- </td>
1439
+ <td>the flag</td>
1457
1440
  </tr>
1458
1441
  </tbody>
1459
1442
  </table></div>
1460
1443
  </div>
1461
1444
  <hr>
1462
- <div class="refsect2" title="GVoidFunc ()">
1445
+ <div class="refsect2">
1463
1446
  <a name="GVoidFunc"></a><h3>GVoidFunc ()</h3>
1464
1447
  <pre class="programlisting"><span class="returnvalue">void</span> (*GVoidFunc) (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
1465
1448
  <p>
@@ -1468,7 +1451,7 @@ It is used to specify the type function passed to <a class="link" href="glib-Mis
1468
1451
  </p>
1469
1452
  </div>
1470
1453
  <hr>
1471
- <div class="refsect2" title="GFreeFunc ()">
1454
+ <div class="refsect2">
1472
1455
  <a name="GFreeFunc"></a><h3>GFreeFunc ()</h3>
1473
1456
  <pre class="programlisting"><span class="returnvalue">void</span> (*GFreeFunc) (<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>
1474
1457
  <p>
@@ -1479,13 +1462,12 @@ and has no return value. It is not currently used in GLib or GTK+.
1479
1462
  <col align="left" valign="top">
1480
1463
  <tbody><tr>
1481
1464
  <td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
1482
- <td>a data pointer.
1483
- </td>
1465
+ <td>a data pointer.</td>
1484
1466
  </tr></tbody>
1485
1467
  </table></div>
1486
1468
  </div>
1487
1469
  <hr>
1488
- <div class="refsect2" title="g_qsort_with_data ()">
1470
+ <div class="refsect2">
1489
1471
  <a name="g-qsort-with-data"></a><h3>g_qsort_with_data ()</h3>
1490
1472
  <pre class="programlisting"><span class="returnvalue">void</span> g_qsort_with_data (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> pbase</code></em>,
1491
1473
  <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> total_elems</code></em>,
@@ -1501,23 +1483,19 @@ the comparison routine accepts a user data argument.
1501
1483
  <tbody>
1502
1484
  <tr>
1503
1485
  <td><p><span class="term"><em class="parameter"><code>pbase</code></em> :</span></p></td>
1504
- <td>start of array to sort
1505
- </td>
1486
+ <td>start of array to sort</td>
1506
1487
  </tr>
1507
1488
  <tr>
1508
1489
  <td><p><span class="term"><em class="parameter"><code>total_elems</code></em> :</span></p></td>
1509
- <td>elements in the array
1510
- </td>
1490
+ <td>elements in the array</td>
1511
1491
  </tr>
1512
1492
  <tr>
1513
1493
  <td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
1514
- <td>size of each element
1515
- </td>
1494
+ <td>size of each element</td>
1516
1495
  </tr>
1517
1496
  <tr>
1518
1497
  <td><p><span class="term"><em class="parameter"><code>compare_func</code></em> :</span></p></td>
1519
- <td>function to compare elements
1520
- </td>
1498
+ <td>function to compare elements</td>
1521
1499
  </tr>
1522
1500
  <tr>
1523
1501
  <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
@@ -1528,7 +1506,7 @@ the comparison routine accepts a user data argument.
1528
1506
  </table></div>
1529
1507
  </div>
1530
1508
  <hr>
1531
- <div class="refsect2" title="g_nullify_pointer ()">
1509
+ <div class="refsect2">
1532
1510
  <a name="g-nullify-pointer"></a><h3>g_nullify_pointer ()</h3>
1533
1511
  <pre class="programlisting"><span class="returnvalue">void</span> g_nullify_pointer (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> *nullify_location</code></em>);</pre>
1534
1512
  <p>
@@ -1538,8 +1516,7 @@ Set the pointer at the specified location to <a class="link" href="glib-Standard
1538
1516
  <col align="left" valign="top">
1539
1517
  <tbody><tr>
1540
1518
  <td><p><span class="term"><em class="parameter"><code>nullify_location</code></em> :</span></p></td>
1541
- <td>the memory address of the pointer.
1542
- </td>
1519
+ <td>the memory address of the pointer.</td>
1543
1520
  </tr></tbody>
1544
1521
  </table></div>
1545
1522
  </div>
@@ -1547,6 +1524,6 @@ Set the pointer at the specified location to <a class="link" href="glib-Standard
1547
1524
  </div>
1548
1525
  <div class="footer">
1549
1526
  <hr>
1550
- Generated by GTK-Doc V1.15</div>
1527
+ Generated by GTK-Doc V1.16.1</div>
1551
1528
  </body>
1552
1529
  </html>