glib2 3.0.8-x86-mingw32 → 3.0.9-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (578) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +2 -2
  3. data/ext/glib2/extconf.rb +0 -1
  4. data/ext/glib2/rbglib-variant-type.c +5 -1
  5. data/ext/glib2/rbglib-variant.c +21 -7
  6. data/ext/glib2/rbglib.c +0 -38
  7. data/ext/glib2/rbglib.h +2 -2
  8. data/ext/glib2/rbglib_convert.c +3 -9
  9. data/ext/glib2/rbglib_matchinfo.c +4 -0
  10. data/ext/glib2/rbglib_regex.c +12 -1
  11. data/ext/glib2/rbgobj_object.c +112 -10
  12. data/ext/glib2/rbgobj_signal.c +12 -1
  13. data/ext/glib2/rbgobj_type.c +7 -1
  14. data/ext/glib2/rbgobject.c +0 -6
  15. data/ext/glib2/rbgprivate.h +0 -4
  16. data/ext/glib2/rbgutil.c +0 -2
  17. data/ext/glib2/rbgutil.h +1 -3
  18. data/lib/2.2/glib2.so +0 -0
  19. data/lib/2.3/glib2.so +0 -0
  20. data/lib/glib2.rb +7 -0
  21. data/lib/gnome2/rake/external-package.rb +119 -2
  22. data/lib/gnome2/rake/package-task.rb +63 -3
  23. data/lib/gnome2/rake/windows-binary-build-task.rb +343 -337
  24. data/lib/gnome2/rake/windows-binary-download-task.rb +151 -148
  25. data/lib/mkmf-gnome2.rb +11 -30
  26. data/test/test-binding.rb +157 -66
  27. data/test/test_glib2.rb +21 -6
  28. data/vendor/local/bin/asn1Coding.exe +0 -0
  29. data/vendor/local/bin/gdbus.exe +0 -0
  30. data/vendor/local/bin/gio-querymodules.exe +0 -0
  31. data/vendor/local/bin/glib-compile-resources.exe +0 -0
  32. data/vendor/local/bin/glib-compile-schemas.exe +0 -0
  33. data/vendor/local/bin/glib-genmarshal.exe +0 -0
  34. data/vendor/local/bin/glib-gettextize +1 -1
  35. data/vendor/local/bin/glib-mkenums +1 -1
  36. data/vendor/local/bin/gobject-query.exe +0 -0
  37. data/vendor/local/bin/gresource.exe +0 -0
  38. data/vendor/local/bin/gsettings.exe +0 -0
  39. data/vendor/local/bin/gspawn-win32-helper-console.exe +0 -0
  40. data/vendor/local/bin/gspawn-win32-helper.exe +0 -0
  41. data/vendor/local/bin/idn.exe +0 -0
  42. data/vendor/local/bin/libasprintf-0.dll +0 -0
  43. data/vendor/local/bin/libgio-2.0-0.dll +0 -0
  44. data/vendor/local/bin/libglib-2.0-0.dll +0 -0
  45. data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
  46. data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
  47. data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
  48. data/vendor/local/bin/libnettle-6-2.dll +0 -0
  49. data/vendor/local/bin/libpcreposix-0.dll +0 -0
  50. data/vendor/local/bin/nettle-hash.exe +0 -0
  51. data/vendor/local/bin/p11-kit.exe +0 -0
  52. data/vendor/local/bin/pcregrep.exe +0 -0
  53. data/vendor/local/bin/pkcs1-conv.exe +0 -0
  54. data/vendor/local/bin/sexp-conv.exe +0 -0
  55. data/vendor/local/include/glib-2.0/gio/gioenums.h +1 -1
  56. data/vendor/local/include/glib-2.0/glib/gmacros.h +21 -6
  57. data/vendor/local/include/glib-2.0/glib/gregex.h +1 -1
  58. data/vendor/local/lib/gio/modules/libgiognutls.a +0 -0
  59. data/vendor/local/lib/gio/modules/libgiognutls.dll +0 -0
  60. data/vendor/local/lib/gio/modules/libgiognutls.dll.a +0 -0
  61. data/vendor/local/lib/glib-2.0/include/glibconfig.h +1 -1
  62. data/vendor/local/lib/libasprintf.dll.a +0 -0
  63. data/vendor/local/lib/libcharset.dll.a +0 -0
  64. data/vendor/local/lib/libffi.dll.a +0 -0
  65. data/vendor/local/lib/libgio-2.0.dll.a +0 -0
  66. data/vendor/local/lib/libgio-2.0.la +1 -1
  67. data/vendor/local/lib/libglib-2.0.dll.a +0 -0
  68. data/vendor/local/lib/libglib-2.0.la +1 -1
  69. data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
  70. data/vendor/local/lib/libgmodule-2.0.la +1 -1
  71. data/vendor/local/lib/libgmp.dll.a +0 -0
  72. data/vendor/local/lib/libgnutls.dll.a +0 -0
  73. data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
  74. data/vendor/local/lib/libgobject-2.0.la +1 -1
  75. data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
  76. data/vendor/local/lib/libgthread-2.0.la +1 -1
  77. data/vendor/local/lib/libhogweed.dll.a +0 -0
  78. data/vendor/local/lib/libiconv.dll.a +0 -0
  79. data/vendor/local/lib/libidn.dll.a +0 -0
  80. data/vendor/local/lib/libintl.dll.a +0 -0
  81. data/vendor/local/lib/libnettle.dll.a +0 -0
  82. data/vendor/local/lib/libp11-kit.dll.a +0 -0
  83. data/vendor/local/lib/libpcre.dll.a +0 -0
  84. data/vendor/local/lib/libpcrecpp.dll.a +0 -0
  85. data/vendor/local/lib/libpcreposix.dll.a +0 -0
  86. data/vendor/local/lib/libtasn1.dll.a +0 -0
  87. data/vendor/local/lib/pkcs11/p11-kit-trust.dll.a +0 -0
  88. data/vendor/local/lib/pkgconfig/gio-2.0.pc +1 -1
  89. data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +1 -1
  90. data/vendor/local/lib/pkgconfig/glib-2.0.pc +1 -1
  91. data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +1 -1
  92. data/vendor/local/lib/pkgconfig/gmodule-export-2.0.pc +1 -1
  93. data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +1 -1
  94. data/vendor/local/lib/pkgconfig/gobject-2.0.pc +1 -1
  95. data/vendor/local/lib/pkgconfig/gthread-2.0.pc +1 -1
  96. data/vendor/local/share/gdb/auto-load/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/{libglib-2.0.so.0.4800.0-gdb.py → libglib-2.0.so.0.4800.1-gdb.py} +0 -0
  97. data/vendor/local/share/gdb/auto-load/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/{libgobject-2.0.so.0.4800.0-gdb.py → libgobject-2.0.so.0.4800.1-gdb.py} +0 -0
  98. data/vendor/local/share/glib-2.0/codegen/__init__.pyc +0 -0
  99. data/vendor/local/share/glib-2.0/codegen/__init__.pyo +0 -0
  100. data/vendor/local/share/glib-2.0/codegen/codegen.pyc +0 -0
  101. data/vendor/local/share/glib-2.0/codegen/codegen.pyo +0 -0
  102. data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyc +0 -0
  103. data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyo +0 -0
  104. data/vendor/local/share/glib-2.0/codegen/codegen_main.pyc +0 -0
  105. data/vendor/local/share/glib-2.0/codegen/codegen_main.pyo +0 -0
  106. data/vendor/local/share/glib-2.0/codegen/config.py +1 -1
  107. data/vendor/local/share/glib-2.0/codegen/config.pyc +0 -0
  108. data/vendor/local/share/glib-2.0/codegen/config.pyo +0 -0
  109. data/vendor/local/share/glib-2.0/codegen/dbustypes.pyc +0 -0
  110. data/vendor/local/share/glib-2.0/codegen/dbustypes.pyo +0 -0
  111. data/vendor/local/share/glib-2.0/codegen/parser.pyc +0 -0
  112. data/vendor/local/share/glib-2.0/codegen/parser.pyo +0 -0
  113. data/vendor/local/share/glib-2.0/codegen/utils.pyc +0 -0
  114. data/vendor/local/share/glib-2.0/codegen/utils.pyo +0 -0
  115. data/vendor/local/share/gtk-doc/html/gio/GAction.html +98 -104
  116. data/vendor/local/share/gtk-doc/html/gio/GActionGroup.html +116 -121
  117. data/vendor/local/share/gtk-doc/html/gio/GActionMap.html +28 -33
  118. data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +206 -211
  119. data/vendor/local/share/gtk-doc/html/gio/GAppInfoMonitor.html +9 -9
  120. data/vendor/local/share/gtk-doc/html/gio/GApplication.html +219 -221
  121. data/vendor/local/share/gtk-doc/html/gio/GApplicationCommandLine.html +87 -87
  122. data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +63 -68
  123. data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +36 -41
  124. data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +62 -62
  125. data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +29 -29
  126. data/vendor/local/share/gtk-doc/html/gio/GBytesIcon.html +18 -18
  127. data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +81 -81
  128. data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +28 -28
  129. data/vendor/local/share/gtk-doc/html/gio/GConverter.html +16 -21
  130. data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +43 -43
  131. data/vendor/local/share/gtk-doc/html/gio/GDBusActionGroup.html +7 -7
  132. data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +38 -38
  133. data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +526 -526
  134. data/vendor/local/share/gtk-doc/html/gio/GDBusInterface.html +17 -17
  135. data/vendor/local/share/gtk-doc/html/gio/GDBusInterfaceSkeleton.html +66 -71
  136. data/vendor/local/share/gtk-doc/html/gio/GDBusMenuModel.html +8 -8
  137. data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +202 -202
  138. data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +76 -76
  139. data/vendor/local/share/gtk-doc/html/gio/GDBusObject.html +29 -29
  140. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManager.html +43 -43
  141. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerClient.html +141 -146
  142. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerServer.html +32 -36
  143. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectProxy.html +12 -16
  144. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectSkeleton.html +28 -35
  145. data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +229 -229
  146. data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +51 -51
  147. data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +160 -160
  148. data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +86 -86
  149. data/vendor/local/share/gtk-doc/html/gio/GDatagramBased.html +73 -78
  150. data/vendor/local/share/gtk-doc/html/gio/GDrive.html +181 -186
  151. data/vendor/local/share/gtk-doc/html/gio/GDtlsClientConnection.html +29 -33
  152. data/vendor/local/share/gtk-doc/html/gio/GDtlsConnection.html +122 -122
  153. data/vendor/local/share/gtk-doc/html/gio/GDtlsServerConnection.html +12 -16
  154. data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +14 -14
  155. data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +17 -17
  156. data/vendor/local/share/gtk-doc/html/gio/GFile.html +890 -895
  157. data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +9 -16
  158. data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +78 -78
  159. data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +21 -21
  160. data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +9 -9
  161. data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +239 -239
  162. data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +18 -18
  163. data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +29 -29
  164. data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +21 -21
  165. data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +19 -19
  166. data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +15 -15
  167. data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +15 -15
  168. data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +39 -39
  169. data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +60 -60
  170. data/vendor/local/share/gtk-doc/html/gio/GIcon.html +48 -53
  171. data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +110 -110
  172. data/vendor/local/share/gtk-doc/html/gio/GInetAddressMask.html +37 -37
  173. data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +31 -31
  174. data/vendor/local/share/gtk-doc/html/gio/GInitable.html +68 -75
  175. data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +142 -142
  176. data/vendor/local/share/gtk-doc/html/gio/GListModel.html +44 -49
  177. data/vendor/local/share/gtk-doc/html/gio/GListStore.html +35 -35
  178. data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +19 -24
  179. data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +19 -19
  180. data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +57 -57
  181. data/vendor/local/share/gtk-doc/html/gio/GMenu.html +143 -143
  182. data/vendor/local/share/gtk-doc/html/gio/GMenuModel.html +107 -107
  183. data/vendor/local/share/gtk-doc/html/gio/GMount.html +161 -166
  184. data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +83 -83
  185. data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +45 -45
  186. data/vendor/local/share/gtk-doc/html/gio/GNetworkMonitor.html +54 -59
  187. data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +34 -34
  188. data/vendor/local/share/gtk-doc/html/gio/GNotification.html +51 -51
  189. data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +186 -186
  190. data/vendor/local/share/gtk-doc/html/gio/GPermission.html +71 -71
  191. data/vendor/local/share/gtk-doc/html/gio/GPollableInputStream.html +40 -45
  192. data/vendor/local/share/gtk-doc/html/gio/GPollableOutputStream.html +40 -45
  193. data/vendor/local/share/gtk-doc/html/gio/GPropertyAction.html +36 -36
  194. data/vendor/local/share/gtk-doc/html/gio/GProxy.html +25 -30
  195. data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +59 -59
  196. data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +32 -37
  197. data/vendor/local/share/gtk-doc/html/gio/GRemoteActionGroup.html +18 -23
  198. data/vendor/local/share/gtk-doc/html/gio/GResolver.html +147 -147
  199. data/vendor/local/share/gtk-doc/html/gio/GResource.html +114 -114
  200. data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +46 -51
  201. data/vendor/local/share/gtk-doc/html/gio/GSettings.html +354 -354
  202. data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +47 -52
  203. data/vendor/local/share/gtk-doc/html/gio/GSimpleAction.html +46 -46
  204. data/vendor/local/share/gtk-doc/html/gio/GSimpleActionGroup.html +15 -15
  205. data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +146 -146
  206. data/vendor/local/share/gtk-doc/html/gio/GSimpleIOStream.html +5 -5
  207. data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +7 -7
  208. data/vendor/local/share/gtk-doc/html/gio/GSimpleProxyResolver.html +19 -19
  209. data/vendor/local/share/gtk-doc/html/gio/GSocket.html +454 -454
  210. data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +26 -26
  211. data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +138 -138
  212. data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +37 -42
  213. data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +54 -54
  214. data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +20 -20
  215. data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +91 -91
  216. data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +22 -22
  217. data/vendor/local/share/gtk-doc/html/gio/GSrvTarget.html +38 -38
  218. data/vendor/local/share/gtk-doc/html/gio/GSubprocess.html +139 -139
  219. data/vendor/local/share/gtk-doc/html/gio/GSubprocessLauncher.html +63 -63
  220. data/vendor/local/share/gtk-doc/html/gio/GTask.html +219 -219
  221. data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +12 -12
  222. data/vendor/local/share/gtk-doc/html/gio/GTcpWrapperConnection.html +7 -7
  223. data/vendor/local/share/gtk-doc/html/gio/GTestDBus.html +21 -21
  224. data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +24 -24
  225. data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +16 -16
  226. data/vendor/local/share/gtk-doc/html/gio/GTlsBackend.html +53 -58
  227. data/vendor/local/share/gtk-doc/html/gio/GTlsCertificate.html +57 -57
  228. data/vendor/local/share/gtk-doc/html/gio/GTlsClientConnection.html +40 -47
  229. data/vendor/local/share/gtk-doc/html/gio/GTlsConnection.html +84 -84
  230. data/vendor/local/share/gtk-doc/html/gio/GTlsDatabase.html +79 -84
  231. data/vendor/local/share/gtk-doc/html/gio/GTlsFileDatabase.html +13 -17
  232. data/vendor/local/share/gtk-doc/html/gio/GTlsInteraction.html +32 -32
  233. data/vendor/local/share/gtk-doc/html/gio/GTlsPassword.html +41 -46
  234. data/vendor/local/share/gtk-doc/html/gio/GTlsServerConnection.html +11 -15
  235. data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +52 -52
  236. data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +12 -12
  237. data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +43 -43
  238. data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +25 -25
  239. data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +25 -25
  240. data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +25 -25
  241. data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +38 -38
  242. data/vendor/local/share/gtk-doc/html/gio/GVfs.html +24 -24
  243. data/vendor/local/share/gtk-doc/html/gio/GVolume.html +117 -122
  244. data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +87 -87
  245. data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +14 -14
  246. data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +10 -10
  247. data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +4 -2
  248. data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +2 -2
  249. data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +2 -2
  250. data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +2 -2
  251. data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +2 -2
  252. data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +2 -2
  253. data/vendor/local/share/gtk-doc/html/gio/api-index-2-28.html +2 -2
  254. data/vendor/local/share/gtk-doc/html/gio/api-index-2-30.html +2 -2
  255. data/vendor/local/share/gtk-doc/html/gio/api-index-2-32.html +2 -2
  256. data/vendor/local/share/gtk-doc/html/gio/api-index-2-34.html +2 -2
  257. data/vendor/local/share/gtk-doc/html/gio/api-index-2-36.html +2 -2
  258. data/vendor/local/share/gtk-doc/html/gio/api-index-2-38.html +2 -2
  259. data/vendor/local/share/gtk-doc/html/gio/api-index-2-40.html +2 -2
  260. data/vendor/local/share/gtk-doc/html/gio/api-index-2-42.html +2 -2
  261. data/vendor/local/share/gtk-doc/html/gio/api-index-2-44.html +2 -2
  262. data/vendor/local/share/gtk-doc/html/gio/api-index-2-46.html +2 -2
  263. data/vendor/local/share/gtk-doc/html/gio/api-index-2-48.html +2 -2
  264. data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +2 -2
  265. data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +2 -2
  266. data/vendor/local/share/gtk-doc/html/gio/application.html +2 -2
  267. data/vendor/local/share/gtk-doc/html/gio/async.html +2 -2
  268. data/vendor/local/share/gtk-doc/html/gio/ch01.html +2 -2
  269. data/vendor/local/share/gtk-doc/html/gio/ch02.html +3 -3
  270. data/vendor/local/share/gtk-doc/html/gio/ch03.html +2 -2
  271. data/vendor/local/share/gtk-doc/html/gio/ch32.html +2 -2
  272. data/vendor/local/share/gtk-doc/html/gio/ch33.html +7 -7
  273. data/vendor/local/share/gtk-doc/html/gio/ch33s02.html +3 -3
  274. data/vendor/local/share/gtk-doc/html/gio/ch33s03.html +4 -4
  275. data/vendor/local/share/gtk-doc/html/gio/ch34.html +2 -2
  276. data/vendor/local/share/gtk-doc/html/gio/ch34s02.html +2 -2
  277. data/vendor/local/share/gtk-doc/html/gio/ch34s03.html +4 -4
  278. data/vendor/local/share/gtk-doc/html/gio/ch34s04.html +2 -2
  279. data/vendor/local/share/gtk-doc/html/gio/ch34s05.html +2 -2
  280. data/vendor/local/share/gtk-doc/html/gio/ch34s06.html +6 -6
  281. data/vendor/local/share/gtk-doc/html/gio/ch34s07.html +2 -2
  282. data/vendor/local/share/gtk-doc/html/gio/ch35.html +4 -4
  283. data/vendor/local/share/gtk-doc/html/gio/ch35s02.html +3 -3
  284. data/vendor/local/share/gtk-doc/html/gio/ch35s03.html +10 -10
  285. data/vendor/local/share/gtk-doc/html/gio/ch35s04.html +3 -3
  286. data/vendor/local/share/gtk-doc/html/gio/conversion.html +2 -2
  287. data/vendor/local/share/gtk-doc/html/gio/data-models.html +2 -2
  288. data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +2 -2
  289. data/vendor/local/share/gtk-doc/html/gio/extending.html +2 -2
  290. data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +2 -2
  291. data/vendor/local/share/gtk-doc/html/gio/file_mon.html +2 -2
  292. data/vendor/local/share/gtk-doc/html/gio/file_ops.html +2 -2
  293. data/vendor/local/share/gtk-doc/html/gio/gapplication-tool.html +2 -2
  294. data/vendor/local/share/gtk-doc/html/gio/gdbus-codegen.html +55 -55
  295. data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +2 -2
  296. data/vendor/local/share/gtk-doc/html/gio/gdbus-example-gdbus-codegen.html +4 -4
  297. data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +2 -2
  298. data/vendor/local/share/gtk-doc/html/gio/gdbus.html +5 -5
  299. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +51 -51
  300. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +188 -188
  301. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +72 -72
  302. data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +110 -117
  303. data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +48 -48
  304. data/vendor/local/share/gtk-doc/html/gio/gio-GActionGroup-exporter.html +11 -11
  305. data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +86 -86
  306. data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +7 -7
  307. data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +7 -7
  308. data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +103 -103
  309. data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +22 -22
  310. data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +15 -15
  311. data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +41 -41
  312. data/vendor/local/share/gtk-doc/html/gio/gio-GMenuModel-exporter.html +11 -11
  313. data/vendor/local/share/gtk-doc/html/gio/gio-GSettingsSchema-GSettingsSchemaSource.html +108 -108
  314. data/vendor/local/share/gtk-doc/html/gio/gio-GWin32InputStream.html +17 -17
  315. data/vendor/local/share/gtk-doc/html/gio/gio-GWin32OutputStream.html +17 -17
  316. data/vendor/local/share/gtk-doc/html/gio/gio-GWin32RegistryKey.html +221 -221
  317. data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +63 -63
  318. data/vendor/local/share/gtk-doc/html/gio/gio-TLS-Overview.html +16 -23
  319. data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +128 -128
  320. data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +57 -57
  321. data/vendor/local/share/gtk-doc/html/gio/gio-gnetworking.h.html +2 -2
  322. data/vendor/local/share/gtk-doc/html/gio/gio-gpollableutils.html +71 -71
  323. data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +6 -6
  324. data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +2 -2
  325. data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +450 -10
  326. data/vendor/local/share/gtk-doc/html/gio/glib-compile-resources.html +3 -3
  327. data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +2 -2
  328. data/vendor/local/share/gtk-doc/html/gio/gresource-tool.html +2 -2
  329. data/vendor/local/share/gtk-doc/html/gio/gsettings-tool.html +5 -5
  330. data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +2 -2
  331. data/vendor/local/share/gtk-doc/html/gio/icons.html +2 -2
  332. data/vendor/local/share/gtk-doc/html/gio/index.html +3 -3
  333. data/vendor/local/share/gtk-doc/html/gio/migrating.html +2 -2
  334. data/vendor/local/share/gtk-doc/html/gio/networking.html +2 -2
  335. data/vendor/local/share/gtk-doc/html/gio/permissions.html +2 -2
  336. data/vendor/local/share/gtk-doc/html/gio/pt01.html +2 -2
  337. data/vendor/local/share/gtk-doc/html/gio/pt02.html +2 -2
  338. data/vendor/local/share/gtk-doc/html/gio/registry.html +2 -2
  339. data/vendor/local/share/gtk-doc/html/gio/resolver.html +2 -2
  340. data/vendor/local/share/gtk-doc/html/gio/resources.html +2 -2
  341. data/vendor/local/share/gtk-doc/html/gio/running-gio-apps.html +2 -2
  342. data/vendor/local/share/gtk-doc/html/gio/settings.html +2 -2
  343. data/vendor/local/share/gtk-doc/html/gio/streaming.html +2 -2
  344. data/vendor/local/share/gtk-doc/html/gio/subprocesses.html +2 -2
  345. data/vendor/local/share/gtk-doc/html/gio/testing.html +2 -2
  346. data/vendor/local/share/gtk-doc/html/gio/tls.html +2 -2
  347. data/vendor/local/share/gtk-doc/html/gio/tools.html +2 -2
  348. data/vendor/local/share/gtk-doc/html/gio/types.html +2 -2
  349. data/vendor/local/share/gtk-doc/html/gio/utils.html +2 -2
  350. data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +2 -2
  351. data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +4 -2
  352. data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +2 -2
  353. data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +2 -2
  354. data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +2 -2
  355. data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +2 -2
  356. data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +2 -2
  357. data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +2 -2
  358. data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +2 -2
  359. data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +2 -2
  360. data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +2 -2
  361. data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +2 -2
  362. data/vendor/local/share/gtk-doc/html/glib/api-index-2-28.html +2 -2
  363. data/vendor/local/share/gtk-doc/html/glib/api-index-2-30.html +2 -2
  364. data/vendor/local/share/gtk-doc/html/glib/api-index-2-32.html +2 -2
  365. data/vendor/local/share/gtk-doc/html/glib/api-index-2-34.html +2 -2
  366. data/vendor/local/share/gtk-doc/html/glib/api-index-2-36.html +2 -2
  367. data/vendor/local/share/gtk-doc/html/glib/api-index-2-38.html +2 -2
  368. data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +3 -10
  369. data/vendor/local/share/gtk-doc/html/glib/api-index-2-40.html +2 -2
  370. data/vendor/local/share/gtk-doc/html/glib/api-index-2-42.html +2 -2
  371. data/vendor/local/share/gtk-doc/html/glib/api-index-2-44.html +2 -2
  372. data/vendor/local/share/gtk-doc/html/glib/api-index-2-46.html +2 -2
  373. data/vendor/local/share/gtk-doc/html/glib/api-index-2-48.html +2 -2
  374. data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +2 -2
  375. data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +2 -2
  376. data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +2 -2
  377. data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +3 -10
  378. data/vendor/local/share/gtk-doc/html/glib/deprecated.html +2 -2
  379. data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +42 -42
  380. data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +44 -44
  381. data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +40 -40
  382. data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +18 -18
  383. data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +32 -32
  384. data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +14 -14
  385. data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +5 -5
  386. data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +68 -68
  387. data/vendor/local/share/gtk-doc/html/glib/glib-Bounds-checked-integer-arithmetic.html +14 -14
  388. data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +56 -56
  389. data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +120 -120
  390. data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +15 -15
  391. data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +35 -35
  392. data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +72 -72
  393. data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +21 -21
  394. data/vendor/local/share/gtk-doc/html/glib/glib-Data-HMACs.html +17 -17
  395. data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +24 -24
  396. data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +93 -93
  397. data/vendor/local/share/gtk-doc/html/glib/glib-Deprecated-Thread-APIs.html +50 -50
  398. data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +64 -64
  399. data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +69 -69
  400. data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +19 -19
  401. data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +21 -21
  402. data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +80 -80
  403. data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +157 -157
  404. data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +20 -20
  405. data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +292 -266
  406. data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +423 -421
  407. data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +13 -13
  408. data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +92 -92
  409. data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +62 -62
  410. data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +12 -12
  411. data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +27 -56
  412. data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +84 -84
  413. data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +81 -81
  414. data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +31 -31
  415. data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +45 -45
  416. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +55 -55
  417. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +22 -22
  418. data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +80 -78
  419. data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +36 -36
  420. data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +83 -83
  421. data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +81 -81
  422. data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +4 -4
  423. data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +84 -84
  424. data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +34 -34
  425. data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +15 -15
  426. data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +30 -30
  427. data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +20 -20
  428. data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +67 -67
  429. data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +9 -9
  430. data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +34 -34
  431. data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +58 -58
  432. data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +19 -19
  433. data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +30 -30
  434. data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +12 -12
  435. data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +195 -189
  436. data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +65 -65
  437. data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +91 -91
  438. data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +166 -166
  439. data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +24 -24
  440. data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +86 -86
  441. data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +10 -10
  442. data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +11 -11
  443. data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +8 -8
  444. data/vendor/local/share/gtk-doc/html/glib/glib-UNIX-specific-utilities-and-integration.html +46 -38
  445. data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +16 -16
  446. data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +134 -134
  447. data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +128 -128
  448. data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +19 -19
  449. data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +20 -20
  450. data/vendor/local/share/gtk-doc/html/glib/glib-building.html +2 -2
  451. data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +2 -2
  452. data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +2 -2
  453. data/vendor/local/share/gtk-doc/html/glib/glib-core.html +2 -2
  454. data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +2 -2
  455. data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +2 -2
  456. data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +2 -2
  457. data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +2 -2
  458. data/vendor/local/share/gtk-doc/html/glib/glib-programming.html +2 -2
  459. data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +2 -2
  460. data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +2 -2
  461. data/vendor/local/share/gtk-doc/html/glib/glib-running.html +2 -2
  462. data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +2 -2
  463. data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +189 -51
  464. data/vendor/local/share/gtk-doc/html/glib/glib.html +2 -2
  465. data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +2 -2
  466. data/vendor/local/share/gtk-doc/html/glib/gtester.html +2 -2
  467. data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +15 -15
  468. data/vendor/local/share/gtk-doc/html/glib/gvariant-text.html +17 -17
  469. data/vendor/local/share/gtk-doc/html/glib/index.html +3 -3
  470. data/vendor/local/share/gtk-doc/html/glib/tools.html +2 -2
  471. data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +55 -55
  472. data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +28 -33
  473. data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +12 -12
  474. data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +4 -2
  475. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +2 -2
  476. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +2 -2
  477. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +2 -2
  478. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +2 -2
  479. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +2 -2
  480. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +2 -2
  481. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +2 -2
  482. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +2 -2
  483. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-28.html +2 -2
  484. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-30.html +2 -2
  485. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-32.html +2 -2
  486. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-34.html +2 -2
  487. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-36.html +2 -2
  488. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-38.html +2 -2
  489. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +2 -2
  490. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-40.html +2 -2
  491. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-42.html +2 -2
  492. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-44.html +2 -2
  493. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-46.html +2 -2
  494. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +2 -2
  495. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +2 -2
  496. data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +2 -2
  497. data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +2 -2
  498. data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +2 -2
  499. data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +2 -2
  500. data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +4 -4
  501. data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +2 -2
  502. data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +3 -3
  503. data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +2 -2
  504. data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +2 -2
  505. data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +72 -62
  506. data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +301 -301
  507. data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +71 -71
  508. data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +139 -139
  509. data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +92 -92
  510. data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +304 -304
  511. data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +570 -682
  512. data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +276 -276
  513. data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +349 -349
  514. data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +54 -54
  515. data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +15 -15
  516. data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +2 -2
  517. data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +5 -5
  518. data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +2 -2
  519. data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +153 -8
  520. data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +3 -3
  521. data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +2 -2
  522. data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +9 -9
  523. data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +2 -2
  524. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +2 -2
  525. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +2 -2
  526. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +4 -4
  527. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +3 -3
  528. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +15 -15
  529. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +2 -2
  530. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +5 -5
  531. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-override.html +4 -4
  532. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-prerequisite.html +6 -6
  533. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +2 -2
  534. data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +9 -9
  535. data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +4 -4
  536. data/vendor/local/share/gtk-doc/html/gobject/index.html +3 -3
  537. data/vendor/local/share/gtk-doc/html/gobject/pr01.html +2 -2
  538. data/vendor/local/share/gtk-doc/html/gobject/pt01.html +2 -2
  539. data/vendor/local/share/gtk-doc/html/gobject/pt02.html +2 -2
  540. data/vendor/local/share/gtk-doc/html/gobject/pt03.html +2 -2
  541. data/vendor/local/share/gtk-doc/html/gobject/rn01.html +2 -2
  542. data/vendor/local/share/gtk-doc/html/gobject/rn02.html +2 -2
  543. data/vendor/local/share/gtk-doc/html/gobject/signal.html +5 -5
  544. data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +2 -2
  545. data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +2 -2
  546. data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +3 -3
  547. data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +2 -2
  548. data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +2 -2
  549. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Future.html +4 -4
  550. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Modules.html +12 -12
  551. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-PIN-Callbacks.html +15 -15
  552. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-URIs.html +2 -2
  553. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Utilities.html +2 -2
  554. data/vendor/local/share/locale/ca/LC_MESSAGES/glib20.mo +0 -0
  555. data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
  556. data/vendor/local/share/locale/fur/LC_MESSAGES/glib-networking.mo +0 -0
  557. data/vendor/local/share/locale/gd/LC_MESSAGES/glib-networking.mo +0 -0
  558. data/vendor/local/share/locale/oc/LC_MESSAGES/glib-networking.mo +0 -0
  559. data/vendor/local/share/locale/vi/LC_MESSAGES/glib20.mo +0 -0
  560. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib20.mo +0 -0
  561. data/vendor/local/share/man/man1/gapplication.1 +1 -1
  562. data/vendor/local/share/man/man1/gdbus-codegen.1 +1 -1
  563. data/vendor/local/share/man/man1/gdbus.1 +1 -1
  564. data/vendor/local/share/man/man1/gio-querymodules.1 +1 -1
  565. data/vendor/local/share/man/man1/glib-compile-resources.1 +1 -1
  566. data/vendor/local/share/man/man1/glib-compile-schemas.1 +1 -1
  567. data/vendor/local/share/man/man1/glib-genmarshal.1 +1 -1
  568. data/vendor/local/share/man/man1/glib-gettextize.1 +1 -1
  569. data/vendor/local/share/man/man1/glib-mkenums.1 +1 -1
  570. data/vendor/local/share/man/man1/gobject-query.1 +1 -1
  571. data/vendor/local/share/man/man1/gresource.1 +1 -1
  572. data/vendor/local/share/man/man1/gsettings.1 +1 -1
  573. data/vendor/local/share/man/man1/gtester-report.1 +1 -1
  574. data/vendor/local/share/man/man1/gtester.1 +1 -1
  575. metadata +6 -8
  576. data/vendor/local/share/gtk-doc/html/gio/index.sgml +0 -4612
  577. data/vendor/local/share/gtk-doc/html/glib/index.sgml +0 -3447
  578. data/vendor/local/share/gtk-doc/html/gobject/index.sgml +0 -924
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8cacb9b9e2c877352a6b54a8afbc90d2a315047d
4
- data.tar.gz: c977f062ab3b32e4caa3fc32f3f8fe2cebc65cb8
3
+ metadata.gz: d7522dae461849a5c1b61c4a1a3bee9877ddeb96
4
+ data.tar.gz: 1bbb1b25990a3b2d15cec47590f62d4fca3f9621
5
5
  SHA512:
