Skip to content

Commit

Permalink
spell-checker.ui plugin: avoid deprecated:
Browse files Browse the repository at this point in the history
avoid deprecated:

GtkLabel:xpad/ypad
GtkTable
GtkVBox
GtkHBox
GtkHButtonBox
GtkImage:stock
GtkButton:use-stock
  • Loading branch information
sc0w committed Mar 22, 2018
1 parent 67ca1fc commit 3061bc9
Show file tree
Hide file tree
Showing 2 changed files with 113 additions and 182 deletions.
3 changes: 3 additions & 0 deletions plugins/spell/pluma-spell-checker-dialog.c
Expand Up @@ -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);
Expand Down

0 comments on commit 3061bc9

Please sign in to comment.