From edf273a2a540e1964cd8b4b352c27694b783cbe1 Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Sun, 21 Nov 2004 22:19:48 +0000 Subject: [PATCH] removed call to gdk_pango_context_set_colormap() which isn't needed any 2004-11-21 Sven Neumann * gtk/gtkwidget.c (gtk_widget_create_pango_context): removed call to gdk_pango_context_set_colormap() which isn't needed any longer. --- ChangeLog | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-6 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ gtk/gtkwidget.c | 3 +-- 5 files changed, 21 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index e789b4fc17..37ed0c60c7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-11-21 Sven Neumann + + * gtk/gtkwidget.c (gtk_widget_create_pango_context): removed call + to gdk_pango_context_set_colormap() which isn't needed any longer. + 2004-11-21 Hans Breuer * gdk/makefile.msc.in gtk/stock-icons/makefile.msc diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index e789b4fc17..37ed0c60c7 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2004-11-21 Sven Neumann + + * gtk/gtkwidget.c (gtk_widget_create_pango_context): removed call + to gdk_pango_context_set_colormap() which isn't needed any longer. + 2004-11-21 Hans Breuer * gdk/makefile.msc.in gtk/stock-icons/makefile.msc diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index e789b4fc17..37ed0c60c7 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +2004-11-21 Sven Neumann + + * gtk/gtkwidget.c (gtk_widget_create_pango_context): removed call + to gdk_pango_context_set_colormap() which isn't needed any longer. + 2004-11-21 Hans Breuer * gdk/makefile.msc.in gtk/stock-icons/makefile.msc diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index e789b4fc17..37ed0c60c7 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +2004-11-21 Sven Neumann + + * gtk/gtkwidget.c (gtk_widget_create_pango_context): removed call + to gdk_pango_context_set_colormap() which isn't needed any longer. + 2004-11-21 Hans Breuer * gdk/makefile.msc.in gtk/stock-icons/makefile.msc diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index eefa3ee9c2..6de6e489e5 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -5009,13 +5009,12 @@ gtk_widget_create_pango_context (GtkWidget *widget) { GTK_NOTE (MULTIHEAD, g_warning ("gtk_widget_create_pango_context ()) called without screen")); - + screen = gdk_screen_get_default (); } context = gdk_pango_context_get_for_screen (screen); - gdk_pango_context_set_colormap (context, gtk_widget_get_colormap (widget)); pango_context_set_base_dir (context, gtk_widget_get_direction (widget) == GTK_TEXT_DIR_LTR ? PANGO_DIRECTION_LTR : PANGO_DIRECTION_RTL);