[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Graveman-cvs] Changes to graveman/current/src/support.c
From: |
sylvain cresto |
Subject: |
[Graveman-cvs] Changes to graveman/current/src/support.c |
Date: |
Sun, 27 Feb 2005 10:46:13 -0500 |
Index: graveman/current/src/support.c
diff -u graveman/current/src/support.c:1.7 graveman/current/src/support.c:1.8
--- graveman/current/src/support.c:1.7 Sun Feb 20 17:45:02 2005
+++ graveman/current/src/support.c Sun Feb 27 15:45:42 2005
@@ -218,7 +218,7 @@
GtkWidget *sc_grave_get_widget(Tgrave *Agrave, gchar *Aname)
{
- g_return_val_if_fail(Agrave != NULL && Agrave->xml != NULL, NULL);
+ if (Agrave == NULL || Agrave->xml == NULL) return NULL;
return glade_xml_get_widget(Agrave->xml, Aname);
}