aboutsummaryrefslogtreecommitdiff
path: root/src/idoscalemenuitem.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/idoscalemenuitem.c')
-rw-r--r--src/idoscalemenuitem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/idoscalemenuitem.c b/src/idoscalemenuitem.c
index 3df36f5..a7ae907 100644
--- a/src/idoscalemenuitem.c
+++ b/src/idoscalemenuitem.c
@@ -306,9 +306,9 @@ ido_scale_menu_item_constructor (GType type,
priv = GET_PRIVATE (object);
priv->offscreen = gtk_offscreen_window_new ();
+ gtk_widget_set_name (priv->offscreen, "ido-offscreen-scale");
priv->scale = gtk_hscale_new_with_range (0.0, 100.0, 1.0);
- gtk_widget_set_name (priv->scale, "ido-offscreen-scale");
gtk_scale_set_draw_value (GTK_SCALE (priv->scale), FALSE);
gtk_widget_show (priv->scale);
gtk_widget_show (priv->offscreen);