glib2 3.0.8-x64-mingw32 → 3.0.9-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (576) 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/asn1Decoding.exe +0 -0
  30. data/vendor/local/bin/asn1Parser.exe +0 -0
  31. data/vendor/local/bin/gdbus.exe +0 -0
  32. data/vendor/local/bin/gio-querymodules.exe +0 -0
  33. data/vendor/local/bin/glib-compile-resources.exe +0 -0
  34. data/vendor/local/bin/glib-compile-schemas.exe +0 -0
  35. data/vendor/local/bin/glib-genmarshal.exe +0 -0
  36. data/vendor/local/bin/glib-gettextize +1 -1
  37. data/vendor/local/bin/glib-mkenums +1 -1
  38. data/vendor/local/bin/gobject-query.exe +0 -0
  39. data/vendor/local/bin/gresource.exe +0 -0
  40. data/vendor/local/bin/gsettings.exe +0 -0
  41. data/vendor/local/bin/gspawn-win64-helper-console.exe +0 -0
  42. data/vendor/local/bin/gspawn-win64-helper.exe +0 -0
  43. data/vendor/local/bin/iconv.exe +0 -0
  44. data/vendor/local/bin/libgio-2.0-0.dll +0 -0
  45. data/vendor/local/bin/libglib-2.0-0.dll +0 -0
  46. data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
  47. data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
  48. data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
  49. data/vendor/local/bin/libnettle-6-2.dll +0 -0
  50. data/vendor/local/bin/nettle-pbkdf2.exe +0 -0
  51. data/vendor/local/bin/pkcs1-conv.exe +0 -0
  52. data/vendor/local/include/glib-2.0/gio/gioenums.h +1 -1
  53. data/vendor/local/include/glib-2.0/glib/gmacros.h +21 -6
  54. data/vendor/local/include/glib-2.0/glib/gregex.h +1 -1
  55. data/vendor/local/lib/gio/modules/libgiognutls.a +0 -0
  56. data/vendor/local/lib/gio/modules/libgiognutls.dll +0 -0
  57. data/vendor/local/lib/gio/modules/libgiognutls.dll.a +0 -0
  58. data/vendor/local/lib/glib-2.0/include/glibconfig.h +1 -1
  59. data/vendor/local/lib/libasprintf.dll.a +0 -0
  60. data/vendor/local/lib/libcharset.dll.a +0 -0
  61. data/vendor/local/lib/libffi.dll.a +0 -0
  62. data/vendor/local/lib/libgio-2.0.dll.a +0 -0
  63. data/vendor/local/lib/libgio-2.0.la +1 -1
  64. data/vendor/local/lib/libglib-2.0.dll.a +0 -0
  65. data/vendor/local/lib/libglib-2.0.la +1 -1
  66. data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
  67. data/vendor/local/lib/libgmodule-2.0.la +1 -1
  68. data/vendor/local/lib/libgmp.dll.a +0 -0
  69. data/vendor/local/lib/libgnutls.dll.a +0 -0
  70. data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
  71. data/vendor/local/lib/libgobject-2.0.la +1 -1
  72. data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
  73. data/vendor/local/lib/libgthread-2.0.la +1 -1
  74. data/vendor/local/lib/libhogweed.dll.a +0 -0
  75. data/vendor/local/lib/libiconv.dll.a +0 -0
  76. data/vendor/local/lib/libidn.dll.a +0 -0
  77. data/vendor/local/lib/libintl.dll.a +0 -0
  78. data/vendor/local/lib/libnettle.dll.a +0 -0
  79. data/vendor/local/lib/libp11-kit.dll.a +0 -0
  80. data/vendor/local/lib/libpcre.dll.a +0 -0
  81. data/vendor/local/lib/libpcrecpp.dll.a +0 -0
  82. data/vendor/local/lib/libpcreposix.dll.a +0 -0
  83. data/vendor/local/lib/libtasn1.dll.a +0 -0
  84. data/vendor/local/lib/p11-kit/p11-kit-remote.exe +0 -0
  85. data/vendor/local/lib/pkcs11/p11-kit-trust.dll.a +0 -0
  86. data/vendor/local/lib/pkgconfig/gio-2.0.pc +1 -1
  87. data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +1 -1
  88. data/vendor/local/lib/pkgconfig/glib-2.0.pc +1 -1
  89. data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +1 -1
  90. data/vendor/local/lib/pkgconfig/gmodule-export-2.0.pc +1 -1
  91. data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +1 -1
  92. data/vendor/local/lib/pkgconfig/gobject-2.0.pc +1 -1
  93. data/vendor/local/lib/pkgconfig/gthread-2.0.pc +1 -1
  94. data/vendor/local/share/gdb/auto-load/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/{libglib-2.0.so.0.4800.0-gdb.py → libglib-2.0.so.0.4800.1-gdb.py} +0 -0
  95. data/vendor/local/share/gdb/auto-load/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/{libgobject-2.0.so.0.4800.0-gdb.py → libgobject-2.0.so.0.4800.1-gdb.py} +0 -0
  96. data/vendor/local/share/glib-2.0/codegen/__init__.pyc +0 -0
  97. data/vendor/local/share/glib-2.0/codegen/__init__.pyo +0 -0
  98. data/vendor/local/share/glib-2.0/codegen/codegen.pyc +0 -0
  99. data/vendor/local/share/glib-2.0/codegen/codegen.pyo +0 -0
  100. data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyc +0 -0
  101. data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyo +0 -0
  102. data/vendor/local/share/glib-2.0/codegen/codegen_main.pyc +0 -0
  103. data/vendor/local/share/glib-2.0/codegen/codegen_main.pyo +0 -0
  104. data/vendor/local/share/glib-2.0/codegen/config.py +1 -1
  105. data/vendor/local/share/glib-2.0/codegen/config.pyc +0 -0
  106. data/vendor/local/share/glib-2.0/codegen/config.pyo +0 -0
  107. data/vendor/local/share/glib-2.0/codegen/dbustypes.pyc +0 -0
  108. data/vendor/local/share/glib-2.0/codegen/dbustypes.pyo +0 -0
  109. data/vendor/local/share/glib-2.0/codegen/parser.pyc +0 -0
  110. data/vendor/local/share/glib-2.0/codegen/parser.pyo +0 -0
  111. data/vendor/local/share/glib-2.0/codegen/utils.pyc +0 -0
  112. data/vendor/local/share/glib-2.0/codegen/utils.pyo +0 -0
  113. data/vendor/local/share/gtk-doc/html/gio/GAction.html +98 -104
  114. data/vendor/local/share/gtk-doc/html/gio/GActionGroup.html +116 -121
  115. data/vendor/local/share/gtk-doc/html/gio/GActionMap.html +28 -33
  116. data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +206 -211
  117. data/vendor/local/share/gtk-doc/html/gio/GAppInfoMonitor.html +9 -9
  118. data/vendor/local/share/gtk-doc/html/gio/GApplication.html +219 -221
  119. data/vendor/local/share/gtk-doc/html/gio/GApplicationCommandLine.html +87 -87
  120. data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +63 -68
  121. data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +36 -41
  122. data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +62 -62
  123. data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +29 -29
  124. data/vendor/local/share/gtk-doc/html/gio/GBytesIcon.html +18 -18
  125. data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +81 -81
  126. data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +28 -28
  127. data/vendor/local/share/gtk-doc/html/gio/GConverter.html +16 -21
  128. data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +43 -43
  129. data/vendor/local/share/gtk-doc/html/gio/GDBusActionGroup.html +7 -7
  130. data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +38 -38
  131. data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +526 -526
  132. data/vendor/local/share/gtk-doc/html/gio/GDBusInterface.html +17 -17
  133. data/vendor/local/share/gtk-doc/html/gio/GDBusInterfaceSkeleton.html +66 -71
  134. data/vendor/local/share/gtk-doc/html/gio/GDBusMenuModel.html +8 -8
  135. data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +202 -202
  136. data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +76 -76
  137. data/vendor/local/share/gtk-doc/html/gio/GDBusObject.html +29 -29
  138. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManager.html +43 -43
  139. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerClient.html +141 -146
  140. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerServer.html +32 -36
  141. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectProxy.html +12 -16
  142. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectSkeleton.html +28 -35
  143. data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +229 -229
  144. data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +51 -51
  145. data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +160 -160
  146. data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +86 -86
  147. data/vendor/local/share/gtk-doc/html/gio/GDatagramBased.html +73 -78
  148. data/vendor/local/share/gtk-doc/html/gio/GDrive.html +181 -186
  149. data/vendor/local/share/gtk-doc/html/gio/GDtlsClientConnection.html +29 -33
  150. data/vendor/local/share/gtk-doc/html/gio/GDtlsConnection.html +122 -122
  151. data/vendor/local/share/gtk-doc/html/gio/GDtlsServerConnection.html +12 -16
  152. data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +14 -14
  153. data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +17 -17
  154. data/vendor/local/share/gtk-doc/html/gio/GFile.html +890 -895
  155. data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +9 -16
  156. data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +78 -78
  157. data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +21 -21
  158. data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +9 -9
  159. data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +239 -239
  160. data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +18 -18
  161. data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +29 -29
  162. data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +21 -21
  163. data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +19 -19
  164. data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +15 -15
  165. data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +15 -15
  166. data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +39 -39
  167. data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +60 -60
  168. data/vendor/local/share/gtk-doc/html/gio/GIcon.html +48 -53
  169. data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +110 -110
  170. data/vendor/local/share/gtk-doc/html/gio/GInetAddressMask.html +37 -37
  171. data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +31 -31
  172. data/vendor/local/share/gtk-doc/html/gio/GInitable.html +68 -75
  173. data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +142 -142
  174. data/vendor/local/share/gtk-doc/html/gio/GListModel.html +44 -49
  175. data/vendor/local/share/gtk-doc/html/gio/GListStore.html +35 -35
  176. data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +19 -24
  177. data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +19 -19
  178. data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +57 -57
  179. data/vendor/local/share/gtk-doc/html/gio/GMenu.html +143 -143
  180. data/vendor/local/share/gtk-doc/html/gio/GMenuModel.html +107 -107
  181. data/vendor/local/share/gtk-doc/html/gio/GMount.html +161 -166
  182. data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +83 -83
  183. data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +45 -45
  184. data/vendor/local/share/gtk-doc/html/gio/GNetworkMonitor.html +54 -59
  185. data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +34 -34
  186. data/vendor/local/share/gtk-doc/html/gio/GNotification.html +51 -51
  187. data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +186 -186
  188. data/vendor/local/share/gtk-doc/html/gio/GPermission.html +71 -71
  189. data/vendor/local/share/gtk-doc/html/gio/GPollableInputStream.html +40 -45
  190. data/vendor/local/share/gtk-doc/html/gio/GPollableOutputStream.html +40 -45
  191. data/vendor/local/share/gtk-doc/html/gio/GPropertyAction.html +36 -36
  192. data/vendor/local/share/gtk-doc/html/gio/GProxy.html +25 -30
  193. data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +59 -59
  194. data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +32 -37
  195. data/vendor/local/share/gtk-doc/html/gio/GRemoteActionGroup.html +18 -23
  196. data/vendor/local/share/gtk-doc/html/gio/GResolver.html +147 -147
  197. data/vendor/local/share/gtk-doc/html/gio/GResource.html +114 -114
  198. data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +46 -51
  199. data/vendor/local/share/gtk-doc/html/gio/GSettings.html +354 -354
  200. data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +47 -52
  201. data/vendor/local/share/gtk-doc/html/gio/GSimpleAction.html +46 -46
  202. data/vendor/local/share/gtk-doc/html/gio/GSimpleActionGroup.html +15 -15
  203. data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +146 -146
  204. data/vendor/local/share/gtk-doc/html/gio/GSimpleIOStream.html +5 -5
  205. data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +7 -7
  206. data/vendor/local/share/gtk-doc/html/gio/GSimpleProxyResolver.html +19 -19
  207. data/vendor/local/share/gtk-doc/html/gio/GSocket.html +454 -454
  208. data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +26 -26
  209. data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +138 -138
  210. data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +37 -42
  211. data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +54 -54
  212. data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +20 -20
  213. data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +91 -91
  214. data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +22 -22
  215. data/vendor/local/share/gtk-doc/html/gio/GSrvTarget.html +38 -38
  216. data/vendor/local/share/gtk-doc/html/gio/GSubprocess.html +139 -139
  217. data/vendor/local/share/gtk-doc/html/gio/GSubprocessLauncher.html +63 -63
  218. data/vendor/local/share/gtk-doc/html/gio/GTask.html +219 -219
  219. data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +12 -12
  220. data/vendor/local/share/gtk-doc/html/gio/GTcpWrapperConnection.html +7 -7
  221. data/vendor/local/share/gtk-doc/html/gio/GTestDBus.html +21 -21
  222. data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +24 -24
  223. data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +16 -16
  224. data/vendor/local/share/gtk-doc/html/gio/GTlsBackend.html +53 -58
  225. data/vendor/local/share/gtk-doc/html/gio/GTlsCertificate.html +57 -57
  226. data/vendor/local/share/gtk-doc/html/gio/GTlsClientConnection.html +40 -47
  227. data/vendor/local/share/gtk-doc/html/gio/GTlsConnection.html +84 -84
  228. data/vendor/local/share/gtk-doc/html/gio/GTlsDatabase.html +79 -84
  229. data/vendor/local/share/gtk-doc/html/gio/GTlsFileDatabase.html +13 -17
  230. data/vendor/local/share/gtk-doc/html/gio/GTlsInteraction.html +32 -32
  231. data/vendor/local/share/gtk-doc/html/gio/GTlsPassword.html +41 -46
  232. data/vendor/local/share/gtk-doc/html/gio/GTlsServerConnection.html +11 -15
  233. data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +52 -52
  234. data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +12 -12
  235. data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +43 -43
  236. data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +25 -25
  237. data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +25 -25
  238. data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +25 -25
  239. data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +38 -38
  240. data/vendor/local/share/gtk-doc/html/gio/GVfs.html +24 -24
  241. data/vendor/local/share/gtk-doc/html/gio/GVolume.html +117 -122
  242. data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +87 -87
  243. data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +14 -14
  244. data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +10 -10
  245. data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +4 -2
  246. data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +2 -2
  247. data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +2 -2
  248. data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +2 -2
  249. data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +2 -2
  250. data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +2 -2
  251. data/vendor/local/share/gtk-doc/html/gio/api-index-2-28.html +2 -2
  252. data/vendor/local/share/gtk-doc/html/gio/api-index-2-30.html +2 -2
  253. data/vendor/local/share/gtk-doc/html/gio/api-index-2-32.html +2 -2
  254. data/vendor/local/share/gtk-doc/html/gio/api-index-2-34.html +2 -2
  255. data/vendor/local/share/gtk-doc/html/gio/api-index-2-36.html +2 -2
  256. data/vendor/local/share/gtk-doc/html/gio/api-index-2-38.html +2 -2
  257. data/vendor/local/share/gtk-doc/html/gio/api-index-2-40.html +2 -2
  258. data/vendor/local/share/gtk-doc/html/gio/api-index-2-42.html +2 -2
  259. data/vendor/local/share/gtk-doc/html/gio/api-index-2-44.html +2 -2
  260. data/vendor/local/share/gtk-doc/html/gio/api-index-2-46.html +2 -2
  261. data/vendor/local/share/gtk-doc/html/gio/api-index-2-48.html +2 -2
  262. data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +2 -2
  263. data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +2 -2
  264. data/vendor/local/share/gtk-doc/html/gio/application.html +2 -2
  265. data/vendor/local/share/gtk-doc/html/gio/async.html +2 -2
  266. data/vendor/local/share/gtk-doc/html/gio/ch01.html +2 -2
  267. data/vendor/local/share/gtk-doc/html/gio/ch02.html +3 -3
  268. data/vendor/local/share/gtk-doc/html/gio/ch03.html +2 -2
  269. data/vendor/local/share/gtk-doc/html/gio/ch32.html +2 -2
  270. data/vendor/local/share/gtk-doc/html/gio/ch33.html +7 -7
  271. data/vendor/local/share/gtk-doc/html/gio/ch33s02.html +3 -3
  272. data/vendor/local/share/gtk-doc/html/gio/ch33s03.html +4 -4
  273. data/vendor/local/share/gtk-doc/html/gio/ch34.html +2 -2
  274. data/vendor/local/share/gtk-doc/html/gio/ch34s02.html +2 -2
  275. data/vendor/local/share/gtk-doc/html/gio/ch34s03.html +4 -4
  276. data/vendor/local/share/gtk-doc/html/gio/ch34s04.html +2 -2
  277. data/vendor/local/share/gtk-doc/html/gio/ch34s05.html +2 -2
  278. data/vendor/local/share/gtk-doc/html/gio/ch34s06.html +6 -6
  279. data/vendor/local/share/gtk-doc/html/gio/ch34s07.html +2 -2
  280. data/vendor/local/share/gtk-doc/html/gio/ch35.html +4 -4
  281. data/vendor/local/share/gtk-doc/html/gio/ch35s02.html +3 -3
  282. data/vendor/local/share/gtk-doc/html/gio/ch35s03.html +10 -10
  283. data/vendor/local/share/gtk-doc/html/gio/ch35s04.html +3 -3
  284. data/vendor/local/share/gtk-doc/html/gio/conversion.html +2 -2
  285. data/vendor/local/share/gtk-doc/html/gio/data-models.html +2 -2
  286. data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +2 -2
  287. data/vendor/local/share/gtk-doc/html/gio/extending.html +2 -2
  288. data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +2 -2
  289. data/vendor/local/share/gtk-doc/html/gio/file_mon.html +2 -2
  290. data/vendor/local/share/gtk-doc/html/gio/file_ops.html +2 -2
  291. data/vendor/local/share/gtk-doc/html/gio/gapplication-tool.html +2 -2
  292. data/vendor/local/share/gtk-doc/html/gio/gdbus-codegen.html +55 -55
  293. data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +2 -2
  294. data/vendor/local/share/gtk-doc/html/gio/gdbus-example-gdbus-codegen.html +4 -4
  295. data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +2 -2
  296. data/vendor/local/share/gtk-doc/html/gio/gdbus.html +5 -5
  297. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +51 -51
  298. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +188 -188
  299. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +72 -72
  300. data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +110 -117
  301. data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +48 -48
  302. data/vendor/local/share/gtk-doc/html/gio/gio-GActionGroup-exporter.html +11 -11
  303. data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +86 -86
  304. data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +7 -7
  305. data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +7 -7
  306. data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +103 -103
  307. data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +22 -22
  308. data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +15 -15
  309. data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +41 -41
  310. data/vendor/local/share/gtk-doc/html/gio/gio-GMenuModel-exporter.html +11 -11
  311. data/vendor/local/share/gtk-doc/html/gio/gio-GSettingsSchema-GSettingsSchemaSource.html +108 -108
  312. data/vendor/local/share/gtk-doc/html/gio/gio-GWin32InputStream.html +17 -17
  313. data/vendor/local/share/gtk-doc/html/gio/gio-GWin32OutputStream.html +17 -17
  314. data/vendor/local/share/gtk-doc/html/gio/gio-GWin32RegistryKey.html +221 -221
  315. data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +63 -63
  316. data/vendor/local/share/gtk-doc/html/gio/gio-TLS-Overview.html +16 -23
  317. data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +128 -128
  318. data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +57 -57
  319. data/vendor/local/share/gtk-doc/html/gio/gio-gnetworking.h.html +2 -2
  320. data/vendor/local/share/gtk-doc/html/gio/gio-gpollableutils.html +71 -71
  321. data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +6 -6
  322. data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +2 -2
  323. data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +450 -10
  324. data/vendor/local/share/gtk-doc/html/gio/glib-compile-resources.html +3 -3
  325. data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +2 -2
  326. data/vendor/local/share/gtk-doc/html/gio/gresource-tool.html +2 -2
  327. data/vendor/local/share/gtk-doc/html/gio/gsettings-tool.html +5 -5
  328. data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +2 -2
  329. data/vendor/local/share/gtk-doc/html/gio/icons.html +2 -2
  330. data/vendor/local/share/gtk-doc/html/gio/index.html +3 -3
  331. data/vendor/local/share/gtk-doc/html/gio/migrating.html +2 -2
  332. data/vendor/local/share/gtk-doc/html/gio/networking.html +2 -2
  333. data/vendor/local/share/gtk-doc/html/gio/permissions.html +2 -2
  334. data/vendor/local/share/gtk-doc/html/gio/pt01.html +2 -2
  335. data/vendor/local/share/gtk-doc/html/gio/pt02.html +2 -2
  336. data/vendor/local/share/gtk-doc/html/gio/registry.html +2 -2
  337. data/vendor/local/share/gtk-doc/html/gio/resolver.html +2 -2
  338. data/vendor/local/share/gtk-doc/html/gio/resources.html +2 -2
  339. data/vendor/local/share/gtk-doc/html/gio/running-gio-apps.html +2 -2
  340. data/vendor/local/share/gtk-doc/html/gio/settings.html +2 -2
  341. data/vendor/local/share/gtk-doc/html/gio/streaming.html +2 -2
  342. data/vendor/local/share/gtk-doc/html/gio/subprocesses.html +2 -2
  343. data/vendor/local/share/gtk-doc/html/gio/testing.html +2 -2
  344. data/vendor/local/share/gtk-doc/html/gio/tls.html +2 -2
  345. data/vendor/local/share/gtk-doc/html/gio/tools.html +2 -2
  346. data/vendor/local/share/gtk-doc/html/gio/types.html +2 -2
  347. data/vendor/local/share/gtk-doc/html/gio/utils.html +2 -2
  348. data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +2 -2
  349. data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +4 -2
  350. data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +2 -2
  351. data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +2 -2
  352. data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +2 -2
  353. data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +2 -2
  354. data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +2 -2
  355. data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +2 -2
  356. data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +2 -2
  357. data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +2 -2
  358. data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +2 -2
  359. data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +2 -2
  360. data/vendor/local/share/gtk-doc/html/glib/api-index-2-28.html +2 -2
  361. data/vendor/local/share/gtk-doc/html/glib/api-index-2-30.html +2 -2
  362. data/vendor/local/share/gtk-doc/html/glib/api-index-2-32.html +2 -2
  363. data/vendor/local/share/gtk-doc/html/glib/api-index-2-34.html +2 -2
  364. data/vendor/local/share/gtk-doc/html/glib/api-index-2-36.html +2 -2
  365. data/vendor/local/share/gtk-doc/html/glib/api-index-2-38.html +2 -2
  366. data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +3 -10
  367. data/vendor/local/share/gtk-doc/html/glib/api-index-2-40.html +2 -2
  368. data/vendor/local/share/gtk-doc/html/glib/api-index-2-42.html +2 -2
  369. data/vendor/local/share/gtk-doc/html/glib/api-index-2-44.html +2 -2
  370. data/vendor/local/share/gtk-doc/html/glib/api-index-2-46.html +2 -2
  371. data/vendor/local/share/gtk-doc/html/glib/api-index-2-48.html +2 -2
  372. data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +2 -2
  373. data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +2 -2
  374. data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +2 -2
  375. data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +3 -10
  376. data/vendor/local/share/gtk-doc/html/glib/deprecated.html +2 -2
  377. data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +42 -42
  378. data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +44 -44
  379. data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +40 -40
  380. data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +18 -18
  381. data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +32 -32
  382. data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +14 -14
  383. data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +5 -5
  384. data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +68 -68
  385. data/vendor/local/share/gtk-doc/html/glib/glib-Bounds-checked-integer-arithmetic.html +14 -14
  386. data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +56 -56
  387. data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +120 -120
  388. data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +15 -15
  389. data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +35 -35
  390. data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +72 -72
  391. data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +21 -21
  392. data/vendor/local/share/gtk-doc/html/glib/glib-Data-HMACs.html +17 -17
  393. data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +24 -24
  394. data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +93 -93
  395. data/vendor/local/share/gtk-doc/html/glib/glib-Deprecated-Thread-APIs.html +50 -50
  396. data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +64 -64
  397. data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +69 -69
  398. data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +19 -19
  399. data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +21 -21
  400. data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +80 -80
  401. data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +157 -157
  402. data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +20 -20
  403. data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +292 -266
  404. data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +423 -421
  405. data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +13 -13
  406. data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +92 -92
  407. data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +62 -62
  408. data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +12 -12
  409. data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +27 -56
  410. data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +84 -84
  411. data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +81 -81
  412. data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +31 -31
  413. data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +45 -45
  414. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +55 -55
  415. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +22 -22
  416. data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +80 -78
  417. data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +36 -36
  418. data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +83 -83
  419. data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +81 -81
  420. data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +4 -4
  421. data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +84 -84
  422. data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +34 -34
  423. data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +15 -15
  424. data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +30 -30
  425. data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +20 -20
  426. data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +67 -67
  427. data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +9 -9
  428. data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +34 -34
  429. data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +58 -58
  430. data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +19 -19
  431. data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +30 -30
  432. data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +12 -12
  433. data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +195 -189
  434. data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +65 -65
  435. data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +91 -91
  436. data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +166 -166
  437. data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +24 -24
  438. data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +86 -86
  439. data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +10 -10
  440. data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +11 -11
  441. data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +8 -8
  442. data/vendor/local/share/gtk-doc/html/glib/glib-UNIX-specific-utilities-and-integration.html +46 -38
  443. data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +16 -16
  444. data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +134 -134
  445. data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +128 -128
  446. data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +19 -19
  447. data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +20 -20
  448. data/vendor/local/share/gtk-doc/html/glib/glib-building.html +2 -2
  449. data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +2 -2
  450. data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +2 -2
  451. data/vendor/local/share/gtk-doc/html/glib/glib-core.html +2 -2
  452. data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +2 -2
  453. data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +2 -2
  454. data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +2 -2
  455. data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +2 -2
  456. data/vendor/local/share/gtk-doc/html/glib/glib-programming.html +2 -2
  457. data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +2 -2
  458. data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +2 -2
  459. data/vendor/local/share/gtk-doc/html/glib/glib-running.html +2 -2
  460. data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +2 -2
  461. data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +189 -51
  462. data/vendor/local/share/gtk-doc/html/glib/glib.html +2 -2
  463. data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +2 -2
  464. data/vendor/local/share/gtk-doc/html/glib/gtester.html +2 -2
  465. data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +15 -15
  466. data/vendor/local/share/gtk-doc/html/glib/gvariant-text.html +17 -17
  467. data/vendor/local/share/gtk-doc/html/glib/index.html +3 -3
  468. data/vendor/local/share/gtk-doc/html/glib/tools.html +2 -2
  469. data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +55 -55
  470. data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +28 -33
  471. data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +12 -12
  472. data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +4 -2
  473. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +2 -2
  474. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +2 -2
  475. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +2 -2
  476. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +2 -2
  477. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +2 -2
  478. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +2 -2
  479. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +2 -2
  480. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +2 -2
  481. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-28.html +2 -2
  482. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-30.html +2 -2
  483. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-32.html +2 -2
  484. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-34.html +2 -2
  485. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-36.html +2 -2
  486. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-38.html +2 -2
  487. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +2 -2
  488. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-40.html +2 -2
  489. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-42.html +2 -2
  490. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-44.html +2 -2
  491. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-46.html +2 -2
  492. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +2 -2
  493. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +2 -2
  494. data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +2 -2
  495. data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +2 -2
  496. data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +2 -2
  497. data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +2 -2
  498. data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +4 -4
  499. data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +2 -2
  500. data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +3 -3
  501. data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +2 -2
  502. data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +2 -2
  503. data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +72 -62
  504. data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +301 -301
  505. data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +71 -71
  506. data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +139 -139
  507. data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +92 -92
  508. data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +304 -304
  509. data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +570 -682
  510. data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +276 -276
  511. data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +349 -349
  512. data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +54 -54
  513. data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +15 -15
  514. data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +2 -2
  515. data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +5 -5
  516. data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +2 -2
  517. data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +153 -8
  518. data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +3 -3
  519. data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +2 -2
  520. data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +9 -9
  521. data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +2 -2
  522. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +2 -2
  523. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +2 -2
  524. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +4 -4
  525. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +3 -3
  526. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +15 -15
  527. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +2 -2
  528. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +5 -5
  529. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-override.html +4 -4
  530. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-prerequisite.html +6 -6
  531. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +2 -2
  532. data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +9 -9
  533. data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +4 -4
  534. data/vendor/local/share/gtk-doc/html/gobject/index.html +3 -3
  535. data/vendor/local/share/gtk-doc/html/gobject/pr01.html +2 -2
  536. data/vendor/local/share/gtk-doc/html/gobject/pt01.html +2 -2
  537. data/vendor/local/share/gtk-doc/html/gobject/pt02.html +2 -2
  538. data/vendor/local/share/gtk-doc/html/gobject/pt03.html +2 -2
  539. data/vendor/local/share/gtk-doc/html/gobject/rn01.html +2 -2
  540. data/vendor/local/share/gtk-doc/html/gobject/rn02.html +2 -2
  541. data/vendor/local/share/gtk-doc/html/gobject/signal.html +5 -5
  542. data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +2 -2
  543. data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +2 -2
  544. data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +3 -3
  545. data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +2 -2
  546. data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +2 -2
  547. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Future.html +4 -4
  548. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Modules.html +12 -12
  549. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-PIN-Callbacks.html +15 -15
  550. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-URIs.html +2 -2
  551. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Utilities.html +2 -2
  552. data/vendor/local/share/locale/ca/LC_MESSAGES/glib20.mo +0 -0
  553. data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
  554. data/vendor/local/share/locale/fur/LC_MESSAGES/glib-networking.mo +0 -0
  555. data/vendor/local/share/locale/gd/LC_MESSAGES/glib-networking.mo +0 -0
  556. data/vendor/local/share/locale/oc/LC_MESSAGES/glib-networking.mo +0 -0
  557. data/vendor/local/share/locale/vi/LC_MESSAGES/glib20.mo +0 -0
  558. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib20.mo +0 -0
  559. data/vendor/local/share/man/man1/gapplication.1 +1 -1
  560. data/vendor/local/share/man/man1/gdbus-codegen.1 +1 -1
  561. data/vendor/local/share/man/man1/gdbus.1 +1 -1
  562. data/vendor/local/share/man/man1/gio-querymodules.1 +1 -1
  563. data/vendor/local/share/man/man1/glib-compile-resources.1 +1 -1
  564. data/vendor/local/share/man/man1/glib-compile-schemas.1 +1 -1
  565. data/vendor/local/share/man/man1/glib-genmarshal.1 +1 -1
  566. data/vendor/local/share/man/man1/glib-gettextize.1 +1 -1
  567. data/vendor/local/share/man/man1/glib-mkenums.1 +1 -1
  568. data/vendor/local/share/man/man1/gobject-query.1 +1 -1
  569. data/vendor/local/share/man/man1/gresource.1 +1 -1
  570. data/vendor/local/share/man/man1/gsettings.1 +1 -1
  571. data/vendor/local/share/man/man1/gtester-report.1 +1 -1
  572. data/vendor/local/share/man/man1/gtester.1 +1 -1
  573. metadata +6 -8
  574. data/vendor/local/share/gtk-doc/html/gio/index.sgml +0 -4612
  575. data/vendor/local/share/gtk-doc/html/glib/index.sgml +0 -3447
  576. data/vendor/local/share/gtk-doc/html/gobject/index.sgml +0 -924
