eel r2184 - in trunk: . eel



Author: alexl
Date: Mon Oct  6 17:50:15 2008
New Revision: 2184
URL: http://svn.gnome.org/viewvc/eel?rev=2184&view=rev

Log:
2008-10-06  Alexander Larsson  <alexl redhat com>

	* eel/eel-debug-drawing.c (eel_debug_show_pixbuf_in_external_viewer): 
	Better ignoring of system return value. Fixes build (#555264)



Modified:
   trunk/ChangeLog
   trunk/eel/eel-debug-drawing.c

Modified: trunk/eel/eel-debug-drawing.c
==============================================================================
--- trunk/eel/eel-debug-drawing.c	(original)
+++ trunk/eel/eel-debug-drawing.c	Mon Oct  6 17:50:15 2008
@@ -284,6 +284,7 @@
 	char *command;
 	char *file_name;
 	gboolean save_result;
+	int ignore;
 
 	g_return_if_fail (pixbuf != NULL);
 	g_return_if_fail (viewer_name != NULL);
@@ -305,7 +306,7 @@
 	
 	command = g_strdup_printf ("%s %s", viewer_name, file_name);
 
-	(void) system (command);
+	ignore = system (command);
 	g_free (command);
 	remove (file_name);
 	g_free (file_name);



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