gtk3 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +0 -12
- data/ext/gtk3/init.c +0 -4
- data/ext/gtk3/{rbgtkaboutdialog.c → rbgtk-about-dialog.c} +1 -1
- data/ext/gtk3/{rbgtkaccelgroupentry.c → rbgtk-accel-group-entry.c} +0 -0
- data/ext/gtk3/{rbgtkaccelgroup.c → rbgtk-accel-group.c} +1 -1
- data/ext/gtk3/{rbgtkaccelkey.c → rbgtk-accel-key.c} +0 -0
- data/ext/gtk3/{rbgtkaccellabel.c → rbgtk-accel-label.c} +0 -0
- data/ext/gtk3/{rbgtkaccelmap.c → rbgtk-accel-map.c} +0 -0
- data/ext/gtk3/{rbgtkaccelerator.c → rbgtk-accelerator.c} +0 -0
- data/ext/gtk3/{rbgtkaccessible.c → rbgtk-accessible.c} +0 -0
- data/ext/gtk3/{rbgtkactiongroup.c → rbgtk-action-group.c} +1 -1
- data/ext/gtk3/{rbgtkaction.c → rbgtk-action.c} +0 -0
- data/ext/gtk3/{rbgtkactivatable.c → rbgtk-activatable.c} +0 -0
- data/ext/gtk3/{rbgtkadjustment.c → rbgtk-adjustment.c} +1 -1
- data/ext/gtk3/{rbgtkalignment.c → rbgtk-alignment.c} +1 -1
- data/ext/gtk3/{rbgtkallocation.c → rbgtk-allocation.c} +1 -1
- data/ext/gtk3/{rbgtkappchooserbutton.c → rbgtk-app-chooser-button.c} +0 -0
- data/ext/gtk3/{rbgtkappchooserdialog.c → rbgtk-app-chooser-dialog.c} +0 -0
- data/ext/gtk3/{rbgtkappchooserwidget.c → rbgtk-app-chooser-widget.c} +0 -0
- data/ext/gtk3/{rbgtkappchooser.c → rbgtk-app-chooser.c} +0 -0
- data/ext/gtk3/{rbgtkapplication.c → rbgtk-application.c} +0 -0
- data/ext/gtk3/{rbgtkarrow.c → rbgtk-arrow.c} +1 -1
- data/ext/gtk3/{rbgtkaspectframe.c → rbgtk-aspect-frame.c} +1 -1
- data/ext/gtk3/{rbgtkassistant.c → rbgtk-assistant.c} +0 -0
- data/ext/gtk3/{rbgtkbin.c → rbgtk-bin.c} +1 -1
- data/ext/gtk3/{rbgtkbindingset.c → rbgtk-binding-set.c} +1 -1
- data/ext/gtk3/{rbgtkborder.c → rbgtk-border.c} +1 -1
- data/ext/gtk3/{rbgtkbox.c → rbgtk-box.c} +1 -1
- data/ext/gtk3/{rbgtkbuildable.c → rbgtk-buildable.c} +0 -0
- data/ext/gtk3/{rbgtkbuilder.c → rbgtk-builder.c} +0 -0
- data/ext/gtk3/{rbgtkbuttonbox.c → rbgtk-button-box.c} +1 -1
- data/ext/gtk3/{rbgtkbutton.c → rbgtk-button.c} +1 -1
- data/ext/gtk3/{rbgtkcalendar.c → rbgtk-calendar.c} +1 -1
- data/ext/gtk3/{rbgtkcelleditable.c → rbgtk-cell-editable.c} +0 -0
- data/ext/gtk3/{rbgtkcelllayout.c → rbgtk-cell-layout.c} +0 -0
- data/ext/gtk3/{rbgtkcellrendereraccel.c → rbgtk-cell-renderer-accel.c} +0 -0
- data/ext/gtk3/{rbgtkcellrenderercombo.c → rbgtk-cell-renderer-combo.c} +0 -0
- data/ext/gtk3/{rbgtkcellrendererpixbuf.c → rbgtk-cell-renderer-pixbuf.c} +0 -0
- data/ext/gtk3/{rbgtkcellrendererprogress.c → rbgtk-cell-renderer-progress.c} +0 -0
- data/ext/gtk3/{rbgtkcellrendererspin.c → rbgtk-cell-renderer-spin.c} +0 -0
- data/ext/gtk3/{rbgtkcellrendererspinner.c → rbgtk-cell-renderer-spinner.c} +0 -0
- data/ext/gtk3/{rbgtkcellrenderertext.c → rbgtk-cell-renderer-text.c} +0 -0
- data/ext/gtk3/{rbgtkcellrenderertoggle.c → rbgtk-cell-renderer-toggle.c} +0 -0
- data/ext/gtk3/{rbgtkcellrenderer.c → rbgtk-cell-renderer.c} +0 -0
- data/ext/gtk3/{rbgtkcellview.c → rbgtk-cell-view.c} +0 -0
- data/ext/gtk3/{rbgtkcheckbutton.c → rbgtk-check-button.c} +1 -1
- data/ext/gtk3/{rbgtkcheckmenuitem.c → rbgtk-check-menu-item.c} +1 -1
- data/ext/gtk3/{rbgtkclipboard.c → rbgtk-clip-board.c} +1 -1
- data/ext/gtk3/{rbgtkcolorbutton.c → rbgtk-color-button.c} +1 -1
- data/ext/gtk3/{rbgtkcolorselectiondialog.c → rbgtk-color-selection-dialog.c} +1 -1
- data/ext/gtk3/{rbgtkcolorselection.c → rbgtk-color-selection.c} +1 -1
- data/ext/gtk3/{rbgtkcomboboxtext.c → rbgtk-combo-box-text.c} +0 -0
- data/ext/gtk3/{rbgtkcombobox.c → rbgtk-combo-box.c} +1 -1
- data/ext/gtk3/{rbgtkconst.c → rbgtk-const.c} +1 -1
- data/ext/gtk3/{rbgtkcontainer.c → rbgtk-container.c} +1 -1
- data/ext/gtk3/{rbgtkcssprovider.c → rbgtk-css-provider.c} +0 -0
- data/ext/gtk3/{rbgtkdialog.c → rbgtk-dialog.c} +1 -1
- data/ext/gtk3/{rbgdkdragcontext.c → rbgtk-drag-gdk-drag-context.c} +2 -2
- data/ext/gtk3/{rbgtkdrag.c → rbgtk-drag.c} +0 -0
- data/ext/gtk3/{rbgtkdrawingarea.c → rbgtk-drawing-area.c} +1 -1
- data/ext/gtk3/{rbgtkeditable.c → rbgtk-editable.c} +1 -1
- data/ext/gtk3/{rbgtkentrybuffer.c → rbgtk-entry-buffer.c} +0 -0
- data/ext/gtk3/{rbgtkentrycompletion.c → rbgtk-entry-completion.c} +1 -1
- data/ext/gtk3/{rbgtkentry.c → rbgtk-entry.c} +0 -0
- data/ext/gtk3/{rbgtkeventbox.c → rbgtk-event-box.c} +1 -1
- data/ext/gtk3/{rbgtkexpander.c → rbgtk-expander.c} +1 -1
- data/ext/gtk3/{rbgtkfilechooserbutton.c → rbgtk-file-chooser-button.c} +1 -1
- data/ext/gtk3/{rbgtkfilechooserdialog.c → rbgtk-file-chooser-dialog.c} +1 -1
- data/ext/gtk3/{rbgtkfilechooserwidget.c → rbgtk-file-chooser-widget.c} +1 -1
- data/ext/gtk3/{rbgtkfilechooser.c → rbgtk-file-chooser.c} +1 -1
- data/ext/gtk3/{rbgtkfilefilter.c → rbgtk-file-filter.c} +1 -1
- data/ext/gtk3/{rbgtkfilesystemerror.c → rbgtk-file-system-error.c} +1 -1
- data/ext/gtk3/{rbgtkfixed.c → rbgtk-fixed.c} +1 -1
- data/ext/gtk3/{rbgtkfontbutton.c → rbgtk-font-button.c} +1 -1
- data/ext/gtk3/{rbgtkfontchooserdialog.c → rbgtk-font-chooser-dialog.c} +0 -0
- data/ext/gtk3/{rbgtkfontchooserwidget.c → rbgtk-font-chooser-widget.c} +0 -0
- data/ext/gtk3/{rbgtkfontchooser.c → rbgtk-font-chooser.c} +0 -0
- data/ext/gtk3/{rbgtkframe.c → rbgtk-frame.c} +1 -1
- data/ext/gtk3/{rbgdkevent.c → rbgtk-gdk-event.c} +3 -3
- data/ext/gtk3/{rbgtkgrid.c → rbgtk-grid.c} +0 -0
- data/ext/gtk3/{rbgtkhandlebox.c → rbgtk-handle-box.c} +1 -1
- data/ext/gtk3/{rbgtkhsv.c → rbgtk-hsv.c} +0 -0
- data/ext/gtk3/{rbgtkiconfactory.c → rbgtk-icon-factory.c} +0 -0
- data/ext/gtk3/{rbgtkiconinfo.c → rbgtk-icon-info.c} +1 -1
- data/ext/gtk3/{rbgtkiconset.c → rbgtk-icon-set.c} +0 -0
- data/ext/gtk3/{rbgtkiconsize.c → rbgtk-icon-size.c} +0 -0
- data/ext/gtk3/{rbgtkiconsource.c → rbgtk-icon-source.c} +0 -0
- data/ext/gtk3/{rbgtkicontheme.c → rbgtk-icon-theme.c} +0 -0
- data/ext/gtk3/{rbgtkiconview.c → rbgtk-icon-view.c} +0 -0
- data/ext/gtk3/{rbgtkimmulticontext.c → rbgtk-im-multicontext.c} +1 -1
- data/ext/gtk3/{rbgtkimagemenuitem.c → rbgtk-image-menu-item.c} +1 -1
- data/ext/gtk3/{rbgtkimage.c → rbgtk-image.c} +1 -1
- data/ext/gtk3/{rbgtkimcontextsimple.c → rbgtk-imcon-text-simple.c} +1 -1
- data/ext/gtk3/{rbgtkimcontext.c → rbgtk-imcon-text.c} +1 -1
- data/ext/gtk3/{rbgtkinfobar.c → rbgtk-infobar.c} +0 -0
- data/ext/gtk3/{rbgtkinvisible.c → rbgtk-invisible.c} +0 -0
- data/ext/gtk3/{rbgtklabel.c → rbgtk-label.c} +1 -1
- data/ext/gtk3/{rbgtklayout.c → rbgtk-layout.c} +0 -0
- data/ext/gtk3/{rbgtklinkbutton.c → rbgtk-link-button.c} +1 -1
- data/ext/gtk3/{rbgtkliststore.c → rbgtk-list-store.c} +2 -11
- data/ext/gtk3/{rbgtklockbutton.c → rbgtk-lock-button.c} +0 -0
- data/ext/gtk3/{rbgtkmenuitem.c → rbgtk-menu-item.c} +1 -1
- data/ext/gtk3/{rbgtkmenushell.c → rbgtk-menu-shell.c} +1 -1
- data/ext/gtk3/{rbgtkmenutoolbutton.c → rbgtk-menu-tool-button.c} +1 -1
- data/ext/gtk3/{rbgtkmenu.c → rbgtk-menu.c} +1 -1
- data/ext/gtk3/{rbgtkmenubar.c → rbgtk-menubar.c} +1 -1
- data/ext/gtk3/{rbgtkmessagedialog.c → rbgtk-message-dialog.c} +1 -1
- data/ext/gtk3/{rbgtkmisc.c → rbgtk-misc.c} +1 -1
- data/ext/gtk3/{rbgtknotebook.c → rbgtk-notebook.c} +1 -1
- data/ext/gtk3/{rbgtknumerableicon.c → rbgtk-numerable-icon.c} +0 -0
- data/ext/gtk3/{rbgtkorientable.c → rbgtk-orientable.c} +0 -0
- data/ext/gtk3/{rbgtkoverlay.c → rbgtk-overlay.c} +0 -0
- data/ext/gtk3/{rbgtkpagesetupunixdialog.c → rbgtk-page-setup-unix-dialog.c} +0 -0
- data/ext/gtk3/{rbgtkpagesetup.c → rbgtk-page-setup.c} +0 -0
- data/ext/gtk3/{rbgtkpaned.c → rbgtk-paned.c} +1 -1
- data/ext/gtk3/{rbgtkpapersize.c → rbgtk-paper-size.c} +0 -0
- data/ext/gtk3/{rbgtkplug.c → rbgtk-plug.c} +1 -1
- data/ext/gtk3/{rbgtkprintcontext.c → rbgtk-print-context.c} +0 -0
- data/ext/gtk3/{rbgtkprintjob.c → rbgtk-print-job.c} +0 -0
- data/ext/gtk3/{rbgtkprintoperationpreview.c → rbgtk-print-operation-preview.c} +0 -0
- data/ext/gtk3/{rbgtkprintoperation.c → rbgtk-print-operation.c} +0 -0
- data/ext/gtk3/{rbgtkprintsettings.c → rbgtk-print-settings.c} +0 -0
- data/ext/gtk3/{rbgtkprintunixdialog.c → rbgtk-print-unix-dialog.c} +0 -0
- data/ext/gtk3/{rbgtkprinter.c → rbgtk-printer.c} +0 -0
- data/ext/gtk3/{rbgtkprogressbar.c → rbgtk-progress-bar.c} +1 -1
- data/ext/gtk3/{rbgtkradioaction.c → rbgtk-radio-action.c} +1 -1
- data/ext/gtk3/{rbgtkradiobutton.c → rbgtk-radio-button.c} +1 -1
- data/ext/gtk3/{rbgtkradiomenuitem.c → rbgtk-radio-menu-item.c} +1 -1
- data/ext/gtk3/{rbgtkradiotoolbutton.c → rbgtk-radio-tool-button.c} +1 -1
- data/ext/gtk3/{rbgtkrange.c → rbgtk-range.c} +1 -1
- data/ext/gtk3/{rbgtkrecentaction.c → rbgtk-recent-action.c} +1 -1
- data/ext/gtk3/{rbgtkrecentchooserdialog.c → rbgtk-recent-chooser-dialog.c} +1 -1
- data/ext/gtk3/{rbgtkrecentchoosermenu.c → rbgtk-recent-chooser-menu.c} +1 -1
- data/ext/gtk3/{rbgtkrecentchooserwidget.c → rbgtk-recent-chooser-widget.c} +1 -1
- data/ext/gtk3/{rbgtkrecentchooser.c → rbgtk-recent-chooser.c} +1 -1
- data/ext/gtk3/{rbgtkrecentdata.c → rbgtk-recent-data.c} +0 -0
- data/ext/gtk3/{rbgtkrecentfilterinfo.c → rbgtk-recent-filter-info.c} +1 -1
- data/ext/gtk3/{rbgtkrecentfilter.c → rbgtk-recent-filter.c} +1 -1
- data/ext/gtk3/{rbgtkrecentinfo.c → rbgtk-recent-info.c} +1 -1
- data/ext/gtk3/{rbgtkrecentmanager.c → rbgtk-recent-manager.c} +1 -1
- data/ext/gtk3/{rbgtkscalebutton.c → rbgtk-scale-button.c} +1 -1
- data/ext/gtk3/{rbgtkscale.c → rbgtk-scale.c} +1 -1
- data/ext/gtk3/{rbgtkscrollable.c → rbgtk-scrollable.c} +0 -0
- data/ext/gtk3/{rbgtkscrollbar.c → rbgtk-scrollbar.c} +0 -0
- data/ext/gtk3/{rbgtkscrolledwindow.c → rbgtk-scrolled-window.c} +1 -1
- data/ext/gtk3/{rbgtkselectiondata.c → rbgtk-selection-data.c} +0 -0
- data/ext/gtk3/{rbgtkselection.c → rbgtk-selection.c} +0 -0
- data/ext/gtk3/{rbgtkseparatormenuitem.c → rbgtk-separator-menu-item.c} +1 -1
- data/ext/gtk3/{rbgtkseparatortoolitem.c → rbgtk-separator-tool-item.c} +1 -1
- data/ext/gtk3/{rbgtkseparator.c → rbgtk-separator.c} +0 -0
- data/ext/gtk3/{rbgtksettings.c → rbgtk-settings.c} +1 -1
- data/ext/gtk3/{rbgtksizegroup.c → rbgtk-size-group.c} +0 -0
- data/ext/gtk3/{rbgtksocket.c → rbgtk-socket.c} +1 -1
- data/ext/gtk3/{rbgtkspinbutton.c → rbgtk-spin-button.c} +1 -1
- data/ext/gtk3/{rbgtkspinner.c → rbgtk-spinner.c} +1 -1
- data/ext/gtk3/{rbgtkstatusbar.c → rbgtk-status-bar.c} +1 -1
- data/ext/gtk3/{rbgtkstatusicon.c → rbgtk-status-icon.c} +1 -1
- data/ext/gtk3/{rbgtkstock.c → rbgtk-stock.c} +0 -0
- data/ext/gtk3/{rbgdkscreen.c → rbgtk-style-context-gdk-screen.c} +3 -3
- data/ext/gtk3/{rbgtkstylecontext.c → rbgtk-style-context.c} +0 -0
- data/ext/gtk3/{rbgtkstyleproperties.c → rbgtk-style-properties.c} +0 -0
- data/ext/gtk3/{rbgtkstyleprovider.c → rbgtk-style-provider.c} +0 -0
- data/ext/gtk3/{rbgtkswitch.c → rbgtk-switch.c} +0 -0
- data/ext/gtk3/{rbgtktable.c → rbgtk-table.c} +1 -1
- data/ext/gtk3/{rbgtktargetlist.c → rbgtk-target-list.c} +0 -0
- data/ext/gtk3/{rbgtktearoffmenuitem.c → rbgtk-tearoff-menu-item.c} +1 -1
- data/ext/gtk3/{rbgtktextappearance.c → rbgtk-text-appearance.c} +0 -0
- data/ext/gtk3/{rbgtktextattributes.c → rbgtk-text-attributes.c} +0 -0
- data/ext/gtk3/{rbgtktextbuffer.c → rbgtk-text-buffer.c} +1 -1
- data/ext/gtk3/{rbgtktextchildanchor.c → rbgtk-text-child-anchor.c} +0 -0
- data/ext/gtk3/{rbgtktextiter.c → rbgtk-text-iter.c} +0 -0
- data/ext/gtk3/{rbgtktextmark.c → rbgtk-text-mark.c} +1 -1
- data/ext/gtk3/{rbgtktexttagtable.c → rbgtk-text-tag-table.c} +0 -0
- data/ext/gtk3/{rbgtktexttag.c → rbgtk-text-tag.c} +0 -0
- data/ext/gtk3/{rbgtktextview.c → rbgtk-text-view.c} +0 -0
- data/ext/gtk3/{rbgtkthemingengine.c → rbgtk-theming-engine.c} +0 -0
- data/ext/gtk3/{rbgtktoggleaction.c → rbgtk-toggle-action.c} +1 -1
- data/ext/gtk3/{rbgtktogglebutton.c → rbgtk-toggle-button.c} +1 -1
- data/ext/gtk3/{rbgtktoggletoolbutton.c → rbgtk-toggle-tool-button.c} +1 -1
- data/ext/gtk3/{rbgtktoolbutton.c → rbgtk-tool-button.c} +1 -1
- data/ext/gtk3/{rbgtktoolitem.c → rbgtk-tool-item.c} +1 -1
- data/ext/gtk3/{rbgtktoolitemgroup.c → rbgtk-tool-itemgroup.c} +0 -0
- data/ext/gtk3/{rbgtktoolshell.c → rbgtk-tool-shell.c} +0 -0
- data/ext/gtk3/{rbgtktoolbar.c → rbgtk-toolbar.c} +0 -0
- data/ext/gtk3/{rbgdkdisplay.c → rbgtk-tooltip-gdk-display.c} +3 -3
- data/ext/gtk3/{rbgtktooltip.c → rbgtk-tooltip.c} +1 -1
- data/ext/gtk3/{rbgtktreedragdest.c → rbgtk-tree-dragdest.c} +0 -0
- data/ext/gtk3/{rbgtktreedragsource.c → rbgtk-tree-dragsource.c} +0 -0
- data/ext/gtk3/{rbgtktreeiter.c → rbgtk-tree-iter.c} +1 -1
- data/ext/gtk3/{rbgtktreemodel.c → rbgtk-tree-model.c} +8 -10
- data/ext/gtk3/{rbgtktreemodelfilter.c → rbgtk-tree-modelfilter.c} +1 -1
- data/ext/gtk3/{rbgtktreemodelsort.c → rbgtk-tree-modelsort.c} +1 -1
- data/ext/gtk3/{rbgtktreepath.c → rbgtk-tree-path.c} +1 -1
- data/ext/gtk3/{rbgtktreerowreference.c → rbgtk-tree-rowreference.c} +1 -1
- data/ext/gtk3/{rbgtktreeselection.c → rbgtk-tree-selection.c} +0 -0
- data/ext/gtk3/{rbgtktreesortable.c → rbgtk-tree-sortable.c} +0 -0
- data/ext/gtk3/{rbgtktreestore.c → rbgtk-tree-store.c} +0 -0
- data/ext/gtk3/{rbgtktreeviewcolumn.c → rbgtk-tree-view-column.c} +0 -0
- data/ext/gtk3/{rbgtktreeview.c → rbgtk-tree-view.c} +1 -1
- data/ext/gtk3/{rbgtkuimanager.c → rbgtk-ui-manager.c} +0 -0
- data/ext/gtk3/{rbgtkviewport.c → rbgtk-viewport.c} +1 -1
- data/ext/gtk3/{rbgtkvolumebutton.c → rbgtk-volume-button.c} +1 -1
- data/ext/gtk3/{rbgtkwidgetpath.c → rbgtk-widget-path.c} +0 -0
- data/ext/gtk3/{rbgtkwidget.c → rbgtk-widget.c} +1 -1
- data/ext/gtk3/{rbgtkwindowgroup.c → rbgtk-window-group.c} +1 -1
- data/ext/gtk3/{rbgtkwindow.c → rbgtk-window.c} +1 -1
- data/ext/gtk3/rbgtk.c +7 -32
- data/ext/gtk3/rbgtk3private.h +5 -4
- data/test/test_gtk_list_store.rb +43 -0
- metadata +226 -226
@@ -109,7 +109,7 @@ rg_filter_p(VALUE self, VALUE contains, VALUE filename, VALUE uri, VALUE display
|
|
109
109
|
return CBOOL2RVAL(gtk_file_filter_filter(_SELF(self), &info));
|
110
110
|
}
|
111
111
|
|
112
|
-
void
|
112
|
+
void
|
113
113
|
Init_gtk_file_filter(VALUE mGtk)
|
114
114
|
{
|
115
115
|
VALUE RG_TARGET_NAMESPACE = G_DEF_CLASS(GTK_TYPE_FILE_FILTER, "FileFilter", mGtk);
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
|
2
2
|
/*
|
3
|
-
* Copyright (C) 2012 Ruby-GNOME2 Project Team
|
3
|
+
* Copyright (C) 2012-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
|
@@ -29,8 +29,8 @@ rg_event_widget(VALUE self)
|
|
29
29
|
return GOBJ2RVAL(gtk_get_event_widget(_SELF(self)));
|
30
30
|
}
|
31
31
|
|
32
|
-
void
|
33
|
-
|
32
|
+
void
|
33
|
+
Init_gtk_gdk_event(void)
|
34
34
|
{
|
35
35
|
VALUE RG_TARGET_NAMESPACE = GTYPE2CLASS(GDK_TYPE_EVENT);
|
36
36
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
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
|
@@ -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);
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -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);
|