diff options
author | Michael Lauer <mickey@vanille-media.de> | 2006-11-06 07:42:50 +0000 |
---|---|---|
committer | Michael Lauer <mickey@vanille-media.de> | 2006-11-06 07:42:50 +0000 |
commit | d6ed5ee9f9682d7de5012fac6528f46675cfb43c (patch) | |
tree | 0804d8877d5dc17adb6be4ad617a531d10d47a3a /packages/gtk+/gtk+-2.6.4-1.osso7/gtkvseparator.c.diff | |
parent | a9c8c4187d22b0420bb6e40bbd699cb5fa7af083 (diff) | |
download | openembedded-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/gtkvseparator.c.diff')
-rw-r--r-- | packages/gtk+/gtk+-2.6.4-1.osso7/gtkvseparator.c.diff | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/packages/gtk+/gtk+-2.6.4-1.osso7/gtkvseparator.c.diff b/packages/gtk+/gtk+-2.6.4-1.osso7/gtkvseparator.c.diff deleted file mode 100644 index f4b1c00900..0000000000 --- a/packages/gtk+/gtk+-2.6.4-1.osso7/gtkvseparator.c.diff +++ /dev/null @@ -1,45 +0,0 @@ ---- gtk+-2.6.4/gtk/gtkvseparator.c 2004-08-09 19:59:53.000000000 +0300 -+++ gtk+-2.6.4/gtk/gtkvseparator.c 2005-04-06 16:19:38.356707256 +0300 -@@ -91,13 +91,34 @@ - gtk_vseparator_expose (GtkWidget *widget, - GdkEventExpose *event) - { -- if (GTK_WIDGET_DRAWABLE (widget)) -- gtk_paint_vline (widget->style, widget->window, GTK_WIDGET_STATE (widget), -- &event->area, widget, "vseparator", -- widget->allocation.y, -- widget->allocation.y + widget->allocation.height - 1, -- widget->allocation.x + (widget->allocation.width - -- widget->style->xthickness) / 2); -+ gboolean hildonlike_drawing = FALSE; - -- return FALSE; -+ -+ gtk_widget_style_get ( widget, "hildonlike-drawing", &hildonlike_drawing, NULL ); -+ -+ if (GTK_WIDGET_DRAWABLE (widget)) -+ { -+ if(hildonlike_drawing) -+ gtk_paint_box (widget->style, widget->window, GTK_STATE_NORMAL, -+ GTK_SHADOW_NONE, &event->area, widget, "vseparator", -+ widget->allocation.x + (widget->allocation.width - -+ widget->style->xthickness) / 2, -+ widget->allocation.y, -+ -+ widget->style->xthickness, -+ widget->allocation.height - 1); -+ else -+ gtk_paint_vline (widget->style, widget->window, GTK_STATE_NORMAL, -+ &event->area, widget, "vseparator", -+ widget->allocation.y, -+ widget->allocation.y + widget->allocation.height - 1, -+ widget->allocation.x + (widget->allocation.width - -+ widget->style->xthickness) / 2); -+ } -+ -+ -+ -+ -+ -+ return FALSE; - } |