diff options
author | monsta <[email protected]> | 2018-01-28 22:42:47 +0300 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-01-30 20:11:14 +0100 |
commit | 2be32a55532fbb010f83472064435aae49e36270 (patch) | |
tree | 8a57f8d9d0b17ea7d4277c5d167c6eee4d0164b8 /capplets/windows | |
parent | 312edc87dae270e11ce2955c7c26b3387ae94985 (diff) | |
download | mate-control-center-2be32a55532fbb010f83472064435aae49e36270.tar.bz2 mate-control-center-2be32a55532fbb010f83472064435aae49e36270.tar.xz |
require GTK+ 3.22 and GLib 2.50
Diffstat (limited to 'capplets/windows')
-rw-r--r-- | capplets/windows/mate-metacity-support.c | 4 | ||||
-rw-r--r-- | capplets/windows/mate-window-properties.c | 8 |
2 files changed, 0 insertions, 12 deletions
diff --git a/capplets/windows/mate-metacity-support.c b/capplets/windows/mate-metacity-support.c index 079b18d1..d5964444 100644 --- a/capplets/windows/mate-metacity-support.c +++ b/capplets/windows/mate-metacity-support.c @@ -52,11 +52,7 @@ mate_metacity_config_tool () widget = gtk_label_new (str); g_free (str); gtk_label_set_use_markup (GTK_LABEL (widget), TRUE); -#if GTK_CHECK_VERSION (3, 16, 0) gtk_label_set_xalign (GTK_LABEL (widget), 0.0); -#else - gtk_misc_set_alignment (GTK_MISC (widget), 0.0, 0.5); -#endif gtk_box_pack_start (GTK_BOX (vbox), widget, FALSE, FALSE, 0); widget = gtk_check_button_new_with_label (_("Enable software _compositing window manager")); diff --git a/capplets/windows/mate-window-properties.c b/capplets/windows/mate-window-properties.c index ecc71247..bf5ab4cb 100644 --- a/capplets/windows/mate-window-properties.c +++ b/capplets/windows/mate-window-properties.c @@ -303,12 +303,8 @@ title_label_new (const char* title) g_free (str); gtk_label_set_use_markup (GTK_LABEL (widget), TRUE); -#if GTK_CHECK_VERSION (3, 16, 0) gtk_label_set_xalign (GTK_LABEL (widget), 0.0); gtk_label_set_yalign (GTK_LABEL (widget), 0.0); -#else - gtk_misc_set_alignment (GTK_MISC (widget), 0.0, 0.0); -#endif return widget; } @@ -492,12 +488,8 @@ main (int argc, char **argv) hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); widget = gtk_label_new_with_mnemonic (_("To move a window, press-and-hold this key then grab the window:")); -#if GTK_CHECK_VERSION (3, 16, 0) gtk_label_set_xalign (GTK_LABEL (widget), 0.0); gtk_label_set_yalign (GTK_LABEL (widget), 0.0); -#else - gtk_misc_set_alignment (GTK_MISC (widget), 0.0, 0.0); -#endif gtk_box_pack_start (GTK_BOX (vbox), widget, FALSE, FALSE, 6); alt_click_vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6); |