gnome-main-menu r483 - trunk/libslab



Author: cosimoc
Date: Thu Jul 24 17:16:27 2008
New Revision: 483
URL: http://svn.gnome.org/viewvc/gnome-main-menu?rev=483&view=rev

Log:
2008-07-24  Cosimo Cecchi  <cosimoc gnome org>

	http://bugzilla.gnome.org/show_bug.cgi?id=544538

	* app-shell.c: (generate_launchers):
	Fix a build warning.


Modified:
   trunk/libslab/ChangeLog
   trunk/libslab/app-shell.c

Modified: trunk/libslab/app-shell.c
==============================================================================
--- trunk/libslab/app-shell.c	(original)
+++ trunk/libslab/app-shell.c	Thu Jul 24 17:16:27 2008
@@ -1031,10 +1031,8 @@
 			desktop_item = gnome_desktop_item_new_from_file (desktop_file, 0, NULL);
 			if (!desktop_item)
 			{
-				gchar *error_msg = g_strdup_printf("Failure - gnome_desktop_item_new_from_file(%s)",
-					desktop_file);
-				g_critical (error_msg);
-				g_free (error_msg);
+				g_critical ("Failure - gnome_desktop_item_new_from_file(%s)",
+					    desktop_file);
 				break;
 			}
 			if (!check_specific_apps_hack (desktop_item))



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