summaryrefslogtreecommitdiff
path: root/libmate-desktop/mate-colorseldialog.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-06-14 20:40:28 +0200
committerraveit65 <[email protected]>2016-06-15 09:46:15 +0200
commita7434992544fe2fc2e1659999ea9ab7d95b6e56b (patch)
tree5808bdb620485c2abbf55ffcc81f924934b85788 /libmate-desktop/mate-colorseldialog.c
parent12237356a2e12378ad288b4c7fb726c28746f4bf (diff)
downloadmate-desktop-a7434992544fe2fc2e1659999ea9ab7d95b6e56b.tar.bz2
mate-desktop-a7434992544fe2fc2e1659999ea9ab7d95b6e56b.tar.xz
GTK+-3 mate-colorseldialog: do not use deprecated gtk_dialog_set_alternative_button_order
Diffstat (limited to 'libmate-desktop/mate-colorseldialog.c')
-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"));