Commit 363e791d authored by Matthias Clasen's avatar Matthias Clasen

GtkActionHelper: Avoid null deref in debug code

parent bb29c1fc
......@@ -415,7 +415,7 @@ gtk_action_helper_set_action_name (GtkActionHelper *helper,
if (!strchr (action_name, '.'))
if (action_name == NULL || !strchr (action_name, '.'))
g_message ("actionhelper: action name %s doesn't look like 'app.' or 'win.' "
"which means that it will probably not work properly.", action_name));
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