summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-05-17 01:14:57 +0200
committerraveit65 <[email protected]>2016-05-17 01:14:57 +0200
commit829591e31abd4500aef72b1c49037d61a854c391 (patch)
treefc2ffeec9b709beb4704dfbb7125b658467e6ed9
parent4ab26c4748b13590c350bc7b3cb4cfc83cb15225 (diff)
downloadmarco-829591e31abd4500aef72b1c49037d61a854c391.tar.bz2
marco-829591e31abd4500aef72b1c49037d61a854c391.tar.xz
fix a typo with deprecated GtkMisc
-rw-r--r--src/ui/theme-viewer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/theme-viewer.c b/src/ui/theme-viewer.c
index fc4ba3e9..62640a5c 100644
--- a/src/ui/theme-viewer.c
+++ b/src/ui/theme-viewer.c
@@ -351,8 +351,8 @@ menu_contents (void)
char *str = g_strdup_printf (_("Fake menu item %d\n"), i + 1);
mi = gtk_label_new (str);
#if GTK_CHECK_VERSION (3, 0, 0)
- gtk_widget_set_halign (image, GTK_ALIGN_START);
- gtk_widget_set_valign (image, GTK_ALIGN_CENTER);
+ gtk_widget_set_halign (mi, GTK_ALIGN_START);
+ gtk_widget_set_valign (mi, GTK_ALIGN_CENTER);
#else
gtk_misc_set_alignment (GTK_MISC (mi), 0.0, 0.5);
#endif