sound-juicer r2428 - in trunk: . src
- From: rburton svn gnome org
- To: svn-commits-list gnome org
- Subject: sound-juicer r2428 - in trunk: . src
- Date: Tue, 10 Feb 2009 21:01:16 +0000 (UTC)
Author: rburton
Date: Tue Feb 10 21:01:16 2009
New Revision: 2428
URL: http://svn.gnome.org/viewvc/sound-juicer?rev=2428&view=rev
Log:
2009-02-10 Ross Burton <ross linux intel com>
* src/sj-main.c:
Free the option context once we're done with it (#569008) and
rearrange startup a bit.
Modified:
trunk/ChangeLog
trunk/src/sj-main.c
Modified: trunk/src/sj-main.c
==============================================================================
--- trunk/src/sj-main.c (original)
+++ trunk/src/sj-main.c Tue Feb 10 21:01:16 2009
@@ -1604,6 +1604,8 @@
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
textdomain (GETTEXT_PACKAGE);
+ g_set_application_name (_("Sound Juicer"));
+
ctx = g_option_context_new (N_("- Extract music from your CDs"));
g_option_context_add_main_entries (ctx, entries, GETTEXT_PACKAGE);
g_option_context_set_translation_domain(ctx, GETTEXT_PACKAGE);
@@ -1617,15 +1619,14 @@
g_printerr ("Error parsing options: %s", error->message);
exit (1);
}
-
- g_set_application_name (_("Sound Juicer"));
+ g_option_context_free (ctx);
sj_debug_init ();
sj_stock_init ();
gtk_window_set_default_icon_name ("sound-juicer");
-
+
connection = bacon_message_connection_new ("sound-juicer");
if (bacon_message_connection_get_is_server (connection) == FALSE) {
bacon_message_connection_send (connection, RAISE_WINDOW);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]