gtk2 1.0.0-x86-mingw32 → 1.0.1-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (553) hide show
  1. data/ChangeLog +52 -0
  2. data/ext/gtk2/extconf.rb +18 -9
  3. data/ext/gtk2/rbgdk.h +3 -0
  4. data/ext/gtk2/rbgdkdragcontext.c +4 -4
  5. data/ext/gtk2/rbgdkevent.c +18 -5
  6. data/ext/gtk2/rbgdkpixmap.c +43 -48
  7. data/ext/gtk2/rbgdkproperty.c +6 -5
  8. data/ext/gtk2/rbgdkscreen.c +18 -74
  9. data/ext/gtk2/rbgdkselection.c +2 -2
  10. data/ext/gtk2/rbgdkwindow.c +11 -18
  11. data/ext/gtk2/rbgdkwindowattr.c +1 -1
  12. data/ext/gtk2/rbgtkaccelgroup.c +1 -1
  13. data/ext/gtk2/rbgtkaction.c +8 -26
  14. data/ext/gtk2/rbgtkactiongroup.c +6 -6
  15. data/ext/gtk2/rbgtkadjustment.c +20 -74
  16. data/ext/gtk2/rbgtkbindingset.c +1 -1
  17. data/ext/gtk2/rbgtkbuilder.c +2 -1
  18. data/ext/gtk2/rbgtkbutton.c +1 -9
  19. data/ext/gtk2/rbgtkcalendar.c +1 -1
  20. data/ext/gtk2/rbgtkcellrendererspinner.c +0 -3
  21. data/ext/gtk2/rbgtkcellrenderertext.c +1 -2
  22. data/ext/gtk2/rbgtkcellview.c +6 -11
  23. data/ext/gtk2/rbgtkcolorselectiondialog.c +2 -28
  24. data/ext/gtk2/rbgtkcombo.c +2 -2
  25. data/ext/gtk2/rbgtkcombobox.c +9 -29
  26. data/ext/gtk2/rbgtkcontainer.c +1 -1
  27. data/ext/gtk2/rbgtkcurve.c +4 -2
  28. data/ext/gtk2/rbgtkdialog.c +2 -3
  29. data/ext/gtk2/rbgtkdrag.c +3 -3
  30. data/ext/gtk2/rbgtkentry.c +2 -2
  31. data/ext/gtk2/rbgtkentrycompletion.c +1 -4
  32. data/ext/gtk2/rbgtkfilechooser.c +32 -29
  33. data/ext/gtk2/rbgtkfilechooserdialog.c +8 -6
  34. data/ext/gtk2/rbgtkfilefilter.c +8 -4
  35. data/ext/gtk2/rbgtkframe.c +3 -4
  36. data/ext/gtk2/rbgtkhandlebox.c +0 -7
  37. data/ext/gtk2/rbgtkicontheme.c +4 -13
  38. data/ext/gtk2/rbgtkiconview.c +4 -15
  39. data/ext/gtk2/rbgtkimcontext.c +1 -1
  40. data/ext/gtk2/rbgtkinvisible.c +5 -21
  41. data/ext/gtk2/rbgtkitemfactory.c +3 -3
  42. data/ext/gtk2/rbgtklabel.c +0 -2
  43. data/ext/gtk2/rbgtklinkbutton.c +0 -2
  44. data/ext/gtk2/rbgtkmain.c +7 -10
  45. data/ext/gtk2/rbgtkmenu.c +22 -74
  46. data/ext/gtk2/rbgtkmenuitem.c +16 -55
  47. data/ext/gtk2/rbgtkmenushell.c +3 -11
  48. data/ext/gtk2/rbgtkmessagedialog.c +11 -20
  49. data/ext/gtk2/rbgtknotebook.c +0 -1
  50. data/ext/gtk2/rbgtkoptionmenu.c +1 -2
  51. data/ext/gtk2/rbgtkprintjob.c +1 -2
  52. data/ext/gtk2/rbgtkprintoperation.c +0 -2
  53. data/ext/gtk2/rbgtkradioaction.c +2 -7
  54. data/ext/gtk2/rbgtkradiobutton.c +1 -1
  55. data/ext/gtk2/rbgtkradiomenuitem.c +4 -6
  56. data/ext/gtk2/rbgtkradiotoolbutton.c +2 -4
  57. data/ext/gtk2/rbgtkrange.c +1 -2
  58. data/ext/gtk2/rbgtkrc.c +8 -9
  59. data/ext/gtk2/rbgtkrcstyle.c +2 -2
  60. data/ext/gtk2/rbgtkrecentaction.c +0 -1
  61. data/ext/gtk2/rbgtkrecentchooser.c +3 -3
  62. data/ext/gtk2/rbgtkrecentdata.c +2 -9
  63. data/ext/gtk2/rbgtkrecentfilter.c +2 -1
  64. data/ext/gtk2/rbgtkrecentfilterinfo.c +5 -16
  65. data/ext/gtk2/rbgtkrecentinfo.c +2 -2
  66. data/ext/gtk2/rbgtkrecentmanager.c +1 -2
  67. data/ext/gtk2/rbgtkruler.c +6 -16
  68. data/ext/gtk2/rbgtkscalebutton.c +16 -48
  69. data/ext/gtk2/rbgtkscrolledwindow.c +1 -1
  70. data/ext/gtk2/rbgtkselectiondata.c +10 -34
  71. data/ext/gtk2/rbgtksettings.c +1 -1
  72. data/ext/gtk2/rbgtkspinner.c +0 -3
  73. data/ext/gtk2/rbgtkstatusbar.c +5 -16
  74. data/ext/gtk2/rbgtkstatusicon.c +2 -9
  75. data/ext/gtk2/rbgtkstock.c +4 -4
  76. data/ext/gtk2/rbgtktable.c +8 -13
  77. data/ext/gtk2/rbgtktextattributes.c +0 -2
  78. data/ext/gtk2/rbgtktextbuffer.c +17 -16
  79. data/ext/gtk2/rbgtktextmark.c +7 -14
  80. data/ext/gtk2/rbgtktexttag.c +1 -2
  81. data/ext/gtk2/rbgtktextview.c +3 -4
  82. data/ext/gtk2/rbgtktoggleaction.c +5 -16
  83. data/ext/gtk2/rbgtktogglebutton.c +1 -2
  84. data/ext/gtk2/rbgtktoggletoolbutton.c +5 -16
  85. data/ext/gtk2/rbgtktoolbar.c +8 -31
  86. data/ext/gtk2/rbgtktoolitem.c +3 -1
  87. data/ext/gtk2/rbgtktreerowreference.c +4 -4
  88. data/ext/gtk2/rbgtktreesortable.c +0 -3
  89. data/ext/gtk2/rbgtktreestore.c +10 -7
  90. data/ext/gtk2/rbgtktreeview.c +5 -8
  91. data/ext/gtk2/rbgtktreeviewcolumn.c +13 -34
  92. data/ext/gtk2/rbgtkuimanager.c +2 -3
  93. data/ext/gtk2/rbgtkwidget.c +24 -44
  94. data/ext/gtk2/rbgtkwindow.c +32 -92
  95. data/lib/1.8/gtk2.so +0 -0
  96. data/lib/1.9/gtk2.so +0 -0
  97. data/lib/gtk2/base.rb +1 -1
  98. data/vendor/local/bin/gtk-builder-convert +2 -29
  99. data/vendor/local/bin/gtk-demo.exe +0 -0
  100. data/vendor/local/bin/gtk-query-immodules-2.0.exe +0 -0
  101. data/vendor/local/bin/gtk-update-icon-cache.exe +0 -0
  102. data/vendor/local/bin/libgailutil-18.dll +0 -0
  103. data/vendor/local/bin/libgdk-win32-2.0-0.dll +0 -0
  104. data/vendor/local/bin/libgtk-win32-2.0-0.dll +0 -0
  105. data/vendor/local/etc/gtk-2.0/gtk.immodules +1 -1
  106. data/vendor/local/include/gtk-2.0/gdk/gdk.h +5 -2
  107. data/vendor/local/include/gtk-2.0/gdk/gdkcairo.h +0 -4
  108. data/vendor/local/include/gtk-2.0/gdk/gdkdisplay.h +0 -2
  109. data/vendor/local/include/gtk-2.0/gdk/gdkdnd.h +0 -7
  110. data/vendor/local/include/gtk-2.0/gdk/gdkdrawable.h +4 -7
  111. data/vendor/local/include/gtk-2.0/gdk/gdkfont.h +1 -1
  112. data/vendor/local/include/gtk-2.0/gdk/gdkinput.h +0 -1
  113. data/vendor/local/include/gtk-2.0/gdk/gdkpixmap.h +0 -4
  114. data/vendor/local/include/gtk-2.0/gdk/gdkproperty.h +9 -13
  115. data/vendor/local/include/gtk-2.0/gdk/gdkspawn.h +0 -2
  116. data/vendor/local/include/gtk-2.0/gdk/gdkwin32.h +0 -5
  117. data/vendor/local/include/gtk-2.0/gdk/gdkwindow.h +6 -16
  118. data/vendor/local/include/gtk-2.0/gtk/gtk.h +0 -1
  119. data/vendor/local/include/gtk-2.0/gtk/gtkaboutdialog.h +1 -5
  120. data/vendor/local/include/gtk-2.0/gtk/gtkcombobox.h +3 -14
  121. data/vendor/local/include/gtk-2.0/gtk/gtkcomboboxentry.h +0 -3
  122. data/vendor/local/include/gtk-2.0/gtk/gtkhruler.h +0 -4
  123. data/vendor/local/include/gtk-2.0/gtk/gtklinkbutton.h +0 -2
  124. data/vendor/local/include/gtk-2.0/gtk/gtkmain.h +2 -2
  125. data/vendor/local/include/gtk-2.0/gtk/gtknotebook.h +3 -5
  126. data/vendor/local/include/gtk-2.0/gtk/gtkrange.h +0 -6
  127. data/vendor/local/include/gtk-2.0/gtk/gtkruler.h +0 -4
  128. data/vendor/local/include/gtk-2.0/gtk/gtktypeutils.h +0 -2
  129. data/vendor/local/include/gtk-2.0/gtk/gtkversion.h +4 -4
  130. data/vendor/local/include/gtk-2.0/gtk/gtkvruler.h +0 -4
  131. data/vendor/local/include/gtk-2.0/gtk/gtkwidget.h +1 -5
  132. data/vendor/local/include/gtk-2.0/gtk/gtkwindow.h +1 -2
  133. data/vendor/local/lib/gailutil.lib +0 -0
  134. data/vendor/local/lib/gdk-win32-2.0.lib +0 -0
  135. data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.dll +0 -0
  136. data/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.dll +0 -0
  137. data/vendor/local/lib/gtk-2.0/modules/libgail.dll +0 -0
  138. data/vendor/local/lib/gtk-win32-2.0.lib +0 -0
  139. data/vendor/local/lib/libgailutil.dll.a +0 -0
  140. data/vendor/local/lib/libgdk-win32-2.0.dll.a +0 -0
  141. data/vendor/local/lib/libgtk-win32-2.0.dll.a +0 -0
  142. data/vendor/local/lib/pkgconfig/gail.pc +1 -1
  143. data/vendor/local/lib/pkgconfig/gdk-2.0.pc +1 -1
  144. data/vendor/local/lib/pkgconfig/gdk-win32-2.0.pc +1 -1
  145. data/vendor/local/lib/pkgconfig/gtk+-2.0.pc +1 -1
  146. data/vendor/local/lib/pkgconfig/gtk+-win32-2.0.pc +1 -1
  147. data/vendor/local/manifest/{gtk+-dev_2.24.0-1_win32.mft → gtk+-dev_2.22.1-1_win32.mft} +6 -9
  148. data/vendor/local/manifest/{gtk+_2.24.0-1_win32.mft → gtk+_2.22.1-1_win32.mft} +6 -2
  149. data/vendor/local/share/doc/{gtk+-2.24.0 → gtk+-2.22.1}/COPYING +0 -0
  150. data/vendor/local/share/doc/{gtk+-dev-2.24.0 → gtk+-dev-2.22.1}/COPYING +0 -0
  151. data/vendor/local/share/gtk-2.0/demo/appwindow.c +21 -0
  152. data/vendor/local/share/gtk-2.0/demo/combobox.c +6 -6
  153. data/vendor/local/share/gtk-2.0/demo/offscreen_window.c +1 -1
  154. data/vendor/local/share/gtk-2.0/demo/offscreen_window2.c +1 -1
  155. data/vendor/local/share/gtk-2.0/demo/sizegroup.c +2 -2
  156. data/vendor/local/share/gtk-2.0/demo/textview.c +4 -4
  157. data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util-GailMisc.html +94 -60
  158. data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util-GailTextUtil.html +58 -44
  159. data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util.devhelp +1 -1
  160. data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util.devhelp2 +1 -1
  161. data/vendor/local/share/gtk-doc/html/gail-libgail-util/index.html +3 -3
  162. data/vendor/local/share/gtk-doc/html/gail-libgail-util/libgail-util-main.html +3 -3
  163. data/vendor/local/share/gtk-doc/html/gail-libgail-util/style.css +1 -2
  164. data/vendor/local/share/gtk-doc/html/gdk/GdkDisplay.html +208 -151
  165. data/vendor/local/share/gtk-doc/html/gdk/GdkDisplayManager.html +37 -33
  166. data/vendor/local/share/gtk-doc/html/gdk/GdkScreen.html +239 -180
  167. data/vendor/local/share/gtk-doc/html/gdk/annotation-glossary.html +3 -3
  168. data/vendor/local/share/gtk-doc/html/gdk/api-index-2-10.html +3 -3
  169. data/vendor/local/share/gtk-doc/html/gdk/api-index-2-12.html +3 -3
  170. data/vendor/local/share/gtk-doc/html/gdk/api-index-2-14.html +3 -3
  171. data/vendor/local/share/gtk-doc/html/gdk/api-index-2-16.html +3 -3
  172. data/vendor/local/share/gtk-doc/html/gdk/api-index-2-18.html +3 -3
  173. data/vendor/local/share/gtk-doc/html/gdk/api-index-2-2.html +4 -4
  174. data/vendor/local/share/gtk-doc/html/gdk/api-index-2-20.html +3 -3
  175. data/vendor/local/share/gtk-doc/html/gdk/api-index-2-22.html +3 -3
  176. data/vendor/local/share/gtk-doc/html/gdk/api-index-2-4.html +3 -3
  177. data/vendor/local/share/gtk-doc/html/gdk/api-index-2-6.html +6 -6
  178. data/vendor/local/share/gtk-doc/html/gdk/api-index-2-8.html +4 -4
  179. data/vendor/local/share/gtk-doc/html/gdk/api-index-deprecated.html +5 -135
  180. data/vendor/local/share/gtk-doc/html/gdk/api-index-full.html +47 -83
  181. data/vendor/local/share/gtk-doc/html/gdk/gdk-Application-launching.html +23 -20
  182. data/vendor/local/share/gtk-doc/html/gdk/gdk-Bitmaps-and-Pixmaps.html +126 -126
  183. data/vendor/local/share/gtk-doc/html/gdk/gdk-Cairo-Interaction.html +39 -81
  184. data/vendor/local/share/gtk-doc/html/gdk/gdk-Colormaps-and-Colors.html +199 -135
  185. data/vendor/local/share/gtk-doc/html/gdk/gdk-Cursors.html +90 -71
  186. data/vendor/local/share/gtk-doc/html/gdk/gdk-Drag-and-Drop.html +200 -161
  187. data/vendor/local/share/gtk-doc/html/gdk/gdk-Drawing-Primitives.html +409 -293
  188. data/vendor/local/share/gtk-doc/html/gdk/gdk-Event-Structures.html +435 -320
  189. data/vendor/local/share/gtk-doc/html/gdk/gdk-Events.html +141 -109
  190. data/vendor/local/share/gtk-doc/html/gdk/gdk-Fonts.html +234 -155
  191. data/vendor/local/share/gtk-doc/html/gdk/gdk-GdkRGB.html +217 -143
  192. data/vendor/local/share/gtk-doc/html/gdk/gdk-General.html +124 -103
  193. data/vendor/local/share/gtk-doc/html/gdk/gdk-Graphics-Contexts.html +250 -168
  194. data/vendor/local/share/gtk-doc/html/gdk/gdk-Images.html +131 -90
  195. data/vendor/local/share/gtk-doc/html/gdk/gdk-Input-Devices.html +191 -143
  196. data/vendor/local/share/gtk-doc/html/gdk/gdk-Input.html +53 -35
  197. data/vendor/local/share/gtk-doc/html/gdk/gdk-Keyboard-Handling.html +195 -162
  198. data/vendor/local/share/gtk-doc/html/gdk/gdk-Pango-Interaction.html +112 -85
  199. data/vendor/local/share/gtk-doc/html/gdk/gdk-Pixbufs.html +137 -79
  200. data/vendor/local/share/gtk-doc/html/gdk/gdk-Points-Rectangles-and-Regions.html +176 -144
  201. data/vendor/local/share/gtk-doc/html/gdk/gdk-Properties-and-Atoms.html +235 -188
  202. data/vendor/local/share/gtk-doc/html/gdk/gdk-Selections.html +134 -97
  203. data/vendor/local/share/gtk-doc/html/gdk/gdk-Testing.html +35 -22
  204. data/vendor/local/share/gtk-doc/html/gdk/gdk-Threads.html +70 -44
  205. data/vendor/local/share/gtk-doc/html/gdk/gdk-Visuals.html +108 -83
  206. data/vendor/local/share/gtk-doc/html/gdk/gdk-Windows.html +744 -653
  207. data/vendor/local/share/gtk-doc/html/gdk/gdk-X-Window-System-Interaction.html +490 -476
  208. data/vendor/local/share/gtk-doc/html/gdk/gdk.devhelp +44 -53
  209. data/vendor/local/share/gtk-doc/html/gdk/gdk.devhelp2 +76 -85
  210. data/vendor/local/share/gtk-doc/html/gdk/index.html +4 -4
  211. data/vendor/local/share/gtk-doc/html/gdk/index.sgml +1 -10
  212. data/vendor/local/share/gtk-doc/html/gdk/multihead.html +9 -9
  213. data/vendor/local/share/gtk-doc/html/gdk/reference.html +3 -3
  214. data/vendor/local/share/gtk-doc/html/gdk/style.css +1 -2
  215. data/vendor/local/share/gtk-doc/html/gtk/AbstractObjects.html +3 -3
  216. data/vendor/local/share/gtk-doc/html/gtk/Actions.html +3 -3
  217. data/vendor/local/share/gtk-doc/html/gtk/Builder.html +3 -3
  218. data/vendor/local/share/gtk-doc/html/gtk/ButtonWidgets.html +3 -3
  219. data/vendor/local/share/gtk-doc/html/gtk/DeprecatedObjects.html +3 -3
  220. data/vendor/local/share/gtk-doc/html/gtk/DisplayWidgets.html +3 -3
  221. data/vendor/local/share/gtk-doc/html/gtk/GtkAboutDialog.html +186 -193
  222. data/vendor/local/share/gtk-doc/html/gtk/GtkAccelLabel.html +46 -38
  223. data/vendor/local/share/gtk-doc/html/gtk/GtkAccessible.html +18 -18
  224. data/vendor/local/share/gtk-doc/html/gtk/GtkAction.html +236 -169
  225. data/vendor/local/share/gtk-doc/html/gtk/GtkActionGroup.html +258 -175
  226. data/vendor/local/share/gtk-doc/html/gtk/GtkActivatable.html +50 -46
  227. data/vendor/local/share/gtk-doc/html/gtk/GtkAdjustment.html +114 -78
  228. data/vendor/local/share/gtk-doc/html/gtk/GtkAlignment.html +66 -52
  229. data/vendor/local/share/gtk-doc/html/gtk/GtkArrow.html +36 -30
  230. data/vendor/local/share/gtk-doc/html/gtk/GtkAspectFrame.html +46 -36
  231. data/vendor/local/share/gtk-doc/html/gtk/GtkAssistant.html +118 -97
  232. data/vendor/local/share/gtk-doc/html/gtk/GtkBin.html +14 -14
  233. data/vendor/local/share/gtk-doc/html/gtk/GtkBox.html +120 -95
  234. data/vendor/local/share/gtk-doc/html/gtk/GtkBuildable.html +117 -86
  235. data/vendor/local/share/gtk-doc/html/gtk/GtkBuilder.html +137 -96
  236. data/vendor/local/share/gtk-doc/html/gtk/GtkButton.html +185 -152
  237. data/vendor/local/share/gtk-doc/html/gtk/GtkButtonBox.html +76 -59
  238. data/vendor/local/share/gtk-doc/html/gtk/GtkCList.html +895 -615
  239. data/vendor/local/share/gtk-doc/html/gtk/GtkCTree.html +1780 -509
  240. data/vendor/local/share/gtk-doc/html/gtk/GtkCalendar.html +163 -125
  241. data/vendor/local/share/gtk-doc/html/gtk/GtkCellEditable.html +35 -33
  242. data/vendor/local/share/gtk-doc/html/gtk/GtkCellLayout.html +87 -60
  243. data/vendor/local/share/gtk-doc/html/gtk/GtkCellRenderer.html +130 -106
  244. data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererAccel.html +44 -35
  245. data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererCombo.html +32 -27
  246. data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererPixbuf.html +25 -24
  247. data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererProgress.html +25 -23
  248. data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererSpin.html +20 -19
  249. data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererSpinner.html +20 -19
  250. data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererText.html +74 -69
  251. data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererToggle.html +54 -45
  252. data/vendor/local/share/gtk-doc/html/gtk/GtkCellView.html +76 -57
  253. data/vendor/local/share/gtk-doc/html/gtk/GtkCheckButton.html +34 -30
  254. data/vendor/local/share/gtk-doc/html/gtk/GtkColorButton.html +75 -53
  255. data/vendor/local/share/gtk-doc/html/gtk/GtkColorSelection.html +180 -104
  256. data/vendor/local/share/gtk-doc/html/gtk/GtkColorSelectionDialog.html +32 -29
  257. data/vendor/local/share/gtk-doc/html/gtk/GtkCombo.html +81 -63
  258. data/vendor/local/share/gtk-doc/html/gtk/GtkComboBox.html +186 -344
  259. data/vendor/local/share/gtk-doc/html/gtk/GtkComboBoxEntry.html +46 -57
  260. data/vendor/local/share/gtk-doc/html/gtk/GtkContainer.html +260 -311
  261. data/vendor/local/share/gtk-doc/html/gtk/GtkCurve.html +79 -61
  262. data/vendor/local/share/gtk-doc/html/gtk/GtkDialog.html +121 -97
  263. data/vendor/local/share/gtk-doc/html/gtk/GtkDrawingArea.html +23 -21
  264. data/vendor/local/share/gtk-doc/html/gtk/GtkEditable.html +88 -68
  265. data/vendor/local/share/gtk-doc/html/gtk/GtkEntry.html +470 -360
  266. data/vendor/local/share/gtk-doc/html/gtk/GtkEntryBuffer.html +104 -71
  267. data/vendor/local/share/gtk-doc/html/gtk/GtkEntryCompletion.html +185 -130
  268. data/vendor/local/share/gtk-doc/html/gtk/GtkEventBox.html +38 -33
  269. data/vendor/local/share/gtk-doc/html/gtk/GtkExpander.html +96 -76
  270. data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooser.html +403 -331
  271. data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooserButton.html +89 -64
  272. data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooserDialog.html +35 -30
  273. data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooserWidget.html +26 -21
  274. data/vendor/local/share/gtk-doc/html/gtk/GtkFileSelection.html +146 -102
  275. data/vendor/local/share/gtk-doc/html/gtk/GtkFixed.html +49 -38
  276. data/vendor/local/share/gtk-doc/html/gtk/GtkFontButton.html +86 -60
  277. data/vendor/local/share/gtk-doc/html/gtk/GtkFontSelection.html +81 -66
  278. data/vendor/local/share/gtk-doc/html/gtk/GtkFontSelectionDialog.html +61 -52
  279. data/vendor/local/share/gtk-doc/html/gtk/GtkFrame.html +58 -51
  280. data/vendor/local/share/gtk-doc/html/gtk/GtkGammaCurve.html +19 -18
  281. data/vendor/local/share/gtk-doc/html/gtk/GtkHBox.html +20 -17
  282. data/vendor/local/share/gtk-doc/html/gtk/GtkHButtonBox.html +34 -29
  283. data/vendor/local/share/gtk-doc/html/gtk/GtkHPaned.html +13 -13
  284. data/vendor/local/share/gtk-doc/html/gtk/GtkHRuler.html +24 -30
  285. data/vendor/local/share/gtk-doc/html/gtk/GtkHSV.html +101 -65
  286. data/vendor/local/share/gtk-doc/html/gtk/GtkHScale.html +30 -25
  287. data/vendor/local/share/gtk-doc/html/gtk/GtkHScrollbar.html +18 -18
  288. data/vendor/local/share/gtk-doc/html/gtk/GtkHSeparator.html +20 -19
  289. data/vendor/local/share/gtk-doc/html/gtk/GtkHandleBox.html +66 -55
  290. data/vendor/local/share/gtk-doc/html/gtk/GtkIMContext.html +182 -140
  291. data/vendor/local/share/gtk-doc/html/gtk/GtkIMContextSimple.html +22 -18
  292. data/vendor/local/share/gtk-doc/html/gtk/GtkIMMulticontext.html +22 -18
  293. data/vendor/local/share/gtk-doc/html/gtk/GtkIconTheme.html +248 -184
  294. data/vendor/local/share/gtk-doc/html/gtk/GtkIconView.html +447 -321
  295. data/vendor/local/share/gtk-doc/html/gtk/GtkImage.html +195 -174
  296. data/vendor/local/share/gtk-doc/html/gtk/GtkImageMenuItem.html +69 -58
  297. data/vendor/local/share/gtk-doc/html/gtk/GtkInfoBar.html +80 -67
  298. data/vendor/local/share/gtk-doc/html/gtk/GtkInputDialog.html +37 -32
  299. data/vendor/local/share/gtk-doc/html/gtk/GtkInvisible.html +41 -33
  300. data/vendor/local/share/gtk-doc/html/gtk/GtkItem.html +42 -36
  301. data/vendor/local/share/gtk-doc/html/gtk/GtkItemFactory.html +272 -179
  302. data/vendor/local/share/gtk-doc/html/gtk/GtkLabel.html +249 -197
  303. data/vendor/local/share/gtk-doc/html/gtk/GtkLayout.html +76 -68
  304. data/vendor/local/share/gtk-doc/html/gtk/GtkLinkButton.html +60 -51
  305. data/vendor/local/share/gtk-doc/html/gtk/GtkList.html +180 -130
  306. data/vendor/local/share/gtk-doc/html/gtk/GtkListItem.html +130 -80
  307. data/vendor/local/share/gtk-doc/html/gtk/GtkListStore.html +168 -138
  308. data/vendor/local/share/gtk-doc/html/gtk/GtkMenu.html +221 -177
  309. data/vendor/local/share/gtk-doc/html/gtk/GtkMenuBar.html +49 -41
  310. data/vendor/local/share/gtk-doc/html/gtk/GtkMenuItem.html +145 -112
  311. data/vendor/local/share/gtk-doc/html/gtk/GtkMenuShell.html +118 -86
  312. data/vendor/local/share/gtk-doc/html/gtk/GtkMenuToolButton.html +49 -73
  313. data/vendor/local/share/gtk-doc/html/gtk/GtkMessageDialog.html +81 -81
  314. data/vendor/local/share/gtk-doc/html/gtk/GtkMisc.html +39 -33
  315. data/vendor/local/share/gtk-doc/html/gtk/GtkNotebook.html +452 -396
  316. data/vendor/local/share/gtk-doc/html/gtk/GtkObject.html +206 -148
  317. data/vendor/local/share/gtk-doc/html/gtk/GtkOffscreenWindow.html +25 -21
  318. data/vendor/local/share/gtk-doc/html/gtk/GtkOldEditable.html +165 -80
  319. data/vendor/local/share/gtk-doc/html/gtk/GtkOptionMenu.html +66 -56
  320. data/vendor/local/share/gtk-doc/html/gtk/GtkPageSetup.html +160 -115
  321. data/vendor/local/share/gtk-doc/html/gtk/GtkPageSetupUnixDialog.html +25 -22
  322. data/vendor/local/share/gtk-doc/html/gtk/GtkPaned.html +134 -94
  323. data/vendor/local/share/gtk-doc/html/gtk/GtkPixmap.html +44 -34
  324. data/vendor/local/share/gtk-doc/html/gtk/GtkPlug.html +67 -51
  325. data/vendor/local/share/gtk-doc/html/gtk/GtkPreview.html +136 -109
  326. data/vendor/local/share/gtk-doc/html/gtk/GtkPrintContext.html +53 -38
  327. data/vendor/local/share/gtk-doc/html/gtk/GtkPrintJob.html +68 -53
  328. data/vendor/local/share/gtk-doc/html/gtk/GtkPrintSettings.html +403 -265
  329. data/vendor/local/share/gtk-doc/html/gtk/GtkPrintUnixDialog.html +94 -74
  330. data/vendor/local/share/gtk-doc/html/gtk/GtkPrinter.html +134 -100
  331. data/vendor/local/share/gtk-doc/html/gtk/GtkProgress.html +111 -80
  332. data/vendor/local/share/gtk-doc/html/gtk/GtkProgressBar.html +108 -91
  333. data/vendor/local/share/gtk-doc/html/gtk/GtkRadioAction.html +53 -42
  334. data/vendor/local/share/gtk-doc/html/gtk/GtkRadioButton.html +79 -86
  335. data/vendor/local/share/gtk-doc/html/gtk/GtkRadioMenuItem.html +71 -63
  336. data/vendor/local/share/gtk-doc/html/gtk/GtkRadioToolButton.html +42 -33
  337. data/vendor/local/share/gtk-doc/html/gtk/GtkRange.html +185 -218
  338. data/vendor/local/share/gtk-doc/html/gtk/GtkRecentAction.html +41 -34
  339. data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooser.html +194 -135
  340. data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooserDialog.html +29 -27
  341. data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooserMenu.html +30 -25
  342. data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooserWidget.html +19 -17
  343. data/vendor/local/share/gtk-doc/html/gtk/GtkRecentFilter.html +85 -63
  344. data/vendor/local/share/gtk-doc/html/gtk/GtkRecentManager.html +269 -202
  345. data/vendor/local/share/gtk-doc/html/gtk/GtkRuler.html +58 -83
  346. data/vendor/local/share/gtk-doc/html/gtk/GtkScale.html +72 -61
  347. data/vendor/local/share/gtk-doc/html/gtk/GtkScaleButton.html +83 -64
  348. data/vendor/local/share/gtk-doc/html/gtk/GtkScrollbar.html +21 -21
  349. data/vendor/local/share/gtk-doc/html/gtk/GtkScrolledWindow.html +143 -93
  350. data/vendor/local/share/gtk-doc/html/gtk/GtkSeparator.html +13 -13
  351. data/vendor/local/share/gtk-doc/html/gtk/GtkSeparatorMenuItem.html +18 -17
  352. data/vendor/local/share/gtk-doc/html/gtk/GtkSeparatorToolItem.html +27 -24
  353. data/vendor/local/share/gtk-doc/html/gtk/GtkSettings.html +259 -129
  354. data/vendor/local/share/gtk-doc/html/gtk/GtkSizeGroup.html +45 -38
  355. data/vendor/local/share/gtk-doc/html/gtk/GtkSocket.html +53 -44
  356. data/vendor/local/share/gtk-doc/html/gtk/GtkSpinButton.html +177 -132
  357. data/vendor/local/share/gtk-doc/html/gtk/GtkSpinner.html +25 -24
  358. data/vendor/local/share/gtk-doc/html/gtk/GtkStatusIcon.html +254 -190
  359. data/vendor/local/share/gtk-doc/html/gtk/GtkStatusbar.html +75 -60
  360. data/vendor/local/share/gtk-doc/html/gtk/GtkStyle.html +928 -546
  361. data/vendor/local/share/gtk-doc/html/gtk/GtkTable.html +135 -94
  362. data/vendor/local/share/gtk-doc/html/gtk/GtkTearoffMenuItem.html +19 -18
  363. data/vendor/local/share/gtk-doc/html/gtk/GtkText.html +140 -97
  364. data/vendor/local/share/gtk-doc/html/gtk/GtkTextBuffer.html +656 -494
  365. data/vendor/local/share/gtk-doc/html/gtk/GtkTextMark.html +46 -41
  366. data/vendor/local/share/gtk-doc/html/gtk/GtkTextTag.html +194 -164
  367. data/vendor/local/share/gtk-doc/html/gtk/GtkTextTagTable.html +76 -84
  368. data/vendor/local/share/gtk-doc/html/gtk/GtkTextView.html +425 -340
  369. data/vendor/local/share/gtk-doc/html/gtk/GtkTipsQuery.html +94 -74
  370. data/vendor/local/share/gtk-doc/html/gtk/GtkToggleAction.html +57 -43
  371. data/vendor/local/share/gtk-doc/html/gtk/GtkToggleButton.html +71 -59
  372. data/vendor/local/share/gtk-doc/html/gtk/GtkToggleToolButton.html +38 -32
  373. data/vendor/local/share/gtk-doc/html/gtk/GtkToolButton.html +85 -74
  374. data/vendor/local/share/gtk-doc/html/gtk/GtkToolItem.html +166 -133
  375. data/vendor/local/share/gtk-doc/html/gtk/GtkToolItemGroup.html +103 -84
  376. data/vendor/local/share/gtk-doc/html/gtk/GtkToolPalette.html +139 -116
  377. data/vendor/local/share/gtk-doc/html/gtk/GtkToolShell.html +59 -42
  378. data/vendor/local/share/gtk-doc/html/gtk/GtkToolbar.html +360 -249
  379. data/vendor/local/share/gtk-doc/html/gtk/GtkTooltip.html +27 -27
  380. data/vendor/local/share/gtk-doc/html/gtk/GtkTooltips.html +70 -60
  381. data/vendor/local/share/gtk-doc/html/gtk/GtkTree.html +152 -105
  382. data/vendor/local/share/gtk-doc/html/gtk/GtkTreeItem.html +134 -46
  383. data/vendor/local/share/gtk-doc/html/gtk/GtkTreeModel.html +557 -428
  384. data/vendor/local/share/gtk-doc/html/gtk/GtkTreeModelFilter.html +126 -95
  385. data/vendor/local/share/gtk-doc/html/gtk/GtkTreeModelSort.html +70 -63
  386. data/vendor/local/share/gtk-doc/html/gtk/GtkTreeSelection.html +171 -123
  387. data/vendor/local/share/gtk-doc/html/gtk/GtkTreeSortable.html +62 -53
  388. data/vendor/local/share/gtk-doc/html/gtk/GtkTreeStore.html +199 -170
  389. data/vendor/local/share/gtk-doc/html/gtk/GtkTreeView.html +863 -565
  390. data/vendor/local/share/gtk-doc/html/gtk/GtkTreeViewColumn.html +282 -203
  391. data/vendor/local/share/gtk-doc/html/gtk/GtkUIManager.html +189 -125
  392. data/vendor/local/share/gtk-doc/html/gtk/GtkVBox.html +20 -17
  393. data/vendor/local/share/gtk-doc/html/gtk/GtkVButtonBox.html +34 -27
  394. data/vendor/local/share/gtk-doc/html/gtk/GtkVPaned.html +14 -14
  395. data/vendor/local/share/gtk-doc/html/gtk/GtkVRuler.html +24 -31
  396. data/vendor/local/share/gtk-doc/html/gtk/GtkVScale.html +29 -24
  397. data/vendor/local/share/gtk-doc/html/gtk/GtkVScrollbar.html +18 -18
  398. data/vendor/local/share/gtk-doc/html/gtk/GtkVSeparator.html +18 -17
  399. data/vendor/local/share/gtk-doc/html/gtk/GtkViewport.html +69 -58
  400. data/vendor/local/share/gtk-doc/html/gtk/GtkVolumeButton.html +17 -16
  401. data/vendor/local/share/gtk-doc/html/gtk/GtkWidget.html +1579 -1278
  402. data/vendor/local/share/gtk-doc/html/gtk/GtkWindow.html +532 -380
  403. data/vendor/local/share/gtk-doc/html/gtk/GtkWindowGroup.html +39 -21
  404. data/vendor/local/share/gtk-doc/html/gtk/LayoutContainers.html +3 -3
  405. data/vendor/local/share/gtk-doc/html/gtk/MenusAndCombos.html +3 -6
  406. data/vendor/local/share/gtk-doc/html/gtk/MiscObjects.html +3 -3
  407. data/vendor/local/share/gtk-doc/html/gtk/NumericEntry.html +3 -3
  408. data/vendor/local/share/gtk-doc/html/gtk/Ornaments.html +3 -3
  409. data/vendor/local/share/gtk-doc/html/gtk/PlugSocket.html +3 -3
  410. data/vendor/local/share/gtk-doc/html/gtk/Printing.html +4 -4
  411. data/vendor/local/share/gtk-doc/html/gtk/RecentDocuments.html +3 -3
  412. data/vendor/local/share/gtk-doc/html/gtk/ScrollingWidgets.html +3 -3
  413. data/vendor/local/share/gtk-doc/html/gtk/SelectorWidgets.html +3 -3
  414. data/vendor/local/share/gtk-doc/html/gtk/SpecialObjects.html +3 -3
  415. data/vendor/local/share/gtk-doc/html/gtk/TextWidget.html +15 -15
  416. data/vendor/local/share/gtk-doc/html/gtk/TextWidgetObjects.html +4 -4
  417. data/vendor/local/share/gtk-doc/html/gtk/TreeWidget.html +16 -16
  418. data/vendor/local/share/gtk-doc/html/gtk/TreeWidgetObjects.html +3 -3
  419. data/vendor/local/share/gtk-doc/html/gtk/WindowWidgets.html +3 -3
  420. data/vendor/local/share/gtk-doc/html/gtk/annotation-glossary.html +11 -17
  421. data/vendor/local/share/gtk-doc/html/gtk/api-index-2-10.html +20 -20
  422. data/vendor/local/share/gtk-doc/html/gtk/api-index-2-12.html +6 -6
  423. data/vendor/local/share/gtk-doc/html/gtk/api-index-2-14.html +3 -3
  424. data/vendor/local/share/gtk-doc/html/gtk/api-index-2-16.html +4 -4
  425. data/vendor/local/share/gtk-doc/html/gtk/api-index-2-18.html +3 -3
  426. data/vendor/local/share/gtk-doc/html/gtk/api-index-2-2.html +5 -5
  427. data/vendor/local/share/gtk-doc/html/gtk/api-index-2-20.html +3 -3
  428. data/vendor/local/share/gtk-doc/html/gtk/api-index-2-22.html +5 -5
  429. data/vendor/local/share/gtk-doc/html/gtk/api-index-2-4.html +28 -28
  430. data/vendor/local/share/gtk-doc/html/gtk/api-index-2-6.html +3 -3
  431. data/vendor/local/share/gtk-doc/html/gtk/api-index-2-8.html +7 -7
  432. data/vendor/local/share/gtk-doc/html/gtk/api-index-deprecated.html +45 -236
  433. data/vendor/local/share/gtk-doc/html/gtk/api-index-full.html +385 -469
  434. data/vendor/local/share/gtk-doc/html/gtk/ch01.html +4 -15
  435. data/vendor/local/share/gtk-doc/html/gtk/ch02.html +4 -4
  436. data/vendor/local/share/gtk-doc/html/gtk/chap-drawing-model.html +12 -12
  437. data/vendor/local/share/gtk-doc/html/gtk/checklist-gdkeventexpose-region.html +4 -4
  438. data/vendor/local/share/gtk-doc/html/gtk/checklist-modifiers.html +4 -4
  439. data/vendor/local/share/gtk-doc/html/gtk/checklist-named-icons.html +4 -4
  440. data/vendor/local/share/gtk-doc/html/gtk/decorating-the-assistant-pages.html +3 -3
  441. data/vendor/local/share/gtk-doc/html/gtk/glossary.html +3 -3
  442. data/vendor/local/share/gtk-doc/html/gtk/gtk-Accelerator-Maps.html +124 -69
  443. data/vendor/local/share/gtk-doc/html/gtk/gtk-Bindings.html +211 -149
  444. data/vendor/local/share/gtk-doc/html/gtk/gtk-Clipboards.html +293 -189
  445. data/vendor/local/share/gtk-doc/html/gtk/gtk-Drag-and-Drop.html +246 -175
  446. data/vendor/local/share/gtk-doc/html/gtk/gtk-Feature-Test-Macros.html +41 -35
  447. data/vendor/local/share/gtk-doc/html/gtk/gtk-Filesystem-utilities.html +47 -41
  448. data/vendor/local/share/gtk-doc/html/gtk/gtk-General.html +318 -270
  449. data/vendor/local/share/gtk-doc/html/gtk/gtk-Graphics-Contexts.html +22 -16
  450. data/vendor/local/share/gtk-doc/html/gtk/{GtkPaperSize.html → gtk-GtkPaperSize.html} +252 -204
  451. data/vendor/local/share/gtk-doc/html/gtk/{GtkTextIter.html → gtk-GtkTextIter.html} +806 -664
  452. data/vendor/local/share/gtk-doc/html/gtk/gtk-GtkTreeView-drag-and-drop.html +82 -75
  453. data/vendor/local/share/gtk-doc/html/gtk/gtk-High-level-Printing-API.html +289 -221
  454. data/vendor/local/share/gtk-doc/html/gtk/gtk-Keyboard-Accelerators.html +232 -142
  455. data/vendor/local/share/gtk-doc/html/gtk/gtk-Orientable.html +20 -17
  456. data/vendor/local/share/gtk-doc/html/gtk/gtk-Resource-Files.html +190 -150
  457. data/vendor/local/share/gtk-doc/html/gtk/gtk-Selections.html +408 -328
  458. data/vendor/local/share/gtk-doc/html/gtk/gtk-Signals.html +306 -190
  459. data/vendor/local/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html +53 -53
  460. data/vendor/local/share/gtk-doc/html/gtk/gtk-Stock-Items.html +158 -152
  461. data/vendor/local/share/gtk-doc/html/gtk/gtk-Testing.html +136 -85
  462. data/vendor/local/share/gtk-doc/html/gtk/gtk-Themeable-Stock-Images.html +239 -204
  463. data/vendor/local/share/gtk-doc/html/gtk/gtk-Types.html +343 -271
  464. data/vendor/local/share/gtk-doc/html/gtk/gtk-builder-convert.html +11 -18
  465. data/vendor/local/share/gtk-doc/html/gtk/gtk-building.html +20 -20
  466. data/vendor/local/share/gtk-doc/html/gtk/gtk-changes-1-2.html +5 -5
  467. data/vendor/local/share/gtk-doc/html/gtk/gtk-changes-2-0.html +5 -5
  468. data/vendor/local/share/gtk-doc/html/gtk/gtk-compiling.html +5 -5
  469. data/vendor/local/share/gtk-doc/html/gtk/gtk-directfb.html +7 -7
  470. data/vendor/local/share/gtk-doc/html/gtk/gtk-gtkcheckmenuitem.html +75 -63
  471. data/vendor/local/share/gtk-doc/html/gtk/gtk-gtkfilefilter.html +75 -58
  472. data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-ClientSideWindows.html +3 -3
  473. data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkAboutDialog.html +3 -3
  474. data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkAction.html +4 -4
  475. data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkAssistant.html +4 -4
  476. data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkBuilder.html +10 -5
  477. data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkColorButton.html +3 -3
  478. data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkComboBox.html +4 -4
  479. data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkFileChooser.html +5 -5
  480. data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkIconView.html +3 -3
  481. data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkLinkButton.html +3 -3
  482. data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkRecentChooser.html +5 -5
  483. data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-checklist.html +7 -7
  484. data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-entry-icons.html +3 -3
  485. data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-label-links.html +3 -3
  486. data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-tooltips.html +3 -3
  487. data/vendor/local/share/gtk-doc/html/gtk/gtk-osx.html +6 -6
  488. data/vendor/local/share/gtk-doc/html/gtk/gtk-query-immodules-2.0.html +10 -10
  489. data/vendor/local/share/gtk-doc/html/gtk/gtk-question-index.html +90 -90
  490. data/vendor/local/share/gtk-doc/html/gtk/gtk-resources.html +9 -9
  491. data/vendor/local/share/gtk-doc/html/gtk/gtk-running.html +31 -39
  492. data/vendor/local/share/gtk-doc/html/gtk/gtk-update-icon-cache.html +10 -10
  493. data/vendor/local/share/gtk-doc/html/gtk/gtk-windows.html +14 -14
  494. data/vendor/local/share/gtk-doc/html/gtk/gtk-x11.html +12 -12
  495. data/vendor/local/share/gtk-doc/html/gtk/gtk.devhelp +412 -445
  496. data/vendor/local/share/gtk-doc/html/gtk/gtk.devhelp2 +455 -488
  497. data/vendor/local/share/gtk-doc/html/gtk/gtk.html +4 -4
  498. data/vendor/local/share/gtk-doc/html/gtk/gtkbase.html +3 -3
  499. data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-installing-extra-widgets.html +3 -3
  500. data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-installing-preview.html +3 -3
  501. data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-new-features.html +3 -3
  502. data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-selection-modes.html +5 -5
  503. data/vendor/local/share/gtk-doc/html/gtk/gtkobjects.html +5 -8
  504. data/vendor/local/share/gtk-doc/html/gtk/gtkrecent-advanced.html +3 -3
  505. data/vendor/local/share/gtk-doc/html/gtk/gtkrecent-chooser.html +3 -3
  506. data/vendor/local/share/gtk-doc/html/gtk/index.html +6 -10
  507. data/vendor/local/share/gtk-doc/html/gtk/index.sgml +142 -194
  508. data/vendor/local/share/gtk-doc/html/gtk/migrating-GtkCombo.html +3 -3
  509. data/vendor/local/share/gtk-doc/html/gtk/migrating-gnomeuiinfo.html +17 -17
  510. data/vendor/local/share/gtk-doc/html/gtk/migrating.html +4 -4
  511. data/vendor/local/share/gtk-doc/html/gtk/new-features-GtkComboBox.html +3 -3
  512. data/vendor/local/share/gtk-doc/html/gtk/pt05.html +4 -4
  513. data/vendor/local/share/gtk-doc/html/gtk/setting-the-page-flow.html +3 -3
  514. data/vendor/local/share/gtk-doc/html/gtk/style.css +1 -2
  515. data/vendor/local/share/gtk-doc/html/gtk/ui-manager.html +3 -3
  516. data/vendor/local/share/locale/bg/LC_MESSAGES/gtk20-properties.mo +0 -0
  517. data/vendor/local/share/locale/bg/LC_MESSAGES/gtk20.mo +0 -0
  518. data/vendor/local/share/locale/ca/LC_MESSAGES/gtk20-properties.mo +0 -0
  519. data/vendor/local/share/locale/ca/LC_MESSAGES/gtk20.mo +0 -0
  520. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtk20-properties.mo +0 -0
  521. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtk20.mo +0 -0
  522. data/vendor/local/share/locale/cs/LC_MESSAGES/gtk20.mo +0 -0
  523. data/vendor/local/share/locale/el/LC_MESSAGES/gtk20-properties.mo +0 -0
  524. data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtk20-properties.mo +0 -0
  525. data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtk20.mo +0 -0
  526. data/vendor/local/share/locale/et/LC_MESSAGES/gtk20-properties.mo +0 -0
  527. data/vendor/local/share/locale/gl/LC_MESSAGES/gtk20.mo +0 -0
  528. data/vendor/local/share/locale/hu/LC_MESSAGES/gtk20.mo +0 -0
  529. data/vendor/local/share/locale/it/LC_MESSAGES/gtk20-properties.mo +0 -0
  530. data/vendor/local/share/locale/it/LC_MESSAGES/gtk20.mo +0 -0
  531. data/vendor/local/share/locale/ja/LC_MESSAGES/gtk20-properties.mo +0 -0
  532. data/vendor/local/share/locale/kg/LC_MESSAGES/gtk20-properties.mo +0 -0
  533. data/vendor/local/share/locale/kg/LC_MESSAGES/gtk20.mo +0 -0
  534. data/vendor/local/share/locale/lg/LC_MESSAGES/gtk20-properties.mo +0 -0
  535. data/vendor/local/share/locale/lg/LC_MESSAGES/gtk20.mo +0 -0
  536. data/vendor/local/share/locale/lt/LC_MESSAGES/gtk20-properties.mo +0 -0
  537. data/vendor/local/share/locale/lt/LC_MESSAGES/gtk20.mo +0 -0
  538. data/vendor/local/share/locale/nb/LC_MESSAGES/gtk20.mo +0 -0
  539. data/vendor/local/share/locale/pl/LC_MESSAGES/gtk20.mo +0 -0
  540. data/vendor/local/share/locale/ru/LC_MESSAGES/gtk20-properties.mo +0 -0
  541. data/vendor/local/share/locale/ru/LC_MESSAGES/gtk20.mo +0 -0
  542. data/vendor/local/share/locale/sl/LC_MESSAGES/gtk20.mo +0 -0
  543. data/vendor/local/share/locale/te/LC_MESSAGES/gtk20.mo +0 -0
  544. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gtk20.mo +0 -0
  545. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtk20.mo +0 -0
  546. data/vendor/local/src/tml/packaging/gtk+_2.22.1-1_win32.log +5048 -0
  547. data/vendor/local/src/tml/packaging/{gtk+_2.24.0-1_win32.sh → gtk+_2.22.1-1_win32.sh} +2 -2
  548. metadata +25 -25
  549. data/vendor/local/etc/gtk-2.0/gtkrc +0 -1
  550. data/vendor/local/include/gtk-2.0/gtk/gtkcomboboxtext.h +0 -77
  551. data/vendor/local/share/gtk-doc/html/gtk/GtkComboBoxText.html +0 -301
  552. data/vendor/local/share/gtk-doc/html/gtk/api-index-2-24.html +0 -117
  553. data/vendor/local/src/tml/packaging/gtk+_2.24.0-1_win32.log +0 -4934
