summaryrefslogtreecommitdiff
path: root/src/msg.c
diff options
context:
space:
mode:
authorGlynn Foster <glynn.foster@sun.com>2003-01-18 18:30:52 +0000
committerGlynn Foster <gman@src.gnome.org>2003-01-18 18:30:52 +0000
commitc41421c043ec92da0936ca8005f3e7841abd19cd (patch)
treee7fc3ecac448c82a1609a6637f696819cef35c61 /src/msg.c
parent18760d406d64f71f7ca6fec5a7a01978418fa8f5 (diff)
Add some screenshots for the help documentation.
2003-01-18 Glynn Foster <glynn.foster@sun.com> * help/C/figures/zenity-calendar-screenshot.png, help/C/figures/zenity-entry-screenshot.png, help/C/figures/zenity-error-screenshot.png, help/C/figures/zenity-fileselection-screenshot.png, help/C/figures/zenity-information-screenshot.png, help/C/figures/zenity-list-screenshot.png, help/C/figures/zenity-progress-screenshot.png, help/C/figures/zenity-question-screenshot.png, help/C/figures/zenity-text-screenshot.png, help/C/figures/zenity-warning-screenshot.png: Add some screenshots for the help documentation. * src/entry.c, src/msg.c: Don't set the text if it's NULL.
Diffstat (limited to 'src/msg.c')
-rw-r--r--src/msg.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/msg.c b/src/msg.c
index cc1f092..5c73af0 100644
--- a/src/msg.c
+++ b/src/msg.c
@@ -103,8 +103,9 @@ zenity_msg (ZenityData *data, ZenityMsgData *msg_data)
break;
}
}
-
- gtk_label_set_text (GTK_LABEL (text), msg_data->dialog_text);
+
+ if (msg_data->dialog_text)
+ gtk_label_set_text (GTK_LABEL (text), msg_data->dialog_text);
gtk_widget_show (dialog);
gtk_main ();