glib2 0.90.4-x86-mingw32 → 0.90.5-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (567) hide show
  1. data/ChangeLog +10 -0
  2. data/Rakefile +1 -1
  3. data/ext/glib2/extconf.rb +8 -0
  4. data/ext/glib2/rbglib.h +1 -1
  5. data/lib/1.8/glib2.so +0 -0
  6. data/lib/1.9/glib2.so +0 -0
  7. data/lib/glib-mkenums.rb +3 -2
  8. data/lib/mkmf-gnome2.rb +14 -10
  9. data/vendor/local/bin/glib-genmarshal.exe +0 -0
  10. data/vendor/local/bin/glib-gettextize +2 -2
  11. data/vendor/local/bin/glib-mkenums +35 -9
  12. data/vendor/local/bin/gobject-query.exe +0 -0
  13. data/vendor/local/bin/gspawn-win32-helper-console.exe +0 -0
  14. data/vendor/local/bin/gspawn-win32-helper.exe +0 -0
  15. data/vendor/local/bin/libgio-2.0-0.dll +0 -0
  16. data/vendor/local/bin/libglib-2.0-0.dll +0 -0
  17. data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
  18. data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
  19. data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
  20. data/vendor/local/include/glib-2.0/gio/gappinfo.h +0 -1
  21. data/vendor/local/include/glib-2.0/gio/gbufferedoutputstream.h +0 -1
  22. data/vendor/local/include/glib-2.0/gio/gcontenttype.h +18 -18
  23. data/vendor/local/include/glib-2.0/gio/gconverterinputstream.h +0 -1
  24. data/vendor/local/include/glib-2.0/gio/gconverteroutputstream.h +0 -1
  25. data/vendor/local/include/glib-2.0/gio/gcredentials.h +76 -0
  26. data/vendor/local/include/glib-2.0/gio/gdatainputstream.h +42 -25
  27. data/vendor/local/include/glib-2.0/gio/gdataoutputstream.h +0 -1
  28. data/vendor/local/include/glib-2.0/gio/gdbusaddress.h +58 -0
  29. data/vendor/local/include/glib-2.0/gio/gdbusauthobserver.h +46 -0
  30. data/vendor/local/include/glib-2.0/gio/gdbusconnection.h +562 -0
  31. data/vendor/local/include/glib-2.0/gio/gdbuserror.h +100 -0
  32. data/vendor/local/include/glib-2.0/gio/gdbusintrospection.h +286 -0
  33. data/vendor/local/include/glib-2.0/gio/gdbusmessage.h +149 -0
  34. data/vendor/local/include/glib-2.0/gio/gdbusmethodinvocation.h +73 -0
  35. data/vendor/local/include/glib-2.0/gio/gdbusnameowning.h +112 -0
  36. data/vendor/local/include/glib-2.0/gio/gdbusnamewatching.h +94 -0
  37. data/vendor/local/include/glib-2.0/gio/gdbusproxy.h +167 -0
  38. data/vendor/local/include/glib-2.0/gio/gdbusserver.h +54 -0
  39. data/vendor/local/include/glib-2.0/gio/gdbusutils.h +44 -0
  40. data/vendor/local/include/glib-2.0/gio/gfileenumerator.h +0 -1
  41. data/vendor/local/include/glib-2.0/gio/gfileinfo.h +1 -0
  42. data/vendor/local/include/glib-2.0/gio/gio.h +30 -9
  43. data/vendor/local/include/glib-2.0/gio/gioenums.h +526 -8
  44. data/vendor/local/include/glib-2.0/gio/gioenumtypes.h +42 -0
  45. data/vendor/local/include/glib-2.0/gio/gioerror.h +4 -0
  46. data/vendor/local/include/glib-2.0/gio/giotypes.h +36 -0
  47. data/vendor/local/include/glib-2.0/gio/gmemoryoutputstream.h +1 -0
  48. data/vendor/local/include/glib-2.0/gio/gnetworkaddress.h +4 -0
  49. data/vendor/local/include/glib-2.0/gio/gnetworkservice.h +2 -0
  50. data/vendor/local/include/glib-2.0/gio/gpermission.h +118 -0
  51. data/vendor/local/include/glib-2.0/gio/gproxy.h +123 -0
  52. data/vendor/local/include/glib-2.0/gio/gproxyaddress.h +76 -0
  53. data/vendor/local/include/glib-2.0/gio/gproxyaddressenumerator.h +75 -0
  54. data/vendor/local/include/glib-2.0/gio/gproxyresolver.h +96 -0
  55. data/vendor/local/include/glib-2.0/gio/gsettings.h +258 -0
  56. data/vendor/local/include/glib-2.0/gio/gsettingsbackend.h +138 -0
  57. data/vendor/local/include/glib-2.0/gio/gsimplepermission.h +45 -0
  58. data/vendor/local/include/glib-2.0/gio/gsocket.h +18 -0
  59. data/vendor/local/include/glib-2.0/gio/gsocketclient.h +22 -0
  60. data/vendor/local/include/glib-2.0/gio/gsocketconnectable.h +7 -1
  61. data/vendor/local/include/glib-2.0/gio/gvolumemonitor.h +0 -1
  62. data/vendor/local/include/glib-2.0/gio/gzlibcompressor.h +5 -0
  63. data/vendor/local/include/glib-2.0/gio/gzlibdecompressor.h +3 -0
  64. data/vendor/local/include/glib-2.0/glib-object.h +1 -0
  65. data/vendor/local/include/glib-2.0/glib.h +2 -0
  66. data/vendor/local/include/glib-2.0/glib/galloca.h +47 -0
  67. data/vendor/local/include/glib-2.0/glib/gatomic.h +25 -5
  68. data/vendor/local/include/glib-2.0/glib/gbacktrace.h +7 -7
  69. data/vendor/local/include/glib-2.0/glib/gbase64.h +22 -22
  70. data/vendor/local/include/glib-2.0/glib/gbookmarkfile.h +27 -3
  71. data/vendor/local/include/glib-2.0/glib/gcache.h +1 -1
  72. data/vendor/local/include/glib-2.0/glib/gchecksum.h +20 -20
  73. data/vendor/local/include/glib-2.0/glib/gcompletion.h +4 -0
  74. data/vendor/local/include/glib-2.0/glib/gconvert.h +26 -2
  75. data/vendor/local/include/glib-2.0/glib/gdatetime.h +217 -0
  76. data/vendor/local/include/glib-2.0/glib/gkeyfile.h +16 -0
  77. data/vendor/local/include/glib-2.0/glib/gmacros.h +7 -0
  78. data/vendor/local/include/glib-2.0/glib/gmain.h +305 -78
  79. data/vendor/local/include/glib-2.0/glib/gmarkup.h +1 -1
  80. data/vendor/local/include/glib-2.0/glib/gmem.h +107 -1
  81. data/vendor/local/include/glib-2.0/glib/gnode.h +4 -2
  82. data/vendor/local/include/glib-2.0/glib/gpoll.h +27 -3
  83. data/vendor/local/include/glib-2.0/glib/gregex.h +228 -0
  84. data/vendor/local/include/glib-2.0/glib/grel.h +4 -0
  85. data/vendor/local/include/glib-2.0/glib/gstdio.h +27 -39
  86. data/vendor/local/include/glib-2.0/glib/gstrfuncs.h +3 -1
  87. data/vendor/local/include/glib-2.0/glib/gtestutils.h +19 -14
  88. data/vendor/local/include/glib-2.0/glib/gthread.h +0 -1
  89. data/vendor/local/include/glib-2.0/glib/gtimezone.h +44 -0
  90. data/vendor/local/include/glib-2.0/glib/gunicode.h +18 -1
  91. data/vendor/local/include/glib-2.0/glib/gutils.h +1 -1
  92. data/vendor/local/include/glib-2.0/glib/gvariant.h +25 -1
  93. data/vendor/local/include/glib-2.0/glib/gvarianttype.h +29 -0
  94. data/vendor/local/include/glib-2.0/gobject/gbinding.h +136 -0
  95. data/vendor/local/include/glib-2.0/gobject/gboxed.h +18 -6
  96. data/vendor/local/include/glib-2.0/gobject/gmarshal.h +37 -20
  97. data/vendor/local/include/glib-2.0/gobject/gobject.h +5 -0
  98. data/vendor/local/include/glib-2.0/gobject/gobjectnotifyqueue.c +48 -21
  99. data/vendor/local/include/glib-2.0/gobject/gparam.h +9 -4
  100. data/vendor/local/include/glib-2.0/gobject/gparamspecs.h +54 -0
  101. data/vendor/local/include/glib-2.0/gobject/gtype.h +129 -1
  102. data/vendor/local/include/glib-2.0/gobject/gvaluecollector.h +6 -1
  103. data/vendor/local/include/glib-2.0/gobject/gvaluetypes.h +17 -0
  104. data/vendor/local/lib/gio-2.0.def +345 -2
  105. data/vendor/local/lib/gio-2.0.lib +0 -0
  106. data/vendor/local/lib/glib-2.0.def +71 -0
  107. data/vendor/local/lib/glib-2.0.lib +0 -0
  108. data/vendor/local/lib/glib-2.0/include/glibconfig.h +2 -2
  109. data/vendor/local/lib/gmodule-2.0.lib +0 -0
  110. data/vendor/local/lib/gobject-2.0.def +21 -0
  111. data/vendor/local/lib/gobject-2.0.lib +0 -0
  112. data/vendor/local/lib/gthread-2.0.lib +0 -0
  113. data/vendor/local/lib/intl.lib +0 -0
  114. data/vendor/local/lib/libgio-2.0.dll.a +0 -0
  115. data/vendor/local/lib/libglib-2.0.dll.a +0 -0
  116. data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
  117. data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
  118. data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
  119. data/vendor/local/lib/pkgconfig/gio-2.0.pc +3 -2
  120. data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +11 -0
  121. data/vendor/local/lib/pkgconfig/glib-2.0.pc +2 -2
  122. data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +2 -2
  123. data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +2 -2
  124. data/vendor/local/lib/pkgconfig/gobject-2.0.pc +2 -2
  125. data/vendor/local/lib/pkgconfig/gthread-2.0.pc +2 -2
  126. data/vendor/local/manifest/{glib-dev_2.24.2-2_win32.mft → glib-dev_2.26.0-2_win32.mft} +87 -8
  127. data/vendor/local/manifest/{glib_2.24.2-2_win32.mft → glib_2.26.0-2_win32.mft} +3 -2
  128. data/vendor/local/share/aclocal/glib-gettext.m4 +2 -2
  129. data/vendor/local/share/doc/{glib-2.24.2 → glib-2.26.0}/COPYING +0 -0
  130. data/vendor/local/share/doc/{glib-dev-2.24.2 → glib-dev-2.26.0}/COPYING +0 -0
  131. data/vendor/local/share/glib-2.0/gdb/glib.py +1 -4
  132. data/vendor/local/share/glib-2.0/gettext/po/Makefile.in.in +3 -1
  133. data/vendor/local/share/glib-2.0/schemas/gschema.dtd +60 -0
  134. data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +179 -166
  135. data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +276 -74
  136. data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +35 -35
  137. data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +114 -119
  138. data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +43 -47
  139. data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +67 -67
  140. data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +41 -41
  141. data/vendor/local/share/gtk-doc/html/gio/GConverter.html +70 -35
  142. data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +398 -0
  143. data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +254 -0
  144. data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +6211 -0
  145. data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +1833 -0
  146. data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +618 -0
  147. data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +2050 -0
  148. data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +1124 -0
  149. data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +373 -151
  150. data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +103 -107
  151. data/vendor/local/share/gtk-doc/html/gio/GDrive.html +158 -158
  152. data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +22 -22
  153. data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +19 -19
  154. data/vendor/local/share/gtk-doc/html/gio/GFile.html +935 -923
  155. data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +18 -13
  156. data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +71 -75
  157. data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +29 -29
  158. data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +18 -18
  159. data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +303 -275
  160. data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +27 -27
  161. data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +32 -32
  162. data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +29 -29
  163. data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +30 -30
  164. data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +31 -25
  165. data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +31 -25
  166. data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +27 -27
  167. data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +58 -58
  168. data/vendor/local/share/gtk-doc/html/gio/GIcon.html +38 -38
  169. data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +109 -109
  170. data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +26 -25
  171. data/vendor/local/share/gtk-doc/html/gio/GInitable.html +72 -72
  172. data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +120 -120
  173. data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +29 -29
  174. data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +24 -24
  175. data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +90 -59
  176. data/vendor/local/share/gtk-doc/html/gio/GMount.html +155 -155
  177. data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +76 -76
  178. data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +119 -39
  179. data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +100 -37
  180. data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +137 -131
  181. data/vendor/local/share/gtk-doc/html/gio/GPermission.html +560 -0
  182. data/vendor/local/share/gtk-doc/html/gio/GProxy.html +312 -0
  183. data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +348 -0
  184. data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +301 -0
  185. data/vendor/local/share/gtk-doc/html/gio/GResolver.html +116 -116
  186. data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +54 -54
  187. data/vendor/local/share/gtk-doc/html/gio/GSettings.html +2424 -0
  188. data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +609 -0
  189. data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +362 -148
  190. data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +107 -0
  191. data/vendor/local/share/gtk-doc/html/gio/GSocket.html +612 -326
  192. data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +36 -36
  193. data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +470 -108
  194. data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +131 -46
  195. data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +48 -259
  196. data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +27 -26
  197. data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +123 -119
  198. data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +24 -24
  199. data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +165 -0
  200. data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +36 -36
  201. data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +27 -27
  202. data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +298 -0
  203. data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +222 -0
  204. data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +65 -57
  205. data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +59 -51
  206. data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +38 -38
  207. data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +39 -39
  208. data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +246 -61
  209. data/vendor/local/share/gtk-doc/html/gio/GVfs.html +36 -36
  210. data/vendor/local/share/gtk-doc/html/gio/GVolume.html +113 -113
  211. data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +67 -71
  212. data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +90 -18
  213. data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +56 -14
  214. data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +65 -0
  215. data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +3 -3
  216. data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +3 -3
  217. data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +8 -12
  218. data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +21 -4
  219. data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +1598 -0
  220. data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +18 -3
  221. data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +2412 -661
  222. data/vendor/local/share/gtk-doc/html/gio/async.html +3 -3
  223. data/vendor/local/share/gtk-doc/html/gio/ch01.html +50 -14
  224. data/vendor/local/share/gtk-doc/html/gio/ch02.html +14 -9
  225. data/vendor/local/share/gtk-doc/html/gio/ch03.html +122 -22
  226. data/vendor/local/share/gtk-doc/html/gio/{ch19.html → ch24.html} +8 -8
  227. data/vendor/local/share/gtk-doc/html/gio/{ch20.html → ch25.html} +19 -19
  228. data/vendor/local/share/gtk-doc/html/gio/{ch20s02.html → ch25s02.html} +10 -10
  229. data/vendor/local/share/gtk-doc/html/gio/{ch20s03.html → ch25s03.html} +12 -12
  230. data/vendor/local/share/gtk-doc/html/gio/ch26.html +57 -0
  231. data/vendor/local/share/gtk-doc/html/gio/ch26s02.html +59 -0
  232. data/vendor/local/share/gtk-doc/html/gio/ch26s03.html +159 -0
  233. data/vendor/local/share/gtk-doc/html/gio/ch26s04.html +46 -0
  234. data/vendor/local/share/gtk-doc/html/gio/ch26s05.html +48 -0
  235. data/vendor/local/share/gtk-doc/html/gio/ch26s06.html +277 -0
  236. data/vendor/local/share/gtk-doc/html/gio/ch26s07.html +95 -0
  237. data/vendor/local/share/gtk-doc/html/gio/ch27.html +70 -0
  238. data/vendor/local/share/gtk-doc/html/gio/ch27s02.html +130 -0
  239. data/vendor/local/share/gtk-doc/html/gio/ch27s03.html +202 -0
  240. data/vendor/local/share/gtk-doc/html/gio/ch27s04.html +96 -0
  241. data/vendor/local/share/gtk-doc/html/gio/ch27s05.html +823 -0
  242. data/vendor/local/share/gtk-doc/html/gio/ch27s06.html +828 -0
  243. data/vendor/local/share/gtk-doc/html/gio/conversion.html +3 -3
  244. data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +33 -20
  245. data/vendor/local/share/gtk-doc/html/gio/extending.html +5 -5
  246. data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +3 -3
  247. data/vendor/local/share/gtk-doc/html/gio/file_mon.html +3 -3
  248. data/vendor/local/share/gtk-doc/html/gio/file_ops.html +3 -3
  249. data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +41 -0
  250. data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +59 -0
  251. data/vendor/local/share/gtk-doc/html/gio/gdbus.html +243 -0
  252. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +316 -0
  253. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +1117 -0
  254. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +216 -0
  255. data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +35 -35
  256. data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +58 -50
  257. data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +98 -88
  258. data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +15 -19
  259. data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +15 -19
  260. data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +908 -0
  261. data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +37 -31
  262. data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +97 -16
  263. data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +50 -50
  264. data/vendor/local/share/gtk-doc/html/gio/gio-GSrvTarget.html +38 -38
  265. data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +736 -0
  266. data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +113 -122
  267. data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +666 -0
  268. data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +26 -10
  269. data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +53 -0
  270. data/vendor/local/share/gtk-doc/html/gio/gio.devhelp +569 -68
  271. data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +692 -70
  272. data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +102 -0
  273. data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +11 -5
  274. data/vendor/local/share/gtk-doc/html/gio/icons.html +3 -3
  275. data/vendor/local/share/gtk-doc/html/gio/index.html +137 -20
  276. data/vendor/local/share/gtk-doc/html/gio/index.sgml +814 -96
  277. data/vendor/local/share/gtk-doc/html/gio/migrating.html +32 -12
  278. data/vendor/local/share/gtk-doc/html/gio/networking.html +19 -7
  279. data/vendor/local/share/gtk-doc/html/gio/permissions.html +39 -0
  280. data/vendor/local/share/gtk-doc/html/gio/pt01.html +4 -4
  281. data/vendor/local/share/gtk-doc/html/gio/pt02.html +112 -15
  282. data/vendor/local/share/gtk-doc/html/gio/resolver.html +8 -5
  283. data/vendor/local/share/gtk-doc/html/gio/settings.html +38 -0
  284. data/vendor/local/share/gtk-doc/html/gio/streaming.html +4 -4
  285. data/vendor/local/share/gtk-doc/html/gio/style.css +8 -0
  286. data/vendor/local/share/gtk-doc/html/gio/tools.html +44 -0
  287. data/vendor/local/share/gtk-doc/html/gio/types.html +3 -3
  288. data/vendor/local/share/gtk-doc/html/gio/utils.html +5 -5
  289. data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +4 -4
  290. data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +77 -0
  291. data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +3 -3
  292. data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +3 -3
  293. data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +3 -7
  294. data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +3 -3
  295. data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +3 -3
  296. data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +3 -3
  297. data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +3 -3
  298. data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +3 -3
  299. data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +5 -4
  300. data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +359 -0
  301. data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +10 -3
  302. data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +8 -4
  303. data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +3 -3
  304. data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +82 -3
  305. data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +393 -14
  306. data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +52 -52
  307. data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +51 -51
  308. data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +75 -74
  309. data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +59 -23
  310. data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +35 -35
  311. data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +19 -19
  312. data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +37 -37
  313. data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +87 -85
  314. data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +39 -39
  315. data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +69 -69
  316. data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +21 -21
  317. data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +130 -223
  318. data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +114 -108
  319. data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +25 -25
  320. data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +20 -20
  321. data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +87 -84
  322. data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +61 -61
  323. data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +96 -96
  324. data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +30 -30
  325. data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +33 -30
  326. data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +98 -56
  327. data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +2201 -0
  328. data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +239 -0
  329. data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +736 -256
  330. data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +140 -91
  331. data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +15 -15
  332. data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +59 -59
  333. data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +65 -65
  334. data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +11 -11
  335. data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +91 -28
  336. data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +72 -72
  337. data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +257 -73
  338. data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +27 -27
  339. data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +50 -50
  340. data/vendor/local/share/gtk-doc/html/glib/glib-Limits-of-Basic-Types.html +37 -37
  341. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +70 -66
  342. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocators.html +14 -14
  343. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Chunks.html +44 -44
  344. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +20 -20
  345. data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +108 -63
  346. data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +151 -91
  347. data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +132 -103
  348. data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +83 -81
  349. data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +34 -44
  350. data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +442 -345
  351. data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +40 -40
  352. data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +19 -19
  353. data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +35 -35
  354. data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +72 -23
  355. data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +46 -46
  356. data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +15 -15
  357. data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +35 -36
  358. data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +130 -129
  359. data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +21 -21
  360. data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +30 -26
  361. data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +21 -21
  362. data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +245 -232
  363. data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +104 -103
  364. data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +171 -85
  365. data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +422 -323
  366. data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +24 -24
  367. data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +135 -135
  368. data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +18 -18
  369. data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +11 -11
  370. data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +13 -13
  371. data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +103 -17
  372. data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +189 -97
  373. data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +119 -16
  374. data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +24 -24
  375. data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +32 -32
  376. data/vendor/local/share/gtk-doc/html/glib/glib-building.html +53 -25
  377. data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +7 -7
  378. data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +5 -5
  379. data/vendor/local/share/gtk-doc/html/glib/glib-core.html +3 -3
  380. data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +19 -19
  381. data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +3 -3
  382. data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +3 -3
  383. data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +11 -11
  384. data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +94 -272
  385. data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +9 -9
  386. data/vendor/local/share/gtk-doc/html/glib/glib-running.html +43 -26
  387. data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +10 -4
  388. data/vendor/local/share/gtk-doc/html/glib/glib.devhelp +131 -32
  389. data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +174 -59
  390. data/vendor/local/share/gtk-doc/html/glib/glib.html +3 -3
  391. data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +11 -11
  392. data/vendor/local/share/gtk-doc/html/glib/gtester.html +11 -11
  393. data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +190 -73
  394. data/vendor/local/share/gtk-doc/html/glib/index.html +13 -5
  395. data/vendor/local/share/gtk-doc/html/glib/index.sgml +133 -4
  396. data/vendor/local/share/gtk-doc/html/glib/style.css +8 -0
  397. data/vendor/local/share/gtk-doc/html/glib/tools.html +3 -3
  398. data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +803 -0
  399. data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +21 -21
  400. data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +19 -19
  401. data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +47 -0
  402. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +3 -3
  403. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +3 -3
  404. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +3 -3
  405. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +3 -3
  406. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +3 -3
  407. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +3 -3
  408. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +6 -5
  409. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +201 -0
  410. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +3 -3
  411. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +3 -3
  412. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +3 -3
  413. data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +3 -3
  414. data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +148 -4
  415. data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +7 -7
  416. data/vendor/local/share/gtk-doc/html/gobject/ch06s03.html +4 -4
  417. data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +4 -4
  418. data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +6 -6
  419. data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +6 -6
  420. data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +14 -14
  421. data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +28 -22
  422. data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +29 -17
  423. data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +45 -34
  424. data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +130 -73
  425. data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +43 -43
  426. data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +83 -73
  427. data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +35 -35
  428. data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +71 -71
  429. data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +558 -245
  430. data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +358 -92
  431. data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +391 -158
  432. data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +47 -44
  433. data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +42 -12
  434. data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +6 -6
  435. data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +8 -8
  436. data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +10 -10
  437. data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp +48 -9
  438. data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +53 -9
  439. data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +6 -6
  440. data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +4 -4
  441. data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +5 -5
  442. data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +3 -3
  443. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +5 -5
  444. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +3 -3
  445. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +3 -3
  446. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +3 -3
  447. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +9 -9
  448. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +8 -8
  449. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +4 -4
  450. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +7 -7
  451. data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +4 -4
  452. data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +6 -6
  453. data/vendor/local/share/gtk-doc/html/gobject/index.html +15 -10
  454. data/vendor/local/share/gtk-doc/html/gobject/index.sgml +53 -1
  455. data/vendor/local/share/gtk-doc/html/gobject/pr01.html +4 -4
  456. data/vendor/local/share/gtk-doc/html/gobject/pt01.html +7 -7
  457. data/vendor/local/share/gtk-doc/html/gobject/pt02.html +8 -8
  458. data/vendor/local/share/gtk-doc/html/gobject/pt03.html +5 -5
  459. data/vendor/local/share/gtk-doc/html/gobject/rn01.html +7 -4
  460. data/vendor/local/share/gtk-doc/html/gobject/rn02.html +6 -6
  461. data/vendor/local/share/gtk-doc/html/gobject/signal.html +11 -11
  462. data/vendor/local/share/gtk-doc/html/gobject/style.css +8 -0
  463. data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +3 -3
  464. data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +3 -3
  465. data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +3 -3
  466. data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +3 -3
  467. data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +3 -3
  468. data/vendor/local/share/locale/af/LC_MESSAGES/glib20.mo +0 -0
  469. data/vendor/local/share/locale/am/LC_MESSAGES/glib20.mo +0 -0
  470. data/vendor/local/share/locale/ar/LC_MESSAGES/glib20.mo +0 -0
  471. data/vendor/local/share/locale/as/LC_MESSAGES/glib20.mo +0 -0
  472. data/vendor/local/share/locale/ast/LC_MESSAGES/glib20.mo +0 -0
  473. data/vendor/local/share/locale/az/LC_MESSAGES/glib20.mo +0 -0
  474. data/vendor/local/share/locale/be/LC_MESSAGES/glib20.mo +0 -0
  475. data/vendor/local/share/locale/be@latin/LC_MESSAGES/glib20.mo +0 -0
  476. data/vendor/local/share/locale/bg/LC_MESSAGES/glib20.mo +0 -0
  477. data/vendor/local/share/locale/bn/LC_MESSAGES/glib20.mo +0 -0
  478. data/vendor/local/share/locale/bn_IN/LC_MESSAGES/glib20.mo +0 -0
  479. data/vendor/local/share/locale/bs/LC_MESSAGES/glib20.mo +0 -0
  480. data/vendor/local/share/locale/ca/LC_MESSAGES/glib20.mo +0 -0
  481. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/glib20.mo +0 -0
  482. data/vendor/local/share/locale/cs/LC_MESSAGES/glib20.mo +0 -0
  483. data/vendor/local/share/locale/cy/LC_MESSAGES/glib20.mo +0 -0
  484. data/vendor/local/share/locale/da/LC_MESSAGES/glib20.mo +0 -0
  485. data/vendor/local/share/locale/de/LC_MESSAGES/glib20.mo +0 -0
  486. data/vendor/local/share/locale/dz/LC_MESSAGES/glib20.mo +0 -0
  487. data/vendor/local/share/locale/el/LC_MESSAGES/glib20.mo +0 -0
  488. data/vendor/local/share/locale/en@shaw/LC_MESSAGES/glib20.mo +0 -0
  489. data/vendor/local/share/locale/en_CA/LC_MESSAGES/glib20.mo +0 -0
  490. data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib20.mo +0 -0
  491. data/vendor/local/share/locale/eo/LC_MESSAGES/glib20.mo +0 -0
  492. data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
  493. data/vendor/local/share/locale/et/LC_MESSAGES/glib20.mo +0 -0
  494. data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
  495. data/vendor/local/share/locale/fa/LC_MESSAGES/glib20.mo +0 -0
  496. data/vendor/local/share/locale/fi/LC_MESSAGES/glib20.mo +0 -0
  497. data/vendor/local/share/locale/fr/LC_MESSAGES/glib20.mo +0 -0
  498. data/vendor/local/share/locale/ga/LC_MESSAGES/glib20.mo +0 -0
  499. data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
  500. data/vendor/local/share/locale/gu/LC_MESSAGES/glib20.mo +0 -0
  501. data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
  502. data/vendor/local/share/locale/hi/LC_MESSAGES/glib20.mo +0 -0
  503. data/vendor/local/share/locale/hr/LC_MESSAGES/glib20.mo +0 -0
  504. data/vendor/local/share/locale/hu/LC_MESSAGES/glib20.mo +0 -0
  505. data/vendor/local/share/locale/hy/LC_MESSAGES/glib20.mo +0 -0
  506. data/vendor/local/share/locale/id/LC_MESSAGES/glib20.mo +0 -0
  507. data/vendor/local/share/locale/is/LC_MESSAGES/glib20.mo +0 -0
  508. data/vendor/local/share/locale/it/LC_MESSAGES/glib20.mo +0 -0
  509. data/vendor/local/share/locale/ja/LC_MESSAGES/glib20.mo +0 -0
  510. data/vendor/local/share/locale/ka/LC_MESSAGES/glib20.mo +0 -0
  511. data/vendor/local/share/locale/kk/LC_MESSAGES/glib20.mo +0 -0
  512. data/vendor/local/share/locale/kn/LC_MESSAGES/glib20.mo +0 -0
  513. data/vendor/local/share/locale/ko/LC_MESSAGES/glib20.mo +0 -0
  514. data/vendor/local/share/locale/ku/LC_MESSAGES/glib20.mo +0 -0
  515. data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
  516. data/vendor/local/share/locale/lv/LC_MESSAGES/glib20.mo +0 -0
  517. data/vendor/local/share/locale/mai/LC_MESSAGES/glib20.mo +0 -0
  518. data/vendor/local/share/locale/mg/LC_MESSAGES/glib20.mo +0 -0
  519. data/vendor/local/share/locale/mk/LC_MESSAGES/glib20.mo +0 -0
  520. data/vendor/local/share/locale/ml/LC_MESSAGES/glib20.mo +0 -0
  521. data/vendor/local/share/locale/mn/LC_MESSAGES/glib20.mo +0 -0
  522. data/vendor/local/share/locale/mr/LC_MESSAGES/glib20.mo +0 -0
  523. data/vendor/local/share/locale/ms/LC_MESSAGES/glib20.mo +0 -0
  524. data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
  525. data/vendor/local/share/locale/nds/LC_MESSAGES/glib20.mo +0 -0
  526. data/vendor/local/share/locale/ne/LC_MESSAGES/glib20.mo +0 -0
  527. data/vendor/local/share/locale/nl/LC_MESSAGES/glib20.mo +0 -0
  528. data/vendor/local/share/locale/nn/LC_MESSAGES/glib20.mo +0 -0
  529. data/vendor/local/share/locale/oc/LC_MESSAGES/glib20.mo +0 -0
  530. data/vendor/local/share/locale/or/LC_MESSAGES/glib20.mo +0 -0
  531. data/vendor/local/share/locale/pa/LC_MESSAGES/glib20.mo +0 -0
  532. data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
  533. data/vendor/local/share/locale/ps/LC_MESSAGES/glib20.mo +0 -0
  534. data/vendor/local/share/locale/pt/LC_MESSAGES/glib20.mo +0 -0
  535. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib20.mo +0 -0
  536. data/vendor/local/share/locale/ro/LC_MESSAGES/glib20.mo +0 -0
  537. data/vendor/local/share/locale/ru/LC_MESSAGES/glib20.mo +0 -0
  538. data/vendor/local/share/locale/rw/LC_MESSAGES/glib20.mo +0 -0
  539. data/vendor/local/share/locale/si/LC_MESSAGES/glib20.mo +0 -0
  540. data/vendor/local/share/locale/sk/LC_MESSAGES/glib20.mo +0 -0
  541. data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
  542. data/vendor/local/share/locale/sq/LC_MESSAGES/glib20.mo +0 -0
  543. data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
  544. data/vendor/local/share/locale/sr@ije/LC_MESSAGES/glib20.mo +0 -0
  545. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib20.mo +0 -0
  546. data/vendor/local/share/locale/sv/LC_MESSAGES/glib20.mo +0 -0
  547. data/vendor/local/share/locale/ta/LC_MESSAGES/glib20.mo +0 -0
  548. data/vendor/local/share/locale/te/LC_MESSAGES/glib20.mo +0 -0
  549. data/vendor/local/share/locale/th/LC_MESSAGES/glib20.mo +0 -0
  550. data/vendor/local/share/locale/tl/LC_MESSAGES/glib20.mo +0 -0
  551. data/vendor/local/share/locale/tr/LC_MESSAGES/glib20.mo +0 -0
  552. data/vendor/local/share/locale/tt/LC_MESSAGES/glib20.mo +0 -0
  553. data/vendor/local/share/locale/uk/LC_MESSAGES/glib20.mo +0 -0
  554. data/vendor/local/share/locale/vi/LC_MESSAGES/glib20.mo +0 -0
  555. data/vendor/local/share/locale/wa/LC_MESSAGES/glib20.mo +0 -0
  556. data/vendor/local/share/locale/xh/LC_MESSAGES/glib20.mo +0 -0
  557. data/vendor/local/share/locale/yi/LC_MESSAGES/glib20.mo +0 -0
  558. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib20.mo +0 -0
  559. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/glib20.mo +0 -0
  560. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib20.mo +0 -0
  561. data/vendor/local/share/man/man1/glib-genmarshal.1 +9 -4
  562. data/vendor/local/share/man/man1/glib-mkenums.1 +17 -5
  563. data/vendor/local/share/man/man1/gobject-query.1 +4 -4
  564. data/vendor/local/src/tml/packaging/{glib_2.24.2-2_win32.log → glib_2.26.0-2_win32.log} +1102 -837
  565. data/vendor/local/src/tml/packaging/glib_2.26.0-2_win32.sh +64 -0
  566. metadata +905 -825
  567. data/vendor/local/src/tml/packaging/glib_2.24.2-2_win32.sh +0 -290
