[gnome-shell] test-theme: Pacify -Werror for clutter_init
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] test-theme: Pacify -Werror for clutter_init
- Date: Sun, 13 Mar 2011 18:13:02 +0000 (UTC)
commit c2d400846b4e678f2f926a313280f840072b1f57
Author: Colin Walters <walters verbum org>
Date: Sun Mar 13 14:11:33 2011 -0400
test-theme: Pacify -Werror for clutter_init
src/st/test-theme.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/st/test-theme.c b/src/st/test-theme.c
index 43e1445..aeb8ade 100644
--- a/src/st/test-theme.c
+++ b/src/st/test-theme.c
@@ -426,7 +426,8 @@ main (int argc, char **argv)
StTheme *theme;
StThemeContext *context;
- clutter_init (&argc, &argv);
+ if (clutter_init (&argc, &argv) != CLUTTER_INIT_SUCCESS)
+ g_error ("failed to initialize clutter");
theme = st_theme_new ("st/test-theme.css",
NULL, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]