Don't leak the frame pixbuf.

Wed Sep 22 00:52:44 2004  Matthias Clasen  <mclasen@redhat.com>

	* demos/gtk-demo/pixbufs.c (do_pixbufs): Don't leak the frame
	pixbuf.
This commit is contained in:
Matthias Clasen
2004-09-22 04:53:26 +00:00
committed by Matthias Clasen
parent fd83f1c36d
commit 7745b5ff2e
5 changed files with 21 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
Wed Sep 22 00:52:44 2004 Matthias Clasen <mclasen@redhat.com>
* demos/gtk-demo/pixbufs.c (do_pixbufs): Don't leak the frame
pixbuf.
2004-09-21 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_should_respond):

View File

@@ -1,3 +1,8 @@
Wed Sep 22 00:52:44 2004 Matthias Clasen <mclasen@redhat.com>
* demos/gtk-demo/pixbufs.c (do_pixbufs): Don't leak the frame
pixbuf.
2004-09-21 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_should_respond):

View File

@@ -1,3 +1,8 @@
Wed Sep 22 00:52:44 2004 Matthias Clasen <mclasen@redhat.com>
* demos/gtk-demo/pixbufs.c (do_pixbufs): Don't leak the frame
pixbuf.
2004-09-21 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_should_respond):

View File

@@ -1,3 +1,8 @@
Wed Sep 22 00:52:44 2004 Matthias Clasen <mclasen@redhat.com>
* demos/gtk-demo/pixbufs.c (do_pixbufs): Don't leak the frame
pixbuf.
2004-09-21 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_should_respond):

View File

@@ -265,6 +265,7 @@ do_pixbufs (GtkWidget *do_widget)
{
gtk_widget_destroy (window);
window = NULL;
g_object_unref (frame);
}
return window;