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
File without changes
|
@@ -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);
|
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
|
File without changes
|
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) 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
|
-
|
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
|
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
|
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) 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
|
@@ -30,8 +30,8 @@ rg_trigger_tooltip_query(VALUE self)
|
|
30
30
|
return self;
|
31
31
|
}
|
32
32
|
|
33
|
-
void
|
34
|
-
|
33
|
+
void
|
34
|
+
Init_gtk_tooltip_gdk_display(void)
|
35
35
|
{
|
36
36
|
VALUE RG_TARGET_NAMESPACE = GTYPE2CLASS(GDK_TYPE_DISPLAY);
|
37
37
|
|
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) 2011 Ruby-GNOME2 Project Team
|
3
|
+
* Copyright (C) 2011-2013 Ruby-GNOME2 Project Team
|
4
4
|
* Copyright (C) 2002,2003 Masao Mutoh
|
5
5
|
*
|
6
6
|
* This library is free software; you can redistribute it and/or
|
@@ -54,7 +54,6 @@ rg_iter_first(VALUE self)
|
|
54
54
|
|
55
55
|
if (ret) {
|
56
56
|
val = GTKTREEITER2RVAL(&iter);
|
57
|
-
G_CHILD_ADD(self, val);
|
58
57
|
}
|
59
58
|
|
60
59
|
return val;
|
@@ -69,17 +68,16 @@ rg_get_iter(VALUE self, VALUE path)
|
|
69
68
|
GtkTreeModel* model = _SELF(self);
|
70
69
|
|
71
70
|
if (TYPE(path) == T_STRING){
|
72
|
-
ret = gtk_tree_model_get_iter_from_string(model, &iter,
|
71
|
+
ret = gtk_tree_model_get_iter_from_string(model, &iter,
|
73
72
|
RVAL2CSTR(path));
|
74
73
|
} else {
|
75
|
-
ret = gtk_tree_model_get_iter(model, &iter,
|
74
|
+
ret = gtk_tree_model_get_iter(model, &iter,
|
76
75
|
RVAL2GTKTREEPATH(path));
|
77
|
-
}
|
76
|
+
}
|
78
77
|
iter.user_data3 = model;
|
79
78
|
|
80
79
|
if (ret) {
|
81
80
|
val = GTKTREEITER2RVAL(&iter);
|
82
|
-
G_CHILD_ADD(self, val);
|
83
81
|
}
|
84
82
|
|
85
83
|
return val;
|
@@ -94,7 +92,7 @@ rg_get_value(VALUE self, VALUE iter, VALUE column)
|
|
94
92
|
if (G_VALUE_TYPE(&value) != G_TYPE_INVALID){
|
95
93
|
ret = GVAL2RVAL(&value);
|
96
94
|
g_value_unset(&value);
|
97
|
-
}
|
95
|
+
}
|
98
96
|
return ret;
|
99
97
|
}
|
100
98
|
|
@@ -112,8 +110,8 @@ treemodel_foreach_func(GtkTreeModel *model,
|
|
112
110
|
static VALUE
|
113
111
|
rg_each(VALUE self)
|
114
112
|
{
|
115
|
-
gtk_tree_model_foreach(_SELF(self),
|
116
|
-
(GtkTreeModelForeachFunc)treemodel_foreach_func,
|
113
|
+
gtk_tree_model_foreach(_SELF(self),
|
114
|
+
(GtkTreeModelForeachFunc)treemodel_foreach_func,
|
117
115
|
(gpointer)NULL);
|
118
116
|
return self;
|
119
117
|
}
|
@@ -208,7 +206,7 @@ signal_rows_reordered_func(G_GNUC_UNUSED guint num, const GValue *values)
|
|
208
206
|
return rb_ary_new3(4, GOBJ2RVAL(model), GTKTREEPATH2RVAL(path), GTKTREEITER2RVAL(iter), orders);
|
209
207
|
}
|
210
208
|
|
211
|
-
void
|
209
|
+
void
|
212
210
|
Init_gtk_treemodel(VALUE mGtk)
|
213
211
|
{
|
214
212
|
VALUE RG_TARGET_NAMESPACE = G_DEF_INTERFACE(GTK_TYPE_TREE_MODEL, "TreeModel", mGtk);
|