summaryrefslogtreecommitdiff
path: root/mateweather/mateweather-dialog.c
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-02-03 18:03:50 +0100
committerraveit65 <[email protected]>2018-02-09 16:17:56 +0100
commit607d5228f3a280dd8acfcdaba7da7c83c496de32 (patch)
tree26f39957ef1935326935565892b98e4640ee9603 /mateweather/mateweather-dialog.c
parent94618cb836c3213e28c3d75fc6bc458bf6cd59b3 (diff)
downloadmate-applets-607d5228f3a280dd8acfcdaba7da7c83c496de32.tar.bz2
mate-applets-607d5228f3a280dd8acfcdaba7da7c83c496de32.tar.xz
avoid deprecated GtkStock
Diffstat (limited to 'mateweather/mateweather-dialog.c')
-rw-r--r--mateweather/mateweather-dialog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mateweather/mateweather-dialog.c b/mateweather/mateweather-dialog.c
index c2eefea7..71a150b2 100644
--- a/mateweather/mateweather-dialog.c
+++ b/mateweather/mateweather-dialog.c
@@ -184,7 +184,7 @@ static void mateweather_dialog_create(MateWeatherDialog* dialog)
gtk_window_set_title (GTK_WINDOW (dialog), _("Details"));
gtk_dialog_add_buttons (GTK_DIALOG (dialog),
_("_Update"), GTK_RESPONSE_OK,
- GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
+ "gtk-close", GTK_RESPONSE_CLOSE,
NULL);
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_CLOSE);
gtk_container_set_border_width (GTK_CONTAINER (dialog), 5);