@@ -6,174 +6,177 @@ require 'open-uri'
6
6
  require 'rubygems'
7
7
  require 'mechanize'
8
8
 
9
- class GNOME2WindowsBinaryDownloadTask
10
- include Rake::DSL
11
-
12
- URL_BASE = "http://ftp.gnome.org/pub/gnome/binaries"
13
- def initialize(package)
14
- @package = package
15
- define
16
- end
9
+ module GNOME2
10
+ module Rake
11
+ class WindowsBinaryDownloadTask
12
+ include ::Rake::DSL
13
+
14
+ URL_BASE = "http://ftp.gnome.org/pub/gnome/binaries"
15
+ def initialize(package)
16
+ @package = package
17
+ end
17
18
 
18
- private
19
- def define
20
- namespace :windows do
21
- namespace :downloader do
22
- task :before
23
-
24
- download_tasks = []
25
- namespace :download do
26
- directory dist_dir.to_s
27
- task :prepare => [dist_dir.to_s]
28
-
29
- packages.each do |package|
30
- desc "download #{package}"
31
- task package => [:prepare] do
32
- download_package(package)
19
+ def define
20
+ namespace :windows do
21
+ namespace :downloader do
22
+ task :before
23
+
24
+ download_tasks = []
25
+ namespace :download do
26
+ directory dist_dir.to_s
27
+ task :prepare => [dist_dir.to_s]
28
+
29
+ packages.each do |package|
30
+ desc "download #{package}"
31
+ task package => [:prepare] do
32
+ download_package(package)
33
+ end
34
+ download_tasks << package
35
+ end
36
+
37
+ dependencies.each do |dependency|
38
+ name, version = dependency
39
+ desc "download #{name}"
40
+ task name => [:prepare] do
41
+ download_dependency(dependency)
42
+ end
43
+ download_tasks << name
44
+ end
33
45
  end
