gtk3 1.2.0-x86-mingw32 → 1.2.1-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (213) hide show
  1. data/Rakefile +0 -12
  2. data/ext/gtk3/init.c +0 -4
  3. data/ext/gtk3/{rbgtkaboutdialog.c → rbgtk-about-dialog.c} +1 -1
  4. data/ext/gtk3/{rbgtkaccelgroupentry.c → rbgtk-accel-group-entry.c} +0 -0
  5. data/ext/gtk3/{rbgtkaccelgroup.c → rbgtk-accel-group.c} +1 -1
  6. data/ext/gtk3/{rbgtkaccelkey.c → rbgtk-accel-key.c} +0 -0
  7. data/ext/gtk3/{rbgtkaccellabel.c → rbgtk-accel-label.c} +0 -0
  8. data/ext/gtk3/{rbgtkaccelmap.c → rbgtk-accel-map.c} +0 -0
  9. data/ext/gtk3/{rbgtkaccelerator.c → rbgtk-accelerator.c} +0 -0
  10. data/ext/gtk3/{rbgtkaccessible.c → rbgtk-accessible.c} +0 -0
  11. data/ext/gtk3/{rbgtkactiongroup.c → rbgtk-action-group.c} +1 -1
  12. data/ext/gtk3/{rbgtkaction.c → rbgtk-action.c} +0 -0
  13. data/ext/gtk3/{rbgtkactivatable.c → rbgtk-activatable.c} +0 -0
  14. data/ext/gtk3/{rbgtkadjustment.c → rbgtk-adjustment.c} +1 -1
  15. data/ext/gtk3/{rbgtkalignment.c → rbgtk-alignment.c} +1 -1
  16. data/ext/gtk3/{rbgtkallocation.c → rbgtk-allocation.c} +1 -1
  17. data/ext/gtk3/{rbgtkappchooserbutton.c → rbgtk-app-chooser-button.c} +0 -0
  18. data/ext/gtk3/{rbgtkappchooserdialog.c → rbgtk-app-chooser-dialog.c} +0 -0
  19. data/ext/gtk3/{rbgtkappchooserwidget.c → rbgtk-app-chooser-widget.c} +0 -0
  20. data/ext/gtk3/{rbgtkappchooser.c → rbgtk-app-chooser.c} +0 -0
  21. data/ext/gtk3/{rbgtkapplication.c → rbgtk-application.c} +0 -0
  22. data/ext/gtk3/{rbgtkarrow.c → rbgtk-arrow.c} +1 -1
  23. data/ext/gtk3/{rbgtkaspectframe.c → rbgtk-aspect-frame.c} +1 -1
  24. data/ext/gtk3/{rbgtkassistant.c → rbgtk-assistant.c} +0 -0
  25. data/ext/gtk3/{rbgtkbin.c → rbgtk-bin.c} +1 -1
  26. data/ext/gtk3/{rbgtkbindingset.c → rbgtk-binding-set.c} +1 -1
  27. data/ext/gtk3/{rbgtkborder.c → rbgtk-border.c} +1 -1
  28. data/ext/gtk3/{rbgtkbox.c → rbgtk-box.c} +1 -1
  29. data/ext/gtk3/{rbgtkbuildable.c → rbgtk-buildable.c} +0 -0
  30. data/ext/gtk3/{rbgtkbuilder.c → rbgtk-builder.c} +0 -0
  31. data/ext/gtk3/{rbgtkbuttonbox.c → rbgtk-button-box.c} +1 -1
  32. data/ext/gtk3/{rbgtkbutton.c → rbgtk-button.c} +1 -1
  33. data/ext/gtk3/{rbgtkcalendar.c → rbgtk-calendar.c} +1 -1
  34. data/ext/gtk3/{rbgtkcelleditable.c → rbgtk-cell-editable.c} +0 -0
  35. data/ext/gtk3/{rbgtkcelllayout.c → rbgtk-cell-layout.c} +0 -0
  36. data/ext/gtk3/{rbgtkcellrendereraccel.c → rbgtk-cell-renderer-accel.c} +0 -0
  37. data/ext/gtk3/{rbgtkcellrenderercombo.c → rbgtk-cell-renderer-combo.c} +0 -0
  38. data/ext/gtk3/{rbgtkcellrendererpixbuf.c → rbgtk-cell-renderer-pixbuf.c} +0 -0
  39. data/ext/gtk3/{rbgtkcellrendererprogress.c → rbgtk-cell-renderer-progress.c} +0 -0
  40. data/ext/gtk3/{rbgtkcellrendererspin.c → rbgtk-cell-renderer-spin.c} +0 -0
  41. data/ext/gtk3/{rbgtkcellrendererspinner.c → rbgtk-cell-renderer-spinner.c} +0 -0
  42. data/ext/gtk3/{rbgtkcellrenderertext.c → rbgtk-cell-renderer-text.c} +0 -0
  43. data/ext/gtk3/{rbgtkcellrenderertoggle.c → rbgtk-cell-renderer-toggle.c} +0 -0
  44. data/ext/gtk3/{rbgtkcellrenderer.c → rbgtk-cell-renderer.c} +0 -0
  45. data/ext/gtk3/{rbgtkcellview.c → rbgtk-cell-view.c} +0 -0
  46. data/ext/gtk3/{rbgtkcheckbutton.c → rbgtk-check-button.c} +1 -1
  47. data/ext/gtk3/{rbgtkcheckmenuitem.c → rbgtk-check-menu-item.c} +1 -1
  48. data/ext/gtk3/{rbgtkclipboard.c → rbgtk-clip-board.c} +1 -1
  49. data/ext/gtk3/{rbgtkcolorbutton.c → rbgtk-color-button.c} +1 -1
  50. data/ext/gtk3/{rbgtkcolorselectiondialog.c → rbgtk-color-selection-dialog.c} +1 -1
  51. data/ext/gtk3/{rbgtkcolorselection.c → rbgtk-color-selection.c} +1 -1
  52. data/ext/gtk3/{rbgtkcomboboxtext.c → rbgtk-combo-box-text.c} +0 -0
  53. data/ext/gtk3/{rbgtkcombobox.c → rbgtk-combo-box.c} +1 -1
  54. data/ext/gtk3/{rbgtkconst.c → rbgtk-const.c} +1 -1
  55. data/ext/gtk3/{rbgtkcontainer.c → rbgtk-container.c} +1 -1
  56. data/ext/gtk3/{rbgtkcssprovider.c → rbgtk-css-provider.c} +0 -0
  57. data/ext/gtk3/{rbgtkdialog.c → rbgtk-dialog.c} +1 -1
  58. data/ext/gtk3/{rbgdkdragcontext.c → rbgtk-drag-gdk-drag-context.c} +2 -2
  59. data/ext/gtk3/{rbgtkdrag.c → rbgtk-drag.c} +0 -0
  60. data/ext/gtk3/{rbgtkdrawingarea.c → rbgtk-drawing-area.c} +1 -1
  61. data/ext/gtk3/{rbgtkeditable.c → rbgtk-editable.c} +1 -1
  62. data/ext/gtk3/{rbgtkentrybuffer.c → rbgtk-entry-buffer.c} +0 -0
  63. data/ext/gtk3/{rbgtkentrycompletion.c → rbgtk-entry-completion.c} +1 -1
  64. data/ext/gtk3/{rbgtkentry.c → rbgtk-entry.c} +0 -0
  65. data/ext/gtk3/{rbgtkeventbox.c → rbgtk-event-box.c} +1 -1
  66. data/ext/gtk3/{rbgtkexpander.c → rbgtk-expander.c} +1 -1
  67. data/ext/gtk3/{rbgtkfilechooserbutton.c → rbgtk-file-chooser-button.c} +1 -1
  68. data/ext/gtk3/{rbgtkfilechooserdialog.c → rbgtk-file-chooser-dialog.c} +1 -1
  69. data/ext/gtk3/{rbgtkfilechooserwidget.c → rbgtk-file-chooser-widget.c} +1 -1
  70. data/ext/gtk3/{rbgtkfilechooser.c → rbgtk-file-chooser.c} +1 -1
  71. data/ext/gtk3/{rbgtkfilefilter.c → rbgtk-file-filter.c} +1 -1
  72. data/ext/gtk3/{rbgtkfilesystemerror.c → rbgtk-file-system-error.c} +1 -1
  73. data/ext/gtk3/{rbgtkfixed.c → rbgtk-fixed.c} +1 -1
  74. data/ext/gtk3/{rbgtkfontbutton.c → rbgtk-font-button.c} +1 -1
  75. data/ext/gtk3/{rbgtkfontchooserdialog.c → rbgtk-font-chooser-dialog.c} +0 -0
  76. data/ext/gtk3/{rbgtkfontchooserwidget.c → rbgtk-font-chooser-widget.c} +0 -0
  77. data/ext/gtk3/{rbgtkfontchooser.c → rbgtk-font-chooser.c} +0 -0
  78. data/ext/gtk3/{rbgtkframe.c → rbgtk-frame.c} +1 -1
  79. data/ext/gtk3/{rbgdkevent.c → rbgtk-gdk-event.c} +3 -3
  80. data/ext/gtk3/{rbgtkgrid.c → rbgtk-grid.c} +0 -0
  81. data/ext/gtk3/{rbgtkhandlebox.c → rbgtk-handle-box.c} +1 -1
  82. data/ext/gtk3/{rbgtkhsv.c → rbgtk-hsv.c} +0 -0
  83. data/ext/gtk3/{rbgtkiconfactory.c → rbgtk-icon-factory.c} +0 -0
  84. data/ext/gtk3/{rbgtkiconinfo.c → rbgtk-icon-info.c} +1 -1
  85. data/ext/gtk3/{rbgtkiconset.c → rbgtk-icon-set.c} +0 -0
  86. data/ext/gtk3/{rbgtkiconsize.c → rbgtk-icon-size.c} +0 -0
  87. data/ext/gtk3/{rbgtkiconsource.c → rbgtk-icon-source.c} +0 -0
  88. data/ext/gtk3/{rbgtkicontheme.c → rbgtk-icon-theme.c} +0 -0
  89. data/ext/gtk3/{rbgtkiconview.c → rbgtk-icon-view.c} +0 -0
  90. data/ext/gtk3/{rbgtkimmulticontext.c → rbgtk-im-multicontext.c} +1 -1
  91. data/ext/gtk3/{rbgtkimagemenuitem.c → rbgtk-image-menu-item.c} +1 -1
  92. data/ext/gtk3/{rbgtkimage.c → rbgtk-image.c} +1 -1
  93. data/ext/gtk3/{rbgtkimcontextsimple.c → rbgtk-imcon-text-simple.c} +1 -1
  94. data/ext/gtk3/{rbgtkimcontext.c → rbgtk-imcon-text.c} +1 -1
  95. data/ext/gtk3/{rbgtkinfobar.c → rbgtk-infobar.c} +0 -0
  96. data/ext/gtk3/{rbgtkinvisible.c → rbgtk-invisible.c} +0 -0
  97. data/ext/gtk3/{rbgtklabel.c → rbgtk-label.c} +1 -1
  98. data/ext/gtk3/{rbgtklayout.c → rbgtk-layout.c} +0 -0
  99. data/ext/gtk3/{rbgtklinkbutton.c → rbgtk-link-button.c} +1 -1
  100. data/ext/gtk3/{rbgtkliststore.c → rbgtk-list-store.c} +2 -11
  101. data/ext/gtk3/{rbgtklockbutton.c → rbgtk-lock-button.c} +0 -0
  102. data/ext/gtk3/{rbgtkmenuitem.c → rbgtk-menu-item.c} +1 -1
  103. data/ext/gtk3/{rbgtkmenushell.c → rbgtk-menu-shell.c} +1 -1
  104. data/ext/gtk3/{rbgtkmenutoolbutton.c → rbgtk-menu-tool-button.c} +1 -1
  105. data/ext/gtk3/{rbgtkmenu.c → rbgtk-menu.c} +1 -1
  106. data/ext/gtk3/{rbgtkmenubar.c → rbgtk-menubar.c} +1 -1
  107. data/ext/gtk3/{rbgtkmessagedialog.c → rbgtk-message-dialog.c} +1 -1
  108. data/ext/gtk3/{rbgtkmisc.c → rbgtk-misc.c} +1 -1
  109. data/ext/gtk3/{rbgtknotebook.c → rbgtk-notebook.c} +1 -1
  110. data/ext/gtk3/{rbgtknumerableicon.c → rbgtk-numerable-icon.c} +0 -0
  111. data/ext/gtk3/{rbgtkorientable.c → rbgtk-orientable.c} +0 -0
  112. data/ext/gtk3/{rbgtkoverlay.c → rbgtk-overlay.c} +0 -0
  113. data/ext/gtk3/{rbgtkpagesetupunixdialog.c → rbgtk-page-setup-unix-dialog.c} +0 -0
  114. data/ext/gtk3/{rbgtkpagesetup.c → rbgtk-page-setup.c} +0 -0
  115. data/ext/gtk3/{rbgtkpaned.c → rbgtk-paned.c} +1 -1
  116. data/ext/gtk3/{rbgtkpapersize.c → rbgtk-paper-size.c} +0 -0
  117. data/ext/gtk3/{rbgtkplug.c → rbgtk-plug.c} +1 -1
  118. data/ext/gtk3/{rbgtkprintcontext.c → rbgtk-print-context.c} +0 -0
  119. data/ext/gtk3/{rbgtkprintjob.c → rbgtk-print-job.c} +0 -0
  120. data/ext/gtk3/{rbgtkprintoperationpreview.c → rbgtk-print-operation-preview.c} +0 -0
  121. data/ext/gtk3/{rbgtkprintoperation.c → rbgtk-print-operation.c} +0 -0
  122. data/ext/gtk3/{rbgtkprintsettings.c → rbgtk-print-settings.c} +0 -0
  123. data/ext/gtk3/{rbgtkprintunixdialog.c → rbgtk-print-unix-dialog.c} +0 -0
  124. data/ext/gtk3/{rbgtkprinter.c → rbgtk-printer.c} +0 -0
  125. data/ext/gtk3/{rbgtkprogressbar.c → rbgtk-progress-bar.c} +1 -1
  126. data/ext/gtk3/{rbgtkradioaction.c → rbgtk-radio-action.c} +1 -1
  127. data/ext/gtk3/{rbgtkradiobutton.c → rbgtk-radio-button.c} +1 -1
  128. data/ext/gtk3/{rbgtkradiomenuitem.c → rbgtk-radio-menu-item.c} +1 -1
  129. data/ext/gtk3/{rbgtkradiotoolbutton.c → rbgtk-radio-tool-button.c} +1 -1
  130. data/ext/gtk3/{rbgtkrange.c → rbgtk-range.c} +1 -1
  131. data/ext/gtk3/{rbgtkrecentaction.c → rbgtk-recent-action.c} +1 -1
  132. data/ext/gtk3/{rbgtkrecentchooserdialog.c → rbgtk-recent-chooser-dialog.c} +1 -1
  133. data/ext/gtk3/{rbgtkrecentchoosermenu.c → rbgtk-recent-chooser-menu.c} +1 -1
  134. data/ext/gtk3/{rbgtkrecentchooserwidget.c → rbgtk-recent-chooser-widget.c} +1 -1
  135. data/ext/gtk3/{rbgtkrecentchooser.c → rbgtk-recent-chooser.c} +1 -1
  136. data/ext/gtk3/{rbgtkrecentdata.c → rbgtk-recent-data.c} +0 -0
  137. data/ext/gtk3/{rbgtkrecentfilterinfo.c → rbgtk-recent-filter-info.c} +1 -1
  138. data/ext/gtk3/{rbgtkrecentfilter.c → rbgtk-recent-filter.c} +1 -1
  139. data/ext/gtk3/{rbgtkrecentinfo.c → rbgtk-recent-info.c} +1 -1
  140. data/ext/gtk3/{rbgtkrecentmanager.c → rbgtk-recent-manager.c} +1 -1
  141. data/ext/gtk3/{rbgtkscalebutton.c → rbgtk-scale-button.c} +1 -1
  142. data/ext/gtk3/{rbgtkscale.c → rbgtk-scale.c} +1 -1
  143. data/ext/gtk3/{rbgtkscrollable.c → rbgtk-scrollable.c} +0 -0
  144. data/ext/gtk3/{rbgtkscrollbar.c → rbgtk-scrollbar.c} +0 -0
  145. data/ext/gtk3/{rbgtkscrolledwindow.c → rbgtk-scrolled-window.c} +1 -1
  146. data/ext/gtk3/{rbgtkselectiondata.c → rbgtk-selection-data.c} +0 -0
  147. data/ext/gtk3/{rbgtkselection.c → rbgtk-selection.c} +0 -0
  148. data/ext/gtk3/{rbgtkseparatormenuitem.c → rbgtk-separator-menu-item.c} +1 -1
  149. data/ext/gtk3/{rbgtkseparatortoolitem.c → rbgtk-separator-tool-item.c} +1 -1
  150. data/ext/gtk3/{rbgtkseparator.c → rbgtk-separator.c} +0 -0
  151. data/ext/gtk3/{rbgtksettings.c → rbgtk-settings.c} +1 -1
  152. data/ext/gtk3/{rbgtksizegroup.c → rbgtk-size-group.c} +0 -0
  153. data/ext/gtk3/{rbgtksocket.c → rbgtk-socket.c} +1 -1
  154. data/ext/gtk3/{rbgtkspinbutton.c → rbgtk-spin-button.c} +1 -1
  155. data/ext/gtk3/{rbgtkspinner.c → rbgtk-spinner.c} +1 -1
  156. data/ext/gtk3/{rbgtkstatusbar.c → rbgtk-status-bar.c} +1 -1
  157. data/ext/gtk3/{rbgtkstatusicon.c → rbgtk-status-icon.c} +1 -1
  158. data/ext/gtk3/{rbgtkstock.c → rbgtk-stock.c} +0 -0
  159. data/ext/gtk3/{rbgdkscreen.c → rbgtk-style-context-gdk-screen.c} +3 -3
  160. data/ext/gtk3/{rbgtkstylecontext.c → rbgtk-style-context.c} +0 -0
  161. data/ext/gtk3/{rbgtkstyleproperties.c → rbgtk-style-properties.c} +0 -0
  162. data/ext/gtk3/{rbgtkstyleprovider.c → rbgtk-style-provider.c} +0 -0
  163. data/ext/gtk3/{rbgtkswitch.c → rbgtk-switch.c} +0 -0
  164. data/ext/gtk3/{rbgtktable.c → rbgtk-table.c} +1 -1
  165. data/ext/gtk3/{rbgtktargetlist.c → rbgtk-target-list.c} +0 -0
  166. data/ext/gtk3/{rbgtktearoffmenuitem.c → rbgtk-tearoff-menu-item.c} +1 -1
  167. data/ext/gtk3/{rbgtktextappearance.c → rbgtk-text-appearance.c} +0 -0
  168. data/ext/gtk3/{rbgtktextattributes.c → rbgtk-text-attributes.c} +0 -0
  169. data/ext/gtk3/{rbgtktextbuffer.c → rbgtk-text-buffer.c} +1 -1
  170. data/ext/gtk3/{rbgtktextchildanchor.c → rbgtk-text-child-anchor.c} +0 -0
  171. data/ext/gtk3/{rbgtktextiter.c → rbgtk-text-iter.c} +0 -0
  172. data/ext/gtk3/{rbgtktextmark.c → rbgtk-text-mark.c} +1 -1
  173. data/ext/gtk3/{rbgtktexttagtable.c → rbgtk-text-tag-table.c} +0 -0
  174. data/ext/gtk3/{rbgtktexttag.c → rbgtk-text-tag.c} +0 -0
  175. data/ext/gtk3/{rbgtktextview.c → rbgtk-text-view.c} +0 -0
  176. data/ext/gtk3/{rbgtkthemingengine.c → rbgtk-theming-engine.c} +0 -0
  177. data/ext/gtk3/{rbgtktoggleaction.c → rbgtk-toggle-action.c} +1 -1
  178. data/ext/gtk3/{rbgtktogglebutton.c → rbgtk-toggle-button.c} +1 -1
  179. data/ext/gtk3/{rbgtktoggletoolbutton.c → rbgtk-toggle-tool-button.c} +1 -1
  180. data/ext/gtk3/{rbgtktoolbutton.c → rbgtk-tool-button.c} +1 -1
  181. data/ext/gtk3/{rbgtktoolitem.c → rbgtk-tool-item.c} +1 -1
  182. data/ext/gtk3/{rbgtktoolitemgroup.c → rbgtk-tool-itemgroup.c} +0 -0
  183. data/ext/gtk3/{rbgtktoolshell.c → rbgtk-tool-shell.c} +0 -0
  184. data/ext/gtk3/{rbgtktoolbar.c → rbgtk-toolbar.c} +0 -0
  185. data/ext/gtk3/{rbgdkdisplay.c → rbgtk-tooltip-gdk-display.c} +3 -3
  186. data/ext/gtk3/{rbgtktooltip.c → rbgtk-tooltip.c} +1 -1
  187. data/ext/gtk3/{rbgtktreedragdest.c → rbgtk-tree-dragdest.c} +0 -0
  188. data/ext/gtk3/{rbgtktreedragsource.c → rbgtk-tree-dragsource.c} +0 -0
  189. data/ext/gtk3/{rbgtktreeiter.c → rbgtk-tree-iter.c} +1 -1
  190. data/ext/gtk3/{rbgtktreemodel.c → rbgtk-tree-model.c} +8 -10
  191. data/ext/gtk3/{rbgtktreemodelfilter.c → rbgtk-tree-modelfilter.c} +1 -1
  192. data/ext/gtk3/{rbgtktreemodelsort.c → rbgtk-tree-modelsort.c} +1 -1
  193. data/ext/gtk3/{rbgtktreepath.c → rbgtk-tree-path.c} +1 -1
  194. data/ext/gtk3/{rbgtktreerowreference.c → rbgtk-tree-rowreference.c} +1 -1
  195. data/ext/gtk3/{rbgtktreeselection.c → rbgtk-tree-selection.c} +0 -0
  196. data/ext/gtk3/{rbgtktreesortable.c → rbgtk-tree-sortable.c} +0 -0
  197. data/ext/gtk3/{rbgtktreestore.c → rbgtk-tree-store.c} +0 -0
  198. data/ext/gtk3/{rbgtktreeviewcolumn.c → rbgtk-tree-view-column.c} +0 -0
  199. data/ext/gtk3/{rbgtktreeview.c → rbgtk-tree-view.c} +1 -1
  200. data/ext/gtk3/{rbgtkuimanager.c → rbgtk-ui-manager.c} +0 -0
  201. data/ext/gtk3/{rbgtkviewport.c → rbgtk-viewport.c} +1 -1
  202. data/ext/gtk3/{rbgtkvolumebutton.c → rbgtk-volume-button.c} +1 -1
  203. data/ext/gtk3/{rbgtkwidgetpath.c → rbgtk-widget-path.c} +0 -0
  204. data/ext/gtk3/{rbgtkwidget.c → rbgtk-widget.c} +1 -1
  205. data/ext/gtk3/{rbgtkwindowgroup.c → rbgtk-window-group.c} +1 -1
  206. data/ext/gtk3/{rbgtkwindow.c → rbgtk-window.c} +1 -1
  207. data/ext/gtk3/rbgtk.c +7 -32
  208. data/ext/gtk3/rbgtk3private.h +5 -4
  209. data/lib/1.8/gtk3.so +0 -0
  210. data/lib/1.9/gtk3.so +0 -0
  211. data/test/test_gtk_list_store.rb +43 -0
  212. metadata +226 -227
  213. data/vendor/local/etc/gtk-2.0/gtkrc +0 -1
