diff options
author | Bastien Nocera <hadess@hadess.net> | 2005-04-01 15:33:03 +0000 |
---|---|---|
committer | Bastien Nocera <hadess@src.gnome.org> | 2005-04-01 15:33:03 +0000 |
commit | 89810d16e4536c08a7c14ab6d382d04c4aa67a5d (patch) | |
tree | d3bd96418960c5ed150531d9df75709203f1f871 | |
parent | 566c5430a42f2f943198e34b127c033aadd6370e (diff) | |
download | totem-89810d16e4536c08a7c14ab6d382d04c4aa67a5d.tar.gz |
don't call g_set_application_name before gtk_init (spotted by Frederic
2005-04-01 Bastien Nocera <hadess@hadess.net>
* src/totem.c: (main): don't call g_set_application_name before
gtk_init (spotted by Frederic Crozat)
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/totem.c | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2005-04-01 Bastien Nocera <hadess@hadess.net> + + * src/totem.c: (main): don't call g_set_application_name before + gtk_init (spotted by Frederic Crozat) + 2005-04-01 Steve Murphy <murf@e-tools.com> * configure.in: Added "rw" to ALL_LINGUAS. diff --git a/src/totem.c b/src/totem.c index 7be7ec288..c959f4af9 100644 --- a/src/totem.c +++ b/src/totem.c @@ -3417,11 +3417,10 @@ main (int argc, char **argv) bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); textdomain (GETTEXT_PACKAGE); - g_set_application_name (_("Totem Movie Player")); - if (XInitThreads () == 0) { gtk_init (&argc, &argv); + g_set_application_name (_("Totem Movie Player")); totem_action_error_and_exit (_("Could not initialise the thread-safe libraries."), _("Verify your system installation. Totem will now exit."), NULL); } @@ -3438,6 +3437,7 @@ main (int argc, char **argv) GNOME_PARAM_NONE); #endif /* HAVE_GTK_ONLY */ + g_set_application_name (_("Totem Movie Player")); gnome_vfs_init (); if ((gc = gconf_client_get_default ()) == NULL) |