anjuta r4389 - in trunk: . plugins/editor



Author: jrliggett
Date: Wed Nov 12 23:53:17 2008
New Revision: 4389
URL: http://svn.gnome.org/viewvc/anjuta?rev=4389&view=rev

Log:
* plugins/editor/properties.cxx:
Fix some DEBUG_PRINT compile problems in the Scintilla plugin.

Modified:
   trunk/ChangeLog
   trunk/plugins/editor/properties.cxx

Modified: trunk/plugins/editor/properties.cxx
==============================================================================
--- trunk/plugins/editor/properties.cxx	(original)
+++ trunk/plugins/editor/properties.cxx	Wed Nov 12 23:53:17 2008
@@ -100,12 +100,12 @@
   PropSetFile* p;
   if(pi < 0 || (guint)pi >= g_list_length(anjuta_propset))
   {
-  	DEBUG_PRINT("Invalid PropSetFile handle");
+  	DEBUG_PRINT("%s", "Invalid PropSetFile handle");
   	return NULL;
   }
   p = (PropSetFile*)g_list_nth_data(anjuta_propset, pi);
   if (p == NULL)
-  	DEBUG_PRINT("Trying to access already destroyed PropSetFile object");
+  	DEBUG_PRINT("%s", "Trying to access already destroyed PropSetFile object");
   return p;
 }
 
@@ -124,7 +124,7 @@
    handle = g_list_length(anjuta_propset);
    if (length == handle)
    {
-   	DEBUG_PRINT("Unable to create PropSetFile Object");
+   	DEBUG_PRINT("%s", "Unable to create PropSetFile Object");
    	return -1;
    }
    return handle-1;



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