From 696edc3eb52d950a8cfc4ea45743ca89f352a8d7 Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Fri, 5 Nov 2021 10:45:45 +0100 Subject: src/idoscalemenuitem.c: Drop hard-coded end-margin for the Scale Display Object Fixes https://github.com/AyatanaIndicators/ayatana-indicator-datetime/issues/56 --- src/idoscalemenuitem.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/idoscalemenuitem.c b/src/idoscalemenuitem.c index 7baac17..37a9385 100644 --- a/src/idoscalemenuitem.c +++ b/src/idoscalemenuitem.c @@ -1,5 +1,6 @@ /* * Copyright 2010 Canonical, Ltd. + * Copyright 2021 Robert Tari * * This program is free software: you can redistribute it and/or modify it * under the terms of either or both of the following licenses: @@ -21,6 +22,7 @@ * * Authors: * Cody Russell + * Robert Tari */ #include @@ -166,7 +168,6 @@ ido_scale_menu_item_constructed (GObject *object) gtk_scale_set_draw_value (GTK_SCALE (priv->scale), FALSE); hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6); - gtk_widget_set_margin_end(hbox, 16); priv->primary_image = gtk_image_new (); g_signal_connect (priv->primary_image, "notify", -- cgit v1.2.3