Skip to content
Permalink
Browse files

avoid deprecated GtkStock

  • Loading branch information...
sc0w authored and raveit65 committed Feb 15, 2018
1 parent 6365649 commit 61c81ebcfc472c6345cb1a3aee4c8aa18ed7e6be
Showing with 6 additions and 1 deletion.
  1. +6 −1 src/ui/theme-viewer.c
@@ -253,7 +253,12 @@ dialog_contents (void)
gtk_button_box_set_layout (GTK_BUTTON_BOX (action_area),
GTK_BUTTONBOX_END);

button = gtk_button_new_from_stock (GTK_STOCK_OK);
button = GTK_WIDGET (g_object_new (GTK_TYPE_BUTTON,
"label", "gtk-ok",
"use-stock", TRUE,
"use-underline", TRUE,
NULL));

gtk_box_pack_end (GTK_BOX (action_area),
button,
FALSE, TRUE, 0);

0 comments on commit 61c81eb

Please sign in to comment.
You can’t perform that action at this time.