From 91c840faea76d98659a79e76737cb37270cec558 Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Mon, 12 Feb 2018 12:13:35 +0100 Subject: avoid deprecated GtkStock --- mate-session/gsm-logout-dialog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mate-session') diff --git a/mate-session/gsm-logout-dialog.c b/mate-session/gsm-logout-dialog.c index 107fc0c..3183036 100644 --- a/mate-session/gsm-logout-dialog.c +++ b/mate-session/gsm-logout-dialog.c @@ -454,7 +454,7 @@ gsm_get_dialog (GsmDialogLogoutType type, } gtk_dialog_add_button (GTK_DIALOG (logout_dialog), - GTK_STOCK_CANCEL, + "gtk-cancel", GTK_RESPONSE_CANCEL); gtk_dialog_add_button (GTK_DIALOG (logout_dialog), @@ -487,7 +487,7 @@ gsm_get_dialog (GsmDialogLogoutType type, } gtk_dialog_add_button (GTK_DIALOG (logout_dialog), - GTK_STOCK_CANCEL, + "gtk-cancel", GTK_RESPONSE_CANCEL); if (gsm_logout_supports_shutdown (logout_dialog)) { -- cgit v1.2.1