summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorJuan Pablo Ugarte <juanpablougarte@gmail.com>2014-03-24 19:07:46 -0300
committerJuan Pablo Ugarte <juanpablougarte@gmail.com>2014-03-24 19:50:58 -0300
commit62096b62b9df32fc36ae85b512f2fe99cdbf217a (patch)
treef9ead3eaa6ba2b84bd29cd109d46369ec3db3e0d /plugins
parent11cd71c0adad74870901ec87eb66de9a3d38d7bb (diff)
downloadglade-62096b62b9df32fc36ae85b512f2fe99cdbf217a.tar.gz
Fixed distcheck errors
Fixed create-widgets test GtkMessageDialog error and skip creating GtkAboutDialog
Diffstat (limited to 'plugins')
-rw-r--r--plugins/gtk+/glade-gtk-message-dialog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/gtk+/glade-gtk-message-dialog.c b/plugins/gtk+/glade-gtk-message-dialog.c
index 0464a560..0c7b2b9a 100644
--- a/plugins/gtk+/glade-gtk-message-dialog.c
+++ b/plugins/gtk+/glade-gtk-message-dialog.c
@@ -67,7 +67,7 @@ glade_gtk_message_dialog_image_determine_action (GtkMessageDialog * dialog,
*image = g_value_get_object (value);
if (*image == NULL)
- if (glade_widget_get_from_gobject (dialog_image))
+ if (dialog_image && glade_widget_get_from_gobject (dialog_image))
return MD_IMAGE_ACTION_RESET;
else
return MD_IMAGE_ACTION_INVALID;