data/ChangeLog CHANGED
@@ -1,3 +1,55 @@
1
+ 2011-09-16 Nikolai Weibull <now@bitwi.se>
2
+
3
+ * lib/gtk2.rb: Remove unused variable.
4
+ * gtk2/ext/gtk2/rbgdkscreen.c: Use RVAL2STRV() instead of RVAL2ARGV().
5
+
6
+ 2011-09-15 Nikolai Weibull <now@bitwi.se>
7
+
8
+ * ext/gtk2/*.c: Use new G_REPLACE_SET_PROPERTY(),
9
+ G_REPLACE_GET_PROPERTY(), and G_REPLACE_ACTION() macros.
10
+
11
+ 2011-09-14 Nikolai Weibull <now@bitwi.se>
12
+
13
+ * ext/gtk2/*.c: Fix various compiler warnings.
14
+
15
+ 2011-09-12 Nikolai Weibull <now@bitwi.se>
16
+
17
+ * ext/gtk2/*.c: Remove methods that implement methods already
18
+ implemented as properties.
19
+ * ext/gtk2/*.c: Call StringValue() before calling
20
+ RSTRING_PTR()/RSTRING_LEN(); also use RSTRING_PTR() instead of
21
+ RVAL2CSTR() if StringValue() has already been called on the value.
22
+
23
+ 2011-09-11 Kouhei Sutou <kou@cozmixng.org>
24
+
25
+ * ext/gtk2/extconf.rb (InitCreator#print_data): fix wrong
26
+ initialization order bug. If "Init_gtk_gdk_gc()" is the first
27
+ initialize function, the previous implementation can't resolve
28
+ dependency order.
29
+ Reported by ashbb. Thanks!!!
30
+
31
+ 2011-09-10 Nikolai Weibull <now@bitwi.se>
32
+
33
+ * ext/gtk2/*.c: Fix all RVAL2CSTRFILENAME calls.
34
+
35
+ 2011-09-09 Nikolai Weibull <now@bitwi.se>
36
+
37
+ * ext/gtk2/*.c: Fix all warnings generated with gcc 4.4.5.
38
+ * ext/gtk2/*.c: Fix all RVAL2CSTR calls.
39
+
40
+ 2011-08-25 Kouhei Sutou <kou@cozmixng.org>
41
+
42
+ * ext/gtk2/rbgtkfilefilter.c (Gtk::FileFilter#add_custom): fix
43
+ crash bug because of method name is missing.
44
+ Reported by Jeff Moore. Thanks!!!
45
+
46
+ 2011-07-31 Kouhei Sutou <kou@cozmixng.org>
47
+
48
+ * ext/gtk2/rbgtkcellrendererspinner.c, ext/gtk2/rbgtkspinner.c:
49
+ don't expand "$Date$" because it may include non LANG=C
50
+ characters. #3383158
51
+ Reported by Antonio Terceiro. Thanks!!!
52
+
1
53
  2011-06-05 Kouhei Sutou <kou@cozmixng.org>
2
54
 
3
55
  * sample/gtk-demo/cairo-operator.rb
@@ -31,6 +31,8 @@ rescue LoadError
31
31
  require 'mkmf-gnome2'
32
32
  end
33
33
 
34
+ have_func("rb_errinfo")
35
+
34
36
  ["glib2", "atk", "pango", "gdk_pixbuf2"].each do |package|
35
37
  directory = "#{package}#{version_suffix}"
36
38
  build_dir = "#{directory}/tmp/#{RUBY_PLATFORM}/#{package}/#{RUBY_VERSION}"
@@ -98,8 +100,6 @@ if target != "win32" and PKGConfig.have_package('gtk+-unix-print-2.0')
98
100
  $defs.push("-DHAVE_GTK_UNIX_PRINT")
99
101
  end
100
102
 
101
- have_func("rb_errinfo")
102
-
103
103
  create_pkg_config_file("Ruby/GTK2", package_id, ruby_gnome2_version)
104
104
 
105
105
  class InitCreator
@@ -136,6 +136,16 @@ class InitCreator
136
136
  end
137
137
  end
138
138
 
139
+ inits[""] = inits[""].sort_by do |value|
140
+ if value == "Init_gtk_gdk_draw()"
141
+ inits[""].size * 2
142
+ elsif value == "Init_gtk_gdk_gc()"
143
+ -inits[""].size
144
+ else
145
+ inits[""].index(value)
146
+ end
147
+ end
148
+
139
149
  print_data(inits, "", nil, true)
140
150
  print_data(inits, "GTK_DISABLE_DEPRECATED", "ifndef", true)
141
151
  print_data(inits, "GTK_ENABLE_BROKEN", "ifdef", true)
@@ -157,14 +167,13 @@ class InitCreator
157
167
  print "##{defs} #{type}\n" if defs
158
168
  sorted_array = array[type].dup
159
169
  dependencies.each do |key, values|
160
- key_index = sorted_array.index(key)
161
- values.each do |value|
162
- value_index = sorted_array.index(value)
163
- next if value_index.nil?
164
- sorted_array.delete(value)
165
- sorted_array[key_index - 1, 0] = value
166
- key_index = sorted_array.index(key)
170
+ next unless sorted_array.include?(key)
171
+ sorted_array.delete(key)
172
+ value_indexes = values.collect do |value|
173
+ sorted_array.index(value)
167
174
  end
175
+ max_value_index = value_indexes.compact.max
176
+ sorted_array[max_value_index + 1, 0] = key
168
177
  end
169
178
  sorted_array.each do |val|
170
179
  print "#{extern_def} #{val};\n"
@@ -23,6 +23,9 @@
23
23
  #define GEV2RVAL(ev) (make_gdkevent(ev))
24
24
  #define RVAL2GEV(ev) (get_gdkevent(ev))
25
25
  #define RVAL2ATOM(atom) (get_gdkatom(atom))
26
+ #define RVAL2GDKNATIVEWINDOW(value) ((GdkNativeWindow)NUM2UINT(value))
27
+ /* TODO: Will UINT2NUM work for pointers on 64-bit Windows? */
28
+ #define GDKNATIVEWINDOW2RVAL(value) UINT2NUM((guint32)value)
26
29
 
