[gedit] Avoid warning on win32
- From: Ignacio Casal Quinteiro <icq src gnome org>
 
- To: svn-commits-list gnome org
 
- Cc: 
 
- Subject: [gedit] Avoid warning on win32
 
- Date: Sun, 13 Sep 2009 20:15:20 +0000 (UTC)
 
commit 94bb89d40d9d9ba72b801e3eb2a6b48e1d9a2f06
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Sun Sep 13 22:14:52 2009 +0200
    Avoid warning on win32
 plugins/taglist/gedit-taglist-plugin-parser.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/taglist/gedit-taglist-plugin-parser.c b/plugins/taglist/gedit-taglist-plugin-parser.c
index 5172e48..c9854bd 100644
--- a/plugins/taglist/gedit-taglist-plugin-parser.c
+++ b/plugins/taglist/gedit-taglist-plugin-parser.c
@@ -588,8 +588,6 @@ parse_taglist_dir (const gchar *dir)
 
 TagList* create_taglist (const gchar *data_dir)
 {
-	const gchar *home;
-
 	gedit_debug_message (DEBUG_PLUGINS, "ref_count: %d", taglist_ref_count);
 
 	if (taglist_ref_count > 0)
@@ -600,6 +598,8 @@ TagList* create_taglist (const gchar *data_dir)
 	}
 
 #ifndef G_OS_WIN32
+	const gchar *home;
+
 	/* load user's taglists */
 	home = g_get_home_dir ();
 	if (home != NULL)
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]