summaryrefslogtreecommitdiff
path: root/src/ui/theme-viewer.c
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-02-15 12:19:02 +0100
committerraveit65 <[email protected]>2018-02-15 13:01:25 +0100
commit61c81ebcfc472c6345cb1a3aee4c8aa18ed7e6be (patch)
treea90598f97f03776c870437ea45ac59cdbe9a53db /src/ui/theme-viewer.c
parent63656492e2516e986ada3e273b8b9a6275d5ad08 (diff)
downloadmarco-61c81ebcfc472c6345cb1a3aee4c8aa18ed7e6be.tar.bz2
marco-61c81ebcfc472c6345cb1a3aee4c8aa18ed7e6be.tar.xz
avoid deprecated GtkStock
Diffstat (limited to 'src/ui/theme-viewer.c')
-rw-r--r--src/ui/theme-viewer.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/ui/theme-viewer.c b/src/ui/theme-viewer.c
index 297ecab1..f4e154f7 100644
--- a/src/ui/theme-viewer.c
+++ b/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);