Use tmp also if foreground is set.
2002-04-29 Alex Larsson <alexl@redhat.com> * gdk/gdkpango.c (gdk_draw_layout_line_with_colors): Use tmp also if foreground is set.
This commit is contained in:
committed by
Alexander Larsson
parent
e49d754fdc
commit
752742d044
@@ -1,3 +1,8 @@
|
||||
2002-04-29 Alex Larsson <alexl@redhat.com>
|
||||
|
||||
* gdk/gdkpango.c (gdk_draw_layout_line_with_colors):
|
||||
Use tmp also if foreground is set.
|
||||
|
||||
Sun Apr 28 22:43:55 2002 Jonathan Blandford <jrb@gnome.org>
|
||||
|
||||
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_sort_func): Fix
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
2002-04-29 Alex Larsson <alexl@redhat.com>
|
||||
|
||||
* gdk/gdkpango.c (gdk_draw_layout_line_with_colors):
|
||||
Use tmp also if foreground is set.
|
||||
|
||||
Sun Apr 28 22:43:55 2002 Jonathan Blandford <jrb@gnome.org>
|
||||
|
||||
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_sort_func): Fix
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
2002-04-29 Alex Larsson <alexl@redhat.com>
|
||||
|
||||
* gdk/gdkpango.c (gdk_draw_layout_line_with_colors):
|
||||
Use tmp also if foreground is set.
|
||||
|
||||
Sun Apr 28 22:43:55 2002 Jonathan Blandford <jrb@gnome.org>
|
||||
|
||||
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_sort_func): Fix
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
2002-04-29 Alex Larsson <alexl@redhat.com>
|
||||
|
||||
* gdk/gdkpango.c (gdk_draw_layout_line_with_colors):
|
||||
Use tmp also if foreground is set.
|
||||
|
||||
Sun Apr 28 22:43:55 2002 Jonathan Blandford <jrb@gnome.org>
|
||||
|
||||
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_sort_func): Fix
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
2002-04-29 Alex Larsson <alexl@redhat.com>
|
||||
|
||||
* gdk/gdkpango.c (gdk_draw_layout_line_with_colors):
|
||||
Use tmp also if foreground is set.
|
||||
|
||||
Sun Apr 28 22:43:55 2002 Jonathan Blandford <jrb@gnome.org>
|
||||
|
||||
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_sort_func): Fix
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
2002-04-29 Alex Larsson <alexl@redhat.com>
|
||||
|
||||
* gdk/gdkpango.c (gdk_draw_layout_line_with_colors):
|
||||
Use tmp also if foreground is set.
|
||||
|
||||
Sun Apr 28 22:43:55 2002 Jonathan Blandford <jrb@gnome.org>
|
||||
|
||||
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_sort_func): Fix
|
||||
|
||||
@@ -275,7 +275,7 @@ gdk_draw_layout_line_with_colors (GdkDrawable *drawable,
|
||||
tmp.green = foreground->green;
|
||||
}
|
||||
|
||||
fg_gc = gdk_pango_get_gc (drawable, context, fg_set ? &tmp : NULL,
|
||||
fg_gc = gdk_pango_get_gc (drawable, context, (fg_set || foreground) ? &tmp : NULL,
|
||||
stipple, gc);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user