From 88305f8226877a99f1c28d59117a72ae338a4c28 Mon Sep 17 00:00:00 2001 From: Matt Reimer Date: Tue, 14 Nov 2006 23:10:22 +0000 Subject: gtk+-2.10.6: Fix calendar widget rendering with the pangoxft2 patch. --- packages/gtk+/gtk+-2.10.6/pangoxft2.10.6.diff | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'packages') 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); -- cgit v1.2.3