SF.net SVN: geany: [1970] trunk/src/search.c

ntrel at users.sourceforge.net ntrel at xxxxx
Tue Oct 23 15:23:11 UTC 2007


Revision: 1970
          http://geany.svn.sourceforge.net/geany/?rev=1970&view=rev
Author:   ntrel
Date:     2007-10-23 08:23:08 -0700 (Tue, 23 Oct 2007)

Log Message:
-----------
Remove unused variable.

Modified Paths:
--------------
    trunk/src/search.c

Modified: trunk/src/search.c
===================================================================
--- trunk/src/search.c	2007-10-23 15:20:38 UTC (rev 1969)
+++ trunk/src/search.c	2007-10-23 15:23:08 UTC (rev 1970)
@@ -1126,7 +1126,7 @@
 	gchar **argv_prefix, **argv, **opts_argv;
 	guint opts_argv_len, i;
 	GPid child_pid;
-	gint stdout_fd, stdin_fd;
+	gint stdout_fd;
 	GError *error = NULL;
 	gboolean ret = FALSE;
 
@@ -1182,7 +1182,7 @@
 	if (! g_spawn_async_with_pipes(dir, (gchar**)argv, NULL,
 		G_SPAWN_STDERR_TO_DEV_NULL | G_SPAWN_DO_NOT_REAP_CHILD,
 		NULL, NULL, &child_pid,
-		&stdin_fd, &stdout_fd, NULL, &error))
+		NULL, &stdout_fd, NULL, &error))
 	{
 		geany_debug("%s: g_spawn_async_with_pipes() failed: %s", __func__, error->message);
 		msgwin_status_add(_("Process failed (%s)"), error->message);
@@ -1287,7 +1287,8 @@
 				gint count = gtk_tree_model_iter_n_children(
 					GTK_TREE_MODEL(msgwindow.store_msg), NULL) - 1;
 
-				msgwin_msg_add_fmt(COLOR_BLUE, -1, -1, _("Search completed with %d matches."), count);
+				msgwin_msg_add_fmt(COLOR_BLUE, -1, -1,
+					_("Search completed with %d matches."), count);
 				ui_set_statusbar(_("Search completed with %d matches."), count);
 				break;
 			}


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list