summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libmate-desktop/mate-colorseldialog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmate-desktop/mate-colorseldialog.c b/libmate-desktop/mate-colorseldialog.c
index d35f129..5b87c0f 100644
--- a/libmate-desktop/mate-colorseldialog.c
+++ b/libmate-desktop/mate-colorseldialog.c
@@ -158,11 +158,13 @@ mate_color_selection_dialog_init (MateColorSelectionDialog *colorseldiag)
gtk_widget_hide (colorseldiag->help_button);
+#if !GTK_CHECK_VERSION(3,0,0)
gtk_dialog_set_alternative_button_order (GTK_DIALOG (colorseldiag),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
GTK_RESPONSE_HELP,
-1);
+#endif
gtk_window_set_title (GTK_WINDOW (colorseldiag),
_("Color Selection"));