From c41421c043ec92da0936ca8005f3e7841abd19cd Mon Sep 17 00:00:00 2001 From: Glynn Foster Date: Sat, 18 Jan 2003 18:30:52 +0000 Subject: Add some screenshots for the help documentation. 2003-01-18 Glynn Foster * 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. --- src/msg.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/msg.c') diff --git a/src/msg.c b/src/msg.c index cc1f0924..5c73af0b 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 (); -- cgit