Kaydet (Commit) 95222582 authored tarafından Nick Treleaven's avatar Nick Treleaven

Remove unused and out of sync filetype_remove() - filetypes should not be removed anyway.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5964 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst a3910015
...@@ -1059,20 +1059,6 @@ static void create_radio_menu_item(GtkWidget *menu, GeanyFiletype *ftype) ...@@ -1059,20 +1059,6 @@ static void create_radio_menu_item(GtkWidget *menu, GeanyFiletype *ftype)
} }
#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) static void set_error_regex(GeanyFiletype *ft, gchar *string)
{ {
setptr(ft->error_regex_string, string); setptr(ft->error_regex_string, string);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment