Index: gtklabel.c
===================================================================
RCS file: /cvs/gnome/gtk+/gtk/gtklabel.c,v
retrieving revision 1.157
diff -u -p -r1.157 gtklabel.c
--- gtklabel.c	26 Oct 2004 04:29:55 -0000	1.157
+++ gtklabel.c	28 Oct 2004 15:07:36 -0000
@@ -1278,10 +1278,11 @@ static void
 gtk_label_set_pattern_internal (GtkLabel    *label,
 				const gchar *pattern)
 {
-  PangoAttrList *attrs;
+  PangoAttrList *attrs = NULL;
   g_return_if_fail (GTK_IS_LABEL (label));
   
-  attrs = gtk_label_pattern_to_attrs (label, pattern);
+  if (pattern)
+    attrs = gtk_label_pattern_to_attrs (label, pattern);
 
   if (label->effective_attrs)
     pango_attr_list_unref (label->effective_attrs);
