summaryrefslogtreecommitdiff
path: root/packages/gtk+
diff options
context:
space:
mode:
authorMatt Reimer <mattjreimer@gmail.com>2006-11-14 23:10:22 +0000
committerMatt Reimer <mattjreimer@gmail.com>2006-11-14 23:10:22 +0000
commit88305f8226877a99f1c28d59117a72ae338a4c28 (patch)
treec071247ed71f2fdfbb90d5094735f9cdda2bf49f /packages/gtk+
parent5d16aa12d077d2bd9182f20c6217cc751063bcb3 (diff)
gtk+-2.10.6: Fix calendar widget rendering with the pangoxft2 patch.
Diffstat (limited to 'packages/gtk+')
-rw-r--r--packages/gtk+/gtk+-2.10.6/pangoxft2.10.6.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/gtk+/gtk+-2.10.6/pangoxft2.10.6.diff b/packages/gtk+/gtk+-2.10.6/pangoxft2.10.6.diff
index 142a9a8e88..63828cec63 100644
--- a/packages/gtk+/gtk+-2.10.6/pangoxft2.10.6.diff
+++ b/packages/gtk+/gtk+-2.10.6/pangoxft2.10.6.diff
@@ -2441,3 +2441,16 @@ Index: gtk+-2.10.6/gdk/x11/gdkpixmap-x11.c
_gdk_x11_drawable_finish (GDK_DRAWABLE (draw_impl));
}
+--- gtk+-2.10.6.orig/gtk/gtkcalendar.c.orig 2006-11-14 14:39:34.000000000 -0800
++++ gtk+-2.10.6/gtk/gtkcalendar.c 2006-11-14 14:37:34.000000000 -0800
+@@ -1495,6 +1495,10 @@ gtk_calendar_realize (GtkWidget *widget)
+ BACKGROUND_COLOR ( GTK_WIDGET ( calendar)));
+ gdk_window_show (priv->main_win);
+ gdk_window_set_user_data (priv->main_win, widget);
++
++ /* Set widgets gc */
++ calendar->gc = gdk_gc_new (widget->window);
++
+ gdk_window_set_background (widget->window, BACKGROUND_COLOR (widget));
+ gdk_window_show (widget->window);
+ gdk_window_set_user_data (widget->window, widget);