6
- metadata.gz: 9992937d9125dbb1a454917b16963a3059c346e77b2c559d48e9f17be7c94cf1abdefb81a1e97d6fcbf86867dd556e5f136b7095acc97db3c56dbc5f24183108
7
- data.tar.gz: 725bfb9cd730391d24268eee67c2ec94673e5a62879e9f197fa3495b6dec2fce9160e011f860ca98f4492c00840e42dd18240028ed2755721b18816bc8abe75d
6
+ metadata.gz: 9bf7ee32607f7926df7d272b7debb76f21b71bbe225475f1cf47520e48510ac0f870d7dcdda7d622f1ceeca2a579530e479838e7b705c4b66fcbd2a12d1e8969
7
+ data.tar.gz: 27671110e4edfae5494007f316f49836e9e59b239dc6bd155880455af590cdf449f94fd5ac7f7a78c4abcf26d316dc6529ff0216f82a6ca6aaad2f864eb87e3e
data/Rakefile CHANGED
@@ -85,7 +85,7 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
85
85
  :name => "glib",
86
86
  :download_site => :gnome,
87
87
  :label => "GLib",
88
- :version => "2.48.0",
88
+ :version => "2.48.1",
89
89
  :compression_method => "xz",
90
90
  :windows => {
91
91
  :need_autoreconf => true,
@@ -168,7 +168,7 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
168
168
  :name => "glib-networking",
169
169
  :download_site => :gnome,
170
170
  :label => "glib-networking",
171
- :version => "2.48.0",
171
+ :version => "2.48.2",
172
172
  :compression_method => "xz",
173
173
  :windows => {
174
174
  :configure_args => [
@@ -47,7 +47,6 @@ have_func("ruby_set_current_source", ruby_header)
47
47
  have_func("rb_thread_call_without_gvl", ruby_header)
48
48
  have_func("ruby_native_thread_p", ruby_header)
49
49
  have_func("rb_thread_call_with_gvl", ruby_header)
50
- have_func("rb_str_new_cstr", ruby_header)
51
50
  have_func("rb_gc_register_mark_object", ruby_header)
52
51
  have_func("rb_exc_new_str", ruby_header)
53
52
 
@@ -1,6 +1,6 @@
1
1
  /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
2
  /*
3
- * Copyright (C) 2015 Ruby-GNOME2 Project Team
3
+ * Copyright (C) 2015-2016 Ruby-GNOME2 Project Team
4
4
  *
5
5
  * This library is free software; you can redistribute it and/or
6
6
  * modify it under the terms of the GNU Lesser General Public
@@ -286,10 +286,14 @@ Init_glib_variant_type(void)
286
286
  DEF_TYPE(DICT_ENTRY);
287
287
  DEF_TYPE(DICTIONARY);
288
288
  DEF_TYPE(STRING_ARRAY);
289
+ # if GLIB_CHECK_VERSION(2, 30, 0)
289
290
  DEF_TYPE(OBJECT_PATH_ARRAY);
291
+ # endif
290
292
  DEF_TYPE(BYTESTRING);
291
293
  DEF_TYPE(BYTESTRING_ARRAY);
294
+ # if GLIB_CHECK_VERSION(2, 30, 0)
292
295
  DEF_TYPE(VARDICT);
296
+ # endif
293
297
 
294
298
  #undef DEF_TYPE
295
299
  }
@@ -1,6 +1,6 @@
1
1
  /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
2
  /*
3
- * Copyright (C) 2015 Ruby-GNOME2 Project Team
3
+ * Copyright (C) 2015-2016 Ruby-GNOME2 Project Team
4
4
  *
5
5
  * This library is free software; you can redistribute it and/or
6
6
  * modify it under the terms of the GNU Lesser General Public
@@ -174,9 +174,7 @@ rg_ruby_to_variant(VALUE rb_value, VALUE rb_variant_type)
174
174
  } else if (g_variant_type_equal(variant_type, G_VARIANT_TYPE_VARIANT)) {
175
175
  return g_variant_new_variant(rbg_variant_from_ruby(rb_value));
176
176
  } else if (g_variant_type_equal(variant_type,
177
- G_VARIANT_TYPE_STRING_ARRAY) ||
178
- g_variant_type_equal(variant_type,
179
- G_VARIANT_TYPE_OBJECT_PATH_ARRAY)) {
177
+ G_VARIANT_TYPE_STRING_ARRAY)) {
180
178
  const gchar **strings;
181
179
  gssize length;
182
180
  if (NIL_P(rb_value)) {
@@ -192,11 +190,27 @@ rg_ruby_to_variant(VALUE rb_value, VALUE rb_variant_type)
192
190
  strings[i] = RVAL2CSTR_ACCEPT_NIL(rb_string);
193
191
  }
194
192
  }
195
- if (g_variant_type_equal(variant_type, G_VARIANT_TYPE_STRING_ARRAY)) {
196
- return g_variant_new_strv(strings, length);
193
+ return g_variant_new_strv(strings, length);
194
+ #if GLIB_CHECK_VERSION(2, 30, 0)
195
+ } else if (g_variant_type_equal(variant_type,
196
+ G_VARIANT_TYPE_OBJECT_PATH_ARRAY)) {
197
+ const gchar **paths;
198
+ gssize length;
199
+ if (NIL_P(rb_value)) {
200
+ paths = NULL;
201
+ length = 0;
197
202
  } else {
198
- return g_variant_new_objv(strings, length);
203
+ gssize i;
204
+
205
+ length = RARRAY_LEN(rb_value);
206
+ paths = ALLOCA_N(const gchar *, length);
207
+ for (i = 0; i < length; i++) {
208
+ VALUE rb_path = RARRAY_PTR(rb_value)[i];
209
+ paths[i] = RVAL2CSTR_ACCEPT_NIL(rb_path);
210
+ }
199
211
  }
212
+ return g_variant_new_objv(paths, length);
213
+ #endif
200
214
  } else if (g_variant_type_equal(variant_type, G_VARIANT_TYPE_ARRAY)) {
201
215
  int i;
202
216
  GVariantBuilder builder;
@@ -34,10 +34,8 @@ rbg_rval2cstr(VALUE *str)
34
34
  {
35
35
  StringValue(*str);
36
36
 
37
- #ifdef HAVE_RUBY_ENCODING_H
38
37
  if (rb_enc_get(*str) != rb_utf8_encoding())
39
38
  *str = rb_str_export_to_enc(*str, rb_utf8_encoding());
40
- #endif
41
39
 
42
40
  return StringValueCStr(*str);
43
41
  }
@@ -142,11 +140,7 @@ rbg_cstr2rval_len(const gchar *str, gsize len)
142
140
  if (str == NULL)
143
141
  return Qnil;
144
142
 
145
- #ifdef HAVE_RUBY_ENCODING_H
146
143
  return rb_external_str_new_with_enc(str, len, rb_utf8_encoding());
147
- #else
148
- return rb_str_new(str, len);
149
- #endif
150
144
  }
151
145
 
152
146
  struct rbg_cstr2rval_len_free_args {
@@ -185,7 +179,6 @@ rbg_cstr2rval_with_encoding(const gchar *str, const gchar *encoding)
185
179
  return str != NULL ? CSTR2RVAL_LEN_ENC(str, strlen(str), encoding) : Qnil;
186
180
  }
187
181
 
188
- #ifdef HAVE_RUBY_ENCODING_H
189
182
  VALUE
190
183
  rbg_cstr2rval_len_with_encoding(const gchar *str, gsize len,
191
184
  const gchar *encoding)
@@ -198,17 +191,6 @@ rbg_cstr2rval_len_with_encoding(const gchar *str, gsize len,
198
191
  rb_enc_find(encoding) :
199
192
  rb_utf8_encoding());
200
193
  }
201
- #else
202
- VALUE
203
- rbg_cstr2rval_len_with_encoding(const gchar *str, gsize len,
204
- G_GNUC_UNUSED const gchar *encoding)
205
- {
206
- if (str == NULL)
207
- return Qnil;
208
-
209
- return rb_str_new(str, len);
210
- }
211
- #endif
212
194
 
213
195
  static VALUE
214
196
  rbg_cstr2rval_free_body(VALUE str)
@@ -238,11 +220,8 @@ rbg_cstr2rval_with_free(gchar *str)
238
220
  return rbg_cstr2rval_free(str);
239
221
  }
240
222
 
241
- #ifdef HAVE_RUBY_ENCODING_H
242
223
  static rb_encoding *filename_encoding_if_not_utf8;
243
- #endif
244
224
 
245
- #ifdef HAVE_RUBY_ENCODING_H
246
225
  static VALUE
247
226
  rbg_filename_to_ruby_body(VALUE filename)
248
227
  {
@@ -267,12 +246,10 @@ rbg_filename_to_ruby_ensure(VALUE filename)
267
246
 
268
247
  return Qnil;
269
248
  }
270
- #endif
271
249
 
272
250
  VALUE
273
251
  rbg_filename_to_ruby(const gchar *filename)
274
252
  {
275
- #ifdef HAVE_RUBY_ENCODING_H
276
253
  gchar *filename_utf8;
277
254
  gsize written;
278
255
  GError *error = NULL;
@@ -289,15 +266,11 @@ rbg_filename_to_ruby(const gchar *filename)
289
266
 
290
267
  return rb_ensure(rbg_filename_to_ruby_body, (VALUE)filename_utf8,
291
268
  rbg_filename_to_ruby_ensure, (VALUE)filename_utf8);
292
- #else
293
- return CSTR2RVAL(filename);
294
- #endif
295
269
  }
296
270
 
297
271
  VALUE
298
272
  rbg_filename_to_ruby_free(gchar *filename)
299
273
  {
300
- #ifdef HAVE_RUBY_ENCODING_H
301
274
  gchar *filename_utf8;
302
275
  gsize written;
303
276
 
@@ -318,15 +291,11 @@ rbg_filename_to_ruby_free(gchar *filename)
318
291
 
319
292
  return rb_ensure(rbg_filename_to_ruby_body, (VALUE)filename_utf8,
320
293
  rbg_filename_to_ruby_ensure, (VALUE)filename_utf8);
321
- #else
322
- return CSTR2RVAL_FREE(filename);
323
- #endif
324
294
  }
325
295
 
326
296
  gchar *
327
297
  rbg_filename_from_ruby(VALUE filename)
328
298
  {
329
- #ifdef HAVE_RUBY_ENCODING_H
330
299
  gchar *retval;
331
300
  gsize written;
332
301
  GError *error = NULL;
@@ -345,9 +314,6 @@ rbg_filename_from_ruby(VALUE filename)
345
314
  RAISE_GERROR(error);
346
315
 
347
316
  return retval;
348
- #else
349
- return g_strdup(RVAL2CSTR(filename));
350
- #endif
351
317
  }
352
318
 
353
319
  struct rval2strv_args {
@@ -1013,9 +979,7 @@ extern void Init_glib2(void);
1013
979
  void
1014
980
  Init_glib2(void)
1015
981
  {
1016
- #ifdef HAVE_RUBY_ENCODING_H
1017
982
  const gchar **filename_charsets;
1018
- #endif
1019
983
 
1020
984
  id_inspect = rb_intern("inspect");
1021
985
 
@@ -1096,7 +1060,6 @@ Init_glib2(void)
1096
1060
  rb_define_const(RG_TARGET_NAMESPACE, "SEARCHPATH_SEPARATOR", CSTR2RVAL(G_SEARCHPATH_SEPARATOR_S));
1097
1061
 
1098
1062
  /* discover and store glib filename encoding */
1099
- #ifdef HAVE_RUBY_ENCODING_H
1100
1063
  if (g_get_filename_charsets(&filename_charsets)
1101
1064
  || filename_charsets == NULL
1102
1065
  || filename_charsets[0] == NULL
@@ -1108,7 +1071,6 @@ Init_glib2(void)
1108
1071
  } else {
1109
1072
  filename_encoding_if_not_utf8 = rb_enc_find(filename_charsets[0]);
1110
1073
  }
1111
- #endif
1112
1074
 
1113
1075
  /* Don't implement them.
1114
1076
  #define G_DIR_SEPARATOR_S
@@ -1,6 +1,6 @@
1
1
  /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
2
  /*
3
- * Copyright (C) 2002-2015 Ruby-GNOME2 Project Team
3
+ * Copyright (C) 2002-2016 Ruby-GNOME2 Project Team
4
4
  * Copyright (C) 2002,2003 Masahiro Sakai
5
5
  *
6
6
  * This library is free software; you can redistribute it and/or
@@ -36,7 +36,7 @@ extern "C" {
36
36
 
37
37
  #define RBGLIB_MAJOR_VERSION 3
38
38
  #define RBGLIB_MINOR_VERSION 0
39
- #define RBGLIB_MICRO_VERSION 8
39
+ #define RBGLIB_MICRO_VERSION 9
40
40
 
41
41
  #ifndef RB_ZALLOC
42
42
  # ifdef ZALLOC
@@ -1,6 +1,6 @@
1
1
  /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
2
  /*
3
- * Copyright (C) 2011 Ruby-GNOME2 Project Team
3
+ * Copyright (C) 2011-2016 Ruby-GNOME2 Project Team
4
4
  * Copyright (C) 2009 Ruby-GNOME2 Project Team
5
5
  * Copyright (C) 2002,2003 KUBO Takehiro
6
6
  *
@@ -49,7 +49,6 @@ static VALUE
49
49
  rg_s_locale_to_utf8(G_GNUC_UNUSED VALUE self, VALUE str)
50
50
  {
51
51
  GError *err = NULL;
52
- VALUE s = Qnil;
53
52
  gchar* ret;
54
53
  gsize written;
55
54
 
@@ -59,9 +58,7 @@ rg_s_locale_to_utf8(G_GNUC_UNUSED VALUE self, VALUE str)
59
58
 
60
59
  if (err != NULL)
61
60
  RAISE_GERROR(err);
62
- s = rb_str_new(ret, written);
63
- g_free(ret);
64
- return s;
61
+ return CSTR2RVAL_LEN_FREE(ret, written);
65
62
  }
66
63
 
67
64
  static VALUE
@@ -87,7 +84,6 @@ static VALUE
87
84
  rg_s_filename_to_utf8(G_GNUC_UNUSED VALUE self, VALUE str)
88
85
  {
89
86
  GError *err = NULL;
90
- VALUE s = Qnil;
91
87
  gchar* ret;
92
88
  gsize written;
93
89
 
@@ -97,9 +93,7 @@ rg_s_filename_to_utf8(G_GNUC_UNUSED VALUE self, VALUE str)
97
93
 
98
94
  if (err != NULL)
99
95
  RAISE_GERROR(err);
100
- s = rb_str_new(ret, written);
101
- g_free(ret);
102
- return s;
96
+ return CSTR2RVAL_LEN_FREE(ret, written);
103
97
  }
104
98
 
105
99
  static VALUE
@@ -22,6 +22,7 @@
22
22
  #define RG_TARGET_NAMESPACE cMatchInfo
23
23
  #define _SELF(s) ((GMatchInfo*)RVAL2BOXED(s, G_TYPE_MATCH_INFO))
24
24
 
25
+ #if GLIB_CHECK_VERSION(2, 30, 0)
25
26
  static VALUE
26
27
  rg_regex(VALUE self)
27
28
  {
@@ -157,10 +158,12 @@ rg_expand_references(VALUE self, VALUE rb_string)
157
158
 
158
159
  return CSTR2RVAL_FREE(expanded_string);
159
160
  }
161
+ #endif
160
162
 
161
163
  void
162
164
  Init_glib_matchinfo(void)
163
165
  {
166
+ #if GLIB_CHECK_VERSION(2, 30, 0)
164
167
  VALUE RG_TARGET_NAMESPACE;
165
168
 
166
169
  RG_TARGET_NAMESPACE = G_DEF_CLASS(G_TYPE_MATCH_INFO, "MatchInfo", mGLib);
@@ -176,4 +179,5 @@ Init_glib_matchinfo(void)
176
179
  RG_DEF_METHOD(fetch_all, 0);
177
180
  RG_DEF_METHOD(next, 0);
178
181
  RG_DEF_METHOD(expand_references, 1);
182
+ #endif
179
183
  }
@@ -136,6 +136,7 @@ rg_split(gint argc, VALUE *argv, VALUE self)
136
136
  return STRV2RVAL_FREE(strings);
137
137
  }
138
138
 
139
+ #if GLIB_CHECK_VERSION(2, 30, 0)
139
140
  static VALUE
140
141
  rg_match(gint argc, VALUE *argv, VALUE self)
141
142
  {
@@ -190,6 +191,7 @@ rg_match(gint argc, VALUE *argv, VALUE self)
190
191
  rb_iv_set(rb_match_info, "@string", rb_frozen_string);
191
192
  return rb_match_info;
192
193
  }
194
+ #endif
193
195
 
194
196
  static VALUE
195
197
  rg_max_backref(VALUE self)
@@ -203,6 +205,7 @@ rg_capture_count(VALUE self)
203
205
  return INT2NUM(g_regex_get_capture_count(_SELF(self)));
204
206
  }
205
207
 
208
+ #if GLIB_CHECK_VERSION(2, 34, 0)
206
209
  static VALUE
207
210
  rg_has_cr_or_lf_p(VALUE self)
208
211
  {
@@ -214,6 +217,7 @@ rg_max_lookbehind(VALUE self)
214
217
  {
215
218
  return INT2NUM(g_regex_get_max_lookbehind(_SELF(self)));
216
219
  }
220
+ #endif
217
221
 
218
222
  static VALUE
219
223
  rg_string_number(VALUE self, VALUE string)
@@ -221,6 +225,7 @@ rg_string_number(VALUE self, VALUE string)
221
225
  return INT2NUM(g_regex_get_string_number(_SELF(self), RVAL2CSTR(string)));
222
226
  }
223
227
 
228
+ #if GLIB_CHECK_VERSION(2, 30, 0)
224
229
  static VALUE
225
230
  rg_match_all(gint argc, VALUE *argv, VALUE self)
226
231
  {
@@ -418,7 +423,7 @@ rg_replace(gint argc, VALUE *argv, VALUE self)
418
423
 
419
424
  return CSTR2RVAL_FREE(modified_string);
420
425
  }
421
-
426
+ #endif
422
427
 
423
428
  static VALUE
424
429
  rg_s_escape_string(G_GNUC_UNUSED VALUE self, VALUE string)
@@ -466,14 +471,20 @@ Init_glib_regex(void)
466
471
  RG_DEF_METHOD(compile_flags, 0);
467
472
  RG_DEF_METHOD(match_flags, 0);
468
473
  RG_DEF_METHOD(split, -1);
474
+ #if GLIB_CHECK_VERSION(2, 30, 0)
469
475
  RG_DEF_METHOD(match, -1);
476
+ #endif
470
477
  RG_DEF_METHOD(max_backref, 0);
471
478
  RG_DEF_METHOD(capture_count, 0);
479
+ #if GLIB_CHECK_VERSION(2, 34, 0)
472
480
  RG_DEF_METHOD_P(has_cr_or_lf, 0);
473
481
  RG_DEF_METHOD(max_lookbehind, 0);
482
+ #endif
474
483
  RG_DEF_METHOD(string_number, 1);
484
+ #if GLIB_CHECK_VERSION(2, 30, 0)
475
485
  RG_DEF_METHOD(match_all, -1);
476
486
  RG_DEF_METHOD(replace, -1);
487
+ #endif
477
488
 
478
489
  RG_DEF_SMETHOD(escape_string, 1);
479
490
  RG_DEF_SMETHOD(check_replacement, 1);
@@ -302,7 +302,7 @@ rbgobj_gobject_new(GType gtype, VALUE params_hash)
302
302
  size_t param_size;
303
303
  struct param_setup_arg arg;
304
304
 
305
- param_size = NUM2INT(rb_funcall(params_hash, rb_intern("length"), 0));
305
+ param_size = NUM2INT(rb_funcall(params_hash, rb_intern("length"), 0));
306
306
 
307
307
  arg.param_size = param_size;
308
308
  arg.gclass = G_OBJECT_CLASS(g_type_class_ref(gtype));
@@ -621,19 +621,97 @@ rg_type_name(VALUE self)
621
621
  }
622
622
 
623
623
  #if GLIB_CHECK_VERSION(2, 26, 0)
624
+ typedef struct {
625
+ VALUE transform_from_callback;
626
+ VALUE transform_to_callback;
627
+ VALUE self;
628
+ } RGBindPropertyCallbackData;
629
+
630
+ static gboolean
631
+ rg_bind_property_transform_to_callback(G_GNUC_UNUSED GBinding *binding,
632
+ const GValue *from_value,
633
+ GValue *to_value,
634
+ gpointer user_data)
635
+ {
636
+ RGBindPropertyCallbackData *data = (RGBindPropertyCallbackData *)user_data;
637
+ VALUE proc;
638
+ VALUE rb_from_value;
639
+ VALUE rb_to_value;
640
+
641
+ proc = data->transform_to_callback;
642
+ if (NIL_P(proc))
643
+ return FALSE;
644
+
645
+ rb_from_value = rbgobj_gvalue_to_rvalue(from_value);
646
+ rb_to_value = rbgobj_gvalue_to_rvalue(to_value);
647
+ rb_to_value = rb_funcall(proc, rb_intern("call"), 1, rb_from_value);
648
+ rbgobj_rvalue_to_gvalue(rb_to_value, to_value);
649
+ return TRUE;
650
+ }
651
+
652
+ static gboolean
653
+ rg_bind_property_transform_from_callback(G_GNUC_UNUSED GBinding *binding,
654
+ const GValue *from_value,
655
+ GValue *to_value,
656
+ gpointer user_data)
657
+ {
658
+ RGBindPropertyCallbackData *data = (RGBindPropertyCallbackData *)user_data;
659
+ VALUE proc;
660
+ VALUE rb_from_value;
661
+ VALUE rb_to_value;
662
+
663
+ proc = data->transform_from_callback;
664
+ if (NIL_P(proc))
665
+ return FALSE;
666
+
667
+ rb_from_value = rbgobj_gvalue_to_rvalue(from_value);
668
+ rb_to_value = rbgobj_gvalue_to_rvalue(to_value);
669
+ rb_to_value = rb_funcall(proc, rb_intern("call"), 1, rb_from_value);
670
+ rbgobj_rvalue_to_gvalue(rb_to_value, to_value);
671
+ return TRUE;
672
+ }
673
+
674
+ static void
675
+ rg_destroy_bind_property_full_data(gpointer user_data)
676
+ {
677
+ RGBindPropertyCallbackData *data = (RGBindPropertyCallbackData *)user_data;
678
+
679
+ if (!NIL_P(data->transform_to_callback))
680
+ G_CHILD_REMOVE(data->self, data->transform_to_callback);
681
+
682
+ if (!NIL_P(data->transform_from_callback))
683
+ G_CHILD_REMOVE(data->self, data->transform_from_callback);
684
+
685
+ xfree(data);
686
+ }
687
+
624
688
  static VALUE
625
- rg_bind_property(VALUE self,
626
- VALUE rb_source_property,
627
- VALUE rb_target,
628
- VALUE rb_target_property,
629
- VALUE rb_flags)
689
+ rg_bind_property(gint argc, VALUE *argv, VALUE self)
630
690
  {
691
+ VALUE rb_source_property;
692
+ VALUE rb_target;
693
+ VALUE rb_target_property;
694
+ VALUE rb_flags;
695
+ VALUE rb_options;
696
+ VALUE rb_transform_to;
697
+ VALUE rb_transform_from;
698
+
631
699
  gpointer source;
632
700
  const gchar *source_property;
633
701
  gpointer target;
634
702
  const gchar *target_property;
635
703
  GBindingFlags flags;
636
704
  GBinding *binding;
705
+ GBindingTransformFunc transform_to = NULL;
706
+ GBindingTransformFunc transform_from = NULL;
707
+
708
+ rb_scan_args(argc, argv, "41", &rb_source_property, &rb_target,
709
+ &rb_target_property, &rb_flags, &rb_options);
710
+
711
+ rbg_scan_options(rb_options,
712
+ "transform_to", &rb_transform_to,
713
+ "transform_from", &rb_transform_from,
714
+ NULL);
637
715
 
638
716
  source = RVAL2GOBJ(self);
639
717
  source_property = RVAL2CSTR(rb_source_property);
@@ -641,9 +719,33 @@ rg_bind_property(VALUE self,
641
719
  target_property = RVAL2CSTR(rb_target_property);
642
720
  flags = RVAL2GBINDINGFLAGS(rb_flags);
643
721
 
644
- binding = g_object_bind_property(source, source_property,
645
- target, target_property,
646
- flags);
722
+ if (!NIL_P(rb_transform_to)) {
723
+ G_CHILD_ADD(self, rb_transform_to);
724
+ transform_to = rg_bind_property_transform_to_callback;
725
+ }
726
+
727
+ if (!NIL_P(rb_transform_from)) {
728
+ G_CHILD_ADD(self, rb_transform_from);
729
+ transform_from = rg_bind_property_transform_from_callback;
730
+ }
731
+
732
+ if (transform_to || transform_from) {
733
+ RGBindPropertyCallbackData *data;
734
+ data = (RGBindPropertyCallbackData *)xmalloc(sizeof(RGBindPropertyCallbackData));
735
+ data->self = self;
736
+ data->transform_to_callback = rb_transform_to;
737
+ data->transform_from_callback = rb_transform_from;
738
+ binding = g_object_bind_property_full(source, source_property,
739
+ target, target_property,
740
+ flags, transform_to,
741
+ transform_from,
742
+ (gpointer)data,
743
+ rg_destroy_bind_property_full_data);
744
+ } else {
745
+ binding = g_object_bind_property(source, source_property,
746
+ target, target_property,
747
+ flags);
748
+ }
647
749
 
648
750
  return GOBJ2RVAL(binding);
649
751
  }
@@ -882,7 +984,7 @@ Init_gobject_gobject(void)
882
984
  RG_DEF_METHOD(type_name, 0);
883
985
 
884
986
  #if GLIB_CHECK_VERSION(2, 26, 0)
885
- RG_DEF_METHOD(bind_property, 4);
987
+ RG_DEF_METHOD(bind_property, -1);
886
988
  G_DEF_CLASS(G_TYPE_BINDING_FLAGS, "BindingFlags", mGLib);
887
989
  #endif
888
990