@@ -113,7 +113,7 @@ rg_delete_surrounding(VALUE self, VALUE offset, VALUE n_chars)
113
113
  NUM2INT(n_chars)));
114
114
  }
115
115
 
116
- void
116
+ void
117
117
  Init_gtk_imcontext(VALUE mGtk)
118
118
  {
119
119
  VALUE RG_TARGET_NAMESPACE = G_DEF_CLASS(GTK_TYPE_IM_CONTEXT, "IMContext", mGtk);
File without changes
File without changes
@@ -121,7 +121,7 @@ rg_selection_bounds(VALUE self)
121
121
  return ret ? rb_ary_new3(2, INT2NUM(start), INT2NUM(end)) : Qnil;
122
122
  }
123
123
 
124
- void
124
+ void
125
125
  Init_gtk_label(VALUE mGtk)
126
126
  {
127
127
  VALUE RG_TARGET_NAMESPACE = G_DEF_CLASS(GTK_TYPE_LABEL, "Label", mGtk);
File without changes
@@ -46,7 +46,7 @@ link_func(GtkLinkButton *button, const gchar *link, gpointer func)
46
46
  rb_funcall((VALUE)func, id_call, 2, GOBJ2RVAL(button), CSTR2RVAL(link));
47
47
  }
48
48
 
