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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (517) hide show
  1. data/Rakefile +26 -4
  2. data/ext/glib2/glib2.def +3 -1
  3. data/ext/glib2/rbgcompat.h +0 -15
  4. data/ext/glib2/rbglib.h +11 -3
  5. data/ext/glib2/rbglib_source.c +6 -1
  6. data/ext/glib2/rbgobj_boxed.c +65 -48
  7. data/ext/glib2/rbgobj_convert.c +29 -14
  8. data/ext/glib2/rbgobj_value.c +42 -0
  9. data/ext/glib2/rbgobject.c +7 -4
  10. data/ext/glib2/rbgobject.h +15 -9
  11. data/lib/1.8/glib2.so +0 -0
  12. data/lib/1.9/glib2.so +0 -0
  13. data/lib/gnome2-raketask.rb +6 -1
  14. data/lib/gnome2-win32-binary-build-task.rb +40 -10
  15. data/vendor/local/bin/certtool.exe +0 -0
  16. data/vendor/local/bin/danetool.exe +0 -0
  17. data/vendor/local/bin/gdbus-codegen +1 -1
  18. data/vendor/local/bin/gdbus.exe +0 -0
  19. data/vendor/local/bin/gio-querymodules.exe +0 -0
  20. data/vendor/local/bin/glib-compile-resources.exe +0 -0
  21. data/vendor/local/bin/glib-compile-schemas.exe +0 -0
  22. data/vendor/local/bin/glib-genmarshal.exe +0 -0
  23. data/vendor/local/bin/glib-gettextize +1 -1
  24. data/vendor/local/bin/glib-mkenums +1 -1
  25. data/vendor/local/bin/gnutls-cli-debug.exe +0 -0
  26. data/vendor/local/bin/gnutls-cli.exe +0 -0
  27. data/vendor/local/bin/gnutls-serv.exe +0 -0
  28. data/vendor/local/bin/gobject-query.exe +0 -0
  29. data/vendor/local/bin/gresource.exe +0 -0
  30. data/vendor/local/bin/gsettings.exe +0 -0
  31. data/vendor/local/bin/gspawn-win32-helper-console.exe +0 -0
  32. data/vendor/local/bin/gspawn-win32-helper.exe +0 -0
  33. data/vendor/local/bin/libgio-2.0-0.dll +0 -0
  34. data/vendor/local/bin/libglib-2.0-0.dll +0 -0
  35. data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
  36. data/vendor/local/bin/libgmp-10.dll +0 -0
  37. data/vendor/local/bin/libgnutls-28.dll +0 -0
  38. data/vendor/local/bin/libgnutls-openssl-27.dll +0 -0
  39. data/vendor/local/bin/libgnutls-openssl-28.def +87 -93
  40. data/vendor/local/bin/libgnutlsxx-28.dll +0 -0
  41. data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
  42. data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
  43. data/vendor/local/bin/libhogweed-2-2.dll +0 -0
  44. data/vendor/local/bin/libnettle-4-4.dll +0 -0
  45. data/vendor/local/bin/nettle-hash.exe +0 -0
  46. data/vendor/local/bin/nettle-lfib-stream.exe +0 -0
  47. data/vendor/local/bin/ocsptool.exe +0 -0
  48. data/vendor/local/bin/pkcs1-conv.exe +0 -0
  49. data/vendor/local/bin/psktool.exe +0 -0
  50. data/vendor/local/bin/sexp-conv.exe +0 -0
  51. data/vendor/local/bin/srptool.exe +0 -0
  52. data/vendor/local/{lib/libffi-3.0.6/include → include}/ffi.h +0 -0
  53. data/vendor/local/{lib/libffi-3.0.6/include → include}/ffitarget.h +0 -0
  54. data/vendor/local/include/glib-2.0/gio/gactionmap.h +0 -4
  55. data/vendor/local/include/glib-2.0/gio/gappinfo.h +1 -3
  56. data/vendor/local/include/glib-2.0/gio/gapplication.h +0 -1
  57. data/vendor/local/include/glib-2.0/gio/gapplicationcommandline.h +0 -4
  58. data/vendor/local/include/glib-2.0/gio/gcontenttype.h +0 -1
  59. data/vendor/local/include/glib-2.0/gio/gdbusnamewatching.h +1 -6
  60. data/vendor/local/include/glib-2.0/gio/gfile.h +0 -3
  61. data/vendor/local/include/glib-2.0/gio/gfileenumerator.h +0 -3
  62. data/vendor/local/include/glib-2.0/gio/gfileinfo.h +0 -2
  63. data/vendor/local/include/glib-2.0/gio/ginetaddressmask.h +0 -6
  64. data/vendor/local/include/glib-2.0/gio/gio.h +0 -1
  65. data/vendor/local/include/glib-2.0/gio/gioenums.h +1 -3
  66. data/vendor/local/include/glib-2.0/gio/giomodule.h +0 -5
  67. data/vendor/local/include/glib-2.0/gio/gioscheduler.h +0 -4
  68. data/vendor/local/include/glib-2.0/gio/giotypes.h +0 -1
  69. data/vendor/local/include/glib-2.0/gio/gmemoryoutputstream.h +0 -2
  70. data/vendor/local/include/glib-2.0/gio/gmenu.h +0 -27
  71. data/vendor/local/include/glib-2.0/gio/gmenumodel.h +0 -19
  72. data/vendor/local/include/glib-2.0/gio/gresource.h +0 -2
  73. data/vendor/local/include/glib-2.0/gio/gsettingsschema.h +0 -4
  74. data/vendor/local/include/glib-2.0/gio/gsimpleaction.h +0 -1
  75. data/vendor/local/include/glib-2.0/gio/gsimpleactiongroup.h +0 -1
  76. data/vendor/local/include/glib-2.0/gio/gsocket.h +0 -13
  77. data/vendor/local/include/glib-2.0/glib/deprecated/gthread.h +0 -1
  78. data/vendor/local/include/glib-2.0/glib/gchecksum.h +1 -3
  79. data/vendor/local/include/glib-2.0/glib/gconvert.h +9 -24
  80. data/vendor/local/include/glib-2.0/glib/gdir.h +8 -10
  81. data/vendor/local/include/glib-2.0/glib/genviron.h +8 -12
  82. data/vendor/local/include/glib-2.0/glib/gfileutils.h +15 -20
  83. data/vendor/local/include/glib-2.0/glib/giochannel.h +4 -14
  84. data/vendor/local/include/glib-2.0/glib/gslice.h +0 -4
  85. data/vendor/local/include/glib-2.0/glib/gspawn.h +10 -46
  86. data/vendor/local/include/glib-2.0/glib/gtestutils.h +0 -1
  87. data/vendor/local/include/glib-2.0/glib/gunicode.h +5 -5
  88. data/vendor/local/include/glib-2.0/glib/gutils.h +14 -14
  89. data/vendor/local/include/glib-2.0/glib/gvariant.h +0 -8
  90. data/vendor/local/include/glib-2.0/glib/gversionmacros.h +0 -24
  91. data/vendor/local/include/glib-2.0/glib/gwin32.h +7 -14
  92. data/vendor/local/include/glib-2.0/gmodule.h +7 -11
  93. data/vendor/local/include/glib-2.0/gobject/glib-types.h +0 -33
  94. data/vendor/local/include/glib-2.0/gobject/gobject.h +7 -7
  95. data/vendor/local/include/glib-2.0/gobject/gtype.h +7 -13
  96. data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/__init__.py +0 -0
  97. data/vendor/local/lib/gdbus-2.0/codegen/__init__.pyc +0 -0
  98. data/vendor/local/lib/gdbus-2.0/codegen/__init__.pyo +0 -0
  99. data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen.py +0 -0
  100. data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen.pyc +0 -0
  101. data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen.pyo +0 -0
  102. data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen_docbook.py +0 -0
  103. data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen_docbook.pyc +0 -0
  104. data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen_docbook.pyo +0 -0
  105. data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen_main.py +0 -2
  106. data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen_main.pyc +0 -0
  107. data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen_main.pyo +0 -0
  108. data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/config.py +1 -1
  109. data/vendor/local/lib/gdbus-2.0/codegen/config.pyc +0 -0
  110. data/vendor/local/lib/gdbus-2.0/codegen/config.pyo +0 -0
  111. data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/dbustypes.py +0 -0
  112. data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/dbustypes.pyc +0 -0
  113. data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/dbustypes.pyo +0 -0
  114. data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/parser.py +0 -0
  115. data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/parser.pyc +0 -0
  116. data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/parser.pyo +0 -0
  117. data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/utils.py +0 -0
  118. data/vendor/local/lib/gdbus-2.0/codegen/utils.pyc +0 -0
  119. data/vendor/local/lib/gdbus-2.0/codegen/utils.pyo +0 -0
  120. data/vendor/local/lib/gio-2.0.def +2 -41
  121. data/vendor/local/lib/gio/modules/libgiognutls.a +0 -0
  122. data/vendor/local/lib/gio/modules/libgiognutls.dll +0 -0
  123. data/vendor/local/lib/gio/modules/libgiognutls.dll.a +0 -0
  124. data/vendor/local/lib/gio/modules/libgiognutls.la +1 -1
  125. data/vendor/local/lib/glib-2.0.def +0 -2
  126. data/vendor/local/lib/glib-2.0/include/glibconfig.h +1 -1
  127. data/vendor/local/lib/gobject-2.0.def +0 -4
  128. data/vendor/local/lib/libgio-2.0.dll.a +0 -0
  129. data/vendor/local/lib/libgio-2.0.la +4 -4
  130. data/vendor/local/lib/libglib-2.0.dll.a +0 -0
  131. data/vendor/local/lib/libglib-2.0.la +3 -3
  132. data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
  133. data/vendor/local/lib/libgmodule-2.0.la +3 -3
  134. data/vendor/local/lib/libgmp.dll.a +0 -0
  135. data/vendor/local/lib/libgnutls-openssl.a +0 -0
  136. data/vendor/local/lib/libgnutls-openssl.dll.a +0 -0
  137. data/vendor/local/lib/libgnutls.a +0 -0
  138. data/vendor/local/lib/libgnutls.dll.a +0 -0
  139. data/vendor/local/lib/libgnutlsxx.a +0 -0
  140. data/vendor/local/lib/libgnutlsxx.dll.a +0 -0
  141. data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
  142. data/vendor/local/lib/libgobject-2.0.la +4 -4
  143. data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
  144. data/vendor/local/lib/libgthread-2.0.la +3 -3
  145. data/vendor/local/lib/libhogweed.a +0 -0
  146. data/vendor/local/lib/libhogweed.dll.a +0 -0
  147. data/vendor/local/lib/libnettle.a +0 -0
  148. data/vendor/local/lib/libnettle.dll.a +0 -0
  149. data/vendor/local/lib/pkgconfig/gio-2.0.pc +1 -1
  150. data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +1 -1
  151. data/vendor/local/lib/pkgconfig/glib-2.0.pc +1 -1
  152. data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +1 -1
  153. data/vendor/local/lib/pkgconfig/gmodule-export-2.0.pc +1 -1
  154. data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +1 -1
  155. data/vendor/local/lib/pkgconfig/gobject-2.0.pc +1 -1
  156. data/vendor/local/lib/pkgconfig/gthread-2.0.pc +1 -1
  157. data/vendor/local/share/gdb/auto-load/{libglib-2.0.so.0.3503.0-gdb.py → libglib-2.0.so.0.3400.3-gdb.py} +0 -0
  158. data/vendor/local/share/gdb/auto-load/{libgobject-2.0.so.0.3503.0-gdb.py → libgobject-2.0.so.0.3400.3-gdb.py} +0 -0
  159. data/vendor/local/share/glib-2.0/gdb/glib.py +4 -0
  160. data/vendor/local/share/glib-2.0/gettext/mkinstalldirs +2 -2
  161. data/vendor/local/share/glib-2.0/gettext/po/Makefile.in.in +17 -5
  162. data/vendor/local/share/gtk-doc/html/gio/GActionMap.html +1 -1
  163. data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +1 -27
  164. data/vendor/local/share/gtk-doc/html/gio/GApplication.html +15 -8
  165. data/vendor/local/share/gtk-doc/html/gio/GApplicationCommandLine.html +6 -47
  166. data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +37 -21
  167. data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +4 -16
  168. data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +1 -1
  169. data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +1 -1
  170. data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +32 -16
  171. data/vendor/local/share/gtk-doc/html/gio/GDBusInterfaceSkeleton.html +1 -1
  172. data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +1 -1
  173. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerClient.html +2 -4
  174. data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +10 -6
  175. data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +7 -3
  176. data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +3 -3
  177. data/vendor/local/share/gtk-doc/html/gio/GFile.html +17 -65
  178. data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +2 -59
  179. data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +1 -29
  180. data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +1 -1
  181. data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +4 -4
  182. data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +0 -13
  183. data/vendor/local/share/gtk-doc/html/gio/GMount.html +1 -1
  184. data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +2 -2
  185. data/vendor/local/share/gtk-doc/html/gio/GSettings.html +5 -5
  186. data/vendor/local/share/gtk-doc/html/gio/GSimpleAction.html +1 -1
  187. data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +4 -12
  188. data/vendor/local/share/gtk-doc/html/gio/GSocket.html +1 -137
  189. data/vendor/local/share/gtk-doc/html/gio/GTestDBus.html +2 -3
  190. data/vendor/local/share/gtk-doc/html/gio/GTlsConnection.html +1 -1
  191. data/vendor/local/share/gtk-doc/html/gio/GVolume.html +1 -1
  192. data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +0 -4
  193. data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +0 -19
  194. data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +0 -180
  195. data/vendor/local/share/gtk-doc/html/gio/async.html +0 -3
  196. data/vendor/local/share/gtk-doc/html/gio/ch01.html +1 -1
  197. data/vendor/local/share/gtk-doc/html/gio/ch02.html +3 -3
  198. data/vendor/local/share/gtk-doc/html/gio/ch03.html +1 -1
  199. data/vendor/local/share/gtk-doc/html/gio/ch29.html +1 -1
  200. data/vendor/local/share/gtk-doc/html/gio/ch30.html +4 -4
  201. data/vendor/local/share/gtk-doc/html/gio/ch30s02.html +2 -2
  202. data/vendor/local/share/gtk-doc/html/gio/ch30s03.html +3 -3
  203. data/vendor/local/share/gtk-doc/html/gio/ch31.html +3 -3
  204. data/vendor/local/share/gtk-doc/html/gio/ch31s02.html +1 -1
  205. data/vendor/local/share/gtk-doc/html/gio/ch31s03.html +1 -1
  206. data/vendor/local/share/gtk-doc/html/gio/ch31s04.html +1 -1
  207. data/vendor/local/share/gtk-doc/html/gio/ch31s05.html +1 -1
  208. data/vendor/local/share/gtk-doc/html/gio/ch31s06.html +2 -2
  209. data/vendor/local/share/gtk-doc/html/gio/ch31s07.html +1 -1
  210. data/vendor/local/share/gtk-doc/html/gio/ch32.html +3 -3
  211. data/vendor/local/share/gtk-doc/html/gio/ch32s02.html +1 -1
  212. data/vendor/local/share/gtk-doc/html/gio/ch32s03.html +1 -1
  213. data/vendor/local/share/gtk-doc/html/gio/ch32s04.html +1 -1
  214. data/vendor/local/share/gtk-doc/html/gio/ch32s05.html +17 -9
  215. data/vendor/local/share/gtk-doc/html/gio/gdbus-codegen.html +11 -11
  216. data/vendor/local/share/gtk-doc/html/gio/gdbus-org.gtk.GDBus.Example.ObjectManager.Animal.html +2 -2
  217. data/vendor/local/share/gtk-doc/html/gio/gdbus.html +6 -6
  218. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +5 -5
  219. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +1 -1
  220. data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +0 -109
  221. data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +1 -1
  222. data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +2 -2
  223. data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +1 -7
  224. data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +12 -29
  225. data/vendor/local/share/gtk-doc/html/gio/gio-GResource.html +1 -1
  226. data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +7 -3
  227. data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +8 -10
  228. data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +0 -1
  229. data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +1 -1
  230. data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +11 -64
  231. data/vendor/local/share/gtk-doc/html/gio/glib-compile-resources.html +3 -15
  232. data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +2 -2
  233. data/vendor/local/share/gtk-doc/html/gio/gresource-tool.html +2 -2
  234. data/vendor/local/share/gtk-doc/html/gio/gsettings-tool.html +2 -2
  235. data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +2 -2
  236. data/vendor/local/share/gtk-doc/html/gio/index.html +4 -10
  237. data/vendor/local/share/gtk-doc/html/gio/index.sgml +0 -59
  238. data/vendor/local/share/gtk-doc/html/gio/migrating.html +3 -3
  239. data/vendor/local/share/gtk-doc/html/gio/networking.html +0 -3
  240. data/vendor/local/share/gtk-doc/html/gio/pt01.html +1 -1
  241. data/vendor/local/share/gtk-doc/html/gio/pt02.html +1 -7
  242. data/vendor/local/share/gtk-doc/html/glib/api-index-2-34.html +0 -4
  243. data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +1 -21
  244. data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +2 -2
  245. data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +1 -1
  246. data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +4 -13
  247. data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +2 -2
  248. data/vendor/local/share/gtk-doc/html/glib/glib-Deprecated-Thread-APIs.html +11 -7
  249. data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +2 -2
  250. data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +1 -1
  251. data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +10 -86
  252. data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +46 -5
  253. data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +7 -11
  254. data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +3 -3
  255. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +4 -4
  256. data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +3 -3
  257. data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +34 -27
  258. data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +1 -1
  259. data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +2 -2
  260. data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +2 -2
  261. data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +2 -23
  262. data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +14 -14
  263. data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +6 -6
  264. data/vendor/local/share/gtk-doc/html/glib/glib-UNIX-specific-utilities-and-integration.html +7 -13
  265. data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +5 -9
  266. data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +4 -28
  267. data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +2 -2
  268. data/vendor/local/share/gtk-doc/html/glib/glib-building.html +1 -1
  269. data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +2 -2
  270. data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +1 -1
  271. data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +3 -3
  272. data/vendor/local/share/gtk-doc/html/glib/glib-programming.html +3 -3
  273. data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +45 -45
  274. data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +3 -3
  275. data/vendor/local/share/gtk-doc/html/glib/glib-running.html +6 -6
  276. data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +25 -32
  277. data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +3 -3
  278. data/vendor/local/share/gtk-doc/html/glib/gtester.html +3 -3
  279. data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +12 -12
  280. data/vendor/local/share/gtk-doc/html/glib/gvariant-text.html +2 -2
  281. data/vendor/local/share/gtk-doc/html/glib/index.html +1 -1
  282. data/vendor/local/share/gtk-doc/html/glib/index.sgml +0 -7
  283. data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +0 -12
  284. data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +0 -12
  285. data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +4 -4
  286. data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +4 -4
  287. data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +2 -2
  288. data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +8 -8
  289. data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +6 -6
  290. data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +5 -5
  291. data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +0 -22
  292. data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +5 -1
  293. data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +32 -6
  294. data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +6 -6
  295. data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +24 -51
  296. data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +4 -4
  297. data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +3 -3
  298. data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +8 -11
  299. data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +2 -2
  300. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +2 -2
  301. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +3 -3
  302. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +3 -3
  303. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +2 -2
  304. data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +2 -2
  305. data/vendor/local/share/gtk-doc/html/gobject/index.html +7 -7
  306. data/vendor/local/share/gtk-doc/html/gobject/index.sgml +0 -3
  307. data/vendor/local/share/gtk-doc/html/gobject/pr01.html +1 -1
  308. data/vendor/local/share/gtk-doc/html/gobject/pt01.html +4 -4
  309. data/vendor/local/share/gtk-doc/html/gobject/pt02.html +4 -4
  310. data/vendor/local/share/gtk-doc/html/gobject/pt03.html +1 -1
  311. data/vendor/local/share/gtk-doc/html/gobject/rn01.html +1 -1
  312. data/vendor/local/share/gtk-doc/html/gobject/rn02.html +1 -1
  313. data/vendor/local/share/gtk-doc/html/gobject/signal.html +4 -4
  314. data/vendor/local/share/locale/as/LC_MESSAGES/glib20.mo +0 -0
  315. data/vendor/local/share/locale/cs/LC_MESSAGES/glib-networking.mo +0 -0
  316. data/vendor/local/share/locale/da/LC_MESSAGES/glib20.mo +0 -0
  317. data/vendor/local/share/locale/es/LC_MESSAGES/glib-networking.mo +0 -0
  318. data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
  319. data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
  320. data/vendor/local/share/locale/gu/LC_MESSAGES/glib20.mo +0 -0
  321. data/vendor/local/share/locale/he/LC_MESSAGES/glib-networking.mo +0 -0
  322. data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
  323. data/vendor/local/share/locale/kn/LC_MESSAGES/glib20.mo +0 -0
  324. data/vendor/local/share/locale/lt/LC_MESSAGES/glib-networking.mo +0 -0
  325. data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
  326. data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
  327. data/vendor/local/share/locale/or/LC_MESSAGES/glib20.mo +0 -0
  328. data/vendor/local/share/locale/pl/LC_MESSAGES/glib-networking.mo +0 -0
  329. data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
  330. data/vendor/local/share/locale/sk/LC_MESSAGES/glib20.mo +0 -0
  331. data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
  332. data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
  333. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib20.mo +0 -0
  334. data/vendor/local/share/man/man1/gdbus-codegen.1 +1 -1
  335. data/vendor/local/share/man/man1/gdbus.1 +1 -1
  336. data/vendor/local/share/man/man1/gio-querymodules.1 +1 -1
  337. data/vendor/local/share/man/man1/glib-compile-resources.1 +1 -13
  338. data/vendor/local/share/man/man1/glib-compile-schemas.1 +1 -1
  339. data/vendor/local/share/man/man1/glib-genmarshal.1 +1 -1
  340. data/vendor/local/share/man/man1/glib-gettextize.1 +1 -1
  341. data/vendor/local/share/man/man1/glib-mkenums.1 +1 -1
  342. data/vendor/local/share/man/man1/gobject-query.1 +1 -1
  343. data/vendor/local/share/man/man1/gresource.1 +1 -1
  344. data/vendor/local/share/man/man1/gsettings.1 +1 -1
  345. data/vendor/local/share/man/man1/gtester-report.1 +1 -1
  346. data/vendor/local/share/man/man1/gtester.1 +1 -1
  347. metadata +33 -197
  348. data/ext/glib2/rbgobj_fundamental.c +0 -43
  349. data/vendor/local/bin/asn1Coding.exe +0 -0
  350. data/vendor/local/bin/asn1Decoding.exe +0 -0
  351. data/vendor/local/bin/asn1Parser.exe +0 -0
  352. data/vendor/local/bin/dumpsexp.exe +0 -0
  353. data/vendor/local/bin/gpg-error.exe +0 -0
  354. data/vendor/local/bin/hmac256.exe +0 -0
  355. data/vendor/local/bin/libgcrypt-11.dll +0 -0
  356. data/vendor/local/bin/libgcrypt-config +0 -177
  357. data/vendor/local/bin/libgnutls-26.dll +0 -0
  358. data/vendor/local/bin/libgnutls-extra-26.dll +0 -0
  359. data/vendor/local/bin/libgnutls-openssl-26.dll +0 -0
  360. data/vendor/local/bin/libgpg-error-0.dll +0 -0
  361. data/vendor/local/bin/libtasn1-3.dll +0 -0
  362. data/vendor/local/etc/bash_completion.d/gdbus-bash-completion.sh +0 -33
  363. data/vendor/local/etc/bash_completion.d/gsettings-bash-completion.sh +0 -67
  364. data/vendor/local/gnutls.README.txt +0 -6
  365. data/vendor/local/include/gcrypt-module.h +0 -226
  366. data/vendor/local/include/gcrypt.h +0 -1826
  367. data/vendor/local/include/glib-2.0/gio/gnetworking.h +0 -83
  368. data/vendor/local/include/glib-2.0/gio/gtask.h +0 -160
  369. data/vendor/local/include/glib-2.0/glib/gcache.h +0 -69
  370. data/vendor/local/include/glib-2.0/glib/gcompletion.h +0 -81
  371. data/vendor/local/include/glib-2.0/glib/grel.h +0 -101
  372. data/vendor/local/include/gnutls/extra.h +0 -137
  373. data/vendor/local/include/gpg-error.h +0 -651
  374. data/vendor/local/include/libtasn1.h +0 -246
  375. data/vendor/local/lib/gio-2.0.lib +0 -0
  376. data/vendor/local/lib/glib-2.0.lib +0 -0
  377. data/vendor/local/lib/gmodule-2.0.lib +0 -0
  378. data/vendor/local/lib/gobject-2.0.lib +0 -0
  379. data/vendor/local/lib/gthread-2.0.lib +0 -0
  380. data/vendor/local/lib/libgcrypt.def +0 -237
  381. data/vendor/local/lib/libgcrypt.dll.a +0 -0
  382. data/vendor/local/lib/libgnutls-extra.dll.a +0 -0
  383. data/vendor/local/lib/libgpg-error.dll.a +0 -0
  384. data/vendor/local/lib/libtasn1.dll.a +0 -0
  385. data/vendor/local/manifest/glib-dev_2.28.8-1_win32.mft +0 -619
  386. data/vendor/local/manifest/glib_2.28.8-1_win32.mft +0 -103
  387. data/vendor/local/manifest/gnutls-dev_2.4.2-1_win32.mft +0 -593
  388. data/vendor/local/manifest/gnutls_2.4.2-1_win32.mft +0 -8
  389. data/vendor/local/share/aclocal/gpg-error.m4 +0 -65
  390. data/vendor/local/share/aclocal/libgcrypt.m4 +0 -108
  391. data/vendor/local/share/aclocal/libgnutls-extra.m4 +0 -161
  392. data/vendor/local/share/aclocal/libgnutls.m4 +0 -160
  393. data/vendor/local/share/aclocal/libtasn1.m4 +0 -160
  394. data/vendor/local/share/common-lisp/source/gpg-error/gpg-error-codes.lisp +0 -417
  395. data/vendor/local/share/common-lisp/source/gpg-error/gpg-error-package.lisp +0 -64
  396. data/vendor/local/share/common-lisp/source/gpg-error/gpg-error.asd +0 -36
  397. data/vendor/local/share/common-lisp/source/gpg-error/gpg-error.lisp +0 -236
  398. data/vendor/local/share/doc/glib-2.28.8/COPYING +0 -482
  399. data/vendor/local/share/doc/glib-dev-2.28.8/COPYING +0 -482
  400. data/vendor/local/share/glib-2.0/codegen/__init__.pyc +0 -0
  401. data/vendor/local/share/glib-2.0/codegen/__init__.pyo +0 -0
  402. data/vendor/local/share/glib-2.0/codegen/config.pyc +0 -0
  403. data/vendor/local/share/glib-2.0/codegen/config.pyo +0 -0
  404. data/vendor/local/share/glib-2.0/codegen/utils.pyc +0 -0
  405. data/vendor/local/share/glib-2.0/codegen/utils.pyo +0 -0
  406. data/vendor/local/share/gtk-doc/html/gio/GDBusError.html +0 -879
  407. data/vendor/local/share/gtk-doc/html/gio/GTask.html +0 -2296
  408. data/vendor/local/share/gtk-doc/html/gio/ch26.html +0 -75
  409. data/vendor/local/share/gtk-doc/html/gio/ch27.html +0 -217
  410. data/vendor/local/share/gtk-doc/html/gio/ch27s02.html +0 -41
  411. data/vendor/local/share/gtk-doc/html/gio/ch27s03.html +0 -39
  412. data/vendor/local/share/gtk-doc/html/gio/ch28.html +0 -57
  413. data/vendor/local/share/gtk-doc/html/gio/ch28s02.html +0 -59
  414. data/vendor/local/share/gtk-doc/html/gio/ch28s03.html +0 -159
  415. data/vendor/local/share/gtk-doc/html/gio/ch28s04.html +0 -46
  416. data/vendor/local/share/gtk-doc/html/gio/ch28s05.html +0 -48
  417. data/vendor/local/share/gtk-doc/html/gio/ch28s06.html +0 -279
  418. data/vendor/local/share/gtk-doc/html/gio/ch28s07.html +0 -160
  419. data/vendor/local/share/gtk-doc/html/gio/ch29s02.html +0 -130
  420. data/vendor/local/share/gtk-doc/html/gio/ch29s03.html +0 -202
  421. data/vendor/local/share/gtk-doc/html/gio/ch29s04.html +0 -96
  422. data/vendor/local/share/gtk-doc/html/gio/ch29s05.html +0 -823
  423. data/vendor/local/share/gtk-doc/html/gio/ch29s06.html +0 -828
  424. data/vendor/local/share/gtk-doc/html/gio/gio-gnetworking.h.html +0 -91
  425. data/vendor/local/share/gtk-doc/html/gio/gio.devhelp +0 -1956
  426. data/vendor/local/share/gtk-doc/html/glib/glib-Limits-of-Basic-Types.html +0 -389
  427. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocators.html +0 -137
  428. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Chunks.html +0 -679
  429. data/vendor/local/share/gtk-doc/html/glib/glib.devhelp +0 -2218
  430. data/vendor/local/share/gtk-doc/html/gobject/ch06s03.html +0 -113
  431. data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp +0 -766
  432. data/vendor/local/share/info/gcrypt.info +0 -6243
  433. data/vendor/local/share/info/gnutls-certificate-user-use-case.png +0 -0
  434. data/vendor/local/share/info/gnutls-extensions_st.png +0 -0
  435. data/vendor/local/share/info/gnutls-mod_auth_st.png +0 -0
  436. data/vendor/local/share/info/gnutls-objects.png +0 -0
  437. data/vendor/local/share/info/libtasn1.info +0 -2993
  438. data/vendor/local/share/man/man1/asn1Coding.1 +0 -46
  439. data/vendor/local/share/man/man1/asn1Decoding.1 +0 -41
  440. data/vendor/local/share/man/man1/asn1Parser.1 +0 -49
  441. data/vendor/local/share/man/man3/asn1_array2tree.3 +0 -47
  442. data/vendor/local/share/man/man3/asn1_bit_der.3 +0 -39
  443. data/vendor/local/share/man/man3/asn1_check_version.3 +0 -39
  444. data/vendor/local/share/man/man3/asn1_copy_node.3 +0 -39
  445. data/vendor/local/share/man/man3/asn1_create_element.3 +0 -45
  446. data/vendor/local/share/man/man3/asn1_delete_element.3 +0 -39
  447. data/vendor/local/share/man/man3/asn1_delete_structure.3 +0 -37
  448. data/vendor/local/share/man/man3/asn1_der_coding.3 +0 -52
  449. data/vendor/local/share/man/man3/asn1_der_decoding.3 +0 -50
  450. data/vendor/local/share/man/man3/asn1_der_decoding_element.3 +0 -54
  451. data/vendor/local/share/man/man3/asn1_der_decoding_startEnd.3 +0 -58
  452. data/vendor/local/share/man/man3/asn1_expand_any_defined_by.3 +0 -45
  453. data/vendor/local/share/man/man3/asn1_expand_octet_string.3 +0 -51
  454. data/vendor/local/share/man/man3/asn1_find_node.3 +0 -38
  455. data/vendor/local/share/man/man3/asn1_find_structure_from_oid.3 +0 -37
  456. data/vendor/local/share/man/man3/asn1_get_bit_der.3 +0 -43
  457. data/vendor/local/share/man/man3/asn1_get_length_der.3 +0 -38
  458. data/vendor/local/share/man/man3/asn1_get_octet_der.3 +0 -43
  459. data/vendor/local/share/man/man3/asn1_get_tag_der.3 +0 -41
  460. data/vendor/local/share/man/man3/asn1_length_der.3 +0 -36
  461. data/vendor/local/share/man/man3/asn1_number_of_elements.3 +0 -43
  462. data/vendor/local/share/man/man3/asn1_octet_der.3 +0 -37
  463. data/vendor/local/share/man/man3/asn1_parser2array.3 +0 -58
  464. data/vendor/local/share/man/man3/asn1_parser2tree.3 +0 -55
  465. data/vendor/local/share/man/man3/asn1_print_structure.3 +0 -40
  466. data/vendor/local/share/man/man3/asn1_read_tag.3 +0 -46
  467. data/vendor/local/share/man/man3/asn1_read_value.3 +0 -92
  468. data/vendor/local/share/man/man3/asn1_write_value.3 +0 -136
  469. data/vendor/local/share/man/man3/gnutls_certificate_client_set_retrieve_function.3 +0 -58
  470. data/vendor/local/share/man/man3/gnutls_certificate_get_openpgp_keyring.3 +0 -37
  471. data/vendor/local/share/man/man3/gnutls_certificate_get_x509_cas.3 +0 -40
  472. data/vendor/local/share/man/man3/gnutls_certificate_get_x509_crls.3 +0 -40
  473. data/vendor/local/share/man/man3/gnutls_certificate_server_set_retrieve_function.3 +0 -47
  474. data/vendor/local/share/man/man3/gnutls_certificate_verify_peers.3 +0 -44
  475. data/vendor/local/share/man/man3/gnutls_crypto_cipher_register.3 +0 -45
  476. data/vendor/local/share/man/man3/gnutls_crypto_digest_register.3 +0 -45
  477. data/vendor/local/share/man/man3/gnutls_crypto_mac_register.3 +0 -45
  478. data/vendor/local/share/man/man3/gnutls_crypto_rnd_register.3 +0 -43
  479. data/vendor/local/share/man/man3/gnutls_extra_check_version.3 +0 -36
  480. data/vendor/local/share/man/man3/gnutls_free.3 +0 -34
  481. data/vendor/local/share/man/man3/gnutls_global_init_extra.3 +0 -38
  482. data/vendor/local/share/man/man3/gnutls_ia_allocate_client_credentials.3 +0 -42
  483. data/vendor/local/share/man/man3/gnutls_ia_allocate_server_credentials.3 +0 -42
  484. data/vendor/local/share/man/man3/gnutls_ia_enable.3 +0 -53
  485. data/vendor/local/share/man/man3/gnutls_ia_endphase_send.3 +0 -43
  486. data/vendor/local/share/man/man3/gnutls_ia_extract_inner_secret.3 +0 -44
  487. data/vendor/local/share/man/man3/gnutls_ia_free_client_credentials.3 +0 -34
  488. data/vendor/local/share/man/man3/gnutls_ia_free_server_credentials.3 +0 -34
  489. data/vendor/local/share/man/man3/gnutls_ia_generate_challenge.3 +0 -40
  490. data/vendor/local/share/man/man3/gnutls_ia_get_client_avp_ptr.3 +0 -36
  491. data/vendor/local/share/man/man3/gnutls_ia_get_server_avp_ptr.3 +0 -36
  492. data/vendor/local/share/man/man3/gnutls_ia_handshake.3 +0 -36
  493. data/vendor/local/share/man/man3/gnutls_ia_handshake_p.3 +0 -37
  494. data/vendor/local/share/man/man3/gnutls_ia_permute_inner_secret.3 +0 -43
  495. data/vendor/local/share/man/man3/gnutls_ia_recv.3 +0 -57
  496. data/vendor/local/share/man/man3/gnutls_ia_send.3 +0 -56
  497. data/vendor/local/share/man/man3/gnutls_ia_set_client_avp_function.3 +0 -61
  498. data/vendor/local/share/man/man3/gnutls_ia_set_client_avp_ptr.3 +0 -36
  499. data/vendor/local/share/man/man3/gnutls_ia_set_server_avp_function.3 +0 -68
  500. data/vendor/local/share/man/man3/gnutls_ia_set_server_avp_ptr.3 +0 -36
  501. data/vendor/local/share/man/man3/gnutls_ia_verify_endphase.3 +0 -45
  502. data/vendor/local/share/man/man3/gnutls_malloc.3 +0 -37
  503. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_expiration_time.3 +0 -40
  504. data/vendor/local/share/man/man3/gnutls_oprfi_enable_client.3 +0 -42
  505. data/vendor/local/share/man/man3/gnutls_oprfi_enable_server.3 +0 -49
  506. data/vendor/local/share/man/man3/gnutls_psk_netconf_derive_key.3 +0 -44
  507. data/vendor/local/share/man/man3/gnutls_session_get_client_random.3 +0 -40
  508. data/vendor/local/share/man/man3/gnutls_session_get_master_secret.3 +0 -43
  509. data/vendor/local/share/man/man3/gnutls_session_get_server_random.3 +0 -40
  510. data/vendor/local/share/man/man3/gnutls_sign_algorithm_get_name.3 +0 -35
  511. data/vendor/local/share/man/man3/gnutls_transport_set_global_errno.3 +0 -47
  512. data/vendor/local/share/man/man3/gnutls_transport_set_lowat.3 +0 -40
  513. data/vendor/local/share/man/man3/gnutls_x509_privkey_verify_data.3 +0 -43
  514. data/vendor/local/share/man/man3/libtasn1_perror.3 +0 -32
  515. data/vendor/local/share/man/man3/libtasn1_strerror.3 +0 -35
  516. data/vendor/local/src/dieterv/packaging/glib_2.28.8-1_win32.log +0 -2919
  517. data/vendor/local/src/dieterv/packaging/glib_2.28.8-1_win32.sh +0 -157
