Revision: 5964 http://geany.svn.sourceforge.net/geany/?rev=5964&view=rev Author: ntrel Date: 2011-09-28 10:47:43 +0000 (Wed, 28 Sep 2011) Log Message: ----------- Remove unused and out of sync filetype_remove() - filetypes should not be removed anyway.
Modified Paths: -------------- trunk/src/filetypes.c
Modified: trunk/src/filetypes.c =================================================================== --- trunk/src/filetypes.c 2011-09-28 08:54:25 UTC (rev 5963) +++ trunk/src/filetypes.c 2011-09-28 10:47:43 UTC (rev 5964) @@ -1059,20 +1059,6 @@ }
-#if 0 -/* Remove a filetype pointer from the list of available filetypes. */ -static void filetype_remove(GeanyFiletype *ft) -{ - g_return_if_fail(ft); - - g_ptr_array_remove(filetypes_array, ft); - - if (!g_hash_table_remove(filetypes_hash, ft)) - g_warning("Could not remove filetype %p!", ft); -} -#endif - - static void set_error_regex(GeanyFiletype *ft, gchar *string) { setptr(ft->error_regex_string, string);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.