49
- void
49
+ void
50
50
  Init_gtk_link_button(VALUE mGtk)
51
51
  {
52
52
  VALUE RG_TARGET_NAMESPACE = G_DEF_CLASS(GTK_TYPE_LINK_BUTTON, "LinkButton", mGtk);
@@ -1,6 +1,6 @@
1
1
  /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
2
  /*
3
- * Copyright (C) 2011 Ruby-GNOME2 Project Team
3
+ * Copyright (C) 2011-2013 Ruby-GNOME2 Project Team
4
4
  * Copyright (C) 2002-2005 Masao Mutoh
5
5
  *
6
6
  * This library is free software; you can redistribute it and/or
@@ -73,7 +73,6 @@ rg_set_value(VALUE self, VALUE iter, VALUE column, VALUE value)
73
73
 
74
74
  rbgobj_rvalue_to_gvalue(value, &gval);
75
75
 
76
- G_CHILD_ADD(self, iter);
77
76
  G_CHILD_ADD(iter, value);
78
77
 
79
78
  gtk_list_store_set_value(_SELF(self), RVAL2GTKTREEITER(iter), NUM2INT(column), &gval);
@@ -156,8 +155,6 @@ rg_set_values(VALUE self, VALUE iter, VALUE values)
156
155
  g_values = ALLOCA_N(GValue, length);
157
156
  MEMZERO(g_values, GValue, length);
158
157
 
159
- G_CHILD_ADD(self, iter);
160
-
161
158
  store = _SELF(self);
162
159
  model = GTK_TREE_MODEL(store);
163
160
  if (RVAL2CBOOL(rb_obj_is_kind_of(values, rb_cHash))) {
@@ -266,8 +263,6 @@ rg_insert(int argc, VALUE *argv, VALUE self)
266
263
 
267
264
  result = GTKTREEITER2RVAL(&args.iter);
268
265
 
269
- G_CHILD_ADD(self, result);
270
-
271
266
  return result;
272
267
  }
273
268
 
@@ -281,13 +276,12 @@ rg_insert_before(VALUE self, VALUE sibling)
281
276
  iter.user_data3 = model;
282
277
 
283
278
  ret = GTKTREEITER2RVAL(&iter);
284
- G_CHILD_ADD(self, ret);
285
279
  return ret;
286
280
  }
287
281
 
288
282
  static VALUE
289
283
  rg_insert_after(VALUE self, VALUE sibling)
290
- {
284
+ {
291
285
  VALUE ret;
292
286
  GtkTreeIter iter;
293
287
  GtkListStore* model = _SELF(self);
@@ -295,7 +289,6 @@ rg_insert_after(VALUE self, VALUE sibling)
295
289
  iter.user_data3 = model;
296
290
 
297
291
  ret = GTKTREEITER2RVAL(&iter);
298
- G_CHILD_ADD(self, ret);
299
292
  return ret;
300
293
  }
301
294
 
@@ -309,7 +302,6 @@ rg_prepend(VALUE self)
309
302
  iter.user_data3 = model;
310
303
 
311
304
  ret = GTKTREEITER2RVAL(&iter);
312
- G_CHILD_ADD(self, ret);
313
305
  return ret;
314
306
  }
315
307
 
@@ -323,7 +315,6 @@ rg_append(VALUE self)
323
315
  iter.user_data3 = model;
324
316
 
325
317
  ret = GTKTREEITER2RVAL(&iter);
326
- G_CHILD_ADD(self, ret);
327
318
  return ret;
328
319
  }
329
320
 
File without changes
@@ -83,7 +83,7 @@ rg_toggle_size_allocate(VALUE self, VALUE allocation)
83
83
  return self;
84
84
  }
85
85
 
86
- void
86
+ void
87
87
  Init_gtk_menu_item(VALUE mGtk)
88
88
  {
89
89
  VALUE RG_TARGET_NAMESPACE = G_DEF_CLASS(GTK_TYPE_MENU_ITEM, "MenuItem", mGtk);
@@ -88,7 +88,7 @@ rg_activate_item(VALUE self, VALUE menu_item, VALUE force_deactivate)
88
88
  return self;
89
89
  }
90
90
 
91
- void
91
+ void
92
92
  Init_gtk_menu_shell(VALUE mGtk)
93
93
  {
94
94
  VALUE RG_TARGET_NAMESPACE = G_DEF_CLASS(GTK_TYPE_MENU_SHELL, "MenuShell", mGtk);
@@ -69,7 +69,7 @@ rg_set_arrow_tooltip(int argc, VALUE *argv, VALUE self)
69
69
  }
70
70
  */
71
71
 
72
- void
72
+ void
73
73
  Init_gtk_menutoolbutton(VALUE mGtk)
74
74
  {
75
75
  VALUE RG_TARGET_NAMESPACE = G_DEF_CLASS(GTK_TYPE_MENU_TOOL_BUTTON, "MenuToolButton", mGtk);
@@ -150,7 +150,7 @@ rg_s_get_for_attach_widget(G_GNUC_UNUSED VALUE self, VALUE widget)
150
150
  return GOBJGLIST2RVAL(gtk_menu_get_for_attach_widget(RVAL2GTKWIDGET(widget)));
151
151
  }
152
152
 
153
- void
153
+ void
154
154
  Init_gtk_menu(VALUE mGtk)
155
155
  {
156
156
  VALUE RG_TARGET_NAMESPACE = G_DEF_CLASS(GTK_TYPE_MENU, "Menu", mGtk);
@@ -33,7 +33,7 @@ rg_initialize(VALUE self)
33
33
  return Qnil;
34
34
  }
35
35
 
36
- void
36
+ void
37
37
  Init_gtk_menu_bar(VALUE mGtk)
38
38
  {
39
39
  VALUE RG_TARGET_NAMESPACE = G_DEF_CLASS(GTK_TYPE_MENU_BAR, "MenuBar", mGtk);
@@ -62,7 +62,7 @@ rg_set_markup(VALUE self, VALUE str)
62
62
  return self;
63
63
  }
64
64
 
65
- void
65
+ void
66
66
  Init_gtk_message_dialog(VALUE mGtk)
67
67
  {
68
68
  VALUE RG_TARGET_NAMESPACE = G_DEF_CLASS(GTK_TYPE_MESSAGE_DIALOG, "MessageDialog", mGtk);
@@ -58,7 +58,7 @@ rg_padding(VALUE self)
58
58
 
59
59
  return rb_ary_new3(2, INT2NUM(xpad), INT2NUM(ypad));
60
60
  }
61
- void
61
+ void
62
62
  Init_gtk_misc(VALUE mGtk)
63
63
  {
64
64
  VALUE RG_TARGET_NAMESPACE = G_DEF_CLASS(GTK_TYPE_MISC, "Misc", mGtk);
@@ -333,7 +333,7 @@ rg_tab_vborder(VALUE self)
333
333
  return UINT2NUM(gtk_notebook_get_tab_vborder(_SELF(self)));
334
334
  }
335
335
 
336
- void
336
+ void
337
337
  Init_gtk_notebook(VALUE mGtk)
338
338
  {
339
339
  VALUE RG_TARGET_NAMESPACE = G_DEF_CLASS(GTK_TYPE_NOTEBOOK, "Notebook", mGtk);
File without changes
File without changes
File without changes
@@ -98,7 +98,7 @@ rg_handle_window(VALUE self)
98
98
  return GOBJ2RVAL(gtk_paned_get_handle_window(_SELF(self)));
99
99
  }
100
100
 
101
- void
101
+ void
102
102
  Init_gtk_paned(VALUE mGtk)
103
103
  {
104
104
  VALUE RG_TARGET_NAMESPACE = G_DEF_CLASS(GTK_TYPE_PANED, "Paned", mGtk);
File without changes
@@ -72,7 +72,7 @@ rg_id(VALUE self)
72
72
 
73
73
  #endif
74
74
 
75
- void
75
+ void
76
76
  Init_gtk_plug(VALUE mGtk)
77
77
  {
78
78
  #ifdef HAVE_GTK_PLUG_GET_TYPE
File without changes
File without changes
@@ -40,7 +40,7 @@ rg_pulse(VALUE self)
40
40
  return self;
41
41
  }
42
42
 
43
- void
43
+ void
44
44
  Init_gtk_progress_bar(VALUE mGtk)
45
45
  {
46
46
  VALUE RG_TARGET_NAMESPACE = G_DEF_CLASS(GTK_TYPE_PROGRESS_BAR, "ProgressBar", mGtk);
@@ -111,7 +111,7 @@ raction_set_group(VALUE self, VALUE rbgroup)
111
111
  return self;
112
112
  }
113
113
 
114
- void
114
+ void
115
115
  Init_gtk_radio_action(VALUE mGtk)
116
116
  {
117
117
  VALUE RG_TARGET_NAMESPACE = G_DEF_CLASS(GTK_TYPE_RADIO_ACTION, "RadioAction", mGtk);
@@ -79,7 +79,7 @@ rg_group(VALUE self)
79
79
  return GOBJGSLIST2RVAL(gtk_radio_button_get_group(RVAL2GTKRADIOBUTTON(self)));
80
80
  }
81
81
 
82
- void
82
+ void
83
83
  Init_gtk_radio_button(VALUE mGtk)
84
84
  {
85
85
  RG_TARGET_NAMESPACE = G_DEF_CLASS(GTK_TYPE_RADIO_BUTTON, "RadioButton", mGtk);
@@ -136,7 +136,7 @@ rmitem_set_group(VALUE self, VALUE grp_ary)
136
136
  return GOBJGSLIST2RVAL(gtk_radio_menu_item_get_group(rmitem2add));
137
137
  }
138
138
 
139
- void
139
+ void
140
140
  Init_gtk_radio_menu_item(VALUE mGtk)
141
141
  {
142
142
  VALUE RG_TARGET_NAMESPACE = G_DEF_CLASS(GTK_TYPE_RADIO_MENU_ITEM, "RadioMenuItem", mGtk);
@@ -120,7 +120,7 @@ rbtn_set_group(VALUE self, VALUE rbgroup)
120
120
  return self;
121
121
  }
122
122
 
123
- void
123
+ void
124
124
  Init_gtk_radiotoolbutton(VALUE mGtk)
125
125
  {
126
126
  RG_TARGET_NAMESPACE = G_DEF_CLASS(GTK_TYPE_RADIO_TOOL_BUTTON, "RadioToolButton", mGtk);
@@ -54,7 +54,7 @@ rg_set_value(VALUE self, VALUE value)
54
54
  return self;
55
55
  }
56
56
 
57
- void
57
+ void
58
58
  Init_gtk_range(VALUE mGtk)
59
59
  {
60
60
  VALUE RG_TARGET_NAMESPACE = G_DEF_CLASS(GTK_TYPE_RANGE, "Range", mGtk);
@@ -56,7 +56,7 @@ rg_initialize(int argc, VALUE *argv, VALUE self)
56
56
  return Qnil;
57
57
  }
58
58
 
59
- void
59
+ void
60
60
  Init_gtk_recentaction(VALUE mGtk)
61
61
  {
62
62
  VALUE RG_TARGET_NAMESPACE = G_DEF_CLASS(GTK_TYPE_RECENT_ACTION, "RecentAction", mGtk);
@@ -57,7 +57,7 @@ rg_initialize(int argc, VALUE *argv, VALUE self)
57
57
  return Qnil;
58
58
  }
59
59
 
60
- void
60
+ void
61
61
  Init_gtk_recent_chooser_dialog(VALUE mGtk)
62
62
  {
63
63
  VALUE RG_TARGET_NAMESPACE = G_DEF_CLASS(GTK_TYPE_RECENT_CHOOSER_DIALOG, "RecentChooserDialog", mGtk);
@@ -41,7 +41,7 @@ rg_initialize(int argc, VALUE *argv, VALUE self)
41
41
  return Qnil;
42
42
  }
43
43
 
44
- void
44
+ void
45
45
  Init_gtk_recent_chooser_menu(VALUE mGtk)
46
46
  {
47
47
  VALUE RG_TARGET_NAMESPACE = G_DEF_CLASS(GTK_TYPE_RECENT_CHOOSER_MENU, "RecentChooserMenu", mGtk);
@@ -39,7 +39,7 @@ rg_initialize(int argc, VALUE *argv, VALUE self)
39
39
  return Qnil;
40
40
  }
41
41
 
42
- void
42
+ void
43
43
  Init_gtk_recent_chooser_widget(VALUE mGtk)
44
44
  {
45
45
  VALUE RG_TARGET_NAMESPACE = G_DEF_CLASS(GTK_TYPE_RECENT_CHOOSER_WIDGET, "RecentChooserWidget", mGtk);
@@ -172,7 +172,7 @@ rg_filters(VALUE self)
172
172
  g_slist_free, NULL);
173
173
  }
174
174
 
175
- void
175
+ void
176
176
  Init_gtk_recent_chooser(VALUE mGtk)
177
177
  {
178
178
  rb_mGtk = mGtk;
File without changes
@@ -177,7 +177,7 @@ rg_set_age(VALUE self, VALUE age)
177
177
  return self;
178
178
  }
179
179
 
180
- void
180
+ void
181
181
  Init_gtk_recent_filter_info(VALUE mGtk)
182
182
  {
183
183
  VALUE RG_TARGET_NAMESPACE = G_DEF_CLASS(GTK_TYPE_RECENT_FILTER_INFO, "RecentFilterInfo", mGtk);
@@ -147,7 +147,7 @@ rg_filter(VALUE self, VALUE filter_info)
147
147
  RVAL2GTKRECENTFILTERINFO(filter_info)));