27
30
  #define GDK_TYPE_GEOMETRY (gdk_geometry_get_type())
28
31
  #define GDK_TYPE_REGION (gdk_region_get_type())
@@ -84,24 +84,24 @@ gdkdragcontext_s_get_protocol(int argc, VALUE *argv, VALUE self)
84
84
  {
85
85
  VALUE xid;
86
86
  GdkDragProtocol prot;
87
- guint32 ret;
87
+ GdkNativeWindow ret;
88
88
 
89
89
  if (argc == 1) {
90
90
  rb_scan_args(argc, argv, "10", &xid);
91
- ret = gdk_drag_get_protocol(NUM2UINT(xid), &prot);
91
+ ret = gdk_drag_get_protocol(RVAL2GDKNATIVEWINDOW(xid), &prot);
92
92
  } else {
93
93
  #if GTK_CHECK_VERSION(2,2,0)
94
94
  VALUE display;
95
95
  rb_scan_args(argc, argv, "20", &display, &xid);
96
96
  ret = gdk_drag_get_protocol_for_display(GDK_DISPLAY_OBJECT(RVAL2GOBJ(display)),
97
- NUM2UINT(xid), &prot);
97
+ RVAL2GDKNATIVEWINDOW(xid), &prot);
98
98
  #else
99
99
  rb_warn("Not supported arguments for Gdk::Display in GTK+-2.0.x.");
100
100
  ret = gdk_drag_get_protocol(NUM2UINT(xid), &prot);
101
101
  #endif
102
102
  }