34
- download_tasks << package
35
- end
36
46
 
37
- dependencies.each do |dependency|
38
- name, version = dependency
39
- desc "download #{name}"
40
- task name => [:prepare] do
41
- download_dependency(dependency)
47
+ download_tasks = download_tasks.collect do |task|
48
+ "windows:downloader:download:#{task}"
42
49
  end
43
- download_tasks << name
44
- end
45
- end
50
+ desc "download Windows binaries into #{dist_dir}"
51
+ task :download => download_tasks
46
52
 
47
- download_tasks = download_tasks.collect do |task|
48
- "windows:downloader:download:#{task}"
53
+ task :after
54
+ end
55
+ desc "download Windows binaries"
56
+ task :download => ["windows:downloader:before",
57
+ "windows:downloader:download",
58
+ "windows:downloader:after"]
49
59
  end
50
- desc "download Windows binaries into #{dist_dir}"
51
- task :download => download_tasks
60
+ end
52
61
 
53
- task :after
62
+ private
63
+ def dist_dir
64
+ @package.windows.absolute_binary_dir
54
65
  end
55
- desc "download Windows binaries"
56
- task :download => ["windows:downloader:before",
57
- "windows:downloader:download",
58
- "windows:downloader:after"]
59
- end
60
- end
61
66
 
