diff options
author | Pablo Barciela <[email protected]> | 2018-01-26 11:06:00 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-02-12 14:03:07 +0100 |
commit | 17b20172c581009a5d972dbb9bc523e7d3e4126d (patch) | |
tree | d18b5f4c993b16d5a70f0edfdd0ee5ae657aba3d /capplets/windows | |
parent | 9e312c404d28250bd75782ba6f7a96ba9b707fb1 (diff) | |
download | mate-control-center-17b20172c581009a5d972dbb9bc523e7d3e4126d.tar.bz2 mate-control-center-17b20172c581009a5d972dbb9bc523e7d3e4126d.tar.xz |
avoid deprecated GtkStock
Diffstat (limited to 'capplets/windows')
-rw-r--r-- | capplets/windows/mate-metacity-support.c | 2 | ||||
-rw-r--r-- | capplets/windows/mate-window-properties.c | 4 |
2 files changed, 3 insertions, 3 deletions
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); |