103
103
 
104
- return rb_ary_new3(2, GENUM2RVAL(prot, GDK_TYPE_DRAG_PROTOCOL), UINT2NUM(ret));
104
+ return rb_ary_new3(2, GENUM2RVAL(prot, GDK_TYPE_DRAG_PROTOCOL), GDKNATIVEWINDOW2RVAL(ret));
105
105
  }
106
106
 
107
107
  /* Instance Methods */
@@ -51,7 +51,7 @@ gdkevent ## type ## _ ## name (VALUE self)\
51
51
  static VALUE \
52
52
  gdkevent ## type ## _set_ ## name (VALUE self, VALUE val)\
53
53
  {\
54
- get_gdkevent(self)->type.name = RVAL2CSTR(val);\
54
+ get_gdkevent(self)->type.name = (gchar *)RVAL2CSTR(val);\
55
55
  return self;\
56
56
  }
57
57
 
@@ -81,6 +81,19 @@ gdkevent ## type ## _set_ ## name (VALUE self, VALUE val)\
81
81
  return self;\
82
82
  }
83
83
 
84
+ #define ATTR_GDKNATIVEWINDOW(type, name)\
85
+ static VALUE \
86
+ gdkevent ## type ## _ ## name (VALUE self)\
87
+ {\
88
+ return GDKNATIVEWINDOW2RVAL(get_gdkevent(self)->type.name);\
89
+ }\
90
+ static VALUE \
91
+ gdkevent ## type ## _set_ ## name (VALUE self, VALUE val)\
92
+ {\
93
+ get_gdkevent(self)->type.name = RVAL2GDKNATIVEWINDOW(val);\
94
+ return self;\
95
+ }
96
+
84
97
  #define ATTR_FLOAT(type, name)\
