[gedit-collaboration] Remove unused variables



commit e1a12db300429981084f0fc67c42394f885e2323
Author: Jesse van den Kieboom <jesse vandenkieboom epfl ch>
Date:   Sun Apr 3 17:08:52 2011 +0200

    Remove unused variables

 src/gedit-collaboration-actions.c |   17 ++++++++---------
 src/gedit-collaboration-manager.c |    2 --
 2 files changed, 8 insertions(+), 11 deletions(-)
---
diff --git a/src/gedit-collaboration-actions.c b/src/gedit-collaboration-actions.c
index 123f4f8..86d8fda 100644
--- a/src/gedit-collaboration-actions.c
+++ b/src/gedit-collaboration-actions.c
@@ -38,7 +38,6 @@ on_item_new_response (GtkDialog *dialog,
 	if (name)
 	{
 		InfcBrowserIter parent = item->iter;
-		InfcNodeRequest *request;
 
 		if (!infc_browser_iter_is_subdirectory (item->browser, &parent))
 		{
@@ -50,17 +49,17 @@ on_item_new_response (GtkDialog *dialog,
 			InfcNotePlugin *plugin;
 			plugin = gedit_collaboration_manager_get_note_plugin (item->helper->priv->manager);
 
-			request = infc_browser_add_note (item->browser,
-			                                 &parent,
-			                                 name,
-			                                 plugin,
-			                                 FALSE);
+			infc_browser_add_note (item->browser,
+			                       &parent,
+			                       name,
+			                       plugin,
+			                       FALSE);
 		}
 		else
 		{
-			request = infc_browser_add_subdirectory (item->browser,
-			                                         &parent,
-			                                         name);
+			infc_browser_add_subdirectory (item->browser,
+			                               &parent,
+			                               name);
 		}
 	}
 
diff --git a/src/gedit-collaboration-manager.c b/src/gedit-collaboration-manager.c
index 6d43204..9b4b6b9 100644
--- a/src/gedit-collaboration-manager.c
+++ b/src/gedit-collaboration-manager.c
@@ -911,7 +911,6 @@ gedit_collaboration_manager_subscribe (GeditCollaborationManager *manager,
 {
 	InfcNodeRequest *request;
 	GeditCollaborationSubscription *subscription;
-	InfXmlConnection *connection;
 	InfcSessionProxy *proxy;
 
 	g_return_val_if_fail (GEDIT_COLLABORATION_IS_MANAGER (manager), NULL);
@@ -942,7 +941,6 @@ gedit_collaboration_manager_subscribe (GeditCollaborationManager *manager,
 		return NULL;
 	}
 
-	connection = infc_browser_get_connection (browser);
 	request = infc_browser_iter_subscribe_session (browser, iter);
 
 	subscription = g_slice_new0 (GeditCollaborationSubscription);



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