gedit-plugins r460 - trunk/plugins/drawspaces



Author: pborelli
Date: Sat Apr 11 16:57:27 2009
New Revision: 460
URL: http://svn.gnome.org/viewvc/gedit-plugins?rev=460&view=rev

Log:
fix warnings


Modified:
   trunk/plugins/drawspaces/gedit-drawspaces-plugin.c

Modified: trunk/plugins/drawspaces/gedit-drawspaces-plugin.c
==============================================================================
--- trunk/plugins/drawspaces/gedit-drawspaces-plugin.c	(original)
+++ trunk/plugins/drawspaces/gedit-drawspaces-plugin.c	Sat Apr 11 16:57:27 2009
@@ -28,6 +28,7 @@
 #include <gedit/gedit-window.h>
 #include <gedit/gedit-view.h>
 #include <gedit/gedit-tab.h>
+#include <gedit/gedit-utils.h>
 
 #include <gconf/gconf-client.h>
 
@@ -316,8 +317,7 @@
 impl_activate (GeditPlugin *plugin,
 	       GeditWindow *window)
 {
-	GList *views, *l;
-	GeditDrawspacesPlugin *ds_plugin = GEDIT_DRAWSPACES_PLUGIN (plugin);
+	GeditDrawspacesPlugin *ds_plugin;
 	GtkUIManager *manager;
 	GError *error = NULL;
 	GtkAction *action;
@@ -326,6 +326,8 @@
 
 	gedit_debug (DEBUG_PLUGINS);
 
+	ds_plugin = GEDIT_DRAWSPACES_PLUGIN (plugin);
+
 	data = g_slice_new (WindowData);
 	action_data = g_slice_new (ActionData);
 	



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