@@ -7,8 +7,8 @@
7
7
  <link rel="home" href="index.html" title="GIO Reference Manual">
8
8
  <link rel="up" href="resolver.html" title="DNS resolution">
9
9
  <link rel="prev" href="GNetworkService.html" title="GNetworkService">
10
- <link rel="next" href="highlevel-socket.html" title="Highlevel network functionallity">
11
- <meta name="generator" content="GTK-Doc V1.14 (XML mode)">
10
+ <link rel="next" href="gdbus-lowlevel.html" title="Lowlevel D-Bus Support">
11
+ <meta name="generator" content="GTK-Doc V1.15.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">
@@ -18,7 +18,7 @@
18
18
  <td><a accesskey="u" href="resolver.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19
19
  <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20
20
  <th width="100%" align="center">GIO Reference Manual</th>
21
- <td><a accesskey="n" href="highlevel-socket.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
21
+ <td><a accesskey="n" href="gdbus-lowlevel.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
22
22
  </tr>
23
23
  <tr><td colspan="5" class="shortcuts">
24
24
  <a href="#gio-GSrvTarget.synopsis" class="shortcut">Top</a>
@@ -26,7 +26,7 @@
26
26
  <a href="#gio-GSrvTarget.description" class="shortcut">Description</a>
27
27
  </td></tr>
