[gthumb] call gtk_clutter_init as soon as possible
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] call gtk_clutter_init as soon as possible
- Date: Fri, 28 Oct 2011 16:01:37 +0000 (UTC)
commit 44eef75f42eafeb039816e6a86485d167463ec6f
Author: Paolo Bacchilega <paobac src gnome org>
Date: Thu Oct 27 20:04:52 2011 +0200
call gtk_clutter_init as soon as possible
gthumb/main.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gthumb/main.c b/gthumb/main.c
index 96b6206..79180b6 100644
--- a/gthumb/main.c
+++ b/gthumb/main.c
@@ -339,11 +339,7 @@ gthumb_application_command_line_cb (GApplication *application,
g_printf ("%s %s, Copyright  2001-2010 Free Software Foundation, Inc.\n", PACKAGE_NAME, PACKAGE_VERSION);
g_option_context_free (context);
return 0;
- }
-
-#ifdef HAVE_CLUTTER
- ClutterInitResult = gtk_clutter_init (NULL, NULL);
-#endif
+ }
g_option_context_free (context);
@@ -477,6 +473,10 @@ main (int argc, char *argv[])
if (! g_thread_supported ())
g_thread_init (NULL);
+#ifdef HAVE_CLUTTER
+ ClutterInitResult = gtk_clutter_init (NULL, NULL);
+#endif
+
program_argv0 = argv[0];
/* text domain */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]