diff src/applet.c @ 2567:f0e8cf09d8a3

[gaim-migrate @ 2580] Ho Hum committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Sun, 21 Oct 2001 19:38:13 +0000
parents 7c64b3ad0c3d
children b74421e92d55
line wrap: on
line diff
--- a/src/applet.c	Sun Oct 21 19:01:03 2001 +0000
+++ b/src/applet.c	Sun Oct 21 19:38:13 2001 +0000
@@ -60,6 +60,9 @@
 	double affine[6];
 	int r,g,b,i;
 
+	if (!applet)
+		return NULL;
+
 	cache = gdk_pixmap_new(applet->window, sizehint, sizehint,
 			gtk_widget_get_visual(applet)->depth); 
 	gc = gdk_gc_new(cache);