summaryrefslogtreecommitdiff
path: root/capplets/appearance/theme-util.c
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-01-26 11:06:00 +0100
committerraveit65 <[email protected]>2018-02-12 14:03:07 +0100
commit17b20172c581009a5d972dbb9bc523e7d3e4126d (patch)
treed18b5f4c993b16d5a70f0edfdd0ee5ae657aba3d /capplets/appearance/theme-util.c
parent9e312c404d28250bd75782ba6f7a96ba9b707fb1 (diff)
downloadmate-control-center-17b20172c581009a5d972dbb9bc523e7d3e4126d.tar.bz2
mate-control-center-17b20172c581009a5d972dbb9bc523e7d3e4126d.tar.xz
avoid deprecated GtkStock
Diffstat (limited to 'capplets/appearance/theme-util.c')
-rw-r--r--capplets/appearance/theme-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/capplets/appearance/theme-util.c b/capplets/appearance/theme-util.c
index 5f7b6c40..96beb2c2 100644
--- a/capplets/appearance/theme-util.c
+++ b/capplets/appearance/theme-util.c
@@ -71,7 +71,7 @@ gboolean theme_delete (const gchar *name, ThemeType type)
GTK_MESSAGE_QUESTION,
GTK_BUTTONS_CANCEL,
_("Would you like to delete this theme?"));
- gtk_dialog_add_button (dialog, GTK_STOCK_DELETE, GTK_RESPONSE_ACCEPT);
+ gtk_dialog_add_button (dialog, "gtk-delete", GTK_RESPONSE_ACCEPT);
response = gtk_dialog_run (dialog);
gtk_widget_destroy (GTK_WIDGET (dialog));
if (response != GTK_RESPONSE_ACCEPT)