anjuta r4171 - in trunk: . libanjuta libanjuta/interfaces plugins/debug-manager plugins/gdb



Author: sgranjoux
Date: Thu Aug 21 14:38:34 2008
New Revision: 4171
URL: http://svn.gnome.org/viewvc/anjuta?rev=4171&view=rev

Log:
	* plugins/debug-manager/command.c,
	plugins/gdb/plugin.c,
	libanjuta/interfaces/libanjuta.idl:
	Keep const gchar* instead of GFile in debugger interface

	* libanjuta/libanjuta.h,
	libanjuta/Makefile.am:
	All public libanjuta header files should be included in libanjuta.h
	Install anjuta-version.h too

	* (removed) libanjuta/libanjuta-2.0.pc:
	Fix #546109 - Spurious libanjuta-2.0.pc file


Removed:
   trunk/libanjuta/libanjuta-2.0.pc
Modified:
   trunk/ChangeLog
   trunk/libanjuta/Makefile.am
   trunk/libanjuta/interfaces/libanjuta.idl
   trunk/libanjuta/libanjuta.h
   trunk/plugins/debug-manager/command.c
   trunk/plugins/gdb/plugin.c

Modified: trunk/libanjuta/Makefile.am
==============================================================================
--- trunk/libanjuta/Makefile.am	(original)
+++ trunk/libanjuta/Makefile.am	Thu Aug 21 14:38:34 2008
@@ -125,7 +125,8 @@
 	anjuta-vcs-status-tree-view.h \
 	anjuta-command.h \
 	anjuta-async-command.h \
-	anjuta-sync-command.h
+	anjuta-sync-command.h \
+	anjuta-version.h
 
 libanjutainclude_HEADERS = \
 	$(libanjuta_include) \

Modified: trunk/libanjuta/interfaces/libanjuta.idl
==============================================================================
--- trunk/libanjuta/interfaces/libanjuta.idl	(original)
+++ trunk/libanjuta/interfaces/libanjuta.idl	Thu Aug 21 14:38:34 2008
@@ -3449,7 +3449,7 @@
 	*
 	* Returns: fixme
 	*/
-	gboolean run_to (GFile* file, gint line);
+	gboolean run_to (const gchar* file, gint line);
 	
 	/**
 	* ianjuta_debugger_exit:

Modified: trunk/libanjuta/libanjuta.h
==============================================================================
--- trunk/libanjuta/libanjuta.h	(original)
+++ trunk/libanjuta/libanjuta.h	Thu Aug 21 14:38:34 2008
@@ -48,5 +48,6 @@
 #include <libanjuta/anjuta-vcs-status-tree-view.h>
 #include <libanjuta/anjuta-command.h>
 #include <libanjuta/anjuta-async-command.h>
+#include <libanjuta/anjuta-sync-command.h>
 
 #endif

Modified: trunk/plugins/debug-manager/command.c
==============================================================================
--- trunk/plugins/debug-manager/command.c	(original)
+++ trunk/plugins/debug-manager/command.c	Thu Aug 21 14:38:34 2008
@@ -1173,9 +1173,7 @@
 		ret = ianjuta_debugger_run (debugger, err);	
 		break;
 	case RUN_TO_COMMAND:
-		file = g_file_new_for_uri (cmd->data.pos.file);
-		ret = ianjuta_debugger_run_to (debugger, file, cmd->data.pos.line, err);
-		g_object_unref (file);
+		ret = ianjuta_debugger_run_to (debugger, cmd->data.pos.file, cmd->data.pos.line, err);
 		break;
 	case STEP_IN_COMMAND:
 		ret = ianjuta_debugger_step_in (debugger, err);	

Modified: trunk/plugins/gdb/plugin.c
==============================================================================
--- trunk/plugins/gdb/plugin.c	(original)
+++ trunk/plugins/gdb/plugin.c	Thu Aug 21 14:38:34 2008
@@ -463,13 +463,12 @@
 }
 
 static gboolean
-idebugger_run_to (IAnjutaDebugger *plugin, GFile* file,
+idebugger_run_to (IAnjutaDebugger *plugin, const gchar* file,
 						   gint line, GError **err)
 {
 	GdbPlugin *this = ANJUTA_PLUGIN_GDB (plugin);
-	gchar* path = g_file_get_path (file);
 	
-	debugger_run_to_position (this->debugger, path, line);
+	debugger_run_to_position (this->debugger, file, line);
 
 	return TRUE;
 }



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