anjuta r4042 - in trunk: . plugins/debug-manager



Author: jhs
Date: Wed Jul  2 11:04:21 2008
New Revision: 4042
URL: http://svn.gnome.org/viewvc/anjuta?rev=4042&view=rev

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

	* plugins/debug-manager/breakpoints.c
	(on_jump_to_breakpoint_activate):
	* plugins/debug-manager/disassemble.c (on_location_changed):
	* plugins/debug-manager/plugin.c (dma_plugin_location_changed),
	(dma_plugin_activate):
	* plugins/document-manager/anjuta-docman.c
	(anjuta_docman_goto_file_line_mark):
	
	Fixed crash when double-clicking on a breakpoint.


Modified:
   trunk/ChangeLog
   trunk/plugins/debug-manager/breakpoints.c

Modified: trunk/plugins/debug-manager/breakpoints.c
==============================================================================
--- trunk/plugins/debug-manager/breakpoints.c	(original)
+++ trunk/plugins/debug-manager/breakpoints.c	Wed Jul  2 11:04:21 2008
@@ -1588,9 +1588,8 @@
 	if (valid)
 	{
 		BreakpointItem *bi;
-		GFile* file = g_file_new_for_uri (bi->uri);
 		gtk_tree_model_get (model, &iter, DATA_COLUMN, &bi, -1);
-		DEBUG_PRINT ("Uri: %s", bi->uri);
+		GFile* file = g_file_new_for_uri (bi->uri);
 		g_signal_emit_by_name (bd->plugin, "location-changed", bi->bp.address, file, bi->bp.line);
 		g_object_unref (file);
 	}



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