62
- def dist_dir
63
- @package.windows.absolute_binary_dir
64
- end
67
+ def packages
68
+ @package.windows.packages
69
+ end
65
70
 
66
- def packages
67
- @package.windows.packages
68
- end
71
+ def dependencies
72
+ @package.windows.dependencies
73
+ end
69
74
 
70
- def dependencies
71
- @package.windows.dependencies
72
- end
75
+ def build_architecture_suffix
76
+ @package.windows.build_architecture_suffix
77
+ end
73
78
 
74
- def build_architecture_suffix
75
- @package.windows.build_architecture_suffix
76
- end
79
+ def download_package(package)
80
+ suffix = build_architecture_suffix
81
+ version_page_url = "#{URL_BASE}/#{suffix}/#{package}"
82
+ version_page = agent.get(version_page_url)
83
+ latest_version_link = version_page.links.sort_by do |link|
84
+ if /\A(\d+\.\d+)\/\z/ =~ link.href
85
+ $1.split(/\./).collect {|component| component.to_i}
86
+ else
87
+ [-1]
88
+ end
89
+ end.last
90
+
91
+ escaped_package = Regexp.escape(package)
92
+ latest_version_page = latest_version_link.click
93
+ latest_version = latest_version_page.links.collect do |link|
94
+ case link.href
95
+ when /#{escaped_package}_([\d\.\-]+)_#{suffix}\.zip\z/,
96
+ /#{escaped_package}-([\d\.\-]+)-#{suffix}\.zip\z/, # old
97
+ /#{escaped_package}-([\d\.\-]+)\.zip\z/ # old
98
+ version = $1
99
+ normalized_version = version.split(/[\.\-]/).collect do |component|
100
+ component.to_i
101
+ end
102
+ [normalized_version, version]
103
+ else
104
+ [[-1], nil]
105
+ end
106
+ end.sort_by do |normalized_version, version|
107
+ normalized_version
108
+ end.last[1]
77
109
 
78
- def download_package(package)
79
- suffix = build_architecture_suffix
80
- version_page_url = "#{URL_BASE}/#{suffix}/#{package}"
81
- version_page = agent.get(version_page_url)
82
- latest_version_link = version_page.links.sort_by do |link|
83
- if /\A(\d+\.\d+)\/\z/ =~ link.href
84
- $1.split(/\./).collect {|component| component.to_i}
85
- else
86
- [-1]
87
- end
88
- end.last
89
-
90
- escaped_package = Regexp.escape(package)
91
- latest_version_page = latest_version_link.click
92
- latest_version = latest_version_page.links.collect do |link|
93
- case link.href
94
- when /#{escaped_package}_([\d\.\-]+)_#{suffix}\.zip\z/,
95
- /#{escaped_package}-([\d\.\-]+)-#{suffix}\.zip\z/, # old
96
- /#{escaped_package}-([\d\.\-]+)\.zip\z/ # old
97
- version = $1
98
- normalized_version = version.split(/[\.\-]/).collect do |component|
99
- component.to_i
110
+ if latest_version.nil?
111
+ raise "can't find package: <#{package}>:<#{version_page_url}>"
112
+ end
113
+ escaped_latest_version = Regexp.escape(latest_version)
114
+ latest_version_page.links.each do |link|
115
+ case link.href
116
+ when /#{escaped_package}(?:-dev)?_#{escaped_latest_version}_#{suffix}\.zip\z/,
117
+ /#{escaped_package}(?:-dev)?-#{escaped_latest_version}-#{suffix}\.zip\z/, # old
118
+ /#{escaped_package}(?:-dev)?-#{escaped_latest_version}\.zip\z/ # old
119
+ click_zip_link(link)
120
+ end
100
121
  end
101
- [normalized_version, version]
102
- else
103
- [[-1], nil]
104
122
  end
105
- end.sort_by do |normalized_version, version|
106
- normalized_version
107
- end.last[1]
108
123
 
109
- if latest_version.nil?
110
- raise "can't find package: <#{package}>:<#{version_page_url}>"
111
- end
112
- escaped_latest_version = Regexp.escape(latest_version)
113
- latest_version_page.links.each do |link|
114
- case link.href
115
- when /#{escaped_package}(?:-dev)?_#{escaped_latest_version}_#{suffix}\.zip\z/,
116
- /#{escaped_package}(?:-dev)?-#{escaped_latest_version}-#{suffix}\.zip\z/, # old
117
- /#{escaped_package}(?:-dev)?-#{escaped_latest_version}\.zip\z/ # old
118
- click_zip_link(link)
124
+ def download_dependency(dependency)
125
+ suffix = build_architecture_suffix
126
+ dependency_version = "any"
127
+ dependency_version_re = /[\d\.\-]+/
128
+ if dependency.is_a?(Array)
129
+ dependency, dependency_version = dependency
130
+ dependency_version_re = /#{Regexp.escape(dependency_version)}/
131
+ end
132
+ escaped_dependency = Regexp.escape(dependency)
133
+ dependencies_url = "#{URL_BASE}/dependencies"
134
+ dependencies_page = agent.get(dependencies_url)
135
+ latest_version = dependencies_page.links.collect do |link|
136
+ case link.href
137
+ when /\A#{escaped_dependency}_(#{dependency_version_re})_#{suffix}\.zip\z/
138
+ version = $1
139
+ [version.split(/[\.\-]/).collect {|component| component.to_i}, version]
140
+ else
141
+ [[-1], nil]
142
+ end
143
+ end.sort_by do |normalized_version, version|
144
+ normalized_version
145
+ end.last[1]
146
+
147
+ if latest_version.nil?
148
+ message = "can't find dependency package: " +
149
+ "<#{dependency}>(#{dependency_version}):<#{dependencies_url}>"
150
+ raise message
151
+ end
152
+ escaped_latest_version = Regexp.escape(latest_version)
153
+ dependencies_page.links.each do |link|
154
+ case link.href
155
+ when /\A#{escaped_dependency}(?:-dev)?_#{escaped_latest_version}_#{suffix}\.zip\z/
156
+ click_zip_link(link)
157
+ end
158
+ end
119
159
  end
