[gnome-panel] clock: remove deprecated gtk_size_group_set_ignore_hidden



commit 850be6a546379c9e0a92cdc5e57df06b22f51b2d
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sun Oct 30 21:15:04 2016 +0200

    clock: remove deprecated gtk_size_group_set_ignore_hidden

 applets/clock/clock-location-tile.c |    2 --
 applets/clock/clock.c               |    1 -
 2 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/applets/clock/clock-location-tile.c b/applets/clock/clock-location-tile.c
index 93ec98c..f486cee 100644
--- a/applets/clock/clock-location-tile.c
+++ b/applets/clock/clock-location-tile.c
@@ -311,7 +311,6 @@ clock_location_tile_fill (ClockLocationTile *this)
         gtk_box_pack_start (GTK_BOX (box), priv->current_spacer, FALSE, FALSE, 0);
 
         button_group = gtk_size_group_new (GTK_SIZE_GROUP_VERTICAL);
-        gtk_size_group_set_ignore_hidden (button_group, FALSE);
         gtk_size_group_add_widget (button_group, strut);
         gtk_size_group_add_widget (button_group, priv->current_button);
         g_object_unref (button_group);
@@ -326,7 +325,6 @@ clock_location_tile_fill (ClockLocationTile *this)
         * but they are never visible together). 
         */
         current_group = gtk_size_group_new (GTK_SIZE_GROUP_BOTH);
-        gtk_size_group_set_ignore_hidden (current_group, FALSE);
         gtk_size_group_add_widget (current_group, priv->current_button);
         gtk_size_group_add_widget (current_group, priv->current_marker);
         gtk_size_group_add_widget (current_group, priv->current_spacer);
diff --git a/applets/clock/clock.c b/applets/clock/clock.c
index 65a061e..8759644 100644
--- a/applets/clock/clock.c
+++ b/applets/clock/clock.c
@@ -524,7 +524,6 @@ create_clock_window (ClockData *cd)
        gtk_container_add (GTK_CONTAINER (locations_box), cd->clock_vbox);
 
        cd->clock_group = gtk_size_group_new (GTK_SIZE_GROUP_HORIZONTAL);
-       gtk_size_group_set_ignore_hidden (cd->clock_group, FALSE);
 
        gtk_container_foreach (GTK_CONTAINER (locations_box),
                               (GtkCallback) add_to_group,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]