summaryrefslogtreecommitdiff
path: root/packages/gtk+/files
diff options
context:
space:
mode:
authorRolf Leggewie <oe-devel@rolf.leggewie.biz>2008-05-05 00:32:44 +0000
committerRolf Leggewie <oe-devel@rolf.leggewie.biz>2008-05-05 00:32:44 +0000
commitceaa697851077e059c6fc9d6b0bd6df132d5180e (patch)
tree3ce49eccebdb17cf0d882b23a639e47d35f21564 /packages/gtk+/files
parentdb61d94094937dfc3504e15424c099f4a608acf3 (diff)
gtk+: consolidate 2 patches which are identical across all versions into files/ and drop the remainder
* xsettings.patch and gtklabel-resize-patch * there are probably other patches where this would be possible
Diffstat (limited to 'packages/gtk+/files')
-rw-r--r--packages/gtk+/files/gtklabel-resize-patch10
-rw-r--r--packages/gtk+/files/xsettings.patch16
2 files changed, 26 insertions, 0 deletions
diff --git a/packages/gtk+/files/gtklabel-resize-patch b/packages/gtk+/files/gtklabel-resize-patch
new file mode 100644
index 0000000000..df29656343
--- /dev/null
+++ b/packages/gtk+/files/gtklabel-resize-patch
@@ -0,0 +1,10 @@
+--- gtk+-2.4.3/gtk/gtklabel.c~ 2004-06-11 13:50:34.000000000 +0100
++++ gtk+-2.4.3/gtk/gtklabel.c 2004-07-05 13:33:57.000000000 +0100
+@@ -1623,6 +1623,7 @@
+
+ /* We have to clear the layout, fonts etc. may have changed */
+ gtk_label_clear_layout (label);
++ gtk_widget_queue_resize (GTK_WIDGET (label));
+ }
+
+ static void
diff --git a/packages/gtk+/files/xsettings.patch b/packages/gtk+/files/xsettings.patch
new file mode 100644
index 0000000000..b63e262d34
--- /dev/null
+++ b/packages/gtk+/files/xsettings.patch
@@ -0,0 +1,16 @@
+--- gtk+-2.4.4/gdk/x11/gdkevents-x11.c.old Sun Aug 22 17:14:00 2004
++++ gtk+-2.4.4/gdk/x11/gdkevents-x11.c Sun Aug 22 17:14:00 2004
+@@ -2827,10 +2827,9 @@
+ {
+ GdkScreenX11 *screen = data;
+
+- if (xsettings_client_process_event (screen->xsettings_client, (XEvent *)xevent))
+- return GDK_FILTER_REMOVE;
+- else
+- return GDK_FILTER_CONTINUE;
++ xsettings_client_process_event (screen->xsettings_client, (XEvent *)xevent);
++
++ return GDK_FILTER_CONTINUE;
+ }
+
+ static void