[955] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] [Patch] fix for bug in gtkpixmap.c

daemon@ATHENA.MIT.EDU (Stefan Wille)
Mon Sep 15 16:05:13 1997

Date: Mon, 15 Sep 1997 23:49:47 +0200
From: Stefan Wille <Stefan_Wille@public.uni-hamburg.de>
To: gtk-list@redhat.com
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

Hello you GTk people,

I think this patch got lost on its way to the gtk list, so I try again.
The patch fixes a bug in gtk_pixmap_new that makes this function
fail randomly.

A big thank you to all who helped fix my problem with this list today!

bye
Stefan

--- gtkpixmap.c Sun Sep 14 12:10:51 1997
+++ gtkpixmap.c.patched Sun Sep 14 12:11:16 1997
@@ -73,7 +73,7 @@
 {
   GtkPixmap *pixmap;

-  g_return_val_if_fail (pixmap != NULL, NULL);
+  g_return_val_if_fail (val != NULL, NULL);

   pixmap = gtk_type_new (gtk_pixmap_get_type ());


--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post