28
28
  </table>
29
- <div class="refentry" title="GSrvTarget">
29
+ <div class="refentry">
30
30
  <a name="gio-GSrvTarget"></a><div class="titlepage"></div>
31
31
  <div class="refnamediv"><table width="100%"><tr>
32
32
  <td valign="top">
@@ -35,26 +35,26 @@
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="gio-GSrvTarget.synopsis"></a><h2>Synopsis</h2>
40
40
  <pre class="synopsis">
41
41
  #include &lt;gio/gio.h&gt;
42
42
 
43
43
  <a class="link" href="gio-GSrvTarget.html#GSrvTarget" title="GSrvTarget">GSrvTarget</a>;
44
- <a class="link" href="gio-GSrvTarget.html#GSrvTarget" title="GSrvTarget"><span class="returnvalue">GSrvTarget</span></a> * <a class="link" href="gio-GSrvTarget.html#g-srv-target-new" title="g_srv_target_new ()">g_srv_target_new</a> (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *hostname</code></em>,
45
- <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> port</code></em>,
46
- <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> priority</code></em>,
47
- <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> weight</code></em>);
44
+ <a class="link" href="gio-GSrvTarget.html#GSrvTarget" title="GSrvTarget"><span class="returnvalue">GSrvTarget</span></a> * <a class="link" href="gio-GSrvTarget.html#g-srv-target-new" title="g_srv_target_new ()">g_srv_target_new</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *hostname</code></em>,
45
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> port</code></em>,
46
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> priority</code></em>,
47
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> weight</code></em>);
48
48
  <a class="link" href="gio-GSrvTarget.html#GSrvTarget" title="GSrvTarget"><span class="returnvalue">GSrvTarget</span></a> * <a class="link" href="gio-GSrvTarget.html#g-srv-target-copy" title="g_srv_target_copy ()">g_srv_target_copy</a> (<em class="parameter"><code><a class="link" href="gio-GSrvTarget.html#GSrvTarget" title="GSrvTarget"><span class="type">GSrvTarget</span></a> *target</code></em>);
