summaryrefslogtreecommitdiff
path: root/plugins/spell/pluma-spell-checker-dialog.c
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-03-18 01:16:18 +0100
committerPablo Barciela <[email protected]>2018-03-22 01:03:29 +0100
commit3061bc9f7d4f2008f741074cd103eb182a36a53e (patch)
tree096f05d25d8f077127eab3385604cdd2e593a1f5 /plugins/spell/pluma-spell-checker-dialog.c
parent67ca1fcf5fe0545389fcca8f302d8b142dfd6665 (diff)
downloadpluma-3061bc9f7d4f2008f741074cd103eb182a36a53e.tar.bz2
pluma-3061bc9f7d4f2008f741074cd103eb182a36a53e.tar.xz
spell-checker.ui plugin: avoid deprecated:
avoid deprecated: GtkLabel:xpad/ypad GtkTable GtkVBox GtkHBox GtkHButtonBox GtkImage:stock GtkButton:use-stock
Diffstat (limited to 'plugins/spell/pluma-spell-checker-dialog.c')
-rw-r--r--plugins/spell/pluma-spell-checker-dialog.c3
1 files changed, 3 insertions, 0 deletions
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);