85
98
  static VALUE \
86
99
  gdkevent ## type ## _ ## name (VALUE self)\
@@ -502,7 +515,7 @@ GDKEVENT_INIT(property, GDK_PROPERTY_NOTIFY);
502
515
  ATTR_ATOM(selection, selection);
503
516
  ATTR_ATOM(selection, target);
504
517
  ATTR_ATOM(selection, property);
505
- ATTR_UINT(selection, requestor);
518
+ ATTR_GDKNATIVEWINDOW(selection, requestor);
506
519
  ATTR_INT(selection, time);
507
520
 
508
521
  /* GdkEventDND */
@@ -557,13 +570,13 @@ gdkeventclient_send_client_message(int argc, VALUE *argv, VALUE self)
557
570
  rb_scan_args(argc, argv, "11", &xid, &display);
558
571
  if (NIL_P(display)){
559
572
  return CBOOL2RVAL(gdk_event_send_client_message(
560
- get_gdkevent(self), NUM2INT(xid)));
573
+ get_gdkevent(self), RVAL2GDKNATIVEWINDOW(xid)));
561
574
  } else {
562
575
  #if GTK_CHECK_VERSION(2,2,0)
563
576
  return CBOOL2RVAL(gdk_event_send_client_message_for_display(
564
577
  GDK_DISPLAY_OBJECT(RVAL2GOBJ(display)),
565
578
  get_gdkevent(self),
566
- NUM2UINT(xid)));
579
+ RVAL2GDKNATIVEWINDOW(xid)));
567
580
  #else
568
581
  rb_warn("this arguments number has been supported since 2.2");
569
582
  return Qfalse;
@@ -610,7 +623,7 @@ GDKEVENT_INIT(setting, GDK_SETTING);
610
623
 
611
624
  /* GdkEventOwnerChange */
612
625
  #if GTK_CHECK_VERSION(2,6,0)
613
- ATTR_UINT(owner_change, owner);
626
+ ATTR_GDKNATIVEWINDOW(owner_change, owner);
614
627
  ATTR_ENUM(owner_change, reason, GDK_TYPE_OWNER_CHANGE);
615
628
  ATTR_ATOM(owner_change, selection);
616
629
  ATTR_UINT(owner_change, time);
@@ -50,72 +50,67 @@ gdkpmap_create_from_data(int argc, VALUE *argv, VALUE self)
50
50
  static VALUE
51
51
  gdkpmap_create_from_xpm(VALUE self, VALUE win, VALUE color, VALUE fname)
52
52
  {
53
- GdkPixmap *new;
53
+ GdkPixmap *result;
54
54
  GdkBitmap *mask;
55
55
 
56
- new = gdk_pixmap_create_from_xpm(GDK_WINDOW(RVAL2GOBJ(win)), &mask,
57
- RVAL2GDKCOLOR(color), RVAL2CSTR(fname));
58
- if (!new) {
59
- rb_raise(rb_eArgError, "Pixmap not created from %s", RVAL2CSTR(fname));
60
- }
61
- return rb_assoc_new(GOBJ2RVAL(new),GOBJ2RVAL(mask));
56
+ result = gdk_pixmap_create_from_xpm(GDK_WINDOW(RVAL2GOBJ(win)),
57
+ &mask,
58
+ RVAL2GDKCOLOR(color),
59
+ RVAL2CSTR(fname));
60
+ if (result == NULL)
61
+ rb_raise(rb_eArgError, "Pixmap not created from %s", RVAL2CSTR(fname));
62
+
63
+ return rb_assoc_new(GOBJ2RVAL(result), GOBJ2RVAL(mask));
62
64
  }
