eel r2185 - in branches/gnome-2-24: . eel
- From: alexl svn gnome org
- To: svn-commits-list gnome org
- Subject: eel r2185 - in branches/gnome-2-24: . eel
- Date: Mon, 6 Oct 2008 17:51:39 +0000 (UTC)
Author: alexl
Date: Mon Oct 6 17:51:39 2008
New Revision: 2185
URL: http://svn.gnome.org/viewvc/eel?rev=2185&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:
branches/gnome-2-24/ChangeLog
branches/gnome-2-24/eel/eel-debug-drawing.c
Modified: branches/gnome-2-24/eel/eel-debug-drawing.c
==============================================================================
--- branches/gnome-2-24/eel/eel-debug-drawing.c (original)
+++ branches/gnome-2-24/eel/eel-debug-drawing.c Mon Oct 6 17:51:39 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]