Verified Commit 8e44b137 authored by Sebastian Krzyszkowiak's avatar Sebastian Krzyszkowiak
Browse files

home: Use phosh_connect_feedback

parent 1c406d1c
......@@ -134,7 +134,6 @@ home_clicked_cb (PhoshHome *self, GtkButton *btn)
g_return_if_fail (GTK_IS_BUTTON (btn));
phosh_home_set_state (self, !self->state);
phosh_trigger_feedback ("button-pressed");
}
......@@ -217,6 +216,8 @@ phosh_home_constructed (GObject *object)
G_CALLBACK (key_press_event_cb),
NULL);
phosh_connect_feedback (GTK_WIDGET (self->btn_home));
G_OBJECT_CLASS (phosh_home_parent_class)->constructed (object);
}
......
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