Revision: 1184
          http://geeqie.svn.sourceforge.net/geeqie/?rev=1184&view=rev
Author:   zas_
Date:     2008-11-04 17:11:53 +0000 (Tue, 04 Nov 2008)

Log Message:
-----------
Do a gtk_init before the parsing of command line arguments to allow gtk 
specific options. (See 
http://library.gnome.org/devel/gtk/2.14/gtk-running.html). Patch by Klaus 
Ethgen.

Modified Paths:
--------------
    trunk/src/main.c

Modified: trunk/src/main.c
===================================================================
--- trunk/src/main.c    2008-10-27 13:31:39 UTC (rev 1183)
+++ trunk/src/main.c    2008-11-04 17:11:53 UTC (rev 1184)
@@ -707,11 +707,11 @@
        setup_default_options(options);
        load_options(options);
 
-       parse_command_line(argc, argv, &cmd_path, &cmd_file, &cmd_list, 
&collection_list, &geometry);
-
        gtkrc_load();
        gtk_init(&argc, &argv);
 
+       parse_command_line(argc, argv, &cmd_path, &cmd_file, &cmd_list, 
&collection_list, &geometry);
+
        if (gtk_major_version < GTK_MAJOR_VERSION ||
            (gtk_major_version == GTK_MAJOR_VERSION && gtk_minor_version < 
GTK_MINOR_VERSION) )
                {


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn

Reply via email to