ShellApp: remove impossible check

The action muxer is created and destroyed with the running state,
it can never be NULL.

https://bugzilla.gnome.org/show_bug.cgi?id=722554
This commit is contained in:
Giovanni Campagna 2014-02-13 22:32:48 +01:00
parent fe7ece1f5a
commit d555fd7883

View File

@ -611,9 +611,7 @@ shell_app_update_window_actions (ShellApp *app, MetaWindow *window)
g_object_set_data_full (G_OBJECT (window), "actions", actions, g_object_unref);
}
if (!app->running_state->muxer)
app->running_state->muxer = gtk_action_muxer_new ();
g_assert (app->running_state->muxer);
gtk_action_muxer_insert (app->running_state->muxer, "win", actions);
g_object_notify (G_OBJECT (app), "action-group");
}