summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2000-11-02 17:18:53 +0000
committerHavoc Pennington <hp@src.gnome.org>2000-11-02 17:18:53 +0000
commit0ee86faa3c020df861dd4969fb587479d37aa7bd (patch)
tree456d3523a5480def91f5df00abf2c813c1a6728e /tests
parent214c61d575a8d180eccb08e0a778f6f7c8f41eaf (diff)
downloadgdk-pixbuf-0ee86faa3c020df861dd4969fb587479d37aa7bd.tar.gz
had a test backward
2000-11-02 Havoc Pennington <hp@redhat.com> * gtk/testgtk.c (create_labels): had a test backward * gdk/x11/gdkgc-x11.c (gdk_gc_copy): Copy the client-side GC fields, so the dest GC ends up with the correct clip origin, etc. Fixes a bug where colored labels didn't redraw properly.
Diffstat (limited to 'tests')
-rw-r--r--tests/testgtk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testgtk.c b/tests/testgtk.c
index 2f71a75a1..b714be369 100644
--- a/tests/testgtk.c
+++ b/tests/testgtk.c
@@ -2113,7 +2113,7 @@ void create_labels (void)
"but this _word is <span foreground=\"purple\"><big>purple</big></span>\n"
"We like <sup>superscript</sup> and <sub>subscript</sub> too");
- g_return_if_fail (keyval != GDK_s);
+ g_return_if_fail (keyval == GDK_s);
gtk_container_add (GTK_CONTAINER (frame), label);
gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, FALSE, 0);