148
148
  }
149
149
 
150
- void
150
+ void
151
151
  Init_gtk_recent_filter(VALUE mGtk)
152
152
  {
153
153
  rb_mGtk = mGtk;
@@ -185,7 +185,7 @@ rg_operator_ri_match(VALUE self, VALUE other)
185
185
  return CBOOL2RVAL(gtk_recent_info_match(_SELF(self), _SELF(other)));
186
186
  }
187
187
 
188
- void
188
+ void
189
189
  Init_gtk_recent_info(VALUE mGtk)
190
190
  {
191
191
  VALUE RG_TARGET_NAMESPACE = G_DEF_CLASS(GTK_TYPE_RECENT_INFO, "RecentInfo", mGtk);
@@ -114,7 +114,7 @@ rg_purge_items(VALUE self)
114
114
  return INT2NUM(ret);
115
115
  }
116
116
 
117
- void
117
+ void
118
118
  Init_gtk_recent_manager(VALUE mGtk)
119
119
  {
120
120
  VALUE RG_TARGET_NAMESPACE = G_DEF_CLASS(GTK_TYPE_RECENT_MANAGER, "RecentManager", mGtk);
@@ -73,7 +73,7 @@ rg_plus_button(VALUE self)
73
73
  return GOBJ2RVAL(gtk_scale_button_get_plus_button(_SELF(self)));
74
74
  }
