anjuta r3523 - in trunk: . plugins/build-basic-autotools
- From: sgranjoux svn gnome org
- To: svn-commits-list gnome org
- Subject: anjuta r3523 - in trunk: . plugins/build-basic-autotools
- Date: Sat, 26 Jan 2008 11:13:50 +0000 (GMT)
Author: sgranjoux
Date: Sat Jan 26 11:13:50 2008
New Revision: 3523
URL: http://svn.gnome.org/viewvc/anjuta?rev=3523&view=rev
Log:
* plugins/build-basic-autotools/build-basic-autotools.c:
ianjuta_document_manager_goto_file_line_mark needs an uri and
not a file path
Modified:
trunk/ChangeLog
trunk/plugins/build-basic-autotools/build-basic-autotools.c
Modified: trunk/plugins/build-basic-autotools/build-basic-autotools.c
==============================================================================
--- trunk/plugins/build-basic-autotools/build-basic-autotools.c (original)
+++ trunk/plugins/build-basic-autotools/build-basic-autotools.c Sat Jan 26 11:13:50 2008
@@ -719,6 +719,7 @@
if (parse_error_line (line, &filename, &lineno))
{
IAnjutaDocumentManager *docman;
+ gchar *uri;
/* Go to file and line number */
docman = anjuta_shell_get_interface (context->plugin->shell,
@@ -726,8 +727,13 @@
NULL);
/* Full path is detected from parse_error_line() */
- ianjuta_document_manager_goto_file_line_mark(docman, filename, lineno, TRUE, NULL);
+ uri = gnome_vfs_get_uri_from_local_path(filename);
g_free(filename);
+ if (uri)
+ {
+ ianjuta_document_manager_goto_file_line_mark(docman, uri, lineno, TRUE, NULL);
+ g_free(uri);
+ }
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]