From 607d5228f3a280dd8acfcdaba7da7c83c496de32 Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Sat, 3 Feb 2018 18:03:50 +0100 Subject: avoid deprecated GtkStock --- mateweather/mateweather-dialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mateweather/mateweather-dialog.c') 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); -- cgit v1.2.1