gnomeicu r2735 - trunk/src



Author: Tester
Date: Sat Apr 11 16:41:45 2009
New Revision: 2735
URL: http://svn.gnome.org/viewvc/gnomeicu?rev=2735&view=rev

Log:
2009-04-11  Olivier Crete <tester tester ca>
	* src/gnomeicu.c: Print warning if main.glade can't be opened


Modified:
   trunk/src/gnomeicu.c

Modified: trunk/src/gnomeicu.c
==============================================================================
--- trunk/src/gnomeicu.c	(original)
+++ trunk/src/gnomeicu.c	Sat Apr 11 16:41:45 2009
@@ -422,8 +422,10 @@
         gint window_w, window_h;
 
 	MainData->xml = gicu_util_open_glade_xml ("main.glade", "app");
-	if (MainData->xml == NULL)
+	if (MainData->xml == NULL) {
+		g_error("Could not open main.glade");
 		exit(1);
+	}
 	
 	app_win = glade_xml_get_widget (MainData->xml, "app");
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]