anjuta r4078 - in trunk: . libanjuta



Author: jhs
Date: Tue Jul 15 14:07:25 2008
New Revision: 4078
URL: http://svn.gnome.org/viewvc/anjuta?rev=4078&view=rev

Log:
2008-07-15  Johannes Schmid  <jhs gnome org>

	* libanjuta/anjuta-preferences.c (get_property_value_as_string):
	Use get_filename() instead of get_current_folder(). Thanks to seb
	for pointing out.


Modified:
   trunk/ChangeLog
   trunk/libanjuta/anjuta-preferences.c

Modified: trunk/libanjuta/anjuta-preferences.c
==============================================================================
--- trunk/libanjuta/anjuta-preferences.c	(original)
+++ trunk/libanjuta/anjuta-preferences.c	Tue Jul 15 14:07:25 2008
@@ -552,7 +552,6 @@
 	gint  int_value;
 	gchar** values;
 	gchar *text_value = NULL;
-	gchar *uri;
 	
 	if (prop->custom)
 	{
@@ -621,8 +620,6 @@
 		}
 		break;
 	case ANJUTA_PROPERTY_OBJECT_TYPE_FOLDER:
-		text_value = gtk_file_chooser_get_current_folder (GTK_FILE_CHOOSER (prop->object));
-		break;
 	case ANJUTA_PROPERTY_OBJECT_TYPE_FILE:
 		text_value = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (prop->object));
 		break;



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