summaryrefslogtreecommitdiffstats
path: root/meta/packages/gtk+/gtk+-2.6.4-1.osso7/gtkvseparator.c.diff
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-10-17 11:04:43 +0000
committerRichard Purdie <richard@openedhand.com>2006-10-17 11:04:43 +0000
commit09f13534bdffe20734cb9d24171e7d04334ad24c (patch)
tree75d62cf9a1d5cfcd2a72602ec68dc90c61041699 /meta/packages/gtk+/gtk+-2.6.4-1.osso7/gtkvseparator.c.diff
parentb6959cf8d390ded754f9a4ab5ce746313663a510 (diff)
downloadpoky-09f13534bdffe20734cb9d24171e7d04334ad24c.tar.gz
gtk+: remove outdated maemo version
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@804 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/gtk+/gtk+-2.6.4-1.osso7/gtkvseparator.c.diff')
-rw-r--r--meta/packages/gtk+/gtk+-2.6.4-1.osso7/gtkvseparator.c.diff45
1 files changed, 0 insertions, 45 deletions
diff --git a/meta/packages/gtk+/gtk+-2.6.4-1.osso7/gtkvseparator.c.diff b/meta/packages/gtk+/gtk+-2.6.4-1.osso7/gtkvseparator.c.diff
deleted file mode 100644
index f4b1c00900..0000000000
--- a/meta/packages/gtk+/gtk+-2.6.4-1.osso7/gtkvseparator.c.diff
+++ /dev/null
@@ -1,45 +0,0 @@
1--- gtk+-2.6.4/gtk/gtkvseparator.c 2004-08-09 19:59:53.000000000 +0300
2+++ gtk+-2.6.4/gtk/gtkvseparator.c 2005-04-06 16:19:38.356707256 +0300
3@@ -91,13 +91,34 @@
4 gtk_vseparator_expose (GtkWidget *widget,
5 GdkEventExpose *event)
6 {
7- if (GTK_WIDGET_DRAWABLE (widget))
8- gtk_paint_vline (widget->style, widget->window, GTK_WIDGET_STATE (widget),
9- &event->area, widget, "vseparator",
10- widget->allocation.y,
11- widget->allocation.y + widget->allocation.height - 1,
12- widget->allocation.x + (widget->allocation.width -
13- widget->style->xthickness) / 2);
14+ gboolean hildonlike_drawing = FALSE;
15
16- return FALSE;
17+
18+ gtk_widget_style_get ( widget, "hildonlike-drawing", &hildonlike_drawing, NULL );
19+
20+ if (GTK_WIDGET_DRAWABLE (widget))
21+ {
22+ if(hildonlike_drawing)
23+ gtk_paint_box (widget->style, widget->window, GTK_STATE_NORMAL,
24+ GTK_SHADOW_NONE, &event->area, widget, "vseparator",
25+ widget->allocation.x + (widget->allocation.width -
26+ widget->style->xthickness) / 2,
27+ widget->allocation.y,
28+
29+ widget->style->xthickness,
30+ widget->allocation.height - 1);
31+ else
32+ gtk_paint_vline (widget->style, widget->window, GTK_STATE_NORMAL,
33+ &event->area, widget, "vseparator",
34+ widget->allocation.y,
35+ widget->allocation.y + widget->allocation.height - 1,
36+ widget->allocation.x + (widget->allocation.width -
37+ widget->style->xthickness) / 2);
38+ }
39+
40+
41+
42+
43+
44+ return FALSE;
45 }