@@ -1,96 +0,0 @@
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>Creating proxies for well-known names</title>
6
- <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7
- <link rel="home" href="index.html" title="GIO Reference Manual">
8
- <link rel="up" href="ch29.html" title="Migrating to GDBus">
9
- <link rel="prev" href="ch29s03.html" title="Owning bus names">
10
- <link rel="next" href="ch29s05.html" title="Client-side GObject bindings">
11
- <meta name="generator" content="GTK-Doc V1.17 (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"><tr valign="middle">
16
- <td><a accesskey="p" href="ch29s03.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
17
- <td><a accesskey="u" href="ch29.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
18
- <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
19
- <th width="100%" align="center">GIO Reference Manual</th>
20
- <td><a accesskey="n" href="ch29s05.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
21
- </tr></table>
22
- <div class="section">
23
- <div class="titlepage"><div><div><h2 class="title" style="clear: both">
24
- <a name="id361092"></a>Creating proxies for well-known names</h2></div></div></div>
25
- <p>
26
- dbus-glib lets you create proxy objects for well-known names, like the
27
- following example:
28
- </p>
29
- <div class="informalexample">
30
- <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
31
- <tbody>
32
- <tr>
33
- <td class="listing_lines" align="right"><pre>1
34
- 2
35
- 3
36
- 4</pre></td>
37
- <td class="listing_code"><pre class="programlisting"><span class="normal">proxy </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGProxy.html#dbus-g-proxy-new-for-name">dbus_g_proxy_new_for_name</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">system_bus_connection</span><span class="symbol">,</span>
38
- <span class="normal"> </span><span class="string">"org.freedesktop.Accounts"</span><span class="symbol">,</span>
39
- <span class="normal"> </span><span class="string">"/org/freedesktop/Accounts"</span><span class="symbol">,</span>
40
- <span class="normal"> </span><span class="string">"org.freedesktop.Accounts"</span><span class="symbol">);</span></pre></td>
41
- </tr>
42
- </tbody>
43
- </table>
44
- </div>
45
-
46
- <p>
47
- For a <a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGProxy.html#DBusGProxy"><span class="type">DBusGProxy</span></a> constructed like this, method calls will be sent to
48
- the current owner of the name, and that owner can change over time.
49
- </p>
50
- <p>
51
- The same can be achieved with <a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a>:
52
- </p>
53
- <div class="informalexample">
54
- <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
55
- <tbody>
56
- <tr>
57
- <td class="listing_lines" align="right"><pre>1
58
- 2
59
- 3
60
- 4
61
- 5
62
- 6
63
- 7
64
- 8
65
- 9</pre></td>
66
- <td class="listing_code"><pre class="programlisting"><span class="normal">error </span><span class="symbol">=</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
67
- <span class="normal">proxy </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GDBusProxy.html#g-dbus-proxy-new-for-bus-sync">g_dbus_proxy_new_for_bus_sync</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="GDBusConnection.html#G-BUS-TYPE-SYSTEM:CAPS">G_BUS_TYPE_SYSTEM</a></span><span class="symbol">,</span>
68
- <span class="normal"> <a href="GDBusProxy.html#G-DBUS-PROXY-FLAGS-NONE:CAPS">G_DBUS_PROXY_FLAGS_NONE</a></span><span class="symbol">,</span>
69
- <span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> </span><span class="comment">/* GDBusInterfaceInfo */</span>
70
- <span class="normal"> </span><span class="string">"org.freedesktop.Accounts"</span><span class="symbol">,</span>
71
- <span class="normal"> </span><span class="string">"/org/freedesktop/Accounts"</span><span class="symbol">,</span>
72
- <span class="normal"> </span><span class="string">"org.freedesktop.Accounts"</span><span class="symbol">,</span>
73
- <span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> </span><span class="comment">/* GCancellable */</span>
74
- <span class="normal"> </span><span class="symbol">&amp;</span><span class="normal">error</span><span class="symbol">);</span></pre></td>
75
- </tr>
76
- </tbody>
77
- </table>
78
- </div>
79
-
80
- <p>
81
- For an added layer of safety, you can specify what D-Bus
82
- interface the proxy is expected to conform to by using the
83
- <a class="link" href="gio-D-Bus-Introspection-Data.html#GDBusInterfaceInfo"><span class="type">GDBusInterfaceInfo</span></a> type.
84
- </p>
85
- <p>
86
- Additionally, <a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> loads, caches and tracks changes to
87
- the D-Bus properties on the remote object. It also sets up match
88
- rules so D-Bus signals from the remote object are delivered
89
- locally.
90
- </p>
91
- </div>
92
- <div class="footer">
93
- <hr>
94
- Generated by GTK-Doc V1.17</div>
95
- </body>
96
- </html>
@@ -1,823 +0,0 @@
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>Client-side GObject bindings</title>
6
- <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7
- <link rel="home" href="index.html" title="GIO Reference Manual">
8
- <link rel="up" href="ch29.html" title="Migrating to GDBus">
9
- <link rel="prev" href="ch29s04.html" title="Creating proxies for well-known names">
10
- <link rel="next" href="ch29s06.html" title="Exporting objects">
11
- <meta name="generator" content="GTK-Doc V1.17 (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"><tr valign="middle">
16
- <td><a accesskey="p" href="ch29s04.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
17
- <td><a accesskey="u" href="ch29.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
18
- <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
19
- <th width="100%" align="center">GIO Reference Manual</th>
20
- <td><a accesskey="n" href="ch29s06.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
21
- </tr></table>
22
- <div class="section">
23
- <div class="titlepage"><div><div><h2 class="title" style="clear: both">
24
- <a name="id492882"></a>Client-side GObject bindings</h2></div></div></div>
25
- <p>
26
- dbus-glib comes with <span class="command"><strong>dbus-binding-tool</strong></span>, which
27
- can produce somewhat nice client-side wrappers for a D-Bus interface.
28
- GDBus does not have code-generation at this point, but <a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a>
29
- is designed to allow the creating of client-side wrappers by
30
- subclassing <a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a>.
31
- </p>
32
- <p>
33
- For an example of a <span class="type">GDBusProxy-derived</span> class that wraps a D-Bus
34
- interface in a type-safe way, see <a class="xref" href="ch29s05.html#gdbus-example-proxy-subclass" title="Example 19. GDBusProxy subclass example">Example 19, “GDBusProxy subclass example”</a>. The comparison is as
35
- follows:
36
- </p>
37
- <div class="table">
38
- <a name="gdbus-example-type-safe-proxy"></a><p class="title"><b>Table 8. Wrapping the org.freedesktop.Accounts.User D-Bus interface in the AccountUser GObject type</b></p>
39
- <div class="table-contents"><table summary="Wrapping the org.freedesktop.Accounts.User D-Bus interface in the AccountUser GObject type" border="1">
40
- <colgroup>
41
- <col>
42
- <col>
43
- </colgroup>
44
- <thead><tr>
45
- <th>D-Bus concept</th>
46
- <th>GObject concept</th>
47
- </tr></thead>
48
- <tbody>
49
- <tr>
50
- <td>AutomaticLogin property</td>
51
- <td>
52
- <p><code class="literal">AccountsUser:automatic-login</code> GObject property</p>
53
- <p>C getter: <code class="function">accounts_user_get_automatic_login()</code></p>
54
- <p>Watch changes via the <code class="literal">notify::automatic-login</code> signal</p>
55
- </td>
56
- </tr>
57
- <tr>
58
- <td>RealName property</td>
59
- <td>
60
- <p><code class="literal">AccountsUser:real-name</code> GObject property</p>
61
- <p>C getter: <code class="function">accounts_user_get_real_name()</code></p>
62
- <p>Watch changes via the <code class="literal">notify::real-name signal</code></p>
63
- </td>
64
- </tr>
65
- <tr>
66
- <td>UserName property</td>
67
- <td>
68
- <p><code class="literal">AccountsUser:user-name</code> GObject property</p>
69
- <p>C getter: <code class="function">accounts_user_get_user_name()</code></p>
70
- <p>Watch changes via the <code class="literal">notify::user-name</code> signal</p>
71
- </td>
72
- </tr>
73
- <tr>
74
- <td>Changed signal</td>
75
- <td>
76
- <p><code class="literal">AccountsUser::changed</code> GObject signal</p>
77
- <p>Watch via e.g. <a href="../gobject/gobject-Signals.html#g-signal-connect"><code class="function">g_signal_connect()</code></a></p>
78
- </td>
79
- </tr>
80
- <tr>
81
- <td>Frobnicate method</td>
82
- <td>
83
- <p>Use <code class="function">accounts_user_frobnicate()</code> + <code class="function">accounts_user_frobnicate_finish()</code> or <code class="function">accounts_user_frobnicate_sync()</code> to invoke</p>
84
- </td>
85
- </tr>
86
- </tbody>
87
- </table></div>
88
- </div>
89
- <p><br class="table-break">
90
- </p>
91
- <div class="example">
92
- <a name="gdbus-example-proxy-subclass"></a><p class="title"><b>Example 19. GDBusProxy subclass example</b></p>
93
- <div class="example-contents">
94
- <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
95
- <tbody>
96
- <tr>
97
- <td class="listing_lines" align="right"><pre>1
98
- 2
99
- 3
100
- 4
101
- 5
102
- 6
103
- 7
104
- 8
105
- 9
106
- 10
107
- 11
108
- 12
109
- 13
110
- 14
111
- 15
112
- 16
113
- 17
114
- 18
115
- 19
116
- 20
117
- 21
118
- 22
119
- 23
120
- 24
121
- 25
122
- 26
123
- 27
124
- 28
125
- 29
126
- 30
127
- 31
128
- 32
129
- 33
130
- 34
131
- 35
132
- 36
133
- 37
134
- 38
135
- 39
136
- 40
137
- 41
138
- 42
139
- 43
140
- 44
141
- 45
142
- 46
143
- 47
144
- 48
145
- 49
146
- 50
147
- 51
148
- 52
149
- 53
150
- 54
151
- 55
152
- 56
153
- 57
154
- 58
155
- 59
156
- 60
157
- 61
158
- 62
159
- 63
160
- 64
161
- 65
162
- 66
163
- 67
164
- 68
165
- 69
166
- 70
167
- 71
168
- 72
169
- 73
170
- 74
171
- 75
172
- 76
173
- 77
174
- 78
175
- 79
176
- 80
177
- 81
178
- 82
179
- 83
180
- 84
181
- 85
182
- 86
183
- 87
184
- 88
185
- 89
186
- 90
187
- 91
188
- 92
189
- 93
190
- 94
191
- 95
192
- 96
193
- 97
194
- 98
195
- 99
196
- 100
197
- 101
198
- 102
199
- 103
200
- 104
201
- 105
202
- 106
203
- 107
204
- 108
205
- 109
206
- 110
207
- 111
208
- 112
209
- 113
210
- 114
211
- 115
212
- 116
213
- 117
214
- 118
215
- 119
216
- 120
217
- 121
218
- 122
219
- 123
220
- 124
221
- 125
222
- 126
223
- 127
224
- 128
225
- 129
226
- 130
227
- 131
228
- 132
229
- 133
230
- 134
231
- 135
232
- 136
233
- 137
234
- 138
235
- 139
236
- 140
237
- 141
238
- 142
239
- 143
240
- 144
241
- 145
242
- 146
243
- 147
244
- 148
245
- 149
246
- 150
247
- 151
248
- 152
249
- 153
250
- 154
251
- 155
252
- 156
253
- 157
254
- 158
255
- 159
256
- 160
257
- 161
258
- 162
259
- 163
260
- 164
261
- 165
262
- 166
263
- 167
264
- 168
265
- 169
266
- 170
267
- 171
268
- 172
269
- 173
270
- 174
271
- 175
272
- 176
273
- 177
274
- 178
275
- 179
276
- 180
277
- 181
278
- 182
279
- 183
280
- 184
281
- 185
282
- 186
283
- 187
284
- 188
285
- 189
286
- 190
287
- 191
288
- 192
289
- 193
290
- 194
291
- 195
292
- 196
293
- 197
294
- 198
295
- 199
296
- 200
297
- 201
298
- 202
299
- 203
300
- 204
301
- 205
302
- 206
303
- 207
304
- 208
305
- 209
306
- 210
307
- 211
308
- 212
309
- 213
310
- 214
311
- 215
312
- 216
313
- 217
314
- 218
315
- 219
316
- 220
317
- 221
318
- 222
319
- 223
320
- 224
321
- 225
322
- 226
323
- 227
324
- 228
325
- 229
326
- 230
327
- 231
328
- 232
329
- 233
330
- 234
331
- 235
332
- 236
333
- 237
334
- 238
335
- 239
336
- 240
337
- 241
338
- 242
339
- 243
340
- 244
341
- 245
342
- 246
343
- 247
344
- 248
345
- 249
346
- 250
347
- 251
348
- 252
349
- 253
350
- 254
351
- 255
352
- 256
353
- 257
354
- 258
355
- 259
356
- 260
357
- 261
358
- 262
359
- 263
360
- 264
361
- 265
362
- 266
363
- 267
364
- 268
365
- 269
366
- 270
367
- 271
368
- 272
369
- 273
370
- 274
371
- 275
372
- 276
373
- 277
374
- 278
375
- 279
376
- 280
377
- 281
378
- 282
379
- 283
380
- 284
381
- 285
382
- 286
383
- 287
384
- 288
385
- 289
386
- 290
387
- 291
388
- 292
389
- 293
390
- 294
391
- 295
392
- 296
393
- 297
394
- 298
395
- 299
396
- 300
397
- 301
398
- 302
399
- 303
400
- 304
401
- 305
402
- 306
403
- 307
404
- 308
405
- 309
406
- 310
407
- 311
408
- 312
409
- 313
410
- 314
411
- 315
412
- 316
413
- 317
414
- 318
415
- 319
416
- 320
417
- 321
418
- 322
419
- 323
420
- 324
421
- 325
422
- 326
423
- 327
424
- 328
425
- 329
426
- 330
427
- 331
428
- 332
429
- 333
430
- 334
431
- 335
432
- 336
433
- 337
434
- 338
435
- 339
436
- 340
437
- 341
438
- 342
439
- 343
440
- 344
441
- 345
442
- 346
443
- 347
444
- 348
445
- 349
446
- 350
447
- 351
448
- 352
449
- 353
450
- 354
451
- 355
452
- 356
453
- 357</pre></td>
454
- <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>
455
-
456
- <span class="comment">/* ---------------------------------------------------------------------------------------------------- */</span>
457
- <span class="comment">/* The D-Bus interface definition we want to create a GDBusProxy-derived type for: */</span>
458
- <span class="comment">/* ---------------------------------------------------------------------------------------------------- */</span>
459
-
460
- <span class="keyword">static</span><span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> introspection_xml</span><span class="symbol">[]</span><span class="normal"> </span><span class="symbol">=</span>
461
- <span class="normal"> </span><span class="string">"&lt;node&gt;"</span>
462
- <span class="normal"> </span><span class="string">" &lt;interface name='org.freedesktop.Accounts.User'&gt;"</span>
463
- <span class="normal"> </span><span class="string">" &lt;method name='Frobnicate'&gt;"</span>
464
- <span class="normal"> </span><span class="string">" &lt;arg name='flux' type='s' direction='in'/&gt;"</span>
465
- <span class="normal"> </span><span class="string">" &lt;arg name='baz' type='s' direction='in'/&gt;"</span>
466
- <span class="normal"> </span><span class="string">" &lt;arg name='result' type='s' direction='out'/&gt;"</span>
467
- <span class="normal"> </span><span class="string">" &lt;/method&gt;"</span>
468
- <span class="normal"> </span><span class="string">" &lt;signal name='Changed'/&gt;"</span>
469
- <span class="normal"> </span><span class="string">" &lt;property name='AutomaticLogin' type='b' access='readwrite'/&gt;"</span>
470
- <span class="normal"> </span><span class="string">" &lt;property name='RealName' type='s' access='read'/&gt;"</span>
471
- <span class="normal"> </span><span class="string">" &lt;property name='UserName' type='s' access='read'/&gt;"</span>
472
- <span class="normal"> </span><span class="string">" &lt;/interface&gt;"</span>
473
- <span class="normal"> </span><span class="string">"&lt;/node&gt;"</span><span class="symbol">;</span>
474
-
475
- <span class="comment">/* ---------------------------------------------------------------------------------------------------- */</span>
476
- <span class="comment">/* Definition of the AccountsUser type */</span>
477
- <span class="comment">/* ---------------------------------------------------------------------------------------------------- */</span>
478
-
479
- <span class="preproc">#define</span><span class="normal"> </span><span class="function">ACCOUNTS_TYPE_USER</span><span class="normal"> </span><span class="symbol">(</span><span class="function">accounts_user_get_type</span><span class="normal"> </span><span class="symbol">())</span>
480
- <span class="preproc">#define</span><span class="normal"> </span><span class="function">ACCOUNTS_USER</span><span class="symbol">(</span><span class="normal">o</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="../gobject/gobject-Type-Information.html#G-TYPE-CHECK-INSTANCE-CAST:CAPS">G_TYPE_CHECK_INSTANCE_CAST</a></span><span class="normal"> </span><span class="symbol">((</span><span class="normal">o</span><span class="symbol">),</span><span class="normal"> ACCOUNTS_TYPE_USER</span><span class="symbol">,</span><span class="normal"> AccountsUser</span><span class="symbol">))</span>
481
- <span class="preproc">#define</span><span class="normal"> </span><span class="function">ACCOUNTS_USER_CLASS</span><span class="symbol">(</span><span class="normal">k</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="../gobject/gobject-Type-Information.html#G-TYPE-CHECK-CLASS-CAST:CAPS">G_TYPE_CHECK_CLASS_CAST</a></span><span class="symbol">((</span><span class="normal">k</span><span class="symbol">),</span><span class="normal"> ACCOUNTS_TYPE_USER</span><span class="symbol">,</span><span class="normal"> AccountsUserClass</span><span class="symbol">))</span>
482
- <span class="preproc">#define</span><span class="normal"> </span><span class="function">ACCOUNTS_USER_GET_CLASS</span><span class="symbol">(</span><span class="normal">o</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="../gobject/gobject-Type-Information.html#G-TYPE-INSTANCE-GET-CLASS:CAPS">G_TYPE_INSTANCE_GET_CLASS</a></span><span class="normal"> </span><span class="symbol">((</span><span class="normal">o</span><span class="symbol">),</span><span class="normal"> ACCOUNTS_TYPE_USER</span><span class="symbol">,</span><span class="normal"> AccountsUserClass</span><span class="symbol">))</span>
483
- <span class="preproc">#define</span><span class="normal"> </span><span class="function">ACCOUNTS_IS_USER</span><span class="symbol">(</span><span class="normal">o</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="../gobject/gobject-Type-Information.html#G-TYPE-CHECK-INSTANCE-TYPE:CAPS">G_TYPE_CHECK_INSTANCE_TYPE</a></span><span class="normal"> </span><span class="symbol">((</span><span class="normal">o</span><span class="symbol">),</span><span class="normal"> ACCOUNTS_TYPE_USER</span><span class="symbol">))</span>
484
- <span class="preproc">#define</span><span class="normal"> </span><span class="function">ACCOUNTS_IS_USER_CLASS</span><span class="symbol">(</span><span class="normal">k</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="../gobject/gobject-Type-Information.html#G-TYPE-CHECK-CLASS-TYPE:CAPS">G_TYPE_CHECK_CLASS_TYPE</a></span><span class="normal"> </span><span class="symbol">((</span><span class="normal">k</span><span class="symbol">),</span><span class="normal"> ACCOUNTS_TYPE_USER</span><span class="symbol">))</span>
485
-
486
- <span class="keyword">typedef</span><span class="normal"> </span><span class="keyword">struct</span><span class="normal"> </span><span class="classname">_AccountsUser</span><span class="normal"> AccountsUser</span><span class="symbol">;</span>
487
- <span class="keyword">typedef</span><span class="normal"> </span><span class="keyword">struct</span><span class="normal"> </span><span class="classname">_AccountsUserClass</span><span class="normal"> AccountsUserClass</span><span class="symbol">;</span>
488
- <span class="keyword">typedef</span><span class="normal"> </span><span class="keyword">struct</span><span class="normal"> </span><span class="classname">_AccountsUserPrivate</span><span class="normal"> AccountsUserPrivate</span><span class="symbol">;</span>
489
-
490
- <span class="keyword">struct</span><span class="normal"> </span><span class="classname">_AccountsUser</span>
491
- <span class="cbracket">{</span>
492
- <span class="normal"> </span><span class="comment">/*&lt; private &gt;*/</span>
493
- <span class="normal"> </span><span class="usertype">GDBusProxy</span><span class="normal"> parent_instance</span><span class="symbol">;</span>
494
- <span class="normal"> </span><span class="usertype">AccountsUserPrivate</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">priv</span><span class="symbol">;</span>
495
- <span class="cbracket">}</span><span class="symbol">;</span>
496
-
497
- <span class="keyword">struct</span><span class="normal"> </span><span class="classname">_AccountsUserClass</span>
498
- <span class="cbracket">{</span>
499
- <span class="normal"> </span><span class="comment">/*&lt; private &gt;*/</span>
500
- <span class="normal"> </span><span class="usertype">GDBusProxyClass</span><span class="normal"> parent_class</span><span class="symbol">;</span>
501
- <span class="normal"> </span><span class="type">void</span><span class="normal"> </span><span class="symbol">(*</span><span class="normal"><a href="/usr/share/gtk-doc/html/UPower/UPower-up-device.html#changed">changed</a></span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">AccountsUser</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">user</span><span class="symbol">);</span>
502
- <span class="cbracket">}</span><span class="symbol">;</span>
503
-
504
- <span class="usertype">GType</span><span class="normal"> </span><span class="function">accounts_user_get_type</span><span class="normal"> </span><span class="symbol">(</span><span class="type">void</span><span class="symbol">)</span><span class="normal"> <a href="../glib/glib-Miscellaneous-Macros.html#G-GNUC-CONST:CAPS">G_GNUC_CONST</a></span><span class="symbol">;</span>
505
-
506
- <span class="keyword">const</span><span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="function">accounts_user_get_user_name</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">AccountsUser</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">user</span><span class="symbol">);</span>
507
- <span class="keyword">const</span><span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="function">accounts_user_get_real_name</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">AccountsUser</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">user</span><span class="symbol">);</span>
508
- <span class="usertype">gboolean</span><span class="normal"> </span><span class="function">accounts_user_get_automatic_login</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">AccountsUser</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">user</span><span class="symbol">);</span>
509
-
510
- <span class="type">void</span><span class="normal"> </span><span class="function">accounts_user_frobnicate</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">AccountsUser</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">user</span><span class="symbol">,</span>
511
- <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">flux</span><span class="symbol">,</span>
512
- <span class="normal"> </span><span class="usertype">gint</span><span class="normal"> baz</span><span class="symbol">,</span>
513
- <span class="normal"> </span><span class="usertype">GCancellable</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cancellable</span><span class="symbol">,</span>
514
- <span class="normal"> </span><span class="usertype">GAsyncReadyCallback</span><span class="normal"> callback</span><span class="symbol">,</span>
515
- <span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">);</span>
516
- <span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="function">accounts_user_frobnicate_finish</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">AccountsUser</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">user</span><span class="symbol">,</span>
517
- <span class="normal"> </span><span class="usertype">GAsyncResult</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">res</span><span class="symbol">,</span>
518
- <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>
519
- <span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="function">accounts_user_frobnicate_sync</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">AccountsUser</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">user</span><span class="symbol">,</span>
520
- <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">flux</span><span class="symbol">,</span>
521
- <span class="normal"> </span><span class="usertype">gint</span><span class="normal"> baz</span><span class="symbol">,</span>
522
- <span class="normal"> </span><span class="usertype">GCancellable</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cancellable</span><span class="symbol">,</span>
523
- <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>
524
-
525
- <span class="comment">/* ---------------------------------------------------------------------------------------------------- */</span>
526
- <span class="comment">/* Implementation of the AccountsUser type */</span>
527
- <span class="comment">/* ---------------------------------------------------------------------------------------------------- */</span>
528
-
529
- <span class="comment">/* A more efficient approach than parsing XML is to use const static</span>
530
- <span class="comment"> * GDBusInterfaceInfo, GDBusMethodInfo, ... structures</span>
531
- <span class="comment"> */</span>
532
- <span class="keyword">static</span><span class="normal"> <a href="gio-D-Bus-Introspection-Data.html#GDBusInterfaceInfo">GDBusInterfaceInfo</a> </span><span class="symbol">*</span>
533
- <span class="function">accounts_user_get_interface_info</span><span class="normal"> </span><span class="symbol">(</span><span class="type">void</span><span class="symbol">)</span>
534
- <span class="cbracket">{</span>
535
- <span class="normal"> </span><span class="keyword">static</span><span class="normal"> </span><span class="usertype">gsize</span><span class="normal"> has_info </span><span class="symbol">=</span><span class="normal"> </span><span class="number">0</span><span class="symbol">;</span>
536
- <span class="normal"> </span><span class="keyword">static</span><span class="normal"> </span><span class="usertype">GDBusInterfaceInfo</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">info </span><span class="symbol">=</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
537
- <span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="../glib/glib-Threads.html#g-once-init-enter">g_once_init_enter</a></span><span class="normal"> </span><span class="symbol">(&amp;</span><span class="normal">has_info</span><span class="symbol">))</span>
538
- <span class="normal"> </span><span class="cbracket">{</span>
539
- <span class="normal"> </span><span class="usertype">GDBusNodeInfo</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">introspection_data</span><span class="symbol">;</span>
540
- <span class="normal"> introspection_data </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="gio-D-Bus-Introspection-Data.html#g-dbus-node-info-new-for-xml">g_dbus_node_info_new_for_xml</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">introspection_xml</span><span class="symbol">,</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
541
- <span class="normal"> info </span><span class="symbol">=</span><span class="normal"> introspection_data</span><span class="symbol">-&gt;</span><span class="normal">interfaces</span><span class="symbol">[</span><span class="number">0</span><span class="symbol">];</span>
542
- <span class="normal"> </span><span class="function"><a href="../glib/glib-Threads.html#g-once-init-leave">g_once_init_leave</a></span><span class="normal"> </span><span class="symbol">(&amp;</span><span class="normal">has_info</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">);</span>
543
- <span class="normal"> </span><span class="cbracket">}</span>
544
- <span class="normal"> </span><span class="keyword">return</span><span class="normal"> info</span><span class="symbol">;</span>
545
- <span class="cbracket">}</span>
546
-
547
- <span class="keyword">enum</span>
548
- <span class="cbracket">{</span>
549
- <span class="normal"> PROP_0</span><span class="symbol">,</span>
550
- <span class="normal"> PROP_USER_NAME</span><span class="symbol">,</span>
551
- <span class="normal"> PROP_REAL_NAME</span><span class="symbol">,</span>
552
- <span class="normal"> PROP_AUTOMATIC_LOGIN</span><span class="symbol">,</span>
553
- <span class="cbracket">}</span><span class="symbol">;</span>
554
-
555
- <span class="keyword">enum</span>
556
- <span class="cbracket">{</span>
557
- <span class="normal"> CHANGED_SIGNAL</span><span class="symbol">,</span>
558
- <span class="normal"> LAST_SIGNAL</span>
559
- <span class="cbracket">}</span><span class="symbol">;</span>
560
-
561
- <span class="keyword">static</span><span class="normal"> </span><span class="usertype">guint</span><span class="normal"> signals</span><span class="symbol">[</span><span class="normal">LAST_SIGNAL</span><span class="symbol">]</span><span class="normal"> </span><span class="symbol">=</span><span class="normal"> </span><span class="cbracket">{</span><span class="number">0</span><span class="cbracket">}</span><span class="symbol">;</span>
562
-
563
- <span class="function"><a href="../gobject/gobject-Type-Information.html#G-DEFINE-TYPE:CAPS">G_DEFINE_TYPE</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">AccountsUser</span><span class="symbol">,</span><span class="normal"> accounts_user</span><span class="symbol">,</span><span class="normal"> G_TYPE_DBUS_PROXY</span><span class="symbol">);</span>
564
-
565
- <span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
566
- <span class="function">accounts_user_finalize</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GObject</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">object</span><span class="symbol">)</span>
567
- <span class="cbracket">{</span>
568
- <span class="normal"> </span><span class="usertype">G_GNUC_UNUSED</span><span class="normal"> </span><span class="usertype">AccountsUser</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">user </span><span class="symbol">=</span><span class="normal"> </span><span class="function">ACCOUNTS_USER</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">object</span><span class="symbol">);</span>
569
-
570
- <span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#G-OBJECT-CLASS:CAPS">G_OBJECT_CLASS</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">accounts_user_parent_class</span><span class="symbol">)-&gt;</span><span class="normal">finalize </span><span class="symbol">!=</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span>
571
- <span class="normal"> </span><span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#G-OBJECT-CLASS:CAPS">G_OBJECT_CLASS</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">accounts_user_parent_class</span><span class="symbol">)-&gt;</span><span class="function">finalize</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">object</span><span class="symbol">);</span>
572
- <span class="cbracket">}</span>
573
-
574
- <span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
575
- <span class="function">accounts_user_init</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">AccountsUser</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">user</span><span class="symbol">)</span>
576
- <span class="cbracket">{</span>
577
- <span class="normal"> </span><span class="comment">/* Sets the expected interface */</span>
578
- <span class="normal"> </span><span class="function"><a href="GDBusProxy.html#g-dbus-proxy-set-interface-info">g_dbus_proxy_set_interface_info</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">G_DBUS_PROXY</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">user</span><span class="symbol">),</span><span class="normal"> </span><span class="function">accounts_user_get_interface_info</span><span class="normal"> </span><span class="symbol">());</span>
579
- <span class="cbracket">}</span>
580
-
581
- <span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
582
- <span class="function">accounts_user_get_property</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GObject</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">object</span><span class="symbol">,</span>
583
- <span class="normal"> </span><span class="usertype">guint</span><span class="normal"> prop_id</span><span class="symbol">,</span>
584
- <span class="normal"> </span><span class="usertype">GValue</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">value</span><span class="symbol">,</span>
585
- <span class="normal"> </span><span class="usertype">GParamSpec</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">pspec</span><span class="symbol">)</span>
586
- <span class="cbracket">{</span>
587
- <span class="normal"> </span><span class="usertype">AccountsUser</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">user </span><span class="symbol">=</span><span class="normal"> </span><span class="function">ACCOUNTS_USER</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">object</span><span class="symbol">);</span>
588
-
589
- <span class="normal"> </span><span class="keyword">switch</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">prop_id</span><span class="symbol">)</span>
590
- <span class="normal"> </span><span class="cbracket">{</span>
591
- <span class="normal"> </span><span class="keyword">case</span><span class="normal"> PROP_USER_NAME</span><span class="symbol">:</span>
592
- <span class="normal"> </span><span class="function"><a href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-set-string">g_value_set_string</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">value</span><span class="symbol">,</span><span class="normal"> </span><span class="function">accounts_user_get_user_name</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">user</span><span class="symbol">));</span>
593
- <span class="normal"> </span><span class="keyword">break</span><span class="symbol">;</span>
594
-
595
- <span class="normal"> </span><span class="keyword">case</span><span class="normal"> PROP_REAL_NAME</span><span class="symbol">:</span>
596
- <span class="normal"> </span><span class="function"><a href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-set-string">g_value_set_string</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">value</span><span class="symbol">,</span><span class="normal"> </span><span class="function">accounts_user_get_real_name</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">user</span><span class="symbol">));</span>
597
- <span class="normal"> </span><span class="keyword">break</span><span class="symbol">;</span>
598
-
599
- <span class="normal"> </span><span class="keyword">case</span><span class="normal"> PROP_AUTOMATIC_LOGIN</span><span class="symbol">:</span>
600
- <span class="normal"> </span><span class="function"><a href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-set-boolean">g_value_set_boolean</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">value</span><span class="symbol">,</span><span class="normal"> </span><span class="function">accounts_user_get_automatic_login</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">user</span><span class="symbol">));</span>
601
- <span class="normal"> </span><span class="keyword">break</span><span class="symbol">;</span>
602
-
603
- <span class="label"> default:</span>
604
- <span class="normal"> </span><span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#G-OBJECT-WARN-INVALID-PROPERTY-ID:CAPS">G_OBJECT_WARN_INVALID_PROPERTY_ID</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">object</span><span class="symbol">,</span><span class="normal"> prop_id</span><span class="symbol">,</span><span class="normal"> pspec</span><span class="symbol">);</span>
605
- <span class="normal"> </span><span class="keyword">break</span><span class="symbol">;</span>
606
- <span class="normal"> </span><span class="cbracket">}</span>
607
- <span class="cbracket">}</span>
608
-
609
- <span class="keyword">const</span><span class="normal"> <a href="../glib/glib-Basic-Types.html#gchar">gchar</a> </span><span class="symbol">*</span>
610
- <span class="function">accounts_user_get_user_name</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">AccountsUser</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">user</span><span class="symbol">)</span>
611
- <span class="cbracket">{</span>
612
- <span class="normal"> </span><span class="usertype">GVariant</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">value</span><span class="symbol">;</span>
613
- <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">ret</span><span class="symbol">;</span>
614
- <span class="normal"> </span><span class="function"><a href="../glib/glib-Warnings-and-Assertions.html#g-return-val-if-fail">g_return_val_if_fail</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">ACCOUNTS_IS_USER</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">user</span><span class="symbol">),</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
615
- <span class="normal"> value </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GDBusProxy.html#g-dbus-proxy-get-cached-property">g_dbus_proxy_get_cached_property</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">G_DBUS_PROXY</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">user</span><span class="symbol">),</span><span class="normal"> </span><span class="string">"UserName"</span><span class="symbol">);</span>
616
- <span class="normal"> ret </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="../glib/glib-GVariant.html#g-variant-get-string">g_variant_get_string</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">value</span><span class="symbol">,</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
617
- <span class="normal"> </span><span class="function"><a href="../glib/glib-GVariant.html#g-variant-unref">g_variant_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">value</span><span class="symbol">);</span>
618
- <span class="normal"> </span><span class="keyword">return</span><span class="normal"> ret</span><span class="symbol">;</span>
619
- <span class="cbracket">}</span>
620
-
621
- <span class="keyword">const</span><span class="normal"> <a href="../glib/glib-Basic-Types.html#gchar">gchar</a> </span><span class="symbol">*</span>
622
- <span class="function">accounts_user_get_real_name</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">AccountsUser</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">user</span><span class="symbol">)</span>
623
- <span class="cbracket">{</span>
624
- <span class="normal"> </span><span class="usertype">GVariant</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">value</span><span class="symbol">;</span>
625
- <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">ret</span><span class="symbol">;</span>
626
- <span class="normal"> </span><span class="function"><a href="../glib/glib-Warnings-and-Assertions.html#g-return-val-if-fail">g_return_val_if_fail</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">ACCOUNTS_IS_USER</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">user</span><span class="symbol">),</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
627
- <span class="normal"> value </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GDBusProxy.html#g-dbus-proxy-get-cached-property">g_dbus_proxy_get_cached_property</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">G_DBUS_PROXY</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">user</span><span class="symbol">),</span><span class="normal"> </span><span class="string">"RealName"</span><span class="symbol">);</span>
628
- <span class="normal"> ret </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="../glib/glib-GVariant.html#g-variant-get-string">g_variant_get_string</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">value</span><span class="symbol">,</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
629
- <span class="normal"> </span><span class="function"><a href="../glib/glib-GVariant.html#g-variant-unref">g_variant_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">value</span><span class="symbol">);</span>
630
- <span class="normal"> </span><span class="keyword">return</span><span class="normal"> ret</span><span class="symbol">;</span>
631
- <span class="cbracket">}</span>
632
-
633
- <span class="normal"><a href="../glib/glib-Basic-Types.html#gboolean">gboolean</a></span>
634
- <span class="function">accounts_user_get_automatic_login</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">AccountsUser</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">user</span><span class="symbol">)</span>
635
- <span class="cbracket">{</span>
636
- <span class="normal"> </span><span class="usertype">GVariant</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">value</span><span class="symbol">;</span>
637
- <span class="normal"> </span><span class="usertype">gboolean</span><span class="normal"> ret</span><span class="symbol">;</span>
638
- <span class="normal"> </span><span class="function"><a href="../glib/glib-Warnings-and-Assertions.html#g-return-val-if-fail">g_return_val_if_fail</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">ACCOUNTS_IS_USER</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">user</span><span class="symbol">),</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS">FALSE</a></span><span class="symbol">);</span>
639
- <span class="normal"> value </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GDBusProxy.html#g-dbus-proxy-get-cached-property">g_dbus_proxy_get_cached_property</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">G_DBUS_PROXY</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">user</span><span class="symbol">),</span><span class="normal"> </span><span class="string">"AutomaticLogin"</span><span class="symbol">);</span>
640
- <span class="normal"> ret </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="../glib/glib-GVariant.html#g-variant-get-boolean">g_variant_get_boolean</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">value</span><span class="symbol">);</span>
641
- <span class="normal"> </span><span class="function"><a href="../glib/glib-GVariant.html#g-variant-unref">g_variant_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">value</span><span class="symbol">);</span>
642
- <span class="normal"> </span><span class="keyword">return</span><span class="normal"> ret</span><span class="symbol">;</span>
643
- <span class="cbracket">}</span>
644
-
645
- <span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
646
- <span class="function">accounts_user_g_signal</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GDBusProxy</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">proxy</span><span class="symbol">,</span>
647
- <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">sender_name</span><span class="symbol">,</span>
648
- <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">signal_name</span><span class="symbol">,</span>
649
- <span class="normal"> </span><span class="usertype">GVariant</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">parameters</span><span class="symbol">)</span>
650
- <span class="cbracket">{</span>
651
- <span class="normal"> </span><span class="usertype">AccountsUser</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">user </span><span class="symbol">=</span><span class="normal"> </span><span class="function">ACCOUNTS_USER</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">proxy</span><span class="symbol">);</span>
652
- <span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="../glib/glib-String-Utility-Functions.html#g-strcmp0">g_strcmp0</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">signal_name</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Changed"</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">==</span><span class="normal"> </span><span class="number">0</span><span class="symbol">)</span>
653
- <span class="normal"> </span><span class="function"><a href="../gobject/gobject-Signals.html#g-signal-emit">g_signal_emit</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">user</span><span class="symbol">,</span><span class="normal"> signals</span><span class="symbol">[</span><span class="normal">CHANGED_SIGNAL</span><span class="symbol">],</span><span class="normal"> </span><span class="number">0</span><span class="symbol">);</span>
654
- <span class="cbracket">}</span>
655
-
656
- <span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
657
- <span class="function">accounts_user_g_properties_changed</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GDBusProxy</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">proxy</span><span class="symbol">,</span>
658
- <span class="normal"> </span><span class="usertype">GVariant</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">changed_properties</span><span class="symbol">,</span>
659
- <span class="normal"> </span><span class="keyword">const</span><span class="normal"> <a href="../glib/glib-Basic-Types.html#gchar">gchar</a></span><span class="symbol">*</span><span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">invalidated_properties</span><span class="symbol">)</span>
660
- <span class="cbracket">{</span>
661
- <span class="normal"> </span><span class="usertype">AccountsUser</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">user </span><span class="symbol">=</span><span class="normal"> </span><span class="function">ACCOUNTS_USER</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">proxy</span><span class="symbol">);</span>
662
- <span class="normal"> </span><span class="usertype">GVariantIter</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">iter</span><span class="symbol">;</span>
663
- <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">key</span><span class="symbol">;</span>
664
-
665
- <span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">changed_properties </span><span class="symbol">!=</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span>
666
- <span class="normal"> </span><span class="cbracket">{</span>
667
- <span class="normal"> </span><span class="function"><a href="../glib/glib-GVariant.html#g-variant-get">g_variant_get</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">changed_properties</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"a{sv}"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&amp;</span><span class="normal">iter</span><span class="symbol">);</span>
668
- <span class="normal"> </span><span class="keyword">while</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="../glib/glib-GVariant.html#g-variant-iter-next">g_variant_iter_next</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">iter</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"{&amp;sv}"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&amp;</span><span class="normal">key</span><span class="symbol">,</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">))</span>
669
- <span class="normal"> </span><span class="cbracket">{</span>
670
- <span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="../glib/glib-String-Utility-Functions.html#g-strcmp0">g_strcmp0</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">key</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"AutomaticLogin"</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">==</span><span class="normal"> </span><span class="number">0</span><span class="symbol">)</span>
671
- <span class="normal"> </span><span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#g-object-notify">g_object_notify</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#G-OBJECT:CAPS">G_OBJECT</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">user</span><span class="symbol">),</span><span class="normal"> </span><span class="string">"automatic-login"</span><span class="symbol">);</span>
672
- <span class="normal"> </span><span class="keyword">else</span><span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="../glib/glib-String-Utility-Functions.html#g-strcmp0">g_strcmp0</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">key</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"RealName"</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">==</span><span class="normal"> </span><span class="number">0</span><span class="symbol">)</span>
673
- <span class="normal"> </span><span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#g-object-notify">g_object_notify</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#G-OBJECT:CAPS">G_OBJECT</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">user</span><span class="symbol">),</span><span class="normal"> </span><span class="string">"real-name"</span><span class="symbol">);</span>
674
- <span class="normal"> </span><span class="keyword">else</span><span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="../glib/glib-String-Utility-Functions.html#g-strcmp0">g_strcmp0</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">key</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"UserName"</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">==</span><span class="normal"> </span><span class="number">0</span><span class="symbol">)</span>
675
- <span class="normal"> </span><span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#g-object-notify">g_object_notify</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#G-OBJECT:CAPS">G_OBJECT</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">user</span><span class="symbol">),</span><span class="normal"> </span><span class="string">"user-name"</span><span class="symbol">);</span>
676
- <span class="normal"> </span><span class="cbracket">}</span>
677
- <span class="normal"> </span><span class="function"><a href="../glib/glib-GVariant.html#g-variant-iter-free">g_variant_iter_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">iter</span><span class="symbol">);</span>
678
- <span class="normal"> </span><span class="cbracket">}</span>
679
- <span class="cbracket">}</span>
680
-
681
- <span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
682
- <span class="function">accounts_user_class_init</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">AccountsUserClass</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">klass</span><span class="symbol">)</span>
683
- <span class="cbracket">{</span>
684
- <span class="normal"> </span><span class="usertype">GObjectClass</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">gobject_class</span><span class="symbol">;</span>
685
- <span class="normal"> </span><span class="usertype">GDBusProxyClass</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">proxy_class</span><span class="symbol">;</span>
686
-
687
- <span class="normal"> gobject_class </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#G-OBJECT-CLASS:CAPS">G_OBJECT_CLASS</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">klass</span><span class="symbol">);</span>
688
- <span class="normal"> gobject_class</span><span class="symbol">-&gt;</span><span class="normal">get_property </span><span class="symbol">=</span><span class="normal"> accounts_user_get_property</span><span class="symbol">;</span>
689
- <span class="normal"> gobject_class</span><span class="symbol">-&gt;</span><span class="normal">finalize </span><span class="symbol">=</span><span class="normal"> accounts_user_finalize</span><span class="symbol">;</span>
690
-
691
- <span class="normal"> proxy_class </span><span class="symbol">=</span><span class="normal"> </span><span class="function">G_DBUS_PROXY_CLASS</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">klass</span><span class="symbol">);</span>
692
- <span class="normal"> proxy_class</span><span class="symbol">-&gt;</span><span class="normal">g_signal </span><span class="symbol">=</span><span class="normal"> accounts_user_g_signal</span><span class="symbol">;</span>
693
- <span class="normal"> proxy_class</span><span class="symbol">-&gt;</span><span class="normal">g_properties_changed </span><span class="symbol">=</span><span class="normal"> accounts_user_g_properties_changed</span><span class="symbol">;</span>
694
-
695
- <span class="normal"> </span><span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#g-object-class-install-property">g_object_class_install_property</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">gobject_class</span><span class="symbol">,</span>
696
- <span class="normal"> PROP_USER_NAME</span><span class="symbol">,</span>
697
- <span class="normal"> </span><span class="function"><a href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-string">g_param_spec_string</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"user-name"</span><span class="symbol">,</span>
698
- <span class="normal"> </span><span class="string">"User Name"</span><span class="symbol">,</span>
699
- <span class="normal"> </span><span class="string">"The user name of the user"</span><span class="symbol">,</span>
700
- <span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span>
701
- <span class="normal"> <a href="../gobject/gobject-GParamSpec.html#G-PARAM-READABLE:CAPS">G_PARAM_READABLE</a> </span><span class="symbol">|</span>
702
- <span class="normal"> <a href="../gobject/gobject-GParamSpec.html#G-PARAM-STATIC-STRINGS:CAPS">G_PARAM_STATIC_STRINGS</a></span><span class="symbol">));</span>
703
-
704
- <span class="normal"> </span><span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#g-object-class-install-property">g_object_class_install_property</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">gobject_class</span><span class="symbol">,</span>
705
- <span class="normal"> PROP_REAL_NAME</span><span class="symbol">,</span>
706
- <span class="normal"> </span><span class="function"><a href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-string">g_param_spec_string</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"real-name"</span><span class="symbol">,</span>
707
- <span class="normal"> </span><span class="string">"Real Name"</span><span class="symbol">,</span>
708
- <span class="normal"> </span><span class="string">"The real name of the user"</span><span class="symbol">,</span>
709
- <span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span>
710
- <span class="normal"> <a href="../gobject/gobject-GParamSpec.html#G-PARAM-READABLE:CAPS">G_PARAM_READABLE</a> </span><span class="symbol">|</span>
711
- <span class="normal"> <a href="../gobject/gobject-GParamSpec.html#G-PARAM-STATIC-STRINGS:CAPS">G_PARAM_STATIC_STRINGS</a></span><span class="symbol">));</span>
712
-
713
- <span class="normal"> </span><span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#g-object-class-install-property">g_object_class_install_property</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">gobject_class</span><span class="symbol">,</span>
714
- <span class="normal"> PROP_AUTOMATIC_LOGIN</span><span class="symbol">,</span>
715
- <span class="normal"> </span><span class="function"><a href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-boolean">g_param_spec_boolean</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"automatic-login"</span><span class="symbol">,</span>
716
- <span class="normal"> </span><span class="string">"Automatic Login"</span><span class="symbol">,</span>
717
- <span class="normal"> </span><span class="string">"Whether the user is automatically logged in"</span><span class="symbol">,</span>
718
- <span class="normal"> <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS">FALSE</a></span><span class="symbol">,</span>
719
- <span class="normal"> <a href="../gobject/gobject-GParamSpec.html#G-PARAM-READABLE:CAPS">G_PARAM_READABLE</a> </span><span class="symbol">|</span>
720
- <span class="normal"> <a href="../gobject/gobject-GParamSpec.html#G-PARAM-STATIC-STRINGS:CAPS">G_PARAM_STATIC_STRINGS</a></span><span class="symbol">));</span>
721
-
722
- <span class="normal"> signals</span><span class="symbol">[</span><span class="normal">CHANGED_SIGNAL</span><span class="symbol">]</span><span class="normal"> </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="../gobject/gobject-Signals.html#g-signal-new">g_signal_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"changed"</span><span class="symbol">,</span>
723
- <span class="normal"> ACCOUNTS_TYPE_USER</span><span class="symbol">,</span>
724
- <span class="normal"> <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">G_SIGNAL_RUN_LAST</a></span><span class="symbol">,</span>
725
- <span class="normal"> </span><span class="function"><a href="../glib/glib-Standard-Macros.html#G-STRUCT-OFFSET:CAPS">G_STRUCT_OFFSET</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">AccountsUserClass</span><span class="symbol">,</span><span class="normal"> <a href="/usr/share/gtk-doc/html/UPower/UPower-up-device.html#changed">changed</a></span><span class="symbol">),</span>
726
- <span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span>
727
- <span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span>
728
- <span class="normal"> <a href="../gobject/gobject-Closures.html#g-cclosure-marshal-VOID--VOID">g_cclosure_marshal_VOID__VOID</a></span><span class="symbol">,</span>
729
- <span class="normal"> <a href="../gobject/gobject-Type-Information.html#G-TYPE-NONE:CAPS">G_TYPE_NONE</a></span><span class="symbol">,</span>
730
- <span class="normal"> </span><span class="number">0</span><span class="symbol">);</span>
731
- <span class="cbracket">}</span>
732
-
733
- <span class="normal"><a href="../glib/glib-Basic-Types.html#gchar">gchar</a> </span><span class="symbol">*</span>
734
- <span class="function">accounts_user_frobnicate_sync</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">AccountsUser</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">user</span><span class="symbol">,</span>
735
- <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">flux</span><span class="symbol">,</span>
736
- <span class="normal"> </span><span class="usertype">gint</span><span class="normal"> baz</span><span class="symbol">,</span>
737
- <span class="normal"> </span><span class="usertype">GCancellable</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cancellable</span><span class="symbol">,</span>
738
- <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>
739
- <span class="cbracket">{</span>
740
- <span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">ret</span><span class="symbol">;</span>
741
- <span class="normal"> </span><span class="usertype">GVariant</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">value</span><span class="symbol">;</span>
742
-
743
- <span class="normal"> </span><span class="function"><a href="../glib/glib-Warnings-and-Assertions.html#g-return-val-if-fail">g_return_val_if_fail</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">ACCOUNTS_IS_USER</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">user</span><span class="symbol">),</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
744
-
745
- <span class="normal"> ret </span><span class="symbol">=</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
746
-
747
- <span class="normal"> value </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GDBusProxy.html#g-dbus-proxy-call-sync">g_dbus_proxy_call_sync</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">G_DBUS_PROXY</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">user</span><span class="symbol">),</span>
748
- <span class="normal"> </span><span class="string">"Frobnicate"</span><span class="symbol">,</span>
749
- <span class="normal"> </span><span class="function"><a href="../glib/glib-GVariant.html#g-variant-new">g_variant_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"(si)"</span><span class="symbol">,</span>
750
- <span class="normal"> flux</span><span class="symbol">,</span>
751
- <span class="normal"> baz</span><span class="symbol">),</span>
752
- <span class="normal"> <a href="GDBusConnection.html#G-DBUS-CALL-FLAGS-NONE:CAPS">G_DBUS_CALL_FLAGS_NONE</a></span><span class="symbol">,</span>
753
- <span class="normal"> </span><span class="symbol">-</span><span class="number">1</span><span class="symbol">,</span>
754
- <span class="normal"> cancellable</span><span class="symbol">,</span>
755
- <span class="normal"> error</span><span class="symbol">);</span>
756
- <span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">value </span><span class="symbol">!=</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span>
757
- <span class="normal"> </span><span class="cbracket">{</span>
758
- <span class="normal"> </span><span class="function"><a href="../glib/glib-GVariant.html#g-variant-get">g_variant_get</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">value</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"(s)"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&amp;</span><span class="normal">ret</span><span class="symbol">);</span>
759
- <span class="normal"> </span><span class="function"><a href="../glib/glib-GVariant.html#g-variant-unref">g_variant_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">value</span><span class="symbol">);</span>
760
- <span class="normal"> </span><span class="cbracket">}</span>
761
- <span class="normal"> </span><span class="keyword">return</span><span class="normal"> ret</span><span class="symbol">;</span>
762
- <span class="cbracket">}</span>
763
-
764
- <span class="type">void</span>
765
- <span class="function">accounts_user_frobnicate</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">AccountsUser</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">user</span><span class="symbol">,</span>
766
- <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">flux</span><span class="symbol">,</span>
767
- <span class="normal"> </span><span class="usertype">gint</span><span class="normal"> baz</span><span class="symbol">,</span>
768
- <span class="normal"> </span><span class="usertype">GCancellable</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cancellable</span><span class="symbol">,</span>
769
- <span class="normal"> </span><span class="usertype">GAsyncReadyCallback</span><span class="normal"> callback</span><span class="symbol">,</span>
770
- <span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
771
- <span class="cbracket">{</span>
772
- <span class="normal"> </span><span class="function"><a href="../glib/glib-Warnings-and-Assertions.html#g-return-if-fail">g_return_if_fail</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">ACCOUNTS_IS_USER</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">user</span><span class="symbol">));</span>
773
- <span class="normal"> </span><span class="function"><a href="GDBusProxy.html#g-dbus-proxy-call">g_dbus_proxy_call</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">G_DBUS_PROXY</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">user</span><span class="symbol">),</span>
774
- <span class="normal"> </span><span class="string">"Frobnicate"</span><span class="symbol">,</span>
775
- <span class="normal"> </span><span class="function"><a href="../glib/glib-GVariant.html#g-variant-new">g_variant_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"(si)"</span><span class="symbol">,</span>
776
- <span class="normal"> flux</span><span class="symbol">,</span>
777
- <span class="normal"> baz</span><span class="symbol">),</span>
778
- <span class="normal"> <a href="GDBusConnection.html#G-DBUS-CALL-FLAGS-NONE:CAPS">G_DBUS_CALL_FLAGS_NONE</a></span><span class="symbol">,</span>
779
- <span class="normal"> </span><span class="symbol">-</span><span class="number">1</span><span class="symbol">,</span>
780
- <span class="normal"> cancellable</span><span class="symbol">,</span>
781
- <span class="normal"> callback</span><span class="symbol">,</span>
782
- <span class="normal"> user_data</span><span class="symbol">);</span>
783
- <span class="cbracket">}</span>
784
-
785
-
786
- <span class="normal"><a href="../glib/glib-Basic-Types.html#gchar">gchar</a> </span><span class="symbol">*</span>
787
- <span class="function">accounts_user_frobnicate_finish</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">AccountsUser</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">user</span><span class="symbol">,</span>
788
- <span class="normal"> </span><span class="usertype">GAsyncResult</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">res</span><span class="symbol">,</span>
789
- <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>
790
- <span class="cbracket">{</span>
791
- <span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">ret</span><span class="symbol">;</span>
792
- <span class="normal"> </span><span class="usertype">GVariant</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">value</span><span class="symbol">;</span>
793
-
794
- <span class="normal"> ret </span><span class="symbol">=</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
795
- <span class="normal"> value </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GDBusProxy.html#g-dbus-proxy-call-finish">g_dbus_proxy_call_finish</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">G_DBUS_PROXY</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">user</span><span class="symbol">),</span><span class="normal"> res</span><span class="symbol">,</span><span class="normal"> error</span><span class="symbol">);</span>
796
- <span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">value </span><span class="symbol">!=</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span>
797
- <span class="normal"> </span><span class="cbracket">{</span>
798
- <span class="normal"> </span><span class="function"><a href="../glib/glib-GVariant.html#g-variant-get">g_variant_get</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">value</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"(s)"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&amp;</span><span class="normal">ret</span><span class="symbol">);</span>
799
- <span class="normal"> </span><span class="function"><a href="../glib/glib-GVariant.html#g-variant-unref">g_variant_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">value</span><span class="symbol">);</span>
800
- <span class="normal"> </span><span class="cbracket">}</span>
801
- <span class="normal"> </span><span class="keyword">return</span><span class="normal"> ret</span><span class="symbol">;</span>
802
- <span class="cbracket">}</span>
803
-
804
- <span class="comment">/* ---------------------------------------------------------------------------------------------------- */</span>
805
-
806
- <span class="normal"><a href="../glib/glib-Basic-Types.html#gint">gint</a></span>
807
- <span class="function">main</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">gint</span><span class="normal"> argc</span><span class="symbol">,</span><span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">argv</span><span class="symbol">[])</span>
808
- <span class="cbracket">{</span>
809
- <span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="number">0</span><span class="symbol">;</span>
810
- <span class="cbracket">}</span></pre></td>
811
- </tr>
812
- </tbody>
813
- </table>
814
- </div>
815
-
816
- </div>
817
- <br class="example-break">
818
- </div>
819
- <div class="footer">
820
- <hr>
821
- Generated by GTK-Doc V1.17</div>
822
- </body>
823
- </html>