From 17b20172c581009a5d972dbb9bc523e7d3e4126d Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Fri, 26 Jan 2018 11:06:00 +0100 Subject: avoid deprecated GtkStock --- capplets/windows/mate-metacity-support.c | 2 +- capplets/windows/mate-window-properties.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'capplets/windows') diff --git a/capplets/windows/mate-metacity-support.c b/capplets/windows/mate-metacity-support.c index d5964444..77fd1739 100644 --- a/capplets/windows/mate-metacity-support.c +++ b/capplets/windows/mate-metacity-support.c @@ -40,7 +40,7 @@ mate_metacity_config_tool () dialog = GTK_DIALOG (gtk_dialog_new_with_buttons(_("Metacity Preferences"), NULL, GTK_DIALOG_MODAL, - GTK_STOCK_CLOSE, + "gtk-close", GTK_RESPONSE_CLOSE, NULL)); gtk_window_set_icon_name (GTK_WINDOW (dialog), "preferences-system-windows"); diff --git a/capplets/windows/mate-window-properties.c b/capplets/windows/mate-window-properties.c index bf5ab4cb..ae059ae8 100644 --- a/capplets/windows/mate-window-properties.c +++ b/capplets/windows/mate-window-properties.c @@ -354,9 +354,9 @@ main (int argc, char **argv) dialog_win = gtk_dialog_new_with_buttons (_("Window Preferences"), NULL, GTK_DIALOG_MODAL, - GTK_STOCK_HELP, + "gtk-help", GTK_RESPONSE_HELP, - GTK_STOCK_CLOSE, + "gtk-close", GTK_RESPONSE_CLOSE, NULL); //gtk_window_set_resizable (GTK_WINDOW (dialog_win), FALSE); -- cgit v1.2.1