summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2017-06-08 18:09:39 +0300
committermonsta <[email protected]>2017-06-08 18:09:39 +0300
commit15f2b5650b00e947e49121bf9e9f31ffe9de4343 (patch)
treeda1ccba6862d86b31ce078c59b0d3cc2a6911a26
parent0e8c47e9d65e16fc6560cb93b02777c71ae97518 (diff)
downloadmate-panel-15f2b5650b00e947e49121bf9e9f31ffe9de4343.tar.bz2
mate-panel-15f2b5650b00e947e49121bf9e9f31ffe9de4343.tar.xz
clock: drop deprecated gtk_size_group_set_ignore_hidden
port of 6ae0ea92a925fae699a608b12d2274d52c12695d + 4de86661f4a6f67285333c67342c287f99deffeb
-rw-r--r--applets/clock/clock-location-tile.c2
-rw-r--r--applets/clock/clock.c1
2 files changed, 0 insertions, 3 deletions
diff --git a/applets/clock/clock-location-tile.c b/applets/clock/clock-location-tile.c
index e263e88b..6e1d36b6 100644
--- a/applets/clock/clock-location-tile.c
+++ b/applets/clock/clock-location-tile.c
@@ -327,7 +327,6 @@ clock_location_tile_fill (ClockLocationTile *this)
gtk_box_pack_start (GTK_BOX (box), priv->current_marker, FALSE, FALSE, 0);
gtk_box_pack_start (GTK_BOX (box), priv->current_spacer, FALSE, FALSE, 0);
priv->button_group = gtk_size_group_new (GTK_SIZE_GROUP_VERTICAL);
- gtk_size_group_set_ignore_hidden (priv->button_group, FALSE);
gtk_size_group_add_widget (priv->button_group, strut);
/*
@@ -340,7 +339,6 @@ clock_location_tile_fill (ClockLocationTile *this)
* but they are never visible together).
*/
priv->current_group = gtk_size_group_new (GTK_SIZE_GROUP_BOTH);
- gtk_size_group_set_ignore_hidden (priv->current_group, FALSE);
gtk_size_group_add_widget (priv->current_group, priv->current_marker);
gtk_size_group_add_widget (priv->current_group, priv->current_spacer);
diff --git a/applets/clock/clock.c b/applets/clock/clock.c
index 37bf7d47..b893b738 100644
--- a/applets/clock/clock.c
+++ b/applets/clock/clock.c
@@ -980,7 +980,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,