summaryrefslogtreecommitdiff
path: root/src/msg.c
diff options
context:
space:
mode:
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 85b533e3..22f50187 100644
--- a/src/msg.c
+++ b/src/msg.c
@@ -60,6 +60,9 @@ zenity_msg (ZenityData *data, ZenityMsgData *msg_data)
break;
default:
+ glade_dialog = NULL;
+ dialog = NULL;
+ text = NULL;
g_assert_not_reached ();
break;
}
@@ -83,8 +86,6 @@ zenity_msg (ZenityData *data, ZenityMsgData *msg_data)
if (data->window_icon)
zenity_util_set_window_icon (dialog, data->window_icon);
else {
- GdkPixbuf *pixbuf = NULL;
-
switch (msg_data->mode) {
case ZENITY_MSG_WARNING:
zenity_util_set_window_icon_from_stock (dialog, GTK_STOCK_DIALOG_WARNING);
bgstack15