Commit ecdab962 authored by Matthias Clasen's avatar Matthias Clasen
Browse files

Make state change notification work

parent 775dcd0d
......@@ -122,7 +122,10 @@ void
gs_app_set_state (GsApp *app, GsAppState state)
g_return_if_fail (GS_IS_APP (app));
if (app->priv->state == state)
app->priv->state = state;
g_object_notify (G_OBJECT (app), "state");
g_signal_emit (app, signals[SIGNAL_STATE_CHANGED], 0);
Supports Markdown
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