75
75
 
76
- void
76
+ void
77
77
  Init_gtk_scalebutton(VALUE mGtk)
78
78
  {
79
79
  VALUE RG_TARGET_NAMESPACE = G_DEF_CLASS(GTK_TYPE_SCALE_BUTTON, "ScaleButton", mGtk);
@@ -84,7 +84,7 @@ rg_clear_marks(VALUE self)
84
84
  return self;
85
85
  }
86
86
 
87
- void
87
+ void
88
88
  Init_gtk_scale(VALUE mGtk)
89
89
  {
90
90
  VALUE RG_TARGET_NAMESPACE = G_DEF_CLASS(GTK_TYPE_SCALE, "Scale", mGtk);
File without changes
File without changes
@@ -105,7 +105,7 @@ rg_placement(VALUE self)
105
105
  return GTKCORNERTYPE2RVAL(gtk_scrolled_window_get_placement(_SELF(self)));
106
106
  }
107
107
 
108
- void
108
+ void
109
109
  Init_gtk_scrolled_window(VALUE mGtk)
110
110
  {
111
111
  VALUE RG_TARGET_NAMESPACE = G_DEF_CLASS(GTK_TYPE_SCROLLED_WINDOW, "ScrolledWindow", mGtk);
File without changes
@@ -30,7 +30,7 @@ rg_initialize(VALUE self)
30
30
  return Qnil;
31
31
  }