49
49
  <span class="returnvalue">void</span> <a class="link" href="gio-GSrvTarget.html#g-srv-target-free" title="g_srv_target_free ()">g_srv_target_free</a> (<em class="parameter"><code><a class="link" href="gio-GSrvTarget.html#GSrvTarget" title="GSrvTarget"><span class="type">GSrvTarget</span></a> *target</code></em>);
50
- const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="gio-GSrvTarget.html#g-srv-target-get-hostname" title="g_srv_target_get_hostname ()">g_srv_target_get_hostname</a> (<em class="parameter"><code><a class="link" href="gio-GSrvTarget.html#GSrvTarget" title="GSrvTarget"><span class="type">GSrvTarget</span></a> *target</code></em>);
51
- <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint16"><span class="returnvalue">guint16</span></a> <a class="link" href="gio-GSrvTarget.html#g-srv-target-get-port" title="g_srv_target_get_port ()">g_srv_target_get_port</a> (<em class="parameter"><code><a class="link" href="gio-GSrvTarget.html#GSrvTarget" title="GSrvTarget"><span class="type">GSrvTarget</span></a> *target</code></em>);
52
- <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint16"><span class="returnvalue">guint16</span></a> <a class="link" href="gio-GSrvTarget.html#g-srv-target-get-priority" title="g_srv_target_get_priority ()">g_srv_target_get_priority</a> (<em class="parameter"><code><a class="link" href="gio-GSrvTarget.html#GSrvTarget" title="GSrvTarget"><span class="type">GSrvTarget</span></a> *target</code></em>);
53
- <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint16"><span class="returnvalue">guint16</span></a> <a class="link" href="gio-GSrvTarget.html#g-srv-target-get-weight" title="g_srv_target_get_weight ()">g_srv_target_get_weight</a> (<em class="parameter"><code><a class="link" href="gio-GSrvTarget.html#GSrvTarget" title="GSrvTarget"><span class="type">GSrvTarget</span></a> *target</code></em>);
54
- <a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * <a class="link" href="gio-GSrvTarget.html#g-srv-target-list-sort" title="g_srv_target_list_sort ()">g_srv_target_list_sort</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *targets</code></em>);
50
+ const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="gio-GSrvTarget.html#g-srv-target-get-hostname" title="g_srv_target_get_hostname ()">g_srv_target_get_hostname</a> (<em class="parameter"><code><a class="link" href="gio-GSrvTarget.html#GSrvTarget" title="GSrvTarget"><span class="type">GSrvTarget</span></a> *target</code></em>);
51
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="returnvalue">guint16</span></a> <a class="link" href="gio-GSrvTarget.html#g-srv-target-get-port" title="g_srv_target_get_port ()">g_srv_target_get_port</a> (<em class="parameter"><code><a class="link" href="gio-GSrvTarget.html#GSrvTarget" title="GSrvTarget"><span class="type">GSrvTarget</span></a> *target</code></em>);
52
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="returnvalue">guint16</span></a> <a class="link" href="gio-GSrvTarget.html#g-srv-target-get-priority" title="g_srv_target_get_priority ()">g_srv_target_get_priority</a> (<em class="parameter"><code><a class="link" href="gio-GSrvTarget.html#GSrvTarget" title="GSrvTarget"><span class="type">GSrvTarget</span></a> *target</code></em>);
53
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="returnvalue">guint16</span></a> <a class="link" href="gio-GSrvTarget.html#g-srv-target-get-weight" title="g_srv_target_get_weight ()">g_srv_target_get_weight</a> (<em class="parameter"><code><a class="link" href="gio-GSrvTarget.html#GSrvTarget" title="GSrvTarget"><span class="type">GSrvTarget</span></a> *target</code></em>);
54
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * <a class="link" href="gio-GSrvTarget.html#g-srv-target-list-sort" title="g_srv_target_list_sort ()">g_srv_target_list_sort</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *targets</code></em>);
55
55
  </pre>
56
56
  </div>
57
- <div class="refsect1" title="Description">
57
+ <div class="refsect1">
58
58
  <a name="gio-GSrvTarget.description"></a><h2>Description</h2>
59
59
  <p>
60
60
  SRV (service) records are used by some network protocols to provide
@@ -74,9 +74,9 @@ to the remote service, you can use <a class="link" href="GNetworkService.html" t
74
74
  <a class="link" href="gio-GSrvTarget.html#GSrvTarget" title="GSrvTarget"><span class="type">GSrvTarget</span></a> at all.
75
75
  </p>
76
76
  </div>
77
- <div class="refsect1" title="Details">
77
+ <div class="refsect1">
78
78
  <a name="gio-GSrvTarget.details"></a><h2>Details</h2>
79
- <div class="refsect2" title="GSrvTarget">
79
+ <div class="refsect2">
80
80
  <a name="GSrvTarget"></a><h3>GSrvTarget</h3>
81
81
  <pre class="programlisting">typedef struct _GSrvTarget GSrvTarget;</pre>
82
82
  <p>
@@ -84,12 +84,12 @@ A single target host/port that a network service is running on.
84
84
  </p>
85
85
  </div>
86
86
  <hr>
87
- <div class="refsect2" title="g_srv_target_new ()">
87
+ <div class="refsect2">
88
88
  <a name="g-srv-target-new"></a><h3>g_srv_target_new ()</h3>
89
- <pre class="programlisting"><a class="link" href="gio-GSrvTarget.html#GSrvTarget" title="GSrvTarget"><span class="returnvalue">GSrvTarget</span></a> * g_srv_target_new (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *hostname</code></em>,
90
- <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> port</code></em>,
91
- <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> priority</code></em>,
92
- <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> weight</code></em>);</pre>
89
+ <pre class="programlisting"><a class="link" href="gio-GSrvTarget.html#GSrvTarget" title="GSrvTarget"><span class="returnvalue">GSrvTarget</span></a> * g_srv_target_new (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *hostname</code></em>,
90
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> port</code></em>,
91
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> priority</code></em>,
92
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> weight</code></em>);</pre>
93
93
  <p>
94
94
  Creates a new <a class="link" href="gio-GSrvTarget.html#GSrvTarget" title="GSrvTarget"><span class="type">GSrvTarget</span></a> with the given parameters.
95
95
  </p>
@@ -131,7 +131,7 @@ created by <a class="link" href="GResolver.html" title="GResolver"><span class="
131
131
  <p class="since">Since 2.22</p>
132
132
  </div>
133
133
  <hr>
134
- <div class="refsect2" title="g_srv_target_copy ()">
134
+ <div class="refsect2">
135
135
  <a name="g-srv-target-copy"></a><h3>g_srv_target_copy ()</h3>
136
136
  <pre class="programlisting"><a class="link" href="gio-GSrvTarget.html#GSrvTarget" title="GSrvTarget"><span class="returnvalue">GSrvTarget</span></a> * g_srv_target_copy (<em class="parameter"><code><a class="link" href="gio-GSrvTarget.html#GSrvTarget" title="GSrvTarget"><span class="type">GSrvTarget</span></a> *target</code></em>);</pre>
137
137
  <p>
@@ -156,7 +156,7 @@ Copies <em class="parameter"><code>target</code></em>
156
156
  <p class="since">Since 2.22</p>
157
157
  </div>
158
158
  <hr>
159
- <div class="refsect2" title="g_srv_target_free ()">
159
+ <div class="refsect2">
160
160
  <a name="g-srv-target-free"></a><h3>g_srv_target_free ()</h3>
161
161
  <pre class="programlisting"><span class="returnvalue">void</span> g_srv_target_free (<em class="parameter"><code><a class="link" href="gio-GSrvTarget.html#GSrvTarget" title="GSrvTarget"><span class="type">GSrvTarget</span></a> *target</code></em>);</pre>
162
162
  <p>
@@ -173,14 +173,14 @@ Frees <em class="parameter"><code>target</code></em>
173
173
  <p class="since">Since 2.22</p>
174
174
  </div>
175
175
  <hr>
176
- <div class="refsect2" title="g_srv_target_get_hostname ()">
176
+ <div class="refsect2">
177
177
  <a name="g-srv-target-get-hostname"></a><h3>g_srv_target_get_hostname ()</h3>
178
- <pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * g_srv_target_get_hostname (<em class="parameter"><code><a class="link" href="gio-GSrvTarget.html#GSrvTarget" title="GSrvTarget"><span class="type">GSrvTarget</span></a> *target</code></em>);</pre>
178
+ <pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * g_srv_target_get_hostname (<em class="parameter"><code><a class="link" href="gio-GSrvTarget.html#GSrvTarget" title="GSrvTarget"><span class="type">GSrvTarget</span></a> *target</code></em>);</pre>
179
179
  <p>
180
180
  Gets <em class="parameter"><code>target</code></em>'s hostname (in ASCII form; if you are going to present
181
- this to the user, you should use <a href="/usr/share/gtk-doc/html/glib/glib-Hostname-Utilities.html#g-hostname-is-ascii-encoded"><code class="function">g_hostname_is_ascii_encoded()</code></a> to
181
+ this to the user, you should use <a href="http://library.gnome.org/devel/glib/unstable/glib-Hostname-Utilities.html#g-hostname-is-ascii-encoded"><code class="function">g_hostname_is_ascii_encoded()</code></a> to
182
182
  check if it contains encoded Unicode segments, and use
183
- <a href="/usr/share/gtk-doc/html/glib/glib-Hostname-Utilities.html#g-hostname-to-unicode"><code class="function">g_hostname_to_unicode()</code></a> to convert it if it does.)
183
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Hostname-Utilities.html#g-hostname-to-unicode"><code class="function">g_hostname_to_unicode()</code></a> to convert it if it does.)
184
184
  </p>
185
185
  <div class="variablelist"><table border="0">
186
186
  <col align="left" valign="top">
@@ -201,9 +201,9 @@ check if it contains encoded Unicode segments, and use
201
201
  <p class="since">Since 2.22</p>
202
202
  </div>
203
203
  <hr>
204
- <div class="refsect2" title="g_srv_target_get_port ()">
204
+ <div class="refsect2">
205
205
  <a name="g-srv-target-get-port"></a><h3>g_srv_target_get_port ()</h3>
206
- <pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint16"><span class="returnvalue">guint16</span></a> g_srv_target_get_port (<em class="parameter"><code><a class="link" href="gio-GSrvTarget.html#GSrvTarget" title="GSrvTarget"><span class="type">GSrvTarget</span></a> *target</code></em>);</pre>
206
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="returnvalue">guint16</span></a> g_srv_target_get_port (<em class="parameter"><code><a class="link" href="gio-GSrvTarget.html#GSrvTarget" title="GSrvTarget"><span class="type">GSrvTarget</span></a> *target</code></em>);</pre>
207
207
  <p>
208
208
  Gets <em class="parameter"><code>target</code></em>'s port
209
209
  </p>
@@ -226,9 +226,9 @@ Gets <em class="parameter"><code>target</code></em>'s port
226
226
  <p class="since">Since 2.22</p>
227
227
  </div>
228
228
  <hr>