63
65
 
64
66
  static VALUE
65
67
  gdkpmap_create_from_xpm_d(VALUE self, VALUE win, VALUE tcolor, VALUE data)
66
68
  {
67
- GdkPixmap *new;
69
+ GdkPixmap *result;
68
70
  GdkBitmap *mask;
69
- int i;
70
- gchar **buf;
71
+ const gchar **buf = RVAL2STRV(data);
71
72
 
72
- Check_Type(data, T_ARRAY);
73
- buf = ALLOCA_N(char*, RARRAY_LEN(data));
74
- for (i=0; i < RARRAY_LEN(data); i++) {
75
- buf[i] = RVAL2CSTR(RARRAY_PTR(data)[i]);
76
- }
77
- new = gdk_pixmap_create_from_xpm_d(GDK_WINDOW(RVAL2GOBJ(win)),
78
- &mask, RVAL2GDKCOLOR(tcolor), buf);
73
+ result = gdk_pixmap_create_from_xpm_d(GDK_WINDOW(RVAL2GOBJ(win)),
74
+ &mask,
75
+ RVAL2GDKCOLOR(tcolor),
76
+ (gchar **)buf);
79
77
 
80
- return rb_assoc_new(GOBJ2RVAL(new),GOBJ2RVAL(mask));
78
+ g_free(buf);
79
+
80
+ return rb_assoc_new(GOBJ2RVAL(result), GOBJ2RVAL(mask));
81
81
  }
82
82
 
83
83
  static VALUE
84
84
  gdkpmap_colormap_create_from_xpm(VALUE self, VALUE win, VALUE colormap, VALUE tcolor, VALUE fname)
85
85
  {
86
- GdkPixmap *new;
86
+ GdkPixmap *result;
87
87
  GdkBitmap *mask;
88
88
 
89
- new = gdk_pixmap_colormap_create_from_xpm(NIL_P(win) ? NULL : GDK_WINDOW(RVAL2GOBJ(win)),
90
- GDK_COLORMAP(RVAL2GOBJ(colormap)),
91
- &mask, RVAL2GDKCOLOR(tcolor),
92
- RVAL2CSTR(fname));
93
- if (!new) {
94
- rb_raise(rb_eArgError, "Pixmap not created from %s", RVAL2CSTR(fname));
95
- }
96
- return rb_assoc_new(GOBJ2RVAL(new),GOBJ2RVAL(mask));
89
+ result = gdk_pixmap_colormap_create_from_xpm(NIL_P(win) ? NULL : GDK_WINDOW(RVAL2GOBJ(win)),
90
+ GDK_COLORMAP(RVAL2GOBJ(colormap)),
91
+ &mask,
92
+ RVAL2GDKCOLOR(tcolor),
93
+ RVAL2CSTR(fname));
94
+ if (result == NULL)
95
+ rb_raise(rb_eArgError, "Pixmap not created from %s", RVAL2CSTR(fname));
96
+
97
+ return rb_assoc_new(GOBJ2RVAL(result), GOBJ2RVAL(mask));
97
98
  }
98
99
 
99
100
  static VALUE
100
101
  gdkpmap_colormap_create_from_xpm_d(VALUE self, VALUE win, VALUE colormap, VALUE tcolor, VALUE data)
101
102
  {
102
- GdkPixmap *new;
103
+ GdkPixmap *result;
103
104
  GdkBitmap *mask;
104
- int i;
105
- gchar **buf;
106
-
107
- Check_Type(data, T_ARRAY);
108
- buf = ALLOCA_N(char*, RARRAY_LEN(data));
109
- for (i=0; i<RARRAY_LEN(data); i++) {
110
- buf[i] = RVAL2CSTR(RARRAY_PTR(data)[i]);
111
- }
105
+ const gchar **buf = RVAL2STRV(data);
112
106
 
113
- new = gdk_pixmap_colormap_create_from_xpm_d(NIL_P(win) ? NULL : GDK_WINDOW(RVAL2GOBJ(win)),
114
- GDK_COLORMAP(RVAL2GOBJ(colormap)),
115
- &mask, RVAL2GDKCOLOR(tcolor),
116
- buf);
107
+ result = gdk_pixmap_colormap_create_from_xpm_d(NIL_P(win) ? NULL : GDK_WINDOW(RVAL2GOBJ(win)),
108
+ GDK_COLORMAP(RVAL2GOBJ(colormap)),
109
+ &mask,
110
+ RVAL2GDKCOLOR(tcolor),
111
+ (gchar **)buf);
117
112
 
118
- return rb_assoc_new(GOBJ2RVAL(new),GOBJ2RVAL(mask));
113
+ return rb_assoc_new(GOBJ2RVAL(result), GOBJ2RVAL(mask));
119
114
  }
120
115
 
121
116
  #ifdef HAVE_XREADBITMAPFILEDATA
@@ -156,21 +151,21 @@ gdkpmap_foreign_new(int argc, VALUE *argv, VALUE self)
156
151
  switch(argc)
157
152
  {
158
153
  case 1:
159
- win = gdk_pixmap_foreign_new(NUM2UINT(arg[0]));
154
+ win = gdk_pixmap_foreign_new(RVAL2GDKNATIVEWINDOW(arg[0]));
160
155
  break;
161
156
  case 2:
162
157
  #if GTK_CHECK_VERSION(2,2,0)
163
158
  win = gdk_pixmap_foreign_new_for_display(GDK_DISPLAY_OBJECT(RVAL2GOBJ(arg[0])),
164
- NUM2UINT(arg[1]));
159
+ RVAL2GDKNATIVEWINDOW(arg[1]));
165
160
  #else
166
- win = gdk_pixmap_foreign_new(NUM2UINT(arg[1]));
161
+ win = gdk_pixmap_foreign_new(RVAL2GDKNATIVEWINDOW(arg[1]));
167
162
  rb_warn("Not supported. Use GTK+-2.2.0 or later.");
168
163
  #endif
169
164
  break;
170
165
  case 5:
171
166
  #if GTK_CHECK_VERSION(2,10,0)
172
167
  win = gdk_pixmap_foreign_new_for_screen(GDK_SCREEN(RVAL2GOBJ(arg[0])),
173
- NUM2UINT(arg[1]), /* anid */
168
+ RVAL2GDKNATIVEWINDOW(arg[1]), /* anid */
174
169
  NUM2INT(arg[2]), /* width */
175
170
  NUM2INT(arg[3]), /* height */
176
171
  NUM2INT(arg[4])); /* depth */
@@ -194,13 +189,13 @@ gdkpmap_lookup(int argc, VALUE *argv, VALUE self)
194
189
  switch(argc)
