diff options
author | monsta <[email protected]> | 2018-02-02 16:25:31 +0300 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-02-04 20:32:14 +0100 |
commit | d1020226236576464be4ab47ec0098a588bef486 (patch) | |
tree | c79b616da32f8b684b964af8b8cf3fa96b98c4e6 /timerapplet | |
parent | e6d55cba85fc49b3dfac8150c397540bda369847 (diff) | |
download | mate-applets-d1020226236576464be4ab47ec0098a588bef486.tar.bz2 mate-applets-d1020226236576464be4ab47ec0098a588bef486.tar.xz |
require GTK+ 3.22 and GLib 2.50
Diffstat (limited to 'timerapplet')
-rw-r--r-- | timerapplet/timerapplet.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/timerapplet/timerapplet.c b/timerapplet/timerapplet.c index 9b2db8ce..20b7a30c 100644 --- a/timerapplet/timerapplet.c +++ b/timerapplet/timerapplet.c @@ -303,12 +303,8 @@ timer_preferences_callback (GtkAction *action, TimerApplet *applet) gtk_container_set_border_width (GTK_CONTAINER (dialog), 10); widget = gtk_label_new (_("Name:")); -#if GTK_CHECK_VERSION (3, 16, 0) gtk_label_set_xalign (GTK_LABEL (widget), 1.0); gtk_label_set_yalign (GTK_LABEL (widget), 0.5); -#else - gtk_misc_set_alignment (GTK_MISC (widget), 1.0, 0.5); -#endif gtk_grid_attach (grid, widget, 1, 0, 1, 1); widget = gtk_entry_new (); @@ -316,12 +312,8 @@ timer_preferences_callback (GtkAction *action, TimerApplet *applet) g_settings_bind (applet->settings, NAME_KEY, widget, "text", G_SETTINGS_BIND_DEFAULT); widget = gtk_label_new (_("Hours:")); -#if GTK_CHECK_VERSION (3, 16, 0) gtk_label_set_xalign (GTK_LABEL (widget), 1.0); gtk_label_set_yalign (GTK_LABEL (widget), 0.5); -#else - gtk_misc_set_alignment (GTK_MISC (widget), 1.0, 0.5); -#endif gtk_grid_attach (grid, widget, 1, 1, 1, 1); widget = gtk_spin_button_new_with_range (0.0, 100.0, 1.0); @@ -331,12 +323,8 @@ timer_preferences_callback (GtkAction *action, TimerApplet *applet) g_signal_connect (widget, "value-changed", G_CALLBACK (timer_spin_button_value_changed), applet); widget = gtk_label_new (_("Minutes:")); -#if GTK_CHECK_VERSION (3, 16, 0) gtk_label_set_xalign (GTK_LABEL (widget), 1.0); gtk_label_set_yalign (GTK_LABEL (widget), 0.5); -#else - gtk_misc_set_alignment (GTK_MISC (widget), 1.0, 0.5); -#endif gtk_grid_attach (grid, widget, 1, 2, 1, 1); widget = gtk_spin_button_new_with_range (0.0, 59.0, 1.0); @@ -346,12 +334,8 @@ timer_preferences_callback (GtkAction *action, TimerApplet *applet) g_signal_connect (widget, "value-changed", G_CALLBACK (timer_spin_button_value_changed), applet); widget = gtk_label_new (_("Seconds:")); -#if GTK_CHECK_VERSION (3, 16, 0) gtk_label_set_xalign (GTK_LABEL (widget), 1.0); gtk_label_set_yalign (GTK_LABEL (widget), 0.5); -#else - gtk_misc_set_alignment (GTK_MISC (widget), 1.0, 0.5); -#endif gtk_grid_attach (grid, widget, 1, 3, 1, 1); widget = gtk_spin_button_new_with_range (0.0, 59.0, 1.0); |