32
32
 
33
- void
33
+ void
34
34
  Init_gtk_separator_menu_item(VALUE mGtk)
35
35
  {
36
36
  VALUE RG_TARGET_NAMESPACE = G_DEF_CLASS(GTK_TYPE_SEPARATOR_MENU_ITEM, "SeparatorMenuItem", mGtk);
@@ -30,7 +30,7 @@ rg_initialize(VALUE self)
30
30
  return Qnil;
31
31
  }
32
32
 
33
- void
33
+ void
34
34
  Init_gtk_separatortoolitem(VALUE mGtk)
35
35
  {
36
36
  VALUE RG_TARGET_NAMESPACE = G_DEF_CLASS(GTK_TYPE_SEPARATOR_TOOL_ITEM, "SeparatorToolItem", mGtk);
File without changes
@@ -207,7 +207,7 @@ void gtk_settings_set_double_property
207
207
  const gchar *origin);
208
208
  */
209
209
 
210
- void
210
+ void
211
211
  Init_gtk_settings(VALUE mGtk)
212
212
  {
213
213
  VALUE RG_TARGET_NAMESPACE = G_DEF_CLASS(GTK_TYPE_SETTINGS, "Settings", mGtk);
File without changes
@@ -68,7 +68,7 @@ rg_id(VALUE self)
68
68
 
69
69
  #endif
70
70
 
71
- void
71
+ void
72
72
  Init_gtk_socket(VALUE mGtk)
73
73
  {
74
74
  #ifdef HAVE_GTK_SOCKET_GET_TYPE
@@ -112,7 +112,7 @@ rg_range(VALUE self)
112
112
  return rb_ary_new3(2, rb_float_new(min), rb_float_new(max));
113
113
  }
114
114
 
115
- void
115
+ void
116
116
  Init_gtk_spin_button(VALUE mGtk)
117
117
  {
118
118
  VALUE RG_TARGET_NAMESPACE = G_DEF_CLASS(GTK_TYPE_SPIN_BUTTON, "SpinButton", mGtk);
@@ -44,7 +44,7 @@ rg_stop(VALUE self)
44
44
  return self;
45
45
  }
46
46
 
47
- void
47
+ void
48
48
  Init_gtk_spinner(VALUE mGtk)
49
49
  {
50
50
  VALUE RG_TARGET_NAMESPACE = G_DEF_CLASS(GTK_TYPE_SPINNER, "Spinner", mGtk);
@@ -64,7 +64,7 @@ rg_remove(VALUE self, VALUE cid, VALUE mid)
64
64
  return self;
65
65
  }
66
66
 
67
- void
67
+ void
68
68
  Init_gtk_statusbar(VALUE mGtk)
69
69
  {
70
70
  VALUE RG_TARGET_NAMESPACE = G_DEF_CLASS(GTK_TYPE_STATUSBAR, "Statusbar", mGtk);
@@ -106,7 +106,7 @@ rg_geometry(VALUE self)
106
106
  }
107
107
  }
