aboutsummaryrefslogtreecommitdiffstats
path: root/packages/gtk+/gtk+-2.6.4-1.osso7/gtktoolbutton.c.diff
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2006-11-06 07:42:50 +0000
committerMichael Lauer <mickey@vanille-media.de>2006-11-06 07:42:50 +0000
commitd6ed5ee9f9682d7de5012fac6528f46675cfb43c (patch)
tree0804d8877d5dc17adb6be4ad617a531d10d47a3a /packages/gtk+/gtk+-2.6.4-1.osso7/gtktoolbutton.c.diff
parenta9c8c4187d22b0420bb6e40bbd699cb5fa7af083 (diff)
downloadopenembedded-d6ed5ee9f9682d7de5012fac6528f46675cfb43c.tar.gz
gtk+: remove a couple of obsolete versions, major stable versions remain
gtk+-2.6.10: add menu styling patch based on gtk+ 2.7
Diffstat (limited to 'packages/gtk+/gtk+-2.6.4-1.osso7/gtktoolbutton.c.diff')
-rw-r--r--packages/gtk+/gtk+-2.6.4-1.osso7/gtktoolbutton.c.diff65
1 files changed, 0 insertions, 65 deletions
diff --git a/packages/gtk+/gtk+-2.6.4-1.osso7/gtktoolbutton.c.diff b/packages/gtk+/gtk+-2.6.4-1.osso7/gtktoolbutton.c.diff
deleted file mode 100644
index 15e15fe796..0000000000
--- a/packages/gtk+/gtk+-2.6.4-1.osso7/gtktoolbutton.c.diff
+++ /dev/null
@@ -1,65 +0,0 @@
---- gtk+-2.6.4/gtk/gtktoolbutton.c 2004-11-20 01:18:38.000000000 +0200
-+++ gtk+-2.6.4/gtk/gtktoolbutton.c 2005-04-06 16:19:38.167735984 +0300
-@@ -41,6 +41,7 @@
-
- enum {
- CLICKED,
-+ INSENSITIVE_PRESS,
- LAST_SIGNAL
- };
-
-@@ -74,7 +75,10 @@
- GtkToolButton *button);
-
- static void gtk_tool_button_construct_contents (GtkToolItem *tool_item);
--
-+
-+ static void insensitive_press (GtkWidget *widget,
-+ GtkToolButton *button);
-+
- static GObjectClass *parent_class = NULL;
- static guint toolbutton_signals[LAST_SIGNAL] = { 0 };
-
-@@ -226,7 +230,7 @@
- NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
- G_TYPE_NONE, 0);
--
-+
- g_type_class_add_private (object_class, sizeof (GtkToolButtonPrivate));
- }
-
-@@ -246,6 +250,10 @@
- g_signal_connect_object (button->priv->button, "clicked",
- G_CALLBACK (button_clicked), button, 0);
-
-+ /* Hildon: connect "insensitive_press" signal for private button */
-+ g_signal_connect_object (button->priv->button, "insensitive_press",
-+ G_CALLBACK (insensitive_press), button, 0);
-+
- gtk_container_add (GTK_CONTAINER (button), button->priv->button);
- gtk_widget_show (button->priv->button);
- }
-@@ -519,7 +527,7 @@
-
- src_pixbuf = gtk_image_get_pixbuf (image);
- dest_pixbuf = gdk_pixbuf_scale_simple (src_pixbuf, width, height,
-- GDK_INTERP_BILINEAR);
-+ GDK_INTERP_NEAREST);
-
- return gtk_image_new_from_pixbuf (dest_pixbuf);
- }
-@@ -594,6 +602,13 @@
- }
-
- static void
-+insensitive_press (GtkWidget *widget,
-+ GtkToolButton *button)
-+{
-+ g_signal_emit_by_name (button, "insensitive_press");
-+}
-+
-+static void
- gtk_tool_button_toolbar_reconfigured (GtkToolItem *tool_item)
- {
- gtk_tool_button_construct_contents (tool_item);