120
- end
121
- end
122
160
 
123
- def download_dependency(dependency)
124
- suffix = build_architecture_suffix
125
- dependency_version = "any"
126
- dependency_version_re = /[\d\.\-]+/
127
- if dependency.is_a?(Array)
128
- dependency, dependency_version = dependency
129
- dependency_version_re = /#{Regexp.escape(dependency_version)}/
130
- end
131
- escaped_dependency = Regexp.escape(dependency)
132
- dependencies_url = "#{URL_BASE}/dependencies"
133
- dependencies_page = agent.get(dependencies_url)
134
- latest_version = dependencies_page.links.collect do |link|
135
- case link.href
136
- when /\A#{escaped_dependency}_(#{dependency_version_re})_#{suffix}\.zip\z/
137
- version = $1
138
- [version.split(/[\.\-]/).collect {|component| component.to_i}, version]
139
- else
140
- [[-1], nil]
161
+ private
162
+ def agent
163
+ @agent ||= Mechanize.new
141
164
  end
142
- end.sort_by do |normalized_version, version|
143
- normalized_version
144
- end.last[1]
145
-
146
- if latest_version.nil?
147
- message = "can't find dependency package: " +
148
- "<#{dependency}>(#{dependency_version}):<#{dependencies_url}>"
149
- raise message
150
- end
151
- escaped_latest_version = Regexp.escape(latest_version)
152
- dependencies_page.links.each do |link|
153
- case link.href
154
- when /\A#{escaped_dependency}(?:-dev)?_#{escaped_latest_version}_#{suffix}\.zip\z/
155
- click_zip_link(link)
156
- end
157
- end
158
- end
159
-
160
- private
161
- def agent
162
- @agent ||= Mechanize.new
163
- end
164
165
 
165
- def click_zip_link(link)
166
- zip = link.click
167
- Dir.chdir(dist_dir) do
168
- open(zip.filename, "wb") do |file|
169
- file.print(zip.body)
170
- end
171
- system("unzip", "-o", zip.filename)
172
- Dir.glob("lib/pkgconfig/*.pc") do |pc_path|
173
- pc = File.read(pc_path)
174
- pc = pc.gsub(/\Aprefix=.+$/) {"prefix=#{dist_dir}"}
175
- File.open(pc_path, "w") do |pc_file|
176
- pc_file.print(pc)
166
+ def click_zip_link(link)
167
+ zip = link.click
168
+ Dir.chdir(dist_dir) do
169
+ open(zip.filename, "wb") do |file|
170
+ file.print(zip.body)
171
+ end
172
+ system("unzip", "-o", zip.filename)
173
+ Dir.glob("lib/pkgconfig/*.pc") do |pc_path|
174
+ pc = File.read(pc_path)
175
+ pc = pc.gsub(/\Aprefix=.+$/) {"prefix=#{dist_dir}"}
176
+ File.open(pc_path, "w") do |pc_file|
177
+ pc_file.print(pc)
178
+ end
179
+ end
177
180
  end
178
181
  end
179
182
  end
@@ -151,8 +151,16 @@ def find_gem_spec(package)
151
151
  end
152
152
  end
153
153
 
154
+ def setup_homebrew_libffi
155
+ return unless package_platform == :homebrew
156
+
157
+ PKGConfig.add_path("/usr/local/opt/libffi/lib/pkgconfig")
158
+ end
159
+
154
160
  #add_depend_package("glib2", "ext/glib2", "/...../ruby-gnome2")
155
161
  def add_depend_package(target_name, target_srcdir, top_srcdir, options={})
162
+ setup_homebrew_libffi if target_name == "gobject-introspection"
163
+
156
164
  gem_spec = find_gem_spec(target_name)
157
165
  if gem_spec
158
166
  target_source_dir = File.join(gem_spec.full_gem_path, "ext/#{target_name}")
@@ -410,34 +418,6 @@ def make_version_header(app_name, pkgname, dir = "src")
410
418
  out.close
411
419
  end
412
420
 
413
- def check_ruby_func
414
- #Other options
415
- ruby_header = "ruby.h"
416
- have_func("rb_define_alloc_func", ruby_header) # for ruby-1.8
417
- have_func("rb_block_proc", ruby_header) # for ruby-1.8
418
-
419
- STDOUT.print("checking for new allocation framework... ") # for ruby-1.7
420
- if Object.respond_to? :allocate
421
- STDOUT.print "yes\n"
422
- $defs << "-DHAVE_OBJECT_ALLOCATE"
423
- else
424
- STDOUT.print "no\n"
425
- end
426
-
427
- STDOUT.print("checking for attribute assignment... ") # for ruby-1.7
428
- STDOUT.flush
429
- if defined? try_compile and try_compile <<SRC
430
- #include "ruby.h"
431
- #include "node.h"
432
- int node_attrasgn = (int)NODE_ATTRASGN;
433
- SRC
434
- STDOUT.print "yes\n"
435
- $defs << "-DHAVE_NODE_ATTRASGN"
436
- else
437
- STDOUT.print "no\n"
438
- end
439
- end
440
-
441
421
  def add_obj(name)
442
422
  ensure_objs
443
423
  $objs << name unless $objs.index(name)
@@ -617,6 +597,9 @@ def required_pkg_config_package(package_info, native_package_info=nil)
617
597
  else
618
598
  required_package_info = [package_info]
619
599
  end
600
+ if required_package_info.include?("gobject-introspection-1.0")
601
+ setup_homebrew_libffi
602
+ end
620
603
  return true if PKGConfig.have_package(*required_package_info)
621
604
 
622
605
  native_package_info ||= {}
@@ -635,8 +618,6 @@ end
635
618
  add_include_path.call("sitearchdir")
636
619
  add_include_path.call("vendorarchdir")
637
620
 
638
- check_ruby_func
639
-
640
621
  if /mingw/ =~ RUBY_PLATFORM
641
622
  $ruby.gsub!('\\', '/')
642
623
  end
@@ -16,82 +16,173 @@
16
16
 
17
17
  class TestGLibBinding < Test::Unit::TestCase
18
18
  include GLibTestUtils
19
+ sub_test_case "bind_property" do
20
+ class DataObjectDefault < GLib::Object
21
+ type_register
19
22
 
