sound-juicer r2429 - in trunk: . src
- From: rburton svn gnome org
- To: svn-commits-list gnome org
- Subject: sound-juicer r2429 - in trunk: . src
- Date: Tue, 10 Feb 2009 21:02:26 +0000 (UTC)
Author: rburton
Date: Tue Feb 10 21:02:26 2009
New Revision: 2429
URL: http://svn.gnome.org/viewvc/sound-juicer?rev=2429&view=rev
Log:
2009-02-10 Ross Burton <ross linux intel com>
* src/sj-main.c:
Fix error handling if the glade file isn't found.
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:02:26 2009
@@ -1675,7 +1675,9 @@
glade = glade_xml_new (INSTALLED_GLADE, NULL, NULL);
}
if (glade == NULL) {
- g_error_new (0, 0, _("The interface file for Sound Juicer could not be read."));
+ error = g_error_new (g_quark_from_static_string ("sound-juicer"),
+ 1, /* this is made up */
+ _("The interface file for Sound Juicer could not be read."));
error_on_start (error);
g_error_free (error);
exit (1);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]