diff options
author | Owen Taylor <otaylor@gtk.org> | 1999-01-10 19:49:24 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 1999-01-10 19:49:24 +0000 |
commit | 05e714d6d1db3dc6384d6f75739c274a67860b9f (patch) | |
tree | f6115ff399fcb051ede4d76ff23490a89fcf2fc4 /gtk/gtktext.c | |
parent | bcbe6f4885a7101a6b4168d1174882cacc3dcc0b (diff) | |
download | gdk-pixbuf-05e714d6d1db3dc6384d6f75739c274a67860b9f.tar.gz |
Fixed cut and paste bug when comparing text property bg colors. [ Matt
Sun Jan 10 14:45:37 1999 Owen Taylor <otaylor@gtk.org>
* gtk/gtktext.c (text_properties_equal): Fixed
cut and paste bug when comparing text property
bg colors.
[ Matt Aubury <Matt.Aubury@comlab.ox.ac.uk> ]
Diffstat (limited to 'gtk/gtktext.c')
-rw-r--r-- | gtk/gtktext.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtktext.c b/gtk/gtktext.c index 78dffac1b..7b69ea6ee 100644 --- a/gtk/gtktext.c +++ b/gtk/gtktext.c @@ -2975,11 +2975,11 @@ text_properties_equal (TextProperty* prop, GdkFont* font, GdkColor *fore, GdkCol if (prop->flags & PROPERTY_BACKGROUND) { - if (!back || !gdk_color_equal (&prop->fore_color, fore)) + if (!back || !gdk_color_equal (&prop->back_color, back)) return FALSE; } else - if (fore != NULL) + if (back != NULL) return FALSE; return TRUE; |