removed call to gdk_pango_context_set_colormap() which isn't needed any

2004-11-21  Sven Neumann  <sven@gimp.org>

	* gtk/gtkwidget.c (gtk_widget_create_pango_context): removed call
	to gdk_pango_context_set_colormap() which isn't needed any longer.
This commit is contained in:
Sven Neumann 2004-11-21 22:19:48 +00:00 committed by Sven Neumann
parent 6988f58c47
commit edf273a2a5
5 changed files with 21 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2004-11-21 Sven Neumann <sven@gimp.org>
* 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 <hans@breuer.org>
* gdk/makefile.msc.in gtk/stock-icons/makefile.msc

View File

@ -1,3 +1,8 @@
2004-11-21 Sven Neumann <sven@gimp.org>
* 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 <hans@breuer.org>
* gdk/makefile.msc.in gtk/stock-icons/makefile.msc

View File

@ -1,3 +1,8 @@
2004-11-21 Sven Neumann <sven@gimp.org>
* 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 <hans@breuer.org>
* gdk/makefile.msc.in gtk/stock-icons/makefile.msc

View File

@ -1,3 +1,8 @@
2004-11-21 Sven Neumann <sven@gimp.org>
* 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 <hans@breuer.org>
* gdk/makefile.msc.in gtk/stock-icons/makefile.msc

View File

@ -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);