mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-06 00:30:08 +00:00
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> ]
This commit is contained in:
parent
bcbe6f4885
commit
05e714d6d1
@ -1,3 +1,10 @@
|
||||
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> ]
|
||||
|
||||
1999-01-10 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtksignal.c (gtk_signal_lookup): if the lookup failed, try
|
||||
|
@ -1,3 +1,10 @@
|
||||
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> ]
|
||||
|
||||
1999-01-10 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtksignal.c (gtk_signal_lookup): if the lookup failed, try
|
||||
|
@ -1,3 +1,10 @@
|
||||
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> ]
|
||||
|
||||
1999-01-10 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtksignal.c (gtk_signal_lookup): if the lookup failed, try
|
||||
|
@ -1,3 +1,10 @@
|
||||
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> ]
|
||||
|
||||
1999-01-10 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtksignal.c (gtk_signal_lookup): if the lookup failed, try
|
||||
|
@ -1,3 +1,10 @@
|
||||
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> ]
|
||||
|
||||
1999-01-10 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtksignal.c (gtk_signal_lookup): if the lookup failed, try
|
||||
|
@ -1,3 +1,10 @@
|
||||
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> ]
|
||||
|
||||
1999-01-10 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtksignal.c (gtk_signal_lookup): if the lookup failed, try
|
||||
|
@ -1,3 +1,10 @@
|
||||
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> ]
|
||||
|
||||
1999-01-10 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtksignal.c (gtk_signal_lookup): if the lookup failed, try
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user