From 3061bc9f7d4f2008f741074cd103eb182a36a53e Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Sun, 18 Mar 2018 01:16:18 +0100 Subject: spell-checker.ui plugin: avoid deprecated: avoid deprecated: GtkLabel:xpad/ypad GtkTable GtkVBox GtkHBox GtkHButtonBox GtkImage:stock GtkButton:use-stock --- plugins/spell/pluma-spell-checker-dialog.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plugins/spell/pluma-spell-checker-dialog.c') diff --git a/plugins/spell/pluma-spell-checker-dialog.c b/plugins/spell/pluma-spell-checker-dialog.c index 995d6853..05a69d4b 100644 --- a/plugins/spell/pluma-spell-checker-dialog.c +++ b/plugins/spell/pluma-spell-checker-dialog.c @@ -296,6 +296,9 @@ create_dialog (PlumaSpellCheckerDialog *dlg, gtk_entry_set_activates_default (GTK_ENTRY (dlg->word_entry), TRUE); + gtk_button_set_image (GTK_BUTTON (dlg->close_button), + gtk_image_new_from_icon_name ("window-close", GTK_ICON_SIZE_BUTTON)); + /* Connect signals */ g_signal_connect (dlg->word_entry, "changed", G_CALLBACK (word_entry_changed_handler), dlg); -- cgit v1.2.1