229
- <div class="refsect2" title="g_srv_target_get_priority ()">
229
+ <div class="refsect2">
230
230
  <a name="g-srv-target-get-priority"></a><h3>g_srv_target_get_priority ()</h3>
231
- <pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint16"><span class="returnvalue">guint16</span></a> g_srv_target_get_priority (<em class="parameter"><code><a class="link" href="gio-GSrvTarget.html#GSrvTarget" title="GSrvTarget"><span class="type">GSrvTarget</span></a> *target</code></em>);</pre>
231
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="returnvalue">guint16</span></a> g_srv_target_get_priority (<em class="parameter"><code><a class="link" href="gio-GSrvTarget.html#GSrvTarget" title="GSrvTarget"><span class="type">GSrvTarget</span></a> *target</code></em>);</pre>
232
232
  <p>
233
233
  Gets <em class="parameter"><code>target</code></em>'s priority. You should not need to look at this;
234
234
  <a class="link" href="GResolver.html" title="GResolver"><span class="type">GResolver</span></a> already sorts the targets according to the algorithm in
@@ -253,9 +253,9 @@ RFC 2782.
253
253
  <p class="since">Since 2.22</p>
254
254
  </div>
255
255
  <hr>
256
- <div class="refsect2" title="g_srv_target_get_weight ()">
256
+ <div class="refsect2">
257
257
  <a name="g-srv-target-get-weight"></a><h3>g_srv_target_get_weight ()</h3>
258
- <pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint16"><span class="returnvalue">guint16</span></a> g_srv_target_get_weight (<em class="parameter"><code><a class="link" href="gio-GSrvTarget.html#GSrvTarget" title="GSrvTarget"><span class="type">GSrvTarget</span></a> *target</code></em>);</pre>
258
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="returnvalue">guint16</span></a> g_srv_target_get_weight (<em class="parameter"><code><a class="link" href="gio-GSrvTarget.html#GSrvTarget" title="GSrvTarget"><span class="type">GSrvTarget</span></a> *target</code></em>);</pre>
259
259
  <p>
260
260
  Gets <em class="parameter"><code>target</code></em>'s weight. You should not need to look at this;
261
261
  <a class="link" href="GResolver.html" title="GResolver"><span class="type">GResolver</span></a> already sorts the targets according to the algorithm in
@@ -280,9 +280,9 @@ RFC 2782.
280
280
  <p class="since">Since 2.22</p>
281
281
  </div>
282
282
  <hr>
283
- <div class="refsect2" title="g_srv_target_list_sort ()">
283
+ <div class="refsect2">
284
284
  <a name="g-srv-target-list-sort"></a><h3>g_srv_target_list_sort ()</h3>
285
- <pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * g_srv_target_list_sort (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *targets</code></em>);</pre>
285
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * g_srv_target_list_sort (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *targets</code></em>);</pre>
286
286
  <p>
287
287
  Sorts <em class="parameter"><code>targets</code></em> in place according to the algorithm in RFC 2782.
288
288
  </p>
@@ -291,7 +291,7 @@ Sorts <em class="parameter"><code>targets</code></em> in place according to the
291
291
  <tbody>
292
292
  <tr>
293
293
  <td><p><span class="term"><em class="parameter"><code>targets</code></em> :</span></p></td>
294
- <td>a <a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of <a class="link" href="gio-GSrvTarget.html#GSrvTarget" title="GSrvTarget"><span class="type">GSrvTarget</span></a>
294
+ <td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of <a class="link" href="gio-GSrvTarget.html#GSrvTarget" title="GSrvTarget"><span class="type">GSrvTarget</span></a>
295
295
  </td>
296
296
  </tr>
297
297
  <tr>
@@ -308,6 +308,6 @@ Sorts <em class="parameter"><code>targets</code></em> in place according to the
308
308
  </div>
309
309
  <div class="footer">
310
310
  <hr>
311
- Generated by GTK-Doc V1.14</div>
311
+ Generated by GTK-Doc V1.15.1</div>
312
312
  </body>
313
313
  </html>
