summaryrefslogtreecommitdiff
path: root/plugins/housekeeping/msd-ldsm-trash-empty.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2018-01-28 21:33:09 +0300
committerraveit65 <[email protected]>2018-01-30 14:03:10 +0100
commit336743475664829a64d13bbd70a2c97a58375d0c (patch)
tree2f3498fee5dc93d489e8768c54d01228c5863629 /plugins/housekeeping/msd-ldsm-trash-empty.c
parenteaad50f7624c8946e57ca075f8b7e383b1715bcc (diff)
downloadmate-settings-daemon-336743475664829a64d13bbd70a2c97a58375d0c.tar.bz2
mate-settings-daemon-336743475664829a64d13bbd70a2c97a58375d0c.tar.xz
require GTK+ 3.22 and GLib 2.50
Diffstat (limited to 'plugins/housekeeping/msd-ldsm-trash-empty.c')
-rw-r--r--plugins/housekeeping/msd-ldsm-trash-empty.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/plugins/housekeeping/msd-ldsm-trash-empty.c b/plugins/housekeeping/msd-ldsm-trash-empty.c
index c552c3b..d126b83 100644
--- a/plugins/housekeeping/msd-ldsm-trash-empty.c
+++ b/plugins/housekeeping/msd-ldsm-trash-empty.c
@@ -252,40 +252,24 @@ trash_empty_start ()
label1 = gtk_label_new (NULL);
gtk_label_set_line_wrap (GTK_LABEL (label1), TRUE);
-#if GTK_CHECK_VERSION (3, 16, 0)
gtk_label_set_xalign (GTK_LABEL (label1), 0.0);
gtk_label_set_yalign (GTK_LABEL (label1), 0.5);
-#else
- gtk_misc_set_alignment (GTK_MISC (label1), 0.0, 0.5);
-#endif
label3 = gtk_label_new (NULL);
gtk_label_set_line_wrap (GTK_LABEL (label3), TRUE);
-#if GTK_CHECK_VERSION (3, 16, 0)
gtk_label_set_xalign (GTK_LABEL (label3), 0.0);
gtk_label_set_yalign (GTK_LABEL (label3), 0.5);
-#else
- gtk_misc_set_alignment (GTK_MISC (label3), 0.0, 0.5);
-#endif
gtk_widget_hide (label3);
location_label = gtk_label_new (NULL);
gtk_label_set_line_wrap (GTK_LABEL (location_label), TRUE);
-#if GTK_CHECK_VERSION (3, 16, 0)
gtk_label_set_xalign (GTK_LABEL (location_label), 0.0);
gtk_label_set_yalign (GTK_LABEL (location_label), 0.5);
-#else
- gtk_misc_set_alignment (GTK_MISC (location_label), 0.0, 0.5);
-#endif
file_label = gtk_label_new (NULL);
gtk_label_set_line_wrap (GTK_LABEL (file_label), TRUE);
-#if GTK_CHECK_VERSION (3, 16, 0)
gtk_label_set_xalign (GTK_LABEL (file_label), 0.0);
gtk_label_set_yalign (GTK_LABEL (file_label), 0.5);
-#else
- gtk_misc_set_alignment (GTK_MISC (file_label), 0.0, 0.5);
-#endif
progressbar = gtk_progress_bar_new ();
gtk_progress_bar_set_pulse_step (GTK_PROGRESS_BAR (progressbar), 0.1);