195
190
  {
196
191
  case 1:
197
- win = gdk_pixmap_lookup(NUM2UINT(arg[0]));
192
+ win = gdk_pixmap_lookup(RVAL2GDKNATIVEWINDOW(arg[0]));
198
193
  break;
199
194
  case 2:
200
195
  #if GTK_CHECK_VERSION(2,2,0)
201
- win = gdk_pixmap_lookup_for_display(RVAL2GOBJ(arg[0]), NUM2UINT(arg[1]));
196
+ win = gdk_pixmap_lookup_for_display(RVAL2GOBJ(arg[0]), RVAL2GDKNATIVEWINDOW(arg[1]));
202
197
  #else
203
- win = gdk_pixmap_lookup(NUM2UINT(arg[1]));
198
+ win = gdk_pixmap_lookup(RVAL2GDKNATIVEWINDOW(arg[1]));
204
199
  rb_warn("Not supported in GTK+-2.0.x.");
205
200
  #endif
206
201
  break;
@@ -246,7 +246,8 @@ gdkprop_get(int argc, VALUE *argv, VALUE self)
246
246
  VALUE win, property, type, offset=INT2FIX(0), length=INT2FIX(9999), delete;
247
247
 
248
248
  /* for inner processing */
249
- int i;
249
+ gint i;
250
+ size_t j;
250
251
  VALUE ret = 0;
251
252
 
252
253
  if(6 == argc)
@@ -279,12 +280,12 @@ gdkprop_get(int argc, VALUE *argv, VALUE self)
279
280
  ret = rb_ary_new();
280
281
 
281
282
  if(rtype != GDK_SELECTION_TYPE_ATOM){
282
- for(i = 0; i < (rlen/sizeof(unsigned long)); i++){
283
- rb_ary_push(ret, INT2FIX(((unsigned long*)rdat)[i]));
283
+ for(j = 0; j < (rlen/sizeof(unsigned long)); j++){
284
+ rb_ary_push(ret, INT2FIX(((unsigned long*)rdat)[j]));
284
285
  }
285
286
  } else {
286
- for(i = 0; i < (rlen/sizeof(unsigned long)); i++){
287
- rb_ary_push(ret, BOXED2RVAL((GdkAtom)((unsigned long*)rdat)[i], GDK_TYPE_ATOM));
287
+ for(j = 0; j < (rlen/sizeof(unsigned long)); j++){
288
+ rb_ary_push(ret, BOXED2RVAL((GdkAtom)((unsigned long*)rdat)[j], GDK_TYPE_ATOM));
288
289
  }
289
290
  }
290
291
  break;
@@ -270,54 +270,25 @@ gdkscreen_spawn_on_screen(VALUE self, VALUE working_directory, VALUE argv, VALUE
270
270
  gboolean ret;
271
271
  gint child_pid;
272
272
  VALUE func = Qnil;
273
- gint gargc, genc, i;
274
- gchar** gargv = (gchar**)NULL;
275
- gchar** genvp = (gchar**)NULL;
273
+ gchar **gargv;
274
+ gchar **genvp;
276
275
 
277
276
  if (rb_block_given_p()) {
278
277
  func = rb_block_proc();
279
278
  G_RELATIVE(self, func);
280
279
  }
281
280
 
282
- if (! NIL_P(argv)){
283
- Check_Type(argv, T_ARRAY);
284
- gargc = RARRAY_LEN(argv);
285
- gargv = ALLOCA_N(gchar*, gargc + 1);
286
- for (i = 0; i < gargc; i++) {
287
- if (TYPE(RARRAY_PTR(argv)[i]) == T_STRING) {
288
- gargv[i] = RVAL2CSTR(RARRAY_PTR(argv)[i]);
289
- }
290
- else {
291
- gargv[i] = "";
292
- }
293
- }
294
- gargv[gargc] = (gchar*)NULL;
295
- }
296
-
297
- if (! NIL_P(envp)){
298
- Check_Type(envp, T_ARRAY);
299
- genc = RARRAY_LEN(envp);
300
- genvp = ALLOCA_N(gchar*, genc + 1);
301
- for (i = 0; i < genc; i++) {
302
- if (TYPE(RARRAY_PTR(envp)[i]) == T_STRING) {
303
- genvp[i] = RVAL2CSTR(RARRAY_PTR(envp)[i]);
304
- }
305
- else {
306
- genvp[i] = "";
307
- }
308
- }
309
- genvp[genc] = (gchar*)NULL;
310
- }
311
-
281
+ gargv = (gchar **)RVAL2STRV(argv);
282
+ genvp = (gchar **)RVAL2STRV(envp);
312
283
  ret = gdk_spawn_on_screen(_SELF(self),
313
284
  NIL_P(working_directory) ? NULL : RVAL2CSTR(working_directory),
314
285
  gargv, genvp, NUM2INT(flags),
315
286
  (GSpawnChildSetupFunc)child_setup, (gpointer)func,
316
287
  &child_pid, &err);
317
-
318
- if (! ret){
288
+ g_free(gargv);
289
+ g_free(genvp);
290
+ if (!ret)
319
291
  RAISE_GERROR(err);
320
- }
321
292
 
322
293
  return INT2NUM(child_pid);
323
294
  }
@@ -329,9 +300,8 @@ gdkscreen_spawn_on_screen_with_pipes(VALUE self, VALUE working_directory, VALUE
329
300
  gboolean ret;
330
301
  gint child_pid;
331
302
  VALUE func = Qnil;
332
- gint gargc, genc, i;
333
- gchar** gargv = (gchar**)NULL;
334
- gchar** genvp = (gchar**)NULL;
303
+ gchar **gargv;
304
+ gchar **genvp;
335
305
  gint standard_input, standard_output, standard_error;
336
306
 
337
307
  if (rb_block_given_p()) {
@@ -339,36 +309,8 @@ gdkscreen_spawn_on_screen_with_pipes(VALUE self, VALUE working_directory, VALUE
339
309
  G_RELATIVE(self, func);
340
310
  }
341
311
 
342
- if (! NIL_P(argv)){
343
- Check_Type(argv, T_ARRAY);
344
- gargc = RARRAY_LEN(argv);
345
- gargv = ALLOCA_N(gchar*, gargc + 1);
346
- for (i = 0; i < gargc; i++) {
347
- if (TYPE(RARRAY_PTR(argv)[i]) == T_STRING) {
348
- gargv[i] = RVAL2CSTR(RARRAY_PTR(argv)[i]);
349
- }
350
- else {
351
- gargv[i] = "";
352
- }
353
- }
354
- gargv[gargc] = (gchar*)NULL;
355
- }
356
-
357
- if (! NIL_P(envp)){
358
- Check_Type(envp, T_ARRAY);
359
- genc = RARRAY_LEN(envp);
360
- genvp = ALLOCA_N(gchar*, genc + 1);
361
- for (i = 0; i < genc; i++) {
362
- if (TYPE(RARRAY_PTR(envp)[i]) == T_STRING) {
363
- genvp[i] = RVAL2CSTR(RARRAY_PTR(envp)[i]);
364
- }
365
- else {
366
- genvp[i] = "";
367
- }
368
- }
369
- genvp[genc] = (gchar*)NULL;
370
- }
371
-
312
+ gargv = (gchar **)RVAL2STRV(argv);
313
+ genvp = (gchar **)RVAL2STRV(envp);
372
314
  ret = gdk_spawn_on_screen_with_pipes(_SELF(self),
373
315
  NIL_P(working_directory) ? NULL : RVAL2CSTR(working_directory),
374
316
  gargv, genvp, NUM2INT(flags),
@@ -376,8 +318,10 @@ gdkscreen_spawn_on_screen_with_pipes(VALUE self, VALUE working_directory, VALUE
376
318
  &child_pid,
377
319
  &standard_input, &standard_output,
378
320
  &standard_error, &err);
379
-
380
- if (! ret) RAISE_GERROR(err);
321
+ g_free(gargv);
322
+ g_free(genvp);
323
+ if (!ret)
324
+ RAISE_GERROR(err);
381
325
 
382
326
  return rb_ary_new3(4, INT2NUM(child_pid),
383
327
  rb_funcall(rb_cIO, id_new, 1, INT2NUM(standard_input)),
@@ -438,6 +382,7 @@ Init_gtk_gdk_screen()
438
382
  rb_define_singleton_method(gdkScreen, "default", gdkscreen_default, 0);
439
383
  rb_define_method(gdkScreen, "default_colormap", gdkscreen_get_default_colormap, 0);
440
384
  rb_define_method(gdkScreen, "set_default_colormap", gdkscreen_set_default_colormap, 1);
385
+ G_DEF_SETTER(gdkScreen, "default_colormap");
441
386
  rb_define_method(gdkScreen, "system_colormap", gdkscreen_get_system_colormap, 0);
442
387
  rb_define_method(gdkScreen, "system_visual", gdkscreen_get_system_visual, 0);
443
388
  rb_define_method(gdkScreen, "rgb_colormap", gdkscreen_get_rgb_colormap, 0);
@@ -466,8 +411,8 @@ Init_gtk_gdk_screen()
466
411
  rb_define_method(gdkScreen, "get_setting", gdkscreen_get_setting, -1);
467
412
  #if GTK_CHECK_VERSION(2,10,0)
468
413
  #ifdef HAVE_RB_CAIRO_H
469
- rb_define_method(gdkScreen, "font_options", gdkscreen_get_font_options, 0);
470
- rb_define_method(gdkScreen, "set_font_options", gdkscreen_set_font_options, 1);
414
+ G_REPLACE_GET_PROPERTY(gdkScreen, "font_options", gdkscreen_get_font_options, 0);
415
+ G_REPLACE_SET_PROPERTY(gdkScreen, "font_options", gdkscreen_set_font_options, 1);
471
416
  #endif
472
417
  rb_define_method(gdkScreen, "active_window", gdkscreen_get_active_window, 0);
473
418
  rb_define_method(gdkScreen, "window_stack", gdkscreen_get_window_stack, 0);
@@ -485,7 +430,6 @@ Init_gtk_gdk_screen()
485
430
  rb_define_method(gdkScreen, "window_manager_name", gdkscreen_get_window_manager_name, 0);
486
431
  rb_define_method(gdkScreen, "screen_number", gdkscreen_get_screen_number, 0);
487
432
  #endif
488
- G_DEF_SETTERS(gdkScreen);
489
433
 
490
434
  #ifdef GDK_WINDOWING_X11
491
435
  G_DEF_CLASS3("GdkScreenX11", "ScreenX11", mGdk);