Commit f84c4209 authored by Guido Gunther's avatar Guido Gunther Committed by Sebastian Krzyszkowiak
Browse files

home: Drop superfluous gtk_widget_{show,hide}

Signed-off-by: Guido Gunther's avatarGuido Günther <>
parent 8cc2e95c
Pipeline #27079 passed with stages
in 5 minutes and 46 seconds
......@@ -248,7 +248,6 @@ phosh_home_set_state (PhoshHome *self, PhoshHomeState state)
phosh_layer_surface_set_size (PHOSH_LAYER_SURFACE (self), 0, height);
context = gtk_widget_get_style_context(self->img_home);
gtk_widget_hide (self->img_home);
gtk_style_context_add_class(context, "phosh-home-btn-image-down");
gtk_style_context_remove_class(context, "phosh-home-btn-image-up");
......@@ -256,7 +255,6 @@ phosh_home_set_state (PhoshHome *self, PhoshHomeState state)
gtk_style_context_remove_class(context, "phosh-home-btn-image-down");
gtk_style_context_add_class(context, "phosh-home-btn-image-up");
gtk_widget_show (self->img_home);
gtk_widget_hide (self->btn_osk);
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