@@ -0,0 +1,736 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
+ <title>Owning Bus Names</title>
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
7
+ <link rel="home" href="index.html" title="GIO Reference Manual">
8
+ <link rel="up" href="gdbus-convenience.html" title="Highlevel D-Bus Support">
9
+ <link rel="prev" href="gdbus-convenience.html" title="Highlevel D-Bus Support">
10
+ <link rel="next" href="gio-Watching-Bus-Names.html" title="Watching Bus Names">
11
+ <meta name="generator" content="GTK-Doc V1.15.1 (XML mode)">
12
+ <link rel="stylesheet" href="style.css" type="text/css">
13
+ </head>
14
+ <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
+ <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
16
+ <tr valign="middle">
17
+ <td><a accesskey="p" href="gdbus-convenience.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
+ <td><a accesskey="u" href="gdbus-convenience.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19
+ <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20
+ <th width="100%" align="center">GIO Reference Manual</th>
21
+ <td><a accesskey="n" href="gio-Watching-Bus-Names.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
22
+ </tr>
23
+ <tr><td colspan="5" class="shortcuts">
24
+ <a href="#gio-Owning-Bus-Names.synopsis" class="shortcut">Top</a>
25
+  | 
26
+ <a href="#gio-Owning-Bus-Names.description" class="shortcut">Description</a>
27
+ </td></tr>
28
+ </table>
29
+ <div class="refentry">
30
+ <a name="gio-Owning-Bus-Names"></a><div class="titlepage"></div>
31
+ <div class="refnamediv"><table width="100%"><tr>
32
+ <td valign="top">
33
+ <h2><span class="refentrytitle"><a name="gio-Owning-Bus-Names.top_of_page"></a>Owning Bus Names</span></h2>
34
+ <p>Owning Bus Names — Simple API for owning bus names</p>
35
+ </td>
36
+ <td valign="top" align="right"></td>
37
+ </tr></table></div>
38
+ <div class="refsynopsisdiv">
39
+ <a name="gio-Owning-Bus-Names.synopsis"></a><h2>Synopsis</h2>
40
+ <pre class="synopsis">
41
+ #include &lt;gio/gio.h&gt;
42
+
43
+ <span class="returnvalue">void</span> (<a class="link" href="gio-Owning-Bus-Names.html#GBusAcquiredCallback" title="GBusAcquiredCallback ()">*GBusAcquiredCallback</a>) (<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
44
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
45
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
46
+ <span class="returnvalue">void</span> (<a class="link" href="gio-Owning-Bus-Names.html#GBusNameAcquiredCallback" title="GBusNameAcquiredCallback ()">*GBusNameAcquiredCallback</a>) (<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
47
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
48
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
49
+ <span class="returnvalue">void</span> (<a class="link" href="gio-Owning-Bus-Names.html#GBusNameLostCallback" title="GBusNameLostCallback ()">*GBusNameLostCallback</a>) (<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
50
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
51
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
52
+ enum <a class="link" href="gio-Owning-Bus-Names.html#GBusNameOwnerFlags" title="enum GBusNameOwnerFlags">GBusNameOwnerFlags</a>;
53
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="gio-Owning-Bus-Names.html#g-bus-own-name" title="g_bus_own_name ()">g_bus_own_name</a> (<em class="parameter"><code><a class="link" href="GDBusConnection.html#GBusType" title="enum GBusType"><span class="type">GBusType</span></a> bus_type</code></em>,
54
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
55
+ <em class="parameter"><code><a class="link" href="gio-Owning-Bus-Names.html#GBusNameOwnerFlags" title="enum GBusNameOwnerFlags"><span class="type">GBusNameOwnerFlags</span></a> flags</code></em>,
56
+ <em class="parameter"><code><a class="link" href="gio-Owning-Bus-Names.html#GBusAcquiredCallback" title="GBusAcquiredCallback ()"><span class="type">GBusAcquiredCallback</span></a> bus_acquired_handler</code></em>,
57
+ <em class="parameter"><code><a class="link" href="gio-Owning-Bus-Names.html#GBusNameAcquiredCallback" title="GBusNameAcquiredCallback ()"><span class="type">GBusNameAcquiredCallback</span></a> name_acquired_handler</code></em>,
58
+ <em class="parameter"><code><a class="link" href="gio-Owning-Bus-Names.html#GBusNameLostCallback" title="GBusNameLostCallback ()"><span class="type">GBusNameLostCallback</span></a> name_lost_handler</code></em>,
59
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
60
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> user_data_free_func</code></em>);
61
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="gio-Owning-Bus-Names.html#g-bus-own-name-on-connection" title="g_bus_own_name_on_connection ()">g_bus_own_name_on_connection</a> (<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
62
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
63
+ <em class="parameter"><code><a class="link" href="gio-Owning-Bus-Names.html#GBusNameOwnerFlags" title="enum GBusNameOwnerFlags"><span class="type">GBusNameOwnerFlags</span></a> flags</code></em>,
64
+ <em class="parameter"><code><a class="link" href="gio-Owning-Bus-Names.html#GBusNameAcquiredCallback" title="GBusNameAcquiredCallback ()"><span class="type">GBusNameAcquiredCallback</span></a> name_acquired_handler</code></em>,
65
+ <em class="parameter"><code><a class="link" href="gio-Owning-Bus-Names.html#GBusNameLostCallback" title="GBusNameLostCallback ()"><span class="type">GBusNameLostCallback</span></a> name_lost_handler</code></em>,
66
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
67
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> user_data_free_func</code></em>);
68
+ <span class="returnvalue">void</span> <a class="link" href="gio-Owning-Bus-Names.html#g-bus-unown-name" title="g_bus_unown_name ()">g_bus_unown_name</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> owner_id</code></em>);
69
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="gio-Owning-Bus-Names.html#g-bus-own-name-with-closures" title="g_bus_own_name_with_closures ()">g_bus_own_name_with_closures</a> (<em class="parameter"><code><a class="link" href="GDBusConnection.html#GBusType" title="enum GBusType"><span class="type">GBusType</span></a> bus_type</code></em>,
70
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
71
+ <em class="parameter"><code><a class="link" href="gio-Owning-Bus-Names.html#GBusNameOwnerFlags" title="enum GBusNameOwnerFlags"><span class="type">GBusNameOwnerFlags</span></a> flags</code></em>,
72
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Closures.html#GClosure"><span class="type">GClosure</span></a> *bus_acquired_closure</code></em>,
73
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Closures.html#GClosure"><span class="type">GClosure</span></a> *name_acquired_closure</code></em>,
74
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Closures.html#GClosure"><span class="type">GClosure</span></a> *name_lost_closure</code></em>);
75
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="gio-Owning-Bus-Names.html#g-bus-own-name-on-connection-with-closures" title="g_bus_own_name_on_connection_with_closures ()">g_bus_own_name_on_connection_with_closures</a>
76
+ (<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
77
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
78
+ <em class="parameter"><code><a class="link" href="gio-Owning-Bus-Names.html#GBusNameOwnerFlags" title="enum GBusNameOwnerFlags"><span class="type">GBusNameOwnerFlags</span></a> flags</code></em>,
79
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Closures.html#GClosure"><span class="type">GClosure</span></a> *name_acquired_closure</code></em>,
80
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Closures.html#GClosure"><span class="type">GClosure</span></a> *name_lost_closure</code></em>);
81
+ </pre>
82
+ </div>
83
+ <div class="refsect1">
84
+ <a name="gio-Owning-Bus-Names.description"></a><h2>Description</h2>
85
+ <p>
86
+ Convenience API for owning bus names.
87
+ </p>
88
+ <p>
89
+ </p>
90
+ <div class="example">
91
+ <a name="gdbus-owning-names"></a><p class="title"><b>Example 8. Simple application owning a name</b></p>
92
+ <div class="example-contents">
93
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
94
+ <tbody>
95
+ <tr>
96
+ <td class="listing_lines" align="right"><pre>1
97
+ 2
98
+ 3
99
+ 4
100
+ 5
101
+ 6
102
+ 7
103
+ 8
104
+ 9
105
+ 10
106
+ 11
107
+ 12
108
+ 13
109
+ 14
110
+ 15
111
+ 16
112
+ 17
113
+ 18
114
+ 19
115
+ 20
116
+ 21
117
+ 22
118
+ 23
119
+ 24
120
+ 25
121
+ 26
122
+ 27
123
+ 28
124
+ 29
125
+ 30
126
+ 31
127
+ 32
128
+ 33
129
+ 34
130
+ 35
131
+ 36
132
+ 37
133
+ 38
134
+ 39
135
+ 40
136
+ 41
137
+ 42
138
+ 43
139
+ 44
140
+ 45
141
+ 46
142
+ 47
143
+ 48
144
+ 49
145
+ 50
146
+ 51
147
+ 52
148
+ 53
149
+ 54
150
+ 55
151
+ 56
152
+ 57
153
+ 58
154
+ 59
155
+ 60
156
+ 61
157
+ 62
158
+ 63
159
+ 64
160
+ 65
161
+ 66
162
+ 67
163
+ 68
164
+ 69
165
+ 70
166
+ 71
167
+ 72
168
+ 73
169
+ 74
170
+ 75
171
+ 76
172
+ 77
173
+ 78
174
+ 79
175
+ 80
176
+ 81
177
+ 82
178
+ 83
179
+ 84
180
+ 85
181
+ 86</pre></td>
182
+ <td class="listing_code"><pre class="programlisting"><span class="preproc">#include</span><span class="normal"> </span><span class="string">&lt;gio/gio.h&gt;</span>
183
+
184
+ <span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
185
+ <span class="function">on_bus_acquired</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GDBusConnection</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">connection</span><span class="symbol">,</span>
186
+ <span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">name</span><span class="symbol">,</span>
187
+ <span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
188
+ <span class="cbracket">{</span>
189
+ <span class="normal"> </span><span class="comment">/* This is where we'd export some objects on the bus */</span>
190
+ <span class="cbracket">}</span>
191
+
192
+ <span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
193
+ <span class="function">on_name_acquired</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GDBusConnection</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">connection</span><span class="symbol">,</span>
194
+ <span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">name</span><span class="symbol">,</span>
195
+ <span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
196
+ <span class="cbracket">{</span>
197
+ <span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Acquired the name %s on the session bus</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> name</span><span class="symbol">);</span>
198
+ <span class="cbracket">}</span>
199
+
200
+ <span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
201
+ <span class="function">on_name_lost</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GDBusConnection</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">connection</span><span class="symbol">,</span>
202
+ <span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">name</span><span class="symbol">,</span>
203
+ <span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
204
+ <span class="cbracket">{</span>
205
+ <span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Lost the name %s on the session bus</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> name</span><span class="symbol">);</span>
206
+ <span class="cbracket">}</span>
207
+
208
+ <span class="type">int</span>
209
+ <span class="function">main</span><span class="normal"> </span><span class="symbol">(</span><span class="type">int</span><span class="normal"> argc</span><span class="symbol">,</span><span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">argv</span><span class="symbol">[])</span>
210
+ <span class="cbracket">{</span>
211
+ <span class="normal"> </span><span class="usertype">guint</span><span class="normal"> owner_id</span><span class="symbol">;</span>
212
+ <span class="normal"> </span><span class="usertype">GMainLoop</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">loop</span><span class="symbol">;</span>
213
+ <span class="normal"> </span><span class="usertype">GBusNameOwnerFlags</span><span class="normal"> flags</span><span class="symbol">;</span>
214
+ <span class="normal"> </span><span class="usertype">gboolean</span><span class="normal"> opt_replace</span><span class="symbol">;</span>
215
+ <span class="normal"> </span><span class="usertype">gboolean</span><span class="normal"> opt_allow_replacement</span><span class="symbol">;</span>
216
+ <span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">opt_name</span><span class="symbol">;</span>
217
+ <span class="normal"> </span><span class="usertype">GOptionContext</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">opt_context</span><span class="symbol">;</span>
218
+ <span class="normal"> </span><span class="usertype">GError</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">error</span><span class="symbol">;</span>
219
+ <span class="normal"> </span><span class="usertype">GOptionEntry</span><span class="normal"> opt_entries</span><span class="symbol">[]</span><span class="normal"> </span><span class="symbol">=</span>
220
+ <span class="normal"> </span><span class="cbracket">{</span>
221
+ <span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"replace"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">'r'</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Commandline-option-parser.html#G-OPTION-ARG-NONE:CAPS">G_OPTION_ARG_NONE</a></span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&amp;</span><span class="normal">opt_replace</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Replace existing name if possible"</span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a> </span><span class="cbracket">}</span><span class="symbol">,</span>
222
+ <span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"allow-replacement"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">'a'</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Commandline-option-parser.html#G-OPTION-ARG-NONE:CAPS">G_OPTION_ARG_NONE</a></span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&amp;</span><span class="normal">opt_allow_replacement</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Allow replacement"</span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a> </span><span class="cbracket">}</span><span class="symbol">,</span>
223
+ <span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"name"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">'n'</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Commandline-option-parser.html#G-OPTION-ARG-STRING:CAPS">G_OPTION_ARG_STRING</a></span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&amp;</span><span class="normal">opt_name</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Name to acquire"</span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a> </span><span class="cbracket">}</span><span class="symbol">,</span>
224
+ <span class="normal"> </span><span class="cbracket">{</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="cbracket">}</span>
225
+ <span class="normal"> </span><span class="cbracket">}</span><span class="symbol">;</span>
226
+
227
+ <span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#g-type-init">g_type_init</a></span><span class="normal"> </span><span class="symbol">();</span>
228
+
229
+ <span class="normal"> error </span><span class="symbol">=</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
230
+ <span class="normal"> opt_name </span><span class="symbol">=</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
231
+ <span class="normal"> opt_replace </span><span class="symbol">=</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS">FALSE</a></span><span class="symbol">;</span>
232
+ <span class="normal"> opt_allow_replacement </span><span class="symbol">=</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS">FALSE</a></span><span class="symbol">;</span>
233
+ <span class="normal"> opt_context </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Commandline-option-parser.html#g-option-context-new">g_option_context_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"g_bus_own_name() example"</span><span class="symbol">);</span>
234
+ <span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Commandline-option-parser.html#g-option-context-add-main-entries">g_option_context_add_main_entries</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">opt_context</span><span class="symbol">,</span><span class="normal"> opt_entries</span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
235
+ <span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(!</span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Commandline-option-parser.html#g-option-context-parse">g_option_context_parse</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">opt_context</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&amp;</span><span class="normal">argc</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&amp;</span><span class="normal">argv</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&amp;</span><span class="normal">error</span><span class="symbol">))</span>
236
+ <span class="normal"> </span><span class="cbracket">{</span>
237
+ <span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Warnings-and-Assertions.html#g-printerr">g_printerr</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Error parsing options: %s"</span><span class="symbol">,</span><span class="normal"> error</span><span class="symbol">-&gt;</span><span class="normal">message</span><span class="symbol">);</span>
238
+ <span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="number">1</span><span class="symbol">;</span>
239
+ <span class="normal"> </span><span class="cbracket">}</span>
240
+ <span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">opt_name </span><span class="symbol">==</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span>
241
+ <span class="normal"> </span><span class="cbracket">{</span>
242
+ <span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Warnings-and-Assertions.html#g-printerr">g_printerr</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Incorrect usage, try --help.</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">);</span>
243
+ <span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="number">1</span><span class="symbol">;</span>
244
+ <span class="normal"> </span><span class="cbracket">}</span>
245
+
246
+ <span class="normal"> flags </span><span class="symbol">=</span><span class="normal"> <a href="gio-Owning-Bus-Names.html#G-BUS-NAME-OWNER-FLAGS-NONE:CAPS">G_BUS_NAME_OWNER_FLAGS_NONE</a></span><span class="symbol">;</span>
247
+ <span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">opt_replace</span><span class="symbol">)</span>
248
+ <span class="normal"> flags </span><span class="symbol">|=</span><span class="normal"> <a href="gio-Owning-Bus-Names.html#G-BUS-NAME-OWNER-FLAGS-REPLACE:CAPS">G_BUS_NAME_OWNER_FLAGS_REPLACE</a></span><span class="symbol">;</span>
249
+ <span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">opt_allow_replacement</span><span class="symbol">)</span>
250
+ <span class="normal"> flags </span><span class="symbol">|=</span><span class="normal"> <a href="gio-Owning-Bus-Names.html#G-BUS-NAME-OWNER-FLAGS-ALLOW-REPLACEMENT:CAPS">G_BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT</a></span><span class="symbol">;</span>
251
+
252
+ <span class="normal"> owner_id </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="gio-Owning-Bus-Names.html#g-bus-own-name">g_bus_own_name</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="GDBusConnection.html#G-BUS-TYPE-SESSION:CAPS">G_BUS_TYPE_SESSION</a></span><span class="symbol">,</span>
253
+ <span class="normal"> opt_name</span><span class="symbol">,</span>
254
+ <span class="normal"> flags</span><span class="symbol">,</span>
255
+ <span class="normal"> on_bus_acquired</span><span class="symbol">,</span>
256
+ <span class="normal"> on_name_acquired</span><span class="symbol">,</span>
257
+ <span class="normal"> on_name_lost</span><span class="symbol">,</span>
258
+ <span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span>
259
+ <span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
260
+
261
+ <span class="normal"> loop </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-main-loop-new">g_main_loop_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS">FALSE</a></span><span class="symbol">);</span>
262
+ <span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-main-loop-run">g_main_loop_run</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">loop</span><span class="symbol">);</span>
263
+
264
+ <span class="normal"> </span><span class="function"><a href="gio-Owning-Bus-Names.html#g-bus-unown-name">g_bus_unown_name</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">owner_id</span><span class="symbol">);</span>
265
+
266
+ <span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="number">0</span><span class="symbol">;</span>
267
+ <span class="cbracket">}</span></pre></td>
268
+ </tr>
269
+ </tbody>
270
+ </table>
271
+ </div>
272
+
273
+ </div>
274
+ <p><br class="example-break">
275
+ </p>
276
+ </div>
277
+ <div class="refsect1">
278
+ <a name="gio-Owning-Bus-Names.details"></a><h2>Details</h2>
279
+ <div class="refsect2">
280
+ <a name="GBusAcquiredCallback"></a><h3>GBusAcquiredCallback ()</h3>
281
+ <pre class="programlisting"><span class="returnvalue">void</span> (*GBusAcquiredCallback) (<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
282
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
283
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
284
+ <p>
285
+ Invoked when a connection to a message bus has been obtained.
286
+ </p>
287
+ <div class="variablelist"><table border="0">
288
+ <col align="left" valign="top">
289
+ <tbody>
290
+ <tr>
291
+ <td><p><span class="term"><em class="parameter"><code>connection</code></em> :</span></p></td>
292
+ <td>The <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> to a message bus.
293
+ </td>
294
+ </tr>
295
+ <tr>
296
+ <td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
297
+ <td>The name that is requested to be owned.
298
+ </td>
299
+ </tr>
300
+ <tr>
301
+ <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
302
+ <td>User data passed to <a class="link" href="gio-Owning-Bus-Names.html#g-bus-own-name" title="g_bus_own_name ()"><code class="function">g_bus_own_name()</code></a>.
303
+ </td>
304
+ </tr>
305
+ </tbody>
306
+ </table></div>
307
+ <p class="since">Since 2.26</p>
308
+ </div>
309
+ <hr>
310
+ <div class="refsect2">
311
+ <a name="GBusNameAcquiredCallback"></a><h3>GBusNameAcquiredCallback ()</h3>
312
+ <pre class="programlisting"><span class="returnvalue">void</span> (*GBusNameAcquiredCallback) (<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
313
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
314
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
315
+ <p>
316
+ Invoked when the name is acquired.
317
+ </p>
318
+ <div class="variablelist"><table border="0">
319
+ <col align="left" valign="top">
320
+ <tbody>
321
+ <tr>
322
+ <td><p><span class="term"><em class="parameter"><code>connection</code></em> :</span></p></td>
323
+ <td>The <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> on which to acquired the name.
324
+ </td>
325
+ </tr>
326
+ <tr>
327
+ <td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
328
+ <td>The name being owned.
329
+ </td>
330
+ </tr>
331
+ <tr>
332
+ <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
333
+ <td>User data passed to <a class="link" href="gio-Owning-Bus-Names.html#g-bus-own-name" title="g_bus_own_name ()"><code class="function">g_bus_own_name()</code></a> or <a class="link" href="gio-Owning-Bus-Names.html#g-bus-own-name-on-connection" title="g_bus_own_name_on_connection ()"><code class="function">g_bus_own_name_on_connection()</code></a>.
334
+ </td>
335
+ </tr>
336
+ </tbody>
337
+ </table></div>
338
+ <p class="since">Since 2.26</p>
339
+ </div>
340
+ <hr>
341
+ <div class="refsect2">
342
+ <a name="GBusNameLostCallback"></a><h3>GBusNameLostCallback ()</h3>
343
+ <pre class="programlisting"><span class="returnvalue">void</span> (*GBusNameLostCallback) (<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
344
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
345
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
346
+ <p>
347
+ Invoked when the name is lost or <em class="parameter"><code>connection</code></em> has been closed.
348
+ </p>
349
+ <div class="variablelist"><table border="0">
350
+ <col align="left" valign="top">
351
+ <tbody>
352
+ <tr>
353
+ <td><p><span class="term"><em class="parameter"><code>connection</code></em> :</span></p></td>
354
+ <td>The <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> on which to acquire the name or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
355
+ the connection was disconnected.
356
+ </td>
357
+ </tr>
358
+ <tr>
359
+ <td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
360
+ <td>The name being owned.
361
+ </td>
362
+ </tr>
363
+ <tr>
364
+ <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
365
+ <td>User data passed to <a class="link" href="gio-Owning-Bus-Names.html#g-bus-own-name" title="g_bus_own_name ()"><code class="function">g_bus_own_name()</code></a> or <a class="link" href="gio-Owning-Bus-Names.html#g-bus-own-name-on-connection" title="g_bus_own_name_on_connection ()"><code class="function">g_bus_own_name_on_connection()</code></a>.
366
+ </td>
367
+ </tr>
368
+ </tbody>
369
+ </table></div>
370
+ <p class="since">Since 2.26</p>
371
+ </div>
372
+ <hr>
373
+ <div class="refsect2">
374
+ <a name="GBusNameOwnerFlags"></a><h3>enum GBusNameOwnerFlags</h3>
375
+ <pre class="programlisting">typedef enum
376
+ {
377
+ G_BUS_NAME_OWNER_FLAGS_NONE = 0, /*&lt; nick=none &gt;*/
378
+ G_BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT = (1&lt;&lt;0), /*&lt; nick=allow-replacement &gt;*/
379
+ G_BUS_NAME_OWNER_FLAGS_REPLACE = (1&lt;&lt;1) /*&lt; nick=replace &gt;*/
380
+ } GBusNameOwnerFlags;
381
+ </pre>
382
+ <p>
383
+ Flags used in <a class="link" href="gio-Owning-Bus-Names.html#g-bus-own-name" title="g_bus_own_name ()"><code class="function">g_bus_own_name()</code></a>.
384
+ </p>
385
+ <div class="variablelist"><table border="0">
386
+ <col align="left" valign="top">
387
+ <tbody>
388
+ <tr>
389
+ <td><p><a name="G-BUS-NAME-OWNER-FLAGS-NONE:CAPS"></a><span class="term"><code class="literal">G_BUS_NAME_OWNER_FLAGS_NONE</code></span></p></td>
390
+ <td>No flags set.
391
+ </td>
392
+ </tr>
393
+ <tr>
394
+ <td><p><a name="G-BUS-NAME-OWNER-FLAGS-ALLOW-REPLACEMENT:CAPS"></a><span class="term"><code class="literal">G_BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT</code></span></p></td>
395
+ <td>Allow another message bus connection to claim the the name.
396
+ </td>
397
+ </tr>
398
+ <tr>
399
+ <td><p><a name="G-BUS-NAME-OWNER-FLAGS-REPLACE:CAPS"></a><span class="term"><code class="literal">G_BUS_NAME_OWNER_FLAGS_REPLACE</code></span></p></td>
400
+ <td>If another message bus connection owns the name and have
401
+ specified <a class="link" href="gio-Owning-Bus-Names.html#G-BUS-NAME-OWNER-FLAGS-ALLOW-REPLACEMENT:CAPS"><span class="type">G_BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT</span></a>, then take the name from the other connection.
402
+ </td>
403
+ </tr>
404
+ </tbody>
405
+ </table></div>
406
+ <p class="since">Since 2.26</p>
407
+ </div>
408
+ <hr>
409
+ <div class="refsect2">
410
+ <a name="g-bus-own-name"></a><h3>g_bus_own_name ()</h3>
411
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> g_bus_own_name (<em class="parameter"><code><a class="link" href="GDBusConnection.html#GBusType" title="enum GBusType"><span class="type">GBusType</span></a> bus_type</code></em>,
412
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
413
+ <em class="parameter"><code><a class="link" href="gio-Owning-Bus-Names.html#GBusNameOwnerFlags" title="enum GBusNameOwnerFlags"><span class="type">GBusNameOwnerFlags</span></a> flags</code></em>,
414
+ <em class="parameter"><code><a class="link" href="gio-Owning-Bus-Names.html#GBusAcquiredCallback" title="GBusAcquiredCallback ()"><span class="type">GBusAcquiredCallback</span></a> bus_acquired_handler</code></em>,
415
+ <em class="parameter"><code><a class="link" href="gio-Owning-Bus-Names.html#GBusNameAcquiredCallback" title="GBusNameAcquiredCallback ()"><span class="type">GBusNameAcquiredCallback</span></a> name_acquired_handler</code></em>,
416
+ <em class="parameter"><code><a class="link" href="gio-Owning-Bus-Names.html#GBusNameLostCallback" title="GBusNameLostCallback ()"><span class="type">GBusNameLostCallback</span></a> name_lost_handler</code></em>,
417
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
418
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> user_data_free_func</code></em>);</pre>
419
+ <p>
420
+ Starts acquiring <em class="parameter"><code>name</code></em> on the bus specified by <em class="parameter"><code>bus_type</code></em> and calls
421
+ <em class="parameter"><code>name_acquired_handler</code></em> and <em class="parameter"><code>name_lost_handler</code></em> when the name is
422
+ acquired respectively lost. Callbacks will be invoked in the <GTKDOCLINK HREF="g-main-context-push-thread-default">thread-default main
423
+ loop</GTKDOCLINK> of the thread you are calling this function from.
424
+ </p>
425
+ <p>
426
+ You are guaranteed that one of the <em class="parameter"><code>name_acquired_handler</code></em> and <em class="parameter"><code>name_lost_handler</code></em>
427
+ callbacks will be invoked after calling this function - there are three
428
+ possible cases:
429
+ </p>
430
+ <div class="itemizedlist"><ul class="itemizedlist" type="disc">
431
+ <li class="listitem"><p>
432
+ <em class="parameter"><code>name_lost_handler</code></em> with a <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> connection (if a connection to the bus can't be made).
433
+ </p></li>
434
+ <li class="listitem"><p>
435
+ <em class="parameter"><code>bus_acquired_handler</code></em> then <em class="parameter"><code>name_lost_handler</code></em> (if the name can't be obtained)
436
+ </p></li>
437
+ <li class="listitem"><p>
438
+ <em class="parameter"><code>bus_acquired_handler</code></em> then <em class="parameter"><code>name_acquired_handler</code></em> (if the name was obtained).
439
+ </p></li>
440
+ </ul></div>
441
+ <p>
442
+ When you are done owning the name, just call <a class="link" href="gio-Owning-Bus-Names.html#g-bus-unown-name" title="g_bus_unown_name ()"><code class="function">g_bus_unown_name()</code></a>
443
+ with the owner id this function returns.
444
+ </p>
445
+ <p>
446
+ If the name is acquired or lost (for example another application
447
+ could acquire the name if you allow replacement or the application
448
+ currently owning the name exits), the handlers are also invoked. If the
449
+ <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> that is used for attempting to own the name
450
+ closes, then <em class="parameter"><code>name_lost_handler</code></em> is invoked since it is no
451
+ longer possible for other processes to access the process.
452
+ </p>
453
+ <p>
454
+ You cannot use <a class="link" href="gio-Owning-Bus-Names.html#g-bus-own-name" title="g_bus_own_name ()"><code class="function">g_bus_own_name()</code></a> several times for the same name (unless
455
+ interleaved with calls to <a class="link" href="gio-Owning-Bus-Names.html#g-bus-unown-name" title="g_bus_unown_name ()"><code class="function">g_bus_unown_name()</code></a>) - only the first call
456
+ will work.
457
+ </p>
458
+ <p>
459
+ Another guarantee is that invocations of <em class="parameter"><code>name_acquired_handler</code></em>
460
+ and <em class="parameter"><code>name_lost_handler</code></em> are guaranteed to alternate; that
461
+ is, if <em class="parameter"><code>name_acquired_handler</code></em> is invoked then you are
462
+ guaranteed that the next time one of the handlers is invoked, it
463
+ will be <em class="parameter"><code>name_lost_handler</code></em>. The reverse is also true.
464
+ </p>
465
+ <p>
466
+ If you plan on exporting objects (using e.g.
467
+ <a class="link" href="GDBusConnection.html#g-dbus-connection-register-object" title="g_dbus_connection_register_object ()"><code class="function">g_dbus_connection_register_object()</code></a>), note that it is generally too late
468
+ to export the objects in <em class="parameter"><code>name_acquired_handler</code></em>. Instead, you can do this
469
+ in <em class="parameter"><code>bus_acquired_handler</code></em> since you are guaranteed that this will run
470
+ before <em class="parameter"><code>name</code></em> is requested from the bus.
471
+ </p>
472
+ <p>
473
+ This behavior makes it very simple to write applications that wants
474
+ to own names and export objects, see <a class="xref" href="gio-Owning-Bus-Names.html#gdbus-owning-names" title="Example 8. Simple application owning a name">Example 8, “Simple application owning a name”</a>.
475
+ Simply register objects to be exported in <em class="parameter"><code>bus_acquired_handler</code></em> and
476
+ unregister the objects (if any) in <em class="parameter"><code>name_lost_handler</code></em>.
477
+ </p>
478
+ <div class="variablelist"><table border="0">
479
+ <col align="left" valign="top">
480
+ <tbody>
481
+ <tr>
482
+ <td><p><span class="term"><em class="parameter"><code>bus_type</code></em> :</span></p></td>
483
+ <td>The type of bus to own a name on.
484
+ </td>
485
+ </tr>
486
+ <tr>
487
+ <td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
488
+ <td>The well-known name to own.
489
+ </td>
490
+ </tr>
491
+ <tr>
492
+ <td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
493
+ <td>A set of flags from the <a class="link" href="gio-Owning-Bus-Names.html#GBusNameOwnerFlags" title="enum GBusNameOwnerFlags"><span class="type">GBusNameOwnerFlags</span></a> enumeration.
494
+ </td>
495
+ </tr>
496
+ <tr>
497
+ <td><p><span class="term"><em class="parameter"><code>bus_acquired_handler</code></em> :</span></p></td>
498
+ <td>Handler to invoke when connected to the bus of type <em class="parameter"><code>bus_type</code></em> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
499
+ </td>
500
+ </tr>
501
+ <tr>
502
+ <td><p><span class="term"><em class="parameter"><code>name_acquired_handler</code></em> :</span></p></td>
503
+ <td>Handler to invoke when <em class="parameter"><code>name</code></em> is acquired or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
504
+ </td>
505
+ </tr>
506
+ <tr>
507
+ <td><p><span class="term"><em class="parameter"><code>name_lost_handler</code></em> :</span></p></td>
508
+ <td>Handler to invoke when <em class="parameter"><code>name</code></em> is lost or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
509
+ </td>
510
+ </tr>
511
+ <tr>
512
+ <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
513
+ <td>User data to pass to handlers.
514
+ </td>
515
+ </tr>
516
+ <tr>
517
+ <td><p><span class="term"><em class="parameter"><code>user_data_free_func</code></em> :</span></p></td>
518
+ <td>Function for freeing <em class="parameter"><code>user_data</code></em> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
519
+ </td>
520
+ </tr>
521
+ <tr>
522
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
523
+ <td> An identifier (never 0) that an be used with
524
+ <a class="link" href="gio-Owning-Bus-Names.html#g-bus-unown-name" title="g_bus_unown_name ()"><code class="function">g_bus_unown_name()</code></a> to stop owning the name.
525
+
526
+ </td>
527
+ </tr>
528
+ </tbody>
529
+ </table></div>
530
+ <p class="since">Since 2.26</p>
531
+ </div>
532
+ <hr>
533
+ <div class="refsect2">
534
+ <a name="g-bus-own-name-on-connection"></a><h3>g_bus_own_name_on_connection ()</h3>
535
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> g_bus_own_name_on_connection (<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
536
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
537
+ <em class="parameter"><code><a class="link" href="gio-Owning-Bus-Names.html#GBusNameOwnerFlags" title="enum GBusNameOwnerFlags"><span class="type">GBusNameOwnerFlags</span></a> flags</code></em>,
538
+ <em class="parameter"><code><a class="link" href="gio-Owning-Bus-Names.html#GBusNameAcquiredCallback" title="GBusNameAcquiredCallback ()"><span class="type">GBusNameAcquiredCallback</span></a> name_acquired_handler</code></em>,
539
+ <em class="parameter"><code><a class="link" href="gio-Owning-Bus-Names.html#GBusNameLostCallback" title="GBusNameLostCallback ()"><span class="type">GBusNameLostCallback</span></a> name_lost_handler</code></em>,
540
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
541
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> user_data_free_func</code></em>);</pre>
542
+ <p>
543
+ Like <a class="link" href="gio-Owning-Bus-Names.html#g-bus-own-name" title="g_bus_own_name ()"><code class="function">g_bus_own_name()</code></a> but takes a <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> instead of a
544
+ <a class="link" href="GDBusConnection.html#GBusType" title="enum GBusType"><span class="type">GBusType</span></a>.
545
+ </p>
546
+ <div class="variablelist"><table border="0">
547
+ <col align="left" valign="top">
548
+ <tbody>
549
+ <tr>
550
+ <td><p><span class="term"><em class="parameter"><code>connection</code></em> :</span></p></td>
551
+ <td>A <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a>.
552
+ </td>
553
+ </tr>
554
+ <tr>
555
+ <td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
556
+ <td>The well-known name to own.
557
+ </td>
558
+ </tr>
559
+ <tr>
560
+ <td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
561
+ <td>A set of flags from the <a class="link" href="gio-Owning-Bus-Names.html#GBusNameOwnerFlags" title="enum GBusNameOwnerFlags"><span class="type">GBusNameOwnerFlags</span></a> enumeration.
562
+ </td>
563
+ </tr>
564
+ <tr>
565
+ <td><p><span class="term"><em class="parameter"><code>name_acquired_handler</code></em> :</span></p></td>
566
+ <td>Handler to invoke when <em class="parameter"><code>name</code></em> is acquired or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
567
+ </td>
568
+ </tr>
569
+ <tr>
570
+ <td><p><span class="term"><em class="parameter"><code>name_lost_handler</code></em> :</span></p></td>
571
+ <td>Handler to invoke when <em class="parameter"><code>name</code></em> is lost or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
572
+ </td>
573
+ </tr>
574
+ <tr>
575
+ <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
576
+ <td>User data to pass to handlers.
577
+ </td>
578
+ </tr>
579
+ <tr>
580
+ <td><p><span class="term"><em class="parameter"><code>user_data_free_func</code></em> :</span></p></td>
581
+ <td>Function for freeing <em class="parameter"><code>user_data</code></em> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
582
+ </td>
583
+ </tr>
584
+ <tr>
585
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
586
+ <td> An identifier (never 0) that an be used with
587
+ <a class="link" href="gio-Owning-Bus-Names.html#g-bus-unown-name" title="g_bus_unown_name ()"><code class="function">g_bus_unown_name()</code></a> to stop owning the name.
588
+
589
+ </td>
590
+ </tr>
591
+ </tbody>
592
+ </table></div>
593
+ <p class="since">Since 2.26</p>
594
+ </div>
595
+ <hr>
596
+ <div class="refsect2">
597
+ <a name="g-bus-unown-name"></a><h3>g_bus_unown_name ()</h3>
598
+ <pre class="programlisting"><span class="returnvalue">void</span> g_bus_unown_name (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> owner_id</code></em>);</pre>
599
+ <p>
600
+ Stops owning a name.
601
+ </p>
602
+ <div class="variablelist"><table border="0">
603
+ <col align="left" valign="top">
604
+ <tbody><tr>
605
+ <td><p><span class="term"><em class="parameter"><code>owner_id</code></em> :</span></p></td>
606
+ <td>An identifier obtained from <a class="link" href="gio-Owning-Bus-Names.html#g-bus-own-name" title="g_bus_own_name ()"><code class="function">g_bus_own_name()</code></a>
607
+ </td>
608
+ </tr></tbody>
609
+ </table></div>
610
+ <p class="since">Since 2.26</p>
611
+ </div>
612
+ <hr>
613
+ <div class="refsect2">
614
+ <a name="g-bus-own-name-with-closures"></a><h3>g_bus_own_name_with_closures ()</h3>
615
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> g_bus_own_name_with_closures (<em class="parameter"><code><a class="link" href="GDBusConnection.html#GBusType" title="enum GBusType"><span class="type">GBusType</span></a> bus_type</code></em>,
616
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
617
+ <em class="parameter"><code><a class="link" href="gio-Owning-Bus-Names.html#GBusNameOwnerFlags" title="enum GBusNameOwnerFlags"><span class="type">GBusNameOwnerFlags</span></a> flags</code></em>,
618
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Closures.html#GClosure"><span class="type">GClosure</span></a> *bus_acquired_closure</code></em>,
619
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Closures.html#GClosure"><span class="type">GClosure</span></a> *name_acquired_closure</code></em>,
620
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Closures.html#GClosure"><span class="type">GClosure</span></a> *name_lost_closure</code></em>);</pre>
621
+ <p>
622
+ Version of <a class="link" href="gio-Owning-Bus-Names.html#g-bus-own-name" title="g_bus_own_name ()"><code class="function">g_bus_own_name()</code></a> using closures instead of callbacks for
623
+ easier binding in other languages.
624
+ </p>
625
+ <div class="variablelist"><table border="0">
626
+ <col align="left" valign="top">
627
+ <tbody>
628
+ <tr>
629
+ <td><p><span class="term"><em class="parameter"><code>bus_type</code></em> :</span></p></td>
630
+ <td>The type of bus to own a name on.
631
+ </td>
632
+ </tr>
633
+ <tr>
634
+ <td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
635
+ <td>The well-known name to own.
636
+ </td>
637
+ </tr>
638
+ <tr>
639
+ <td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
640
+ <td>A set of flags from the <a class="link" href="gio-Owning-Bus-Names.html#GBusNameOwnerFlags" title="enum GBusNameOwnerFlags"><span class="type">GBusNameOwnerFlags</span></a> enumeration.
641
+ </td>
642
+ </tr>
643
+ <tr>
644
+ <td><p><span class="term"><em class="parameter"><code>bus_acquired_closure</code></em> :</span></p></td>
645
+ <td> <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Closures.html#GClosure"><span class="type">GClosure</span></a> to invoke when connected to
646
+ the bus of type <em class="parameter"><code>bus_type</code></em> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
647
+ </td>
648
+ </tr>
649
+ <tr>
650
+ <td><p><span class="term"><em class="parameter"><code>name_acquired_closure</code></em> :</span></p></td>
651
+ <td> <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Closures.html#GClosure"><span class="type">GClosure</span></a> to invoke when <em class="parameter"><code>name</code></em> is
652
+ acquired or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
653
+ </td>
654
+ </tr>
655
+ <tr>
656
+ <td><p><span class="term"><em class="parameter"><code>name_lost_closure</code></em> :</span></p></td>
657
+ <td> <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Closures.html#GClosure"><span class="type">GClosure</span></a> to invoke when <em class="parameter"><code>name</code></em> is lost or
658
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
659
+ </td>
660
+ </tr>
661
+ <tr>
662
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
663
+ <td> An identifier (never 0) that an be used with
664
+ <a class="link" href="gio-Owning-Bus-Names.html#g-bus-unown-name" title="g_bus_unown_name ()"><code class="function">g_bus_unown_name()</code></a> to stop owning the name.
665
+
666
+ Rename to: g_bus_own_name
667
+
668
+ </td>
669
+ </tr>
670
+ </tbody>
671
+ </table></div>
672
+ <p class="since">Since 2.26</p>
673
+ </div>
674
+ <hr>
675
+ <div class="refsect2">
676
+ <a name="g-bus-own-name-on-connection-with-closures"></a><h3>g_bus_own_name_on_connection_with_closures ()</h3>
677
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> g_bus_own_name_on_connection_with_closures
678
+ (<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
679
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
680
+ <em class="parameter"><code><a class="link" href="gio-Owning-Bus-Names.html#GBusNameOwnerFlags" title="enum GBusNameOwnerFlags"><span class="type">GBusNameOwnerFlags</span></a> flags</code></em>,
681
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Closures.html#GClosure"><span class="type">GClosure</span></a> *name_acquired_closure</code></em>,
682
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Closures.html#GClosure"><span class="type">GClosure</span></a> *name_lost_closure</code></em>);</pre>
683
+ <p>
684
+ Version of <a class="link" href="gio-Owning-Bus-Names.html#g-bus-own-name-on-connection" title="g_bus_own_name_on_connection ()"><code class="function">g_bus_own_name_on_connection()</code></a> using closures instead of callbacks for
685
+ easier binding in other languages.
686
+ </p>
687
+ <div class="variablelist"><table border="0">
688
+ <col align="left" valign="top">
689
+ <tbody>
690
+ <tr>
691
+ <td><p><span class="term"><em class="parameter"><code>connection</code></em> :</span></p></td>
692
+ <td>A <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a>.
693
+ </td>
694
+ </tr>
695
+ <tr>
696
+ <td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
697
+ <td>The well-known name to own.
698
+ </td>
699
+ </tr>
700
+ <tr>
701
+ <td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
702
+ <td>A set of flags from the <a class="link" href="gio-Owning-Bus-Names.html#GBusNameOwnerFlags" title="enum GBusNameOwnerFlags"><span class="type">GBusNameOwnerFlags</span></a> enumeration.
703
+ </td>
704
+ </tr>
705
+ <tr>
706
+ <td><p><span class="term"><em class="parameter"><code>name_acquired_closure</code></em> :</span></p></td>
707
+ <td> <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Closures.html#GClosure"><span class="type">GClosure</span></a> to invoke when <em class="parameter"><code>name</code></em> is
708
+ acquired or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
709
+ </td>
710
+ </tr>
711
+ <tr>
712
+ <td><p><span class="term"><em class="parameter"><code>name_lost_closure</code></em> :</span></p></td>
713
+ <td> <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Closures.html#GClosure"><span class="type">GClosure</span></a> to invoke when <em class="parameter"><code>name</code></em> is lost or
714
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
715
+ </td>
716
+ </tr>
717
+ <tr>
718
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
719
+ <td> An identifier (never 0) that an be used with
720
+ <a class="link" href="gio-Owning-Bus-Names.html#g-bus-unown-name" title="g_bus_unown_name ()"><code class="function">g_bus_unown_name()</code></a> to stop owning the name.
721
+
722
+ Rename to: g_bus_own_name_on_connection
723
+
724
+ </td>
725
+ </tr>
726
+ </tbody>
727
+ </table></div>
728
+ <p class="since">Since 2.26</p>
729
+ </div>
730
+ </div>
731
+ </div>
732
+ <div class="footer">
733
+ <hr>
734
+ Generated by GTK-Doc V1.15.1</div>
735
+ </body>
736
+ </html>