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 --- font-viewer/font-view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'font-viewer') diff --git a/font-viewer/font-view.c b/font-viewer/font-view.c index 6b3bd536..1daf198c 100644 --- a/font-viewer/font-view.c +++ b/font-viewer/font-view.c @@ -489,7 +489,7 @@ info_button_clicked_cb (GtkButton *button, dialog = gtk_dialog_new_with_buttons ( _("Info"), GTK_WINDOW (self->main_window), GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, - GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE, + "gtk-close", GTK_RESPONSE_CLOSE, NULL); gtk_container_add (GTK_CONTAINER (gtk_dialog_get_content_area (GTK_DIALOG (dialog))), grid); g_signal_connect (dialog, "response", -- cgit v1.2.1