108
108
 
109
- void
109
+ void
110
110
  Init_gtk_status_icon(VALUE mGtk)
111
111
  {
112
112
  VALUE RG_TARGET_NAMESPACE = G_DEF_CLASS(GTK_TYPE_STATUS_ICON, "StatusIcon", mGtk);
File without changes
@@ -1,6 +1,6 @@
1
1
  /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
2
  /*
3
- * Copyright (C) 2011 Ruby-GNOME2 Project Team
3
+ * Copyright (C) 2011-2013 Ruby-GNOME2 Project Team
4
4
  *
5
5
  * This library is free software; you can redistribute it and/or
6
6
  * modify it under the terms of the GNU Lesser General Public
@@ -50,8 +50,8 @@ rg_reset_widgets(VALUE self)
50
50
  return self;
51
51
  }
52
52
 
53
- void
54
- Init_gdk_screen(void)
53
+ void
54
+ Init_gtk_style_context_gdk_screen(void)
55
55
  {
56
56
  VALUE RG_TARGET_NAMESPACE = GTYPE2CLASS(GDK_TYPE_SCREEN);
57
57
 
File without changes
@@ -161,7 +161,7 @@ rg_size(VALUE self)
161
161
  return rb_ary_new3(2, UINT2NUM(rows), UINT2NUM(columns));
162
162
  }
163
163
 
164
- void
164
+ void
165
165
  Init_gtk_table(VALUE mGtk)
166
166
  {
167
167
  VALUE RG_TARGET_NAMESPACE = G_DEF_CLASS(GTK_TYPE_TABLE, "Table", mGtk);
File without changes
@@ -33,7 +33,7 @@ rg_initialize(VALUE self)
33
33
  return Qnil;
34
34
  }
35
35
 
36
- void
36
+ void
37
37
  Init_gtk_tearoff_menu_item(VALUE mGtk)
38
38
  {
39
39
  VALUE RG_TARGET_NAMESPACE = G_DEF_CLASS(GTK_TYPE_TEAROFF_MENU_ITEM, "TearoffMenuItem", mGtk);
@@ -818,7 +818,7 @@ rg_bounds(VALUE self)
818
818
  return rb_ary_new3(2, GTKTEXTITER2RVAL(&start), GTKTEXTITER2RVAL(&end));
819
819
  }
820
820
 
821
- void
821
+ void
822
822
  Init_gtk_textbuffer(VALUE mGtk)
823
823
  {
824
824
  rb_mGtk = mGtk;
File without changes
@@ -59,7 +59,7 @@ rg_buffer(VALUE self)
59
59
  return GOBJ2RVAL(gtk_text_mark_get_buffer(_SELF(self)));
60
60
  }
61
61
 
62
- void
62
+ void
63
63
  Init_gtk_textmark(VALUE mGtk)
64
64
  {
65
65
  VALUE RG_TARGET_NAMESPACE = G_DEF_CLASS(GTK_TYPE_TEXT_MARK, "TextMark", mGtk);
File without changes
File without changes
@@ -51,7 +51,7 @@ rg_toggled(VALUE self)
51
51
  return self;
52
52
  }
53
53
 
54
- void
54
+ void
55
55
  Init_gtk_toggle_action(VALUE mGtk)
56
56
  {
57
57
  VALUE RG_TARGET_NAMESPACE = G_DEF_CLASS(GTK_TYPE_TOGGLE_ACTION, "ToggleAction", mGtk);