summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
author4 <alexl@redhat.com>2001-01-24 08:25:41 +0000
committerAlexander Larsson <alexl@src.gnome.org>2001-01-24 08:25:41 +0000
commit9234d911464115dc1d4f3e9154a7452bef1eb8d6 (patch)
tree540c17a79f5a54d02f472c225142564969e64b01 /tests
parent892cd3169156e9e7f469919e1d37f382ffc450d6 (diff)
downloadgtk+-9234d911464115dc1d4f3e9154a7452bef1eb8d6.tar.gz
Splitted gtk_image_clear into gtk_image_clear() and gtk_image_reset().
2001-01-24 <alexl@redhat.com> * gtk/gtkimage.c: Splitted gtk_image_clear into gtk_image_clear() and gtk_image_reset(). Call gtk_image_clear() in ::destroy to avoid leaks. * gtk/gtklabel.c (set_markup): Don't leak text. * gtk/gtktextlayout.c: Always free display->shaped_objects. * gtk/testgtk.c (create_clist): Don't leak custom style.
Diffstat (limited to 'tests')
-rw-r--r--tests/testgtk.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/testgtk.c b/tests/testgtk.c
index 5a12f67e1a..534c93736f 100644
--- a/tests/testgtk.c
+++ b/tests/testgtk.c
@@ -4747,6 +4747,8 @@ create_clist (void)
}
}
+ gtk_style_unref (style);
+
separator = gtk_hseparator_new ();
gtk_box_pack_start (GTK_BOX (vbox), separator, FALSE, TRUE, 0);