[oe-commits] org.oe.dev gtk+-2.10.6: Fix calendar widget rendering with the pangoxft2 patch.

mreimer commit openembedded-commits at lists.openembedded.org
Tue Nov 14 23:14:13 UTC 2006


gtk+-2.10.6: Fix calendar widget rendering with the pangoxft2 patch.

Author: mreimer at openembedded.org
Branch: org.openembedded.dev
Revision: 8bf9320e054936ed845e7a1c3835aa15ce27c3dd
ViewMTN: http://monotone.openembedded.org/revision.psp?id=8bf9320e054936ed845e7a1c3835aa15ce27c3dd
Files:
1
packages/gtk+/gtk+-2.10.6/pangoxft2.10.6.diff
Diffs:

#
# mt diff -re8bbc7d3b906974ad9c4180f2e72bd240a5ce172 -r8bf9320e054936ed845e7a1c3835aa15ce27c3dd
#
# 
# 
# patch "packages/gtk+/gtk+-2.10.6/pangoxft2.10.6.diff"
#  from [ce89727d9e57f3343182b42f74e23d5a020ff61d]
#    to [c646b9f34fcf6fe7f0ddfef6d3ae66dfe24da0ab]
# 
============================================================
--- packages/gtk+/gtk+-2.10.6/pangoxft2.10.6.diff	ce89727d9e57f3343182b42f74e23d5a020ff61d
+++ packages/gtk+/gtk+-2.10.6/pangoxft2.10.6.diff	c646b9f34fcf6fe7f0ddfef6d3ae66dfe24da0ab
@@ -2441,3 +2441,16 @@ Index: gtk+-2.10.6/gdk/x11/gdkpixmap-x11
        _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);






More information about the Openembedded-commits mailing list