20
- class DataObject < GLib::Object
21
- type_register
22
-
23
- install_property(GLib::Param::Int.new("source", # name
24
- "Source", # nick
25
- "The source data", # blurb
26
- 0, # min
27
- 100, # max
28
- 0, # default
29
- GLib::Param::READABLE |
30
- GLib::Param::WRITABLE))
31
- install_property(GLib::Param::Int.new("target", # name
32
- "Target", # nick
33
- "The target data", # blurb
34
- 0, # min
35
- 100, # max
36
- 0, # default
37
- GLib::Param::READABLE |
38
- GLib::Param::WRITABLE))
39
-
40
- attr_reader :source, :target
41
- def initialize
42
- @source = 0
43
- @target = 0
44
- super
45
- end
46
-
47
- def source=(value)
48
- @source = value
49
- notify("source")
50
- end
51
-
52
- def target=(value)
53
- @target = value
54
- notify("target")
23
+ install_property(GLib::Param::Int.new("source", # name
24
+ "Source", # nick
25
+ "The source data", # blurb
26
+ 0, # min
27
+ 100, # max
28
+ 0, # default
29
+ GLib::Param::READABLE |
30
+ GLib::Param::WRITABLE))
31
+ install_property(GLib::Param::Int.new("target", # name
32
+ "Target", # nick
33
+ "The target data", # blurb
34
+ 0, # min
35
+ 100, # max
36
+ 0, # default
37
+ GLib::Param::READABLE |
38
+ GLib::Param::WRITABLE))
39
+
40
+ attr_reader :source, :target
41
+ def initialize
42
+ @source = 0
43
+ @target = 0
44
+ super
45
+ end
46
+
47
+ def source=(value)
48
+ @source = value
49
+ notify("source")
50
+ end
51
+
52
+ def target=(value)
53
+ @target = value
54
+ notify("target")
55
+ end
55
56
  end
56
- end
57
57
 
58
- setup do
59
- only_glib_version(2, 26, 0)
60
- end
58
+ setup do
59
+ only_glib_version(2, 26, 0)
60
+ end
61
61
 
62
- setup do
63
- @source = DataObject.new
64
- @target = DataObject.new
65
- @binding = @source.bind_property("source", @target, "target", :default)
66
- end
62
+ setup do
63
+ @source = DataObjectDefault.new
64
+ @target = DataObjectDefault.new
65
+ @binding = @source.bind_property("source", @target, "target", :default)
66
+ end
67
67
 
68
- test "#source" do
69
- assert_equal(@source, @binding.source)
70
- end
68
+ test "#source" do
69
+ assert_equal(@source, @binding.source)
70
+ end
71
71
 
72
- test "#source_property" do
73
- assert_equal("source", @binding.source_property)
74
- end
72
+ test "#source_property" do
73
+ assert_equal("source", @binding.source_property)
74
+ end
75
75
 
76
- test "#target" do
77
- assert_equal(@target, @binding.target)
78
- end
76
+ test "#target" do
77
+ assert_equal(@target, @binding.target)
78
+ end
79
79
 
80
- test "#target_property" do
81
- assert_equal("target", @binding.target_property)
82
- end
80
+ test "#target_property" do
81
+ assert_equal("target", @binding.target_property)
82
+ end
83
83
 
84
- test "#flags" do
85
- assert_equal(GLib::BindingFlags::DEFAULT, @binding.flags)
84
+ test "#flags" do
85
+ assert_equal(GLib::BindingFlags::DEFAULT, @binding.flags)
86
+ end
87
+
88
+ test "#unbind" do
89
+ only_glib_version(2, 38, 0)
90
+ assert_equal(0, @target.target)
91
+ @source.source = 10
92
+ assert_equal(10, @target.target)
93
+ @binding.unbind
94
+ @source.source = 20
95
+ assert_equal(10, @target.target)
96
+ end
86
97
  end
98
+ sub_test_case "bind_property_full" do
99
+ class DataObjectBidir < GLib::Object
100
+ type_register
101
+
102
+ install_property(GLib::Param::Int.new("source", # name
103
+ "Source", # nick
104
+ "The source data", # blurb
105
+ 0, # min
106
+ 100, # max
107
+ 0, # default
108
+ GLib::Param::READABLE |
109
+ GLib::Param::WRITABLE))
110
+ install_property(GLib::Param::String.new("target", # name
111
+ "Target", # nick
112
+ "The target data", # blurb
113
+ "", # default
114
+ GLib::Param::READABLE |
115
+ GLib::Param::WRITABLE))
116
+
117
+ attr_reader :source, :target
118
+ def initialize
119
+ @source = 0
120
+ @target = "nan"
121
+ super
122
+ end
87
123
 
88
- test "#unbind" do
89
- only_glib_version(2, 38, 0)
90
- assert_equal(0, @target.target)
91
- @source.source = 10
92
- assert_equal(10, @target.target)
93
- @binding.unbind
94
- @source.source = 20
95
- assert_equal(10, @target.target)
124
+ def source=(value)
125
+ @source = value
126
+ notify("source")
127
+ end
128
+
129
+ def target=(value)
130
+ @target = value
131
+ notify("target")
132
+ end
133
+ end
134
+
135
+ setup do
136
+ only_glib_version(2, 26, 0)
137
+ end
138
+
139
+ setup do
140
+ @source = DataObjectBidir.new
141
+ @target = DataObjectBidir.new
142
+ transform_to_callback = proc do |source_value|
143
+ source_value.to_s
144
+ end
145
+
146
+ transform_from_callback = proc do |target_value|
147
+ target_value.to_i
148
+ end
149
+
150
+ @binding = @source.bind_property("source", @target, "target",
151
+ :bidirectional,
152
+ :transform_to => transform_to_callback,
153
+ :transform_from => transform_from_callback)
154
+ end
155
+
156
+ test "#source" do
157
+ assert_equal(@source, @binding.source)
158
+ end
159
+
160
+ test "#source_property" do
161
+ assert_equal("source", @binding.source_property)
162
+ end
163
+
164
+ test "#target" do
165
+ assert_equal(@target, @binding.target)
166
+ end
167
+
168
+ test "#target_property" do
169
+ assert_equal("target", @binding.target_property)
170
+ end
171
+
172
+ test "#flags" do
173
+ assert_equal(GLib::BindingFlags::BIDIRECTIONAL, @binding.flags)
174
+ end
175
+
176
+ test "#unbind" do
177
+ only_glib_version(2, 38, 0)
178
+ assert_equal("nan", @target.target)
179
+ @source.source = 10
180
+ assert_equal("10", @target.target)
181
+ @target.target = "30"
182
+ assert_equal(30, @source.source)
183
+ @binding.unbind
184
+ @source.source = 20
185
+ assert_equal("30", @target.target)
186
+ end
96
187
  end
97
188
  end