summaryrefslogtreecommitdiff
path: root/gtk/gtktext.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@gtk.org>1999-01-10 19:49:24 +0000
committerOwen Taylor <otaylor@src.gnome.org>1999-01-10 19:49:24 +0000
commit05e714d6d1db3dc6384d6f75739c274a67860b9f (patch)
treef6115ff399fcb051ede4d76ff23490a89fcf2fc4 /gtk/gtktext.c
parentbcbe6f4885a7101a6b4168d1174882cacc3dcc0b (diff)
downloadgdk-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.c4
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;