aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-02-22 21:03:14 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-02-22 21:03:14 +0800
commitee0869ab06ca33e8a19301dc96f5dadf84184972 (patch)
tree522934712c99297028781050982a3ed9b957de8a /src
parenta98707cd8a499d305a45c92448a1f6db29abfeb3 (diff)
downloadgsoc2013-empathy-ee0869ab06ca33e8a19301dc96f5dadf84184972.tar
gsoc2013-empathy-ee0869ab06ca33e8a19301dc96f5dadf84184972.tar.gz
gsoc2013-empathy-ee0869ab06ca33e8a19301dc96f5dadf84184972.tar.bz2
gsoc2013-empathy-ee0869ab06ca33e8a19301dc96f5dadf84184972.tar.lz
gsoc2013-empathy-ee0869ab06ca33e8a19301dc96f5dadf84184972.tar.xz
gsoc2013-empathy-ee0869ab06ca33e8a19301dc96f5dadf84184972.tar.zst
gsoc2013-empathy-ee0869ab06ca33e8a19301dc96f5dadf84184972.zip
check gtk_clutter_init() return value
Diffstat (limited to 'src')
-rw-r--r--src/empathy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/empathy.c b/src/empathy.c
index 766ffaa2c..2ed3bab5d 100644
--- a/src/empathy.c
+++ b/src/empathy.c
@@ -848,7 +848,8 @@ main (int argc, char *argv[])
g_type_init ();
#ifdef HAVE_LIBCHAMPLAIN
- gtk_clutter_init (&argc, &argv);
+ g_return_val_if_fail (gtk_clutter_init (&argc, &argv) ==
+ CLUTTER_INIT_SUCCESS, 1);
#endif
g_type_init ();