test-theme: Fix
St requires GTK+ to be initted. https://bugzilla.gnome.org/show_bug.cgi?id=678737
This commit is contained in:
parent
69e1503c6d
commit
9e25e13218
@ -426,6 +426,8 @@ main (int argc, char **argv)
|
|||||||
StTheme *theme;
|
StTheme *theme;
|
||||||
StThemeContext *context;
|
StThemeContext *context;
|
||||||
|
|
||||||
|
gtk_init (&argc, &argv);
|
||||||
|
|
||||||
if (clutter_init (&argc, &argv) != CLUTTER_INIT_SUCCESS)
|
if (clutter_init (&argc, &argv) != CLUTTER_INIT_SUCCESS)
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user