Revision: 358 Author: ntrel Date: 2006-05-23 07:21:37 -0700 (Tue, 23 May 2006) ViewCVS: http://svn.sourceforge.net/geany/?rev=358&view=rev
Log Message: ----------- check if file has been closed in utils_goto_workspace_tag
Modified Paths: -------------- trunk/ChangeLog trunk/src/utils.c Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2006-05-22 15:28:48 UTC (rev 357) +++ trunk/ChangeLog 2006-05-23 14:21:37 UTC (rev 358) @@ -1,3 +1,9 @@ +2006-05-23 Nick Treleaven nick.treleaven@btinternet.com + + * src/utils.c: check if file has been closed in + utils_goto_workspace_tag + + 2006-05-22 Nick Treleaven nick.treleaven@btinternet.com
* src/callbacks.c, src/templates.c:
Modified: trunk/src/utils.c =================================================================== --- trunk/src/utils.c 2006-05-22 15:28:48 UTC (rev 357) +++ trunk/src/utils.c 2006-05-23 14:21:37 UTC (rev 358) @@ -462,6 +462,8 @@ gint file_idx = document_find_by_filename(file); gboolean ret;
+ if (file_idx < 0) return FALSE; + page_num = gtk_notebook_page_num(GTK_NOTEBOOK(app->notebook), GTK_WIDGET(doc_list[file_idx].sci));
ret = utils_goto_line(file_idx, line);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.