Commit be499e8a authored by Paolo Bacchilega's avatar Paolo Bacchilega
Browse files

check is actions is null before using it

parent b8b72330
......@@ -322,6 +322,8 @@ _set_action_sensitive (GthImageViewerPage *self,
GtkAction *action;
if (self->priv->actions == NULL)
action = gtk_action_group_get_action (self->priv->actions, action_name);
g_object_set (action, "sensitive", sensitive, NULL);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment