Revision: 2398 http://geany.svn.sourceforge.net/geany/?rev=2398&view=rev Author: ntrel Date: 2008-03-24 10:02:50 -0700 (Mon, 24 Mar 2008)
Log Message: ----------- Reuse find_work_object_tag() in find_workspace_tag().
Modified Paths: -------------- trunk/src/symbols.c
Modified: trunk/src/symbols.c =================================================================== --- trunk/src/symbols.c 2008-03-24 16:44:43 UTC (rev 2397) +++ trunk/src/symbols.c 2008-03-24 17:02:50 UTC (rev 2398) @@ -327,14 +327,9 @@ for (j = 0; j < work_objects->len; j++) { TMWorkObject *workobj = TM_WORK_OBJECT(work_objects->pdata[j]); - const GPtrArray *tags; TMTag *tmtag;
- tags = tm_tags_extract(workobj->tags_array, type); - if (tags == NULL) - continue; - - tmtag = symbols_find_tm_tag(tags, tag_name); + tmtag = find_work_object_tag(workobj, tag_name, type); if (tmtag != NULL) return tmtag; }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.