Revision: 1872
http://geeqie.svn.sourceforge.net/geeqie/?rev=1872&view=rev
Author: nadvornik
Date: 2009-11-21 20:08:51 +0000 (Sat, 21 Nov 2009)
Log Message:
-----------
check gtk_clutter_init return value
https://sourceforge.net/tracker/index.php?func=detail&aid=2899866&group_id=222125&atid=1054680
Modified Paths:
--------------
trunk/src/main.c
Modified: trunk/src/main.c
===================================================================
--- trunk/src/main.c 2009-11-18 12:34:30 UTC (rev 1871)
+++ trunk/src/main.c 2009-11-21 20:08:51 UTC (rev 1872)
@@ -779,7 +779,11 @@
DEBUG_1("%s main: gtk_init", get_exec_time());
#ifdef HAVE_LIBCHAMPLAIN
#ifdef HAVE_LIBCHAMPLAIN_GTK
- gtk_clutter_init(&argc, &argv);
+ if (gtk_clutter_init(&argc, &argv) != CLUTTER_INIT_SUCCESS)
+ {
+ log_printf("Can't initialize clutter-gtk.\n");
+ exit(1);
+ }
#else
gtk_init(&argc, &argv);
#endif
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn