anjuta r4390 - in trunk: . plugins/editor
- From: jrliggett svn gnome org
- To: svn-commits-list gnome org
- Subject: anjuta r4390 - in trunk: . plugins/editor
- Date: Fri, 14 Nov 2008 00:39:39 +0000 (UTC)
Author: jrliggett
Date: Fri Nov 14 00:39:38 2008
New Revision: 4390
URL: http://svn.gnome.org/viewvc/anjuta?rev=4390&view=rev
Log:
* plugins/editor/aneditor.cxx:
* plugins/editor/text_editor.c (load_from_file):
Fix yet more compile fallout from the DEBUG_PRINT patch.
Modified:
trunk/ChangeLog
trunk/plugins/editor/aneditor.cxx
trunk/plugins/editor/text_editor.c
Modified: trunk/plugins/editor/aneditor.cxx
==============================================================================
--- trunk/plugins/editor/aneditor.cxx (original)
+++ trunk/plugins/editor/aneditor.cxx Fri Nov 14 00:39:38 2008
@@ -3033,13 +3033,13 @@
AnEditor* ed;
if(id >= g_list_length(editors))
{
- DEBUG_PRINT("Invalid AnEditorID supplied");
+ DEBUG_PRINT("%s", "Invalid AnEditorID supplied");
return NULL;
}
ed = (AnEditor*)g_list_nth_data(editors, (guint)id);
if(!ed)
{
- DEBUG_PRINT("Trying to use already destroyed AnEditor Object");
+ DEBUG_PRINT("%s", "Trying to use already destroyed AnEditor Object");
return NULL;
}
return ed;
@@ -3051,7 +3051,7 @@
AnEditor* ed = new AnEditor((PropSetFile*)propset);
if (!ed)
{
- DEBUG_PRINT("Memory allocation error.");
+ DEBUG_PRINT("%s", "Memory allocation error.");
return ANE_ID_INVALID;
}
g_signal_connect(ed->GetID(), "focus_in_event",
Modified: trunk/plugins/editor/text_editor.c
==============================================================================
--- trunk/plugins/editor/text_editor.c (original)
+++ trunk/plugins/editor/text_editor.c Fri Nov 14 00:39:38 2008
@@ -1293,7 +1293,7 @@
buffer = g_malloc (size + 1);
if (buffer == NULL && size != 0)
{
- /* DEBUG_PRINT ("This file is too big. Unable to allocate memory."); */
+ /* DEBUG_PRINT ("%s", "This file is too big. Unable to allocate memory."); */
*err = g_strdup (_("This file is too big. Unable to allocate memory."));
g_object_unref (gio_uri);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]