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,879 +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>GDBusError</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="gdbus-lowlevel.html" title="Lowlevel D-Bus Support">
9
- <link rel="prev" href="gio-D-Bus-Introspection-Data.html" title="D-Bus Introspection Data">
10
- <link rel="next" href="GDBusMessage.html" title="GDBusMessage">
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">
16
- <tr valign="middle">
17
- <td><a accesskey="p" href="gio-D-Bus-Introspection-Data.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
- <td><a accesskey="u" href="gdbus-lowlevel.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19
- <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20
- <th width="100%" align="center">GIO Reference Manual</th>
21
- <td><a accesskey="n" href="GDBusMessage.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
22
- </tr>
23
- <tr><td colspan="5" class="shortcuts">
24
- <a href="#GDBusError.synopsis" class="shortcut">Top</a>
25
-  | 
26
- <a href="#GDBusError.description" class="shortcut">Description</a>
27
-  | 
28
- <a href="#GDBusError.object-hierarchy" class="shortcut">Object Hierarchy</a>
29
- </td></tr>
30
- </table>
31
- <div class="refentry">
32
- <a name="GDBusError"></a><div class="titlepage"></div>
33
- <div class="refnamediv"><table width="100%"><tr>
34
- <td valign="top">
35
- <h2><span class="refentrytitle"><a name="GDBusError.top_of_page"></a>GDBusError</span></h2>
36
- <p>GDBusError — Mapping D-Bus errors to and from GError</p>
37
- </td>
38
- <td valign="top" align="right"></td>
39
- </tr></table></div>
40
- <div class="refsynopsisdiv">
41
- <a name="GDBusError.synopsis"></a><h2>Synopsis</h2>
42
- <pre class="synopsis">
43
- #include &lt;gio/gio.h&gt;
44
-
45
- enum <a class="link" href="GDBusError.html" title="GDBusError">GDBusError</a>;
46
- #define <a class="link" href="GDBusError.html#G-DBUS-ERROR:CAPS" title="G_DBUS_ERROR">G_DBUS_ERROR</a>
47
- <a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GDBusError.html#g-dbus-error-is-remote-error" title="g_dbus_error_is_remote_error ()">g_dbus_error_is_remote_error</a> (<em class="parameter"><code>const <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>);
48
- <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GDBusError.html#g-dbus-error-get-remote-error" title="g_dbus_error_get_remote_error ()">g_dbus_error_get_remote_error</a> (<em class="parameter"><code>const <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>);
49
- <a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GDBusError.html#g-dbus-error-strip-remote-error" title="g_dbus_error_strip_remote_error ()">g_dbus_error_strip_remote_error</a> (<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>);
50
- <a class="link" href="GDBusError.html#GDBusErrorEntry" title="GDBusErrorEntry">GDBusErrorEntry</a>;
51
- <span class="returnvalue">void</span> <a class="link" href="GDBusError.html#g-dbus-error-register-error-domain" title="g_dbus_error_register_error_domain ()">g_dbus_error_register_error_domain</a> (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *error_domain_quark_name</code></em>,
52
- <em class="parameter"><code>volatile <a href="../glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> *quark_volatile</code></em>,
53
- <em class="parameter"><code>const <a class="link" href="GDBusError.html#GDBusErrorEntry" title="GDBusErrorEntry"><span class="type">GDBusErrorEntry</span></a> *entries</code></em>,
54
- <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> num_entries</code></em>);
55
- <a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GDBusError.html#g-dbus-error-register-error" title="g_dbus_error_register_error ()">g_dbus_error_register_error</a> (<em class="parameter"><code><a href="../glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> error_domain</code></em>,
56
- <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> error_code</code></em>,
57
- <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *dbus_error_name</code></em>);
58
- <a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GDBusError.html#g-dbus-error-unregister-error" title="g_dbus_error_unregister_error ()">g_dbus_error_unregister_error</a> (<em class="parameter"><code><a href="../glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> error_domain</code></em>,
59
- <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> error_code</code></em>,
60
- <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *dbus_error_name</code></em>);
61
- <a href="../glib/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> * <a class="link" href="GDBusError.html#g-dbus-error-new-for-dbus-error" title="g_dbus_error_new_for_dbus_error ()">g_dbus_error_new_for_dbus_error</a> (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *dbus_error_name</code></em>,
62
- <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *dbus_error_message</code></em>);
63
- <span class="returnvalue">void</span> <a class="link" href="GDBusError.html#g-dbus-error-set-dbus-error" title="g_dbus_error_set_dbus_error ()">g_dbus_error_set_dbus_error</a> (<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>,
64
- <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *dbus_error_name</code></em>,
65
- <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *dbus_error_message</code></em>,
66
- <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *format</code></em>,
67
- <em class="parameter"><code>...</code></em>);
68
- <span class="returnvalue">void</span> <a class="link" href="GDBusError.html#g-dbus-error-set-dbus-error-valist" title="g_dbus_error_set_dbus_error_valist ()">g_dbus_error_set_dbus_error_valist</a> (<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>,
69
- <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *dbus_error_name</code></em>,
70
- <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *dbus_error_message</code></em>,
71
- <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *format</code></em>,
72
- <em class="parameter"><code><span class="type">va_list</span> var_args</code></em>);
73
- <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GDBusError.html#g-dbus-error-encode-gerror" title="g_dbus_error_encode_gerror ()">g_dbus_error_encode_gerror</a> (<em class="parameter"><code>const <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>);
74
- </pre>
75
- </div>
76
- <div class="refsect1">
77
- <a name="GDBusError.object-hierarchy"></a><h2>Object Hierarchy</h2>
78
- <pre class="synopsis">
79
- GEnum
80
- +----GDBusError
81
- </pre>
82
- </div>
83
- <div class="refsect1">
84
- <a name="GDBusError.description"></a><h2>Description</h2>
85
- <p>
86
- All facilities that return errors from remote methods (such as
87
- <a class="link" href="GDBusConnection.html#g-dbus-connection-call-sync" title="g_dbus_connection_call_sync ()"><code class="function">g_dbus_connection_call_sync()</code></a>) use <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> to represent both D-Bus
88
- errors (e.g. errors returned from the other peer) and locally
89
- in-process generated errors.
90
- </p>
91
- <p>
92
- To check if a returned <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> is an error from a remote peer, use
93
- <a class="link" href="GDBusError.html#g-dbus-error-is-remote-error" title="g_dbus_error_is_remote_error ()"><code class="function">g_dbus_error_is_remote_error()</code></a>. To get the actual D-Bus error name,
94
- use <a class="link" href="GDBusError.html#g-dbus-error-get-remote-error" title="g_dbus_error_get_remote_error ()"><code class="function">g_dbus_error_get_remote_error()</code></a>. Before presenting an error,
95
- always use <a class="link" href="GDBusError.html#g-dbus-error-strip-remote-error" title="g_dbus_error_strip_remote_error ()"><code class="function">g_dbus_error_strip_remote_error()</code></a>.
96
- </p>
97
- <p>
98
- In addition, facilities used to return errors to a remote peer also
99
- use <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>. See <a class="link" href="GDBusMethodInvocation.html#g-dbus-method-invocation-return-error" title="g_dbus_method_invocation_return_error ()"><code class="function">g_dbus_method_invocation_return_error()</code></a> for
100
- discussion about how the D-Bus error name is set.
101
- </p>
102
- <p>
103
- Applications can associate a <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> error domain with a set of D-Bus errors in order to
104
- automatically map from D-Bus errors to <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> and back. This
105
- is typically done in the function returning the <a href="../glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> for the
106
- error domain:
107
- </p>
108
- <div class="example">
109
- <a name="error-registration"></a><p class="title"><b>Example 1. Error Registration</b></p>
110
- <div class="example-contents">
111
- <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
112
- <tbody>
113
- <tr>
114
- <td class="listing_lines" align="right"><pre>1
115
- 2
116
- 3
117
- 4
118
- 5
119
- 6
120
- 7
121
- 8
122
- 9
123
- 10
124
- 11
125
- 12
126
- 13
127
- 14
128
- 15
129
- 16
130
- 17
131
- 18
132
- 19
133
- 20
134
- 21
135
- 22
136
- 23
137
- 24
138
- 25
139
- 26
140
- 27
141
- 28
142
- 29
143
- 30
144
- 31
145
- 32</pre></td>
146
- <td class="listing_code"><pre class="programlisting"><span class="comment">/* foo-bar-error.h: */</span>
147
-
148
- <span class="preproc">#define</span><span class="normal"> </span><span class="function">FOO_BAR_ERROR</span><span class="normal"> </span><span class="symbol">(</span><span class="function">foo_bar_error_quark</span><span class="normal"> </span><span class="symbol">())</span>
149
- <span class="usertype">GQuark</span><span class="normal"> </span><span class="function">foo_bar_error_quark</span><span class="normal"> </span><span class="symbol">(</span><span class="type">void</span><span class="symbol">);</span>
150
-
151
- <span class="keyword">typedef</span><span class="normal"> </span><span class="keyword">enum</span>
152
- <span class="cbracket">{</span>
153
- <span class="normal"> FOO_BAR_ERROR_FAILED</span><span class="symbol">,</span>
154
- <span class="normal"> FOO_BAR_ERROR_ANOTHER_ERROR</span><span class="symbol">,</span>
155
- <span class="normal"> FOO_BAR_ERROR_SOME_THIRD_ERROR</span><span class="symbol">,</span>
156
- <span class="cbracket">}</span><span class="normal"> FooBarError</span><span class="symbol">;</span>
157
-
158
- <span class="comment">/* foo-bar-error.c: */</span>
159
-
160
- <span class="keyword">static</span><span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="usertype">GDBusErrorEntry</span><span class="normal"> foo_bar_error_entries</span><span class="symbol">[]</span><span class="normal"> </span><span class="symbol">=</span>
161
- <span class="cbracket">{</span>
162
- <span class="normal"> </span><span class="cbracket">{</span><span class="normal">FOO_BAR_ERROR_FAILED</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"org.project.Foo.Bar.Error.Failed"</span><span class="cbracket">}</span><span class="symbol">,</span>
163
- <span class="normal"> </span><span class="cbracket">{</span><span class="normal">FOO_BAR_ERROR_ANOTHER_ERROR</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"org.project.Foo.Bar.Error.AnotherError"</span><span class="cbracket">}</span><span class="symbol">,</span>
164
- <span class="normal"> </span><span class="cbracket">{</span><span class="normal">FOO_BAR_ERROR_SOME_THIRD_ERROR</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"org.project.Foo.Bar.Error.SomeThirdError"</span><span class="cbracket">}</span><span class="symbol">,</span>
165
- <span class="cbracket">}</span><span class="symbol">;</span>
166
-
167
- <span class="normal"><a href="../glib/glib-Quarks.html#GQuark">GQuark</a></span>
168
- <span class="function">foo_bar_error_quark</span><span class="normal"> </span><span class="symbol">(</span><span class="type">void</span><span class="symbol">)</span>
169
- <span class="cbracket">{</span>
170
- <span class="normal"> </span><span class="keyword">static</span><span class="normal"> </span><span class="keyword">volatile</span><span class="normal"> </span><span class="usertype">gsize</span><span class="normal"> quark_volatile </span><span class="symbol">=</span><span class="normal"> </span><span class="number">0</span><span class="symbol">;</span>
171
- <span class="normal"> </span><span class="function"><a href="GDBusError.html#g-dbus-error-register-error-domain">g_dbus_error_register_error_domain</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"foo-bar-error-quark"</span><span class="symbol">,</span>
172
- <span class="normal"> </span><span class="symbol">&amp;</span><span class="normal">quark_volatile</span><span class="symbol">,</span>
173
- <span class="normal"> foo_bar_error_entries</span><span class="symbol">,</span>
174
- <span class="normal"> </span><span class="function"><a href="../glib/glib-Miscellaneous-Macros.html#G-N-ELEMENTS:CAPS">G_N_ELEMENTS</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">foo_bar_error_entries</span><span class="symbol">));</span>
175
- <span class="normal"> </span><span class="function"><a href="../glib/glib-Miscellaneous-Macros.html#G-STATIC-ASSERT:CAPS">G_STATIC_ASSERT</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="../glib/glib-Miscellaneous-Macros.html#G-N-ELEMENTS:CAPS">G_N_ELEMENTS</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">foo_bar_error_entries</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">-</span><span class="normal"> </span><span class="number">1</span><span class="normal"> </span><span class="symbol">==</span><span class="normal"> FOO_BAR_ERROR_SOME_THIRD_ERROR</span><span class="symbol">);</span>
176
- <span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="../glib/glib-Quarks.html#GQuark">GQuark</a></span><span class="symbol">)</span><span class="normal"> quark_volatile</span><span class="symbol">;</span>
177
- <span class="cbracket">}</span></pre></td>
178
- </tr>
179
- </tbody>
180
- </table>
181
- </div>
182
-
183
- </div>
184
- <p><br class="example-break">
185
- With this setup, a D-Bus peer can transparently pass e.g. <code class="literal">FOO_BAR_ERROR_ANOTHER_ERROR</code> and
186
- other peers will see the D-Bus error name <code class="literal">org.project.Foo.Bar.Error.AnotherError</code>.
187
- If the other peer is using GDBus, the peer will see also <code class="literal">FOO_BAR_ERROR_ANOTHER_ERROR</code> instead
188
- of <a class="link" href="gio-GIOError.html#G-IO-ERROR-DBUS-ERROR:CAPS"><code class="literal">G_IO_ERROR_DBUS_ERROR</code></a>. Note that GDBus clients can still recover
189
- <code class="literal">org.project.Foo.Bar.Error.AnotherError</code> using <a class="link" href="GDBusError.html#g-dbus-error-get-remote-error" title="g_dbus_error_get_remote_error ()"><code class="function">g_dbus_error_get_remote_error()</code></a>.
190
- </p>
191
- <p>
192
- Note that errors in the <a class="link" href="GDBusError.html#G-DBUS-ERROR:CAPS" title="G_DBUS_ERROR"><code class="literal">G_DBUS_ERROR</code></a> error domain is intended only
193
- for returning errors from a remote message bus process. Errors
194
- generated locally in-process by e.g. <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> is from the
195
- <a class="link" href="gio-GIOError.html#G-IO-ERROR:CAPS" title="G_IO_ERROR"><code class="literal">G_IO_ERROR</code></a> domain.
196
- </p>
197
- </div>
198
- <div class="refsect1">
199
- <a name="GDBusError.details"></a><h2>Details</h2>
200
- <div class="refsect2">
201
- <a name="GDBusError"></a><h3>enum GDBusError</h3>
202
- <pre class="programlisting">typedef enum
203
- {
204
- /* Well-known errors in the org.freedesktop.DBus.Error namespace */
205
- G_DBUS_ERROR_FAILED, /* org.freedesktop.DBus.Error.Failed */
206
- G_DBUS_ERROR_NO_MEMORY, /* org.freedesktop.DBus.Error.NoMemory */
207
- G_DBUS_ERROR_SERVICE_UNKNOWN, /* org.freedesktop.DBus.Error.ServiceUnknown */
208
- G_DBUS_ERROR_NAME_HAS_NO_OWNER, /* org.freedesktop.DBus.Error.NameHasNoOwner */
209
- G_DBUS_ERROR_NO_REPLY, /* org.freedesktop.DBus.Error.NoReply */
210
- G_DBUS_ERROR_IO_ERROR, /* org.freedesktop.DBus.Error.IOError */
211
- G_DBUS_ERROR_BAD_ADDRESS, /* org.freedesktop.DBus.Error.BadAddress */
212
- G_DBUS_ERROR_NOT_SUPPORTED, /* org.freedesktop.DBus.Error.NotSupported */
213
- G_DBUS_ERROR_LIMITS_EXCEEDED, /* org.freedesktop.DBus.Error.LimitsExceeded */
214
- G_DBUS_ERROR_ACCESS_DENIED, /* org.freedesktop.DBus.Error.AccessDenied */
215
- G_DBUS_ERROR_AUTH_FAILED, /* org.freedesktop.DBus.Error.AuthFailed */
216
- G_DBUS_ERROR_NO_SERVER, /* org.freedesktop.DBus.Error.NoServer */
217
- G_DBUS_ERROR_TIMEOUT, /* org.freedesktop.DBus.Error.Timeout */
218
- G_DBUS_ERROR_NO_NETWORK, /* org.freedesktop.DBus.Error.NoNetwork */
219
- G_DBUS_ERROR_ADDRESS_IN_USE, /* org.freedesktop.DBus.Error.AddressInUse */
220
- G_DBUS_ERROR_DISCONNECTED, /* org.freedesktop.DBus.Error.Disconnected */
221
- G_DBUS_ERROR_INVALID_ARGS, /* org.freedesktop.DBus.Error.InvalidArgs */
222
- G_DBUS_ERROR_FILE_NOT_FOUND, /* org.freedesktop.DBus.Error.FileNotFound */
223
- G_DBUS_ERROR_FILE_EXISTS, /* org.freedesktop.DBus.Error.FileExists */
224
- G_DBUS_ERROR_UNKNOWN_METHOD, /* org.freedesktop.DBus.Error.UnknownMethod */
225
- G_DBUS_ERROR_TIMED_OUT, /* org.freedesktop.DBus.Error.TimedOut */
226
- G_DBUS_ERROR_MATCH_RULE_NOT_FOUND, /* org.freedesktop.DBus.Error.MatchRuleNotFound */
227
- G_DBUS_ERROR_MATCH_RULE_INVALID, /* org.freedesktop.DBus.Error.MatchRuleInvalid */
228
- G_DBUS_ERROR_SPAWN_EXEC_FAILED, /* org.freedesktop.DBus.Error.Spawn.ExecFailed */
229
- G_DBUS_ERROR_SPAWN_FORK_FAILED, /* org.freedesktop.DBus.Error.Spawn.ForkFailed */
230
- G_DBUS_ERROR_SPAWN_CHILD_EXITED, /* org.freedesktop.DBus.Error.Spawn.ChildExited */
231
- G_DBUS_ERROR_SPAWN_CHILD_SIGNALED, /* org.freedesktop.DBus.Error.Spawn.ChildSignaled */
232
- G_DBUS_ERROR_SPAWN_FAILED, /* org.freedesktop.DBus.Error.Spawn.Failed */
233
- G_DBUS_ERROR_SPAWN_SETUP_FAILED, /* org.freedesktop.DBus.Error.Spawn.FailedToSetup */
234
- G_DBUS_ERROR_SPAWN_CONFIG_INVALID, /* org.freedesktop.DBus.Error.Spawn.ConfigInvalid */
235
- G_DBUS_ERROR_SPAWN_SERVICE_INVALID, /* org.freedesktop.DBus.Error.Spawn.ServiceNotValid */
236
- G_DBUS_ERROR_SPAWN_SERVICE_NOT_FOUND, /* org.freedesktop.DBus.Error.Spawn.ServiceNotFound */
237
- G_DBUS_ERROR_SPAWN_PERMISSIONS_INVALID, /* org.freedesktop.DBus.Error.Spawn.PermissionsInvalid */
238
- G_DBUS_ERROR_SPAWN_FILE_INVALID, /* org.freedesktop.DBus.Error.Spawn.FileInvalid */
239
- G_DBUS_ERROR_SPAWN_NO_MEMORY, /* org.freedesktop.DBus.Error.Spawn.NoMemory */
240
- G_DBUS_ERROR_UNIX_PROCESS_ID_UNKNOWN, /* org.freedesktop.DBus.Error.UnixProcessIdUnknown */
241
- G_DBUS_ERROR_INVALID_SIGNATURE, /* org.freedesktop.DBus.Error.InvalidSignature */
242
- G_DBUS_ERROR_INVALID_FILE_CONTENT, /* org.freedesktop.DBus.Error.InvalidFileContent */
243
- G_DBUS_ERROR_SELINUX_SECURITY_CONTEXT_UNKNOWN, /* org.freedesktop.DBus.Error.SELinuxSecurityContextUnknown */
244
- G_DBUS_ERROR_ADT_AUDIT_DATA_UNKNOWN, /* org.freedesktop.DBus.Error.AdtAuditDataUnknown */
245
- G_DBUS_ERROR_OBJECT_PATH_IN_USE /* org.freedesktop.DBus.Error.ObjectPathInUse */
246
- } GDBusError;
247
- </pre>
248
- <p>
249
- Error codes for the <a class="link" href="GDBusError.html#G-DBUS-ERROR:CAPS" title="G_DBUS_ERROR"><code class="literal">G_DBUS_ERROR</code></a> error domain.
250
- </p>
251
- <div class="variablelist"><table border="0">
252
- <col align="left" valign="top">
253
- <tbody>
254
- <tr>
255
- <td><p><a name="G-DBUS-ERROR-FAILED:CAPS"></a><span class="term"><code class="literal">G_DBUS_ERROR_FAILED</code></span></p></td>
256
- <td>A generic error; "something went wrong" - see the error message for
257
- more.
258
- </td>
259
- </tr>
260
- <tr>
261
- <td><p><a name="G-DBUS-ERROR-NO-MEMORY:CAPS"></a><span class="term"><code class="literal">G_DBUS_ERROR_NO_MEMORY</code></span></p></td>
262
- <td>There was not enough memory to complete an operation.
263
- </td>
264
- </tr>
265
- <tr>
266
- <td><p><a name="G-DBUS-ERROR-SERVICE-UNKNOWN:CAPS"></a><span class="term"><code class="literal">G_DBUS_ERROR_SERVICE_UNKNOWN</code></span></p></td>
267
- <td>The bus doesn't know how to launch a service to supply the bus name
268
- you wanted.
269
- </td>
270
- </tr>
271
- <tr>
272
- <td><p><a name="G-DBUS-ERROR-NAME-HAS-NO-OWNER:CAPS"></a><span class="term"><code class="literal">G_DBUS_ERROR_NAME_HAS_NO_OWNER</code></span></p></td>
273
- <td>The bus name you referenced doesn't exist (i.e. no application owns
274
- it).
275
- </td>
276
- </tr>
277
- <tr>
278
- <td><p><a name="G-DBUS-ERROR-NO-REPLY:CAPS"></a><span class="term"><code class="literal">G_DBUS_ERROR_NO_REPLY</code></span></p></td>
279
- <td>No reply to a message expecting one, usually means a timeout occurred.
280
- </td>
281
- </tr>
282
- <tr>
283
- <td><p><a name="G-DBUS-ERROR-IO-ERROR:CAPS"></a><span class="term"><code class="literal">G_DBUS_ERROR_IO_ERROR</code></span></p></td>
284
- <td>Something went wrong reading or writing to a socket, for example.
285
- </td>
286
- </tr>
287
- <tr>
288
- <td><p><a name="G-DBUS-ERROR-BAD-ADDRESS:CAPS"></a><span class="term"><code class="literal">G_DBUS_ERROR_BAD_ADDRESS</code></span></p></td>
289
- <td>A D-Bus bus address was malformed.
290
- </td>
291
- </tr>
292
- <tr>
293
- <td><p><a name="G-DBUS-ERROR-NOT-SUPPORTED:CAPS"></a><span class="term"><code class="literal">G_DBUS_ERROR_NOT_SUPPORTED</code></span></p></td>
294
- <td>Requested operation isn't supported (like ENOSYS on UNIX).
295
- </td>
296
- </tr>
297
- <tr>
298
- <td><p><a name="G-DBUS-ERROR-LIMITS-EXCEEDED:CAPS"></a><span class="term"><code class="literal">G_DBUS_ERROR_LIMITS_EXCEEDED</code></span></p></td>
299
- <td>Some limited resource is exhausted.
300
- </td>
301
- </tr>
302
- <tr>
303
- <td><p><a name="G-DBUS-ERROR-ACCESS-DENIED:CAPS"></a><span class="term"><code class="literal">G_DBUS_ERROR_ACCESS_DENIED</code></span></p></td>
304
- <td>Security restrictions don't allow doing what you're trying to do.
305
- </td>
306
- </tr>
307
- <tr>
308
- <td><p><a name="G-DBUS-ERROR-AUTH-FAILED:CAPS"></a><span class="term"><code class="literal">G_DBUS_ERROR_AUTH_FAILED</code></span></p></td>
309
- <td>Authentication didn't work.
310
- </td>
311
- </tr>
312
- <tr>
313
- <td><p><a name="G-DBUS-ERROR-NO-SERVER:CAPS"></a><span class="term"><code class="literal">G_DBUS_ERROR_NO_SERVER</code></span></p></td>
314
- <td>Unable to connect to server (probably caused by ECONNREFUSED on a
315
- socket).
316
- </td>
317
- </tr>
318
- <tr>
319
- <td><p><a name="G-DBUS-ERROR-TIMEOUT:CAPS"></a><span class="term"><code class="literal">G_DBUS_ERROR_TIMEOUT</code></span></p></td>
320
- <td>Certain timeout errors, possibly ETIMEDOUT on a socket. Note that
321
- <a class="link" href="GDBusError.html#G-DBUS-ERROR-NO-REPLY:CAPS"><code class="literal">G_DBUS_ERROR_NO_REPLY</code></a> is used for message reply timeouts. Warning:
322
- this is confusingly-named given that <a class="link" href="GDBusError.html#G-DBUS-ERROR-TIMED-OUT:CAPS"><code class="literal">G_DBUS_ERROR_TIMED_OUT</code></a> also
323
- exists. We can't fix it for compatibility reasons so just be
324
- careful.
325
- </td>
326
- </tr>
327
- <tr>
328
- <td><p><a name="G-DBUS-ERROR-NO-NETWORK:CAPS"></a><span class="term"><code class="literal">G_DBUS_ERROR_NO_NETWORK</code></span></p></td>
329
- <td>No network access (probably ENETUNREACH on a socket).
330
- </td>
331
- </tr>
332
- <tr>
333
- <td><p><a name="G-DBUS-ERROR-ADDRESS-IN-USE:CAPS"></a><span class="term"><code class="literal">G_DBUS_ERROR_ADDRESS_IN_USE</code></span></p></td>
334
- <td>Can't bind a socket since its address is in use (i.e. EADDRINUSE).
335
- </td>
336
- </tr>
337
- <tr>
338
- <td><p><a name="G-DBUS-ERROR-DISCONNECTED:CAPS"></a><span class="term"><code class="literal">G_DBUS_ERROR_DISCONNECTED</code></span></p></td>
339
- <td>The connection is disconnected and you're trying to use it.
340
- </td>
341
- </tr>
342
- <tr>
343
- <td><p><a name="G-DBUS-ERROR-INVALID-ARGS:CAPS"></a><span class="term"><code class="literal">G_DBUS_ERROR_INVALID_ARGS</code></span></p></td>
344
- <td>Invalid arguments passed to a method call.
345
- </td>
346
- </tr>
347
- <tr>
348
- <td><p><a name="G-DBUS-ERROR-FILE-NOT-FOUND:CAPS"></a><span class="term"><code class="literal">G_DBUS_ERROR_FILE_NOT_FOUND</code></span></p></td>
349
- <td>Missing file.
350
- </td>
351
- </tr>
352
- <tr>
353
- <td><p><a name="G-DBUS-ERROR-FILE-EXISTS:CAPS"></a><span class="term"><code class="literal">G_DBUS_ERROR_FILE_EXISTS</code></span></p></td>
354
- <td>Existing file and the operation you're using does not silently overwrite.
355
- </td>
356
- </tr>
357
- <tr>
358
- <td><p><a name="G-DBUS-ERROR-UNKNOWN-METHOD:CAPS"></a><span class="term"><code class="literal">G_DBUS_ERROR_UNKNOWN_METHOD</code></span></p></td>
359
- <td>Method name you invoked isn't known by the object you invoked it on.
360
- </td>
361
- </tr>
362
- <tr>
363
- <td><p><a name="G-DBUS-ERROR-TIMED-OUT:CAPS"></a><span class="term"><code class="literal">G_DBUS_ERROR_TIMED_OUT</code></span></p></td>
364
- <td>Certain timeout errors, e.g. while starting a service. Warning: this is
365
- confusingly-named given that <a class="link" href="GDBusError.html#G-DBUS-ERROR-TIMEOUT:CAPS"><code class="literal">G_DBUS_ERROR_TIMEOUT</code></a> also exists. We
366
- can't fix it for compatibility reasons so just be careful.
367
- </td>
368
- </tr>
369
- <tr>
370
- <td><p><a name="G-DBUS-ERROR-MATCH-RULE-NOT-FOUND:CAPS"></a><span class="term"><code class="literal">G_DBUS_ERROR_MATCH_RULE_NOT_FOUND</code></span></p></td>
371
- <td>Tried to remove or modify a match rule that didn't exist.
372
- </td>
373
- </tr>
374
- <tr>
375
- <td><p><a name="G-DBUS-ERROR-MATCH-RULE-INVALID:CAPS"></a><span class="term"><code class="literal">G_DBUS_ERROR_MATCH_RULE_INVALID</code></span></p></td>
376
- <td>The match rule isn't syntactically valid.
377
- </td>
378
- </tr>
379
- <tr>
380
- <td><p><a name="G-DBUS-ERROR-SPAWN-EXEC-FAILED:CAPS"></a><span class="term"><code class="literal">G_DBUS_ERROR_SPAWN_EXEC_FAILED</code></span></p></td>
381
- <td>While starting a new process, the <code class="function">exec()</code> call failed.
382
- </td>
383
- </tr>
384
- <tr>
385
- <td><p><a name="G-DBUS-ERROR-SPAWN-FORK-FAILED:CAPS"></a><span class="term"><code class="literal">G_DBUS_ERROR_SPAWN_FORK_FAILED</code></span></p></td>
386
- <td>While starting a new process, the <code class="function">fork()</code> call failed.
387
- </td>
388
- </tr>
389
- <tr>
390
- <td><p><a name="G-DBUS-ERROR-SPAWN-CHILD-EXITED:CAPS"></a><span class="term"><code class="literal">G_DBUS_ERROR_SPAWN_CHILD_EXITED</code></span></p></td>
391
- <td>While starting a new process, the child exited with a status code.
392
- </td>
393
- </tr>
394
- <tr>
395
- <td><p><a name="G-DBUS-ERROR-SPAWN-CHILD-SIGNALED:CAPS"></a><span class="term"><code class="literal">G_DBUS_ERROR_SPAWN_CHILD_SIGNALED</code></span></p></td>
396
- <td>While starting a new process, the child exited on a signal.
397
- </td>
398
- </tr>
399
- <tr>
400
- <td><p><a name="G-DBUS-ERROR-SPAWN-FAILED:CAPS"></a><span class="term"><code class="literal">G_DBUS_ERROR_SPAWN_FAILED</code></span></p></td>
401
- <td>While starting a new process, something went wrong.
402
- </td>
403
- </tr>
404
- <tr>
405
- <td><p><a name="G-DBUS-ERROR-SPAWN-SETUP-FAILED:CAPS"></a><span class="term"><code class="literal">G_DBUS_ERROR_SPAWN_SETUP_FAILED</code></span></p></td>
406
- <td>We failed to setup the environment correctly.
407
- </td>
408
- </tr>
409
- <tr>
410
- <td><p><a name="G-DBUS-ERROR-SPAWN-CONFIG-INVALID:CAPS"></a><span class="term"><code class="literal">G_DBUS_ERROR_SPAWN_CONFIG_INVALID</code></span></p></td>
411
- <td>We failed to setup the config parser correctly.
412
- </td>
413
- </tr>
414
- <tr>
415
- <td><p><a name="G-DBUS-ERROR-SPAWN-SERVICE-INVALID:CAPS"></a><span class="term"><code class="literal">G_DBUS_ERROR_SPAWN_SERVICE_INVALID</code></span></p></td>
416
- <td>Bus name was not valid.
417
- </td>
418
- </tr>
419
- <tr>
420
- <td><p><a name="G-DBUS-ERROR-SPAWN-SERVICE-NOT-FOUND:CAPS"></a><span class="term"><code class="literal">G_DBUS_ERROR_SPAWN_SERVICE_NOT_FOUND</code></span></p></td>
421
- <td>Service file not found in system-services directory.
422
- </td>
423
- </tr>
424
- <tr>
425
- <td><p><a name="G-DBUS-ERROR-SPAWN-PERMISSIONS-INVALID:CAPS"></a><span class="term"><code class="literal">G_DBUS_ERROR_SPAWN_PERMISSIONS_INVALID</code></span></p></td>
426
- <td>Permissions are incorrect on the setuid helper.
427
- </td>
428
- </tr>
429
- <tr>
430
- <td><p><a name="G-DBUS-ERROR-SPAWN-FILE-INVALID:CAPS"></a><span class="term"><code class="literal">G_DBUS_ERROR_SPAWN_FILE_INVALID</code></span></p></td>
431
- <td>Service file invalid (Name, User or Exec missing).
432
- </td>
433
- </tr>
434
- <tr>
435
- <td><p><a name="G-DBUS-ERROR-SPAWN-NO-MEMORY:CAPS"></a><span class="term"><code class="literal">G_DBUS_ERROR_SPAWN_NO_MEMORY</code></span></p></td>
436
- <td>Tried to get a UNIX process ID and it wasn't available.
437
- </td>
438
- </tr>
439
- <tr>
440
- <td><p><a name="G-DBUS-ERROR-UNIX-PROCESS-ID-UNKNOWN:CAPS"></a><span class="term"><code class="literal">G_DBUS_ERROR_UNIX_PROCESS_ID_UNKNOWN</code></span></p></td>
441
- <td>Tried to get a UNIX process ID and it wasn't available.
442
- </td>
443
- </tr>
444
- <tr>
445
- <td><p><a name="G-DBUS-ERROR-INVALID-SIGNATURE:CAPS"></a><span class="term"><code class="literal">G_DBUS_ERROR_INVALID_SIGNATURE</code></span></p></td>
446
- <td>A type signature is not valid.
447
- </td>
448
- </tr>
449
- <tr>
450
- <td><p><a name="G-DBUS-ERROR-INVALID-FILE-CONTENT:CAPS"></a><span class="term"><code class="literal">G_DBUS_ERROR_INVALID_FILE_CONTENT</code></span></p></td>
451
- <td>A file contains invalid syntax or is otherwise broken.
452
- </td>
453
- </tr>
454
- <tr>
455
- <td><p><a name="G-DBUS-ERROR-SELINUX-SECURITY-CONTEXT-UNKNOWN:CAPS"></a><span class="term"><code class="literal">G_DBUS_ERROR_SELINUX_SECURITY_CONTEXT_UNKNOWN</code></span></p></td>
456
- <td>Asked for SELinux security context and it wasn't available.
457
- </td>
458
- </tr>
459
- <tr>
460
- <td><p><a name="G-DBUS-ERROR-ADT-AUDIT-DATA-UNKNOWN:CAPS"></a><span class="term"><code class="literal">G_DBUS_ERROR_ADT_AUDIT_DATA_UNKNOWN</code></span></p></td>
461
- <td>Asked for ADT audit data and it wasn't available.
462
- </td>
463
- </tr>
464
- <tr>
465
- <td><p><a name="G-DBUS-ERROR-OBJECT-PATH-IN-USE:CAPS"></a><span class="term"><code class="literal">G_DBUS_ERROR_OBJECT_PATH_IN_USE</code></span></p></td>
466
- <td>There's already an object with the requested object path.
467
- </td>
468
- </tr>
469
- </tbody>
470
- </table></div>
471
- <p class="since">Since 2.26</p>
472
- </div>
473
- <hr>
474
- <div class="refsect2">
475
- <a name="G-DBUS-ERROR:CAPS"></a><h3>G_DBUS_ERROR</h3>
476
- <pre class="programlisting">#define G_DBUS_ERROR g_dbus_error_quark()
477
- </pre>
478
- <p>
479
- Error domain for errors generated by a remote message bus. Errors
480
- in this domain will be from the <a class="link" href="GDBusError.html" title="GDBusError"><span class="type">GDBusError</span></a> enumeration. See
481
- <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for more information on error domains.
482
- </p>
483
- <p>
484
- Note that errors in this error domain is intended only for
485
- returning errors from a remote message bus process. Errors
486
- generated locally in-process by e.g. <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> is from the
487
- <a class="link" href="gio-GIOError.html#G-IO-ERROR:CAPS" title="G_IO_ERROR"><code class="literal">G_IO_ERROR</code></a> domain.
488
- </p>
489
- <p class="since">Since 2.26</p>
490
- </div>
491
- <hr>
492
- <div class="refsect2">
493
- <a name="g-dbus-error-is-remote-error"></a><h3>g_dbus_error_is_remote_error ()</h3>
494
- <pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_dbus_error_is_remote_error (<em class="parameter"><code>const <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>);</pre>
495
- <p>
496
- Checks if <em class="parameter"><code>error</code></em> represents an error received via D-Bus from a remote peer. If so,
497
- use <a class="link" href="GDBusError.html#g-dbus-error-get-remote-error" title="g_dbus_error_get_remote_error ()"><code class="function">g_dbus_error_get_remote_error()</code></a> to get the name of the error.
498
- </p>
499
- <div class="variablelist"><table border="0">
500
- <col align="left" valign="top">
501
- <tbody>
502
- <tr>
503
- <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
504
- <td>A <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>.</td>
505
- </tr>
506
- <tr>
507
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
508
- <td>
509
- <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>error</code></em> represents an error from a remote peer,
510
- <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
511
- </tr>
512
- </tbody>
513
- </table></div>
514
- <p class="since">Since 2.26</p>
515
- </div>
516
- <hr>
517
- <div class="refsect2">
518
- <a name="g-dbus-error-get-remote-error"></a><h3>g_dbus_error_get_remote_error ()</h3>
519
- <pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * g_dbus_error_get_remote_error (<em class="parameter"><code>const <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>);</pre>
520
- <p>
521
- Gets the D-Bus error name used for <em class="parameter"><code>error</code></em>, if any.
522
- </p>
523
- <p>
524
- This function is guaranteed to return a D-Bus error name for all
525
- <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>s returned from functions handling remote method
526
- calls (e.g. <a class="link" href="GDBusConnection.html#g-dbus-connection-call-finish" title="g_dbus_connection_call_finish ()"><code class="function">g_dbus_connection_call_finish()</code></a>) unless
527
- <a class="link" href="GDBusError.html#g-dbus-error-strip-remote-error" title="g_dbus_error_strip_remote_error ()"><code class="function">g_dbus_error_strip_remote_error()</code></a> has been used on <em class="parameter"><code>error</code></em>.
528
- </p>
529
- <div class="variablelist"><table border="0">
530
- <col align="left" valign="top">
531
- <tbody>
532
- <tr>
533
- <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
534
- <td>A <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>.</td>
535
- </tr>
536
- <tr>
537
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
538
- <td>An allocated string or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the D-Bus error name could not be found. Free with <a href="../glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</td>
539
- </tr>
540
- </tbody>
541
- </table></div>
542
- <p class="since">Since 2.26</p>
543
- </div>
544
- <hr>
545
- <div class="refsect2">
546
- <a name="g-dbus-error-strip-remote-error"></a><h3>g_dbus_error_strip_remote_error ()</h3>
547
- <pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_dbus_error_strip_remote_error (<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>);</pre>
548
- <p>
549
- Looks for extra information in the error message used to recover
550
- the D-Bus error name and strips it if found. If stripped, the
551
- message field in <em class="parameter"><code>error</code></em> will correspond exactly to what was
552
- received on the wire.
553
- </p>
554
- <p>
555
- This is typically used when presenting errors to the end user.
556
- </p>
557
- <div class="variablelist"><table border="0">
558
- <col align="left" valign="top">
559
- <tbody>
560
- <tr>
561
- <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
562
- <td>A <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>.</td>
563
- </tr>
564
- <tr>
565
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
566
- <td>
567
- <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if information was stripped, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
568
- </tr>
569
- </tbody>
570
- </table></div>
571
- <p class="since">Since 2.26</p>
572
- </div>
573
- <hr>
574
- <div class="refsect2">
575
- <a name="GDBusErrorEntry"></a><h3>GDBusErrorEntry</h3>
576
- <pre class="programlisting">typedef struct {
577
- gint error_code;
578
- const gchar *dbus_error_name;
579
- } GDBusErrorEntry;
580
- </pre>
581
- <p>
582
- Struct used in <a class="link" href="GDBusError.html#g-dbus-error-register-error-domain" title="g_dbus_error_register_error_domain ()"><code class="function">g_dbus_error_register_error_domain()</code></a>.
583
- </p>
584
- <div class="variablelist"><table border="0">
585
- <col align="left" valign="top">
586
- <tbody>
587
- <tr>
588
- <td><p><span class="term"><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GDBusErrorEntry.error-code"></a>error_code</code></em>;</span></p></td>
589
- <td>An error code.</td>
590
- </tr>
591
- <tr>
592
- <td><p><span class="term">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GDBusErrorEntry.dbus-error-name"></a>dbus_error_name</code></em>;</span></p></td>
593
- <td>The D-Bus error name to associate with <em class="parameter"><code>error_code</code></em>.</td>
594
- </tr>
595
- </tbody>
596
- </table></div>
597
- <p class="since">Since 2.26</p>
598
- </div>
599
- <hr>
600
- <div class="refsect2">
601
- <a name="g-dbus-error-register-error-domain"></a><h3>g_dbus_error_register_error_domain ()</h3>
602
- <pre class="programlisting"><span class="returnvalue">void</span> g_dbus_error_register_error_domain (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *error_domain_quark_name</code></em>,
603
- <em class="parameter"><code>volatile <a href="../glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> *quark_volatile</code></em>,
604
- <em class="parameter"><code>const <a class="link" href="GDBusError.html#GDBusErrorEntry" title="GDBusErrorEntry"><span class="type">GDBusErrorEntry</span></a> *entries</code></em>,
605
- <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> num_entries</code></em>);</pre>
606
- <p>
607
- Helper function for associating a <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> error domain with D-Bus error names.
608
- </p>
609
- <div class="variablelist"><table border="0">
610
- <col align="left" valign="top">
611
- <tbody>
612
- <tr>
613
- <td><p><span class="term"><em class="parameter"><code>error_domain_quark_name</code></em> :</span></p></td>
614
- <td>The error domain name.</td>
615
- </tr>
616
- <tr>
617
- <td><p><span class="term"><em class="parameter"><code>quark_volatile</code></em> :</span></p></td>
618
- <td>A pointer where to store the <a href="../glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a>.</td>
619
- </tr>
620
- <tr>
621
- <td><p><span class="term"><em class="parameter"><code>entries</code></em> :</span></p></td>
622
- <td>A pointer to <em class="parameter"><code>num_entries</code></em> <a class="link" href="GDBusError.html#GDBusErrorEntry" title="GDBusErrorEntry"><span class="type">GDBusErrorEntry</span></a> struct items.</td>
623
- </tr>
624
- <tr>
625
- <td><p><span class="term"><em class="parameter"><code>num_entries</code></em> :</span></p></td>
626
- <td>Number of items to register.</td>
627
- </tr>
628
- </tbody>
629
- </table></div>
630
- <p class="since">Since 2.26</p>
631
- </div>
632
- <hr>
633
- <div class="refsect2">
634
- <a name="g-dbus-error-register-error"></a><h3>g_dbus_error_register_error ()</h3>
635
- <pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_dbus_error_register_error (<em class="parameter"><code><a href="../glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> error_domain</code></em>,
636
- <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> error_code</code></em>,
637
- <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *dbus_error_name</code></em>);</pre>
638
- <p>
639
- Creates an association to map between <em class="parameter"><code>dbus_error_name</code></em> and
640
- <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>s specified by <em class="parameter"><code>error_domain</code></em> and <em class="parameter"><code>error_code</code></em>.
641
- </p>
642
- <p>
643
- This is typically done in the routine that returns the <a href="../glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> for
644
- an error domain.
645
- </p>
646
- <div class="variablelist"><table border="0">
647
- <col align="left" valign="top">
648
- <tbody>
649
- <tr>
650
- <td><p><span class="term"><em class="parameter"><code>error_domain</code></em> :</span></p></td>
651
- <td>A <a href="../glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> for a error domain.</td>
652
- </tr>
653
- <tr>
654
- <td><p><span class="term"><em class="parameter"><code>error_code</code></em> :</span></p></td>
655
- <td>An error code.</td>
656
- </tr>
657
- <tr>
658
- <td><p><span class="term"><em class="parameter"><code>dbus_error_name</code></em> :</span></p></td>
659
- <td>A D-Bus error name.</td>
660
- </tr>
661
- <tr>
662
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
663
- <td>
664
- <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the association was created, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if it already
665
- exists.</td>
666
- </tr>
667
- </tbody>
668
- </table></div>
669
- <p class="since">Since 2.26</p>
670
- </div>
671
- <hr>
672
- <div class="refsect2">
673
- <a name="g-dbus-error-unregister-error"></a><h3>g_dbus_error_unregister_error ()</h3>
674
- <pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_dbus_error_unregister_error (<em class="parameter"><code><a href="../glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> error_domain</code></em>,
675
- <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> error_code</code></em>,
676
- <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *dbus_error_name</code></em>);</pre>
677
- <p>
678
- Destroys an association previously set up with <a class="link" href="GDBusError.html#g-dbus-error-register-error" title="g_dbus_error_register_error ()"><code class="function">g_dbus_error_register_error()</code></a>.
679
- </p>
680
- <div class="variablelist"><table border="0">
681
- <col align="left" valign="top">
682
- <tbody>
683
- <tr>
684
- <td><p><span class="term"><em class="parameter"><code>error_domain</code></em> :</span></p></td>
685
- <td>A <a href="../glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> for a error domain.</td>
686
- </tr>
687
- <tr>
688
- <td><p><span class="term"><em class="parameter"><code>error_code</code></em> :</span></p></td>
689
- <td>An error code.</td>
690
- </tr>
691
- <tr>
692
- <td><p><span class="term"><em class="parameter"><code>dbus_error_name</code></em> :</span></p></td>
693
- <td>A D-Bus error name.</td>
694
- </tr>
695
- <tr>
696
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
697
- <td>
698
- <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the association was destroyed, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if it wasn't found.</td>
699
- </tr>
700
- </tbody>
701
- </table></div>
702
- <p class="since">Since 2.26</p>
703
- </div>
704
- <hr>
705
- <div class="refsect2">
706
- <a name="g-dbus-error-new-for-dbus-error"></a><h3>g_dbus_error_new_for_dbus_error ()</h3>
707
- <pre class="programlisting"><a href="../glib/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> * g_dbus_error_new_for_dbus_error (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *dbus_error_name</code></em>,
708
- <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *dbus_error_message</code></em>);</pre>
709
- <p>
710
- Creates a <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> based on the contents of <em class="parameter"><code>dbus_error_name</code></em> and
711
- <em class="parameter"><code>dbus_error_message</code></em>.
712
- </p>
713
- <p>
714
- Errors registered with <a class="link" href="GDBusError.html#g-dbus-error-register-error" title="g_dbus_error_register_error ()"><code class="function">g_dbus_error_register_error()</code></a> will be looked
715
- up using <em class="parameter"><code>dbus_error_name</code></em> and if a match is found, the error domain
716
- and code is used. Applications can use <a class="link" href="GDBusError.html#g-dbus-error-get-remote-error" title="g_dbus_error_get_remote_error ()"><code class="function">g_dbus_error_get_remote_error()</code></a>
717
- to recover <em class="parameter"><code>dbus_error_name</code></em>.
718
- </p>
719
- <p>
720
- If a match against a registered error is not found and the D-Bus
721
- error name is in a form as returned by <a class="link" href="GDBusError.html#g-dbus-error-encode-gerror" title="g_dbus_error_encode_gerror ()"><code class="function">g_dbus_error_encode_gerror()</code></a>
722
- the error domain and code encoded in the name is used to
723
- create the <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>. Also, <em class="parameter"><code>dbus_error_name</code></em> is added to the error message
724
- such that it can be recovered with <a class="link" href="GDBusError.html#g-dbus-error-get-remote-error" title="g_dbus_error_get_remote_error ()"><code class="function">g_dbus_error_get_remote_error()</code></a>.
725
- </p>
726
- <p>
727
- Otherwise, a <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> with the error code <a class="link" href="gio-GIOError.html#G-IO-ERROR-DBUS-ERROR:CAPS"><code class="literal">G_IO_ERROR_DBUS_ERROR</code></a>
728
- in the <a class="link" href="gio-GIOError.html#G-IO-ERROR:CAPS" title="G_IO_ERROR"><span class="type">G_IO_ERROR</span></a> error domain is returned. Also, <em class="parameter"><code>dbus_error_name</code></em> is
729
- added to the error message such that it can be recovered with
730
- <a class="link" href="GDBusError.html#g-dbus-error-get-remote-error" title="g_dbus_error_get_remote_error ()"><code class="function">g_dbus_error_get_remote_error()</code></a>.
731
- </p>
732
- <p>
733
- In all three cases, <em class="parameter"><code>dbus_error_name</code></em> can always be recovered from the
734
- returned <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> using the <a class="link" href="GDBusError.html#g-dbus-error-get-remote-error" title="g_dbus_error_get_remote_error ()"><code class="function">g_dbus_error_get_remote_error()</code></a> function
735
- (unless <a class="link" href="GDBusError.html#g-dbus-error-strip-remote-error" title="g_dbus_error_strip_remote_error ()"><code class="function">g_dbus_error_strip_remote_error()</code></a> hasn't been used on the returned error).
736
- </p>
737
- <p>
738
- This function is typically only used in object mappings to prepare
739
- <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> instances for applications. Regular applications should not use
740
- it.
741
- </p>
742
- <div class="variablelist"><table border="0">
743
- <col align="left" valign="top">
744
- <tbody>
745
- <tr>
746
- <td><p><span class="term"><em class="parameter"><code>dbus_error_name</code></em> :</span></p></td>
747
- <td>D-Bus error name.</td>
748
- </tr>
749
- <tr>
750
- <td><p><span class="term"><em class="parameter"><code>dbus_error_message</code></em> :</span></p></td>
751
- <td>D-Bus error message.</td>
752
- </tr>
753
- <tr>
754
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
755
- <td>An allocated <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>. Free with <a href="../glib/glib-Error-Reporting.html#g-error-free"><code class="function">g_error_free()</code></a>.</td>
756
- </tr>
757
- </tbody>
758
- </table></div>
759
- <p class="since">Since 2.26</p>
760
- </div>
761
- <hr>
762
- <div class="refsect2">
763
- <a name="g-dbus-error-set-dbus-error"></a><h3>g_dbus_error_set_dbus_error ()</h3>
764
- <pre class="programlisting"><span class="returnvalue">void</span> g_dbus_error_set_dbus_error (<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>,
765
- <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *dbus_error_name</code></em>,
766
- <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *dbus_error_message</code></em>,
767
- <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *format</code></em>,
768
- <em class="parameter"><code>...</code></em>);</pre>
769
- <p>
770
- Does nothing if <em class="parameter"><code>error</code></em> is <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. Otherwise sets *<em class="parameter"><code>error</code></em> to
771
- a new <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> created with <a class="link" href="GDBusError.html#g-dbus-error-new-for-dbus-error" title="g_dbus_error_new_for_dbus_error ()"><code class="function">g_dbus_error_new_for_dbus_error()</code></a>
772
- with <em class="parameter"><code>dbus_error_message</code></em> prepend with <em class="parameter"><code>format</code></em> (unless <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>).
773
- </p>
774
- <div class="variablelist"><table border="0">
775
- <col align="left" valign="top">
776
- <tbody>
777
- <tr>
778
- <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
779
- <td>A pointer to a <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
780
- </tr>
781
- <tr>
782
- <td><p><span class="term"><em class="parameter"><code>dbus_error_name</code></em> :</span></p></td>
783
- <td>D-Bus error name.</td>
784
- </tr>
785
- <tr>
786
- <td><p><span class="term"><em class="parameter"><code>dbus_error_message</code></em> :</span></p></td>
787
- <td>D-Bus error message.</td>
788
- </tr>
789
- <tr>
790
- <td><p><span class="term"><em class="parameter"><code>format</code></em> :</span></p></td>
791
- <td>printf()-style format to prepend to <em class="parameter"><code>dbus_error_message</code></em> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
792
- </tr>
793
- <tr>
794
- <td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
795
- <td>Arguments for <em class="parameter"><code>format</code></em>.</td>
796
- </tr>
797
- </tbody>
798
- </table></div>
799
- <p class="since">Since 2.26</p>
800
- </div>
801
- <hr>
802
- <div class="refsect2">
803
- <a name="g-dbus-error-set-dbus-error-valist"></a><h3>g_dbus_error_set_dbus_error_valist ()</h3>
804
- <pre class="programlisting"><span class="returnvalue">void</span> g_dbus_error_set_dbus_error_valist (<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>,
805
- <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *dbus_error_name</code></em>,
806
- <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *dbus_error_message</code></em>,
807
- <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *format</code></em>,
808
- <em class="parameter"><code><span class="type">va_list</span> var_args</code></em>);</pre>
809
- <p>
810
- Like <a class="link" href="GDBusError.html#g-dbus-error-set-dbus-error" title="g_dbus_error_set_dbus_error ()"><code class="function">g_dbus_error_set_dbus_error()</code></a> but intended for language bindings.
811
- </p>
812
- <div class="variablelist"><table border="0">
813
- <col align="left" valign="top">
814
- <tbody>
815
- <tr>
816
- <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
817
- <td>A pointer to a <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
818
- </tr>
819
- <tr>
820
- <td><p><span class="term"><em class="parameter"><code>dbus_error_name</code></em> :</span></p></td>
821
- <td>D-Bus error name.</td>
822
- </tr>
823
- <tr>
824
- <td><p><span class="term"><em class="parameter"><code>dbus_error_message</code></em> :</span></p></td>
825
- <td>D-Bus error message.</td>
826
- </tr>
827
- <tr>
828
- <td><p><span class="term"><em class="parameter"><code>format</code></em> :</span></p></td>
829
- <td>printf()-style format to prepend to <em class="parameter"><code>dbus_error_message</code></em> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
830
- </tr>
831
- <tr>
832
- <td><p><span class="term"><em class="parameter"><code>var_args</code></em> :</span></p></td>
833
- <td>Arguments for <em class="parameter"><code>format</code></em>.</td>
834
- </tr>
835
- </tbody>
836
- </table></div>
837
- <p class="since">Since 2.26</p>
838
- </div>
839
- <hr>
840
- <div class="refsect2">
841
- <a name="g-dbus-error-encode-gerror"></a><h3>g_dbus_error_encode_gerror ()</h3>
842
- <pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * g_dbus_error_encode_gerror (<em class="parameter"><code>const <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>);</pre>
843
- <p>
844
- Creates a D-Bus error name to use for <em class="parameter"><code>error</code></em>. If <em class="parameter"><code>error</code></em> matches
845
- a registered error (cf. <a class="link" href="GDBusError.html#g-dbus-error-register-error" title="g_dbus_error_register_error ()"><code class="function">g_dbus_error_register_error()</code></a>), the corresponding
846
- D-Bus error name will be returned.
847
- </p>
848
- <p>
849
- Otherwise the a name of the form
850
- <code class="literal">org.gtk.GDBus.UnmappedGError.Quark._ESCAPED_QUARK_NAME.Code_ERROR_CODE</code>
851
- will be used. This allows other GDBus applications to map the error
852
- on the wire back to a <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> using <a class="link" href="GDBusError.html#g-dbus-error-new-for-dbus-error" title="g_dbus_error_new_for_dbus_error ()"><code class="function">g_dbus_error_new_for_dbus_error()</code></a>.
853
- </p>
854
- <p>
855
- This function is typically only used in object mappings to put a
856
- <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> on the wire. Regular applications should not use it.
857
- </p>
858
- <div class="variablelist"><table border="0">
859
- <col align="left" valign="top">
860
- <tbody>
861
- <tr>
862
- <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
863
- <td>A <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>.</td>
864
- </tr>
865
- <tr>
866
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
867
- <td>A D-Bus error name (never <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>). Free with <a href="../glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</td>
868
- </tr>
869
- </tbody>
870
- </table></div>
871
- <p class="since">Since 2.26</p>
872
- </div>
873
- </div>
874
- </div>
875
- <div class="footer">
876
- <hr>
877
- Generated by GTK-Doc V1.17</div>
878
- </body>
879
- </html>