Kaydet (Commit) b0109e93 authored tarafından Enrico Tröger's avatar Enrico Tröger

Remove unused unnecessary function utils_btoa().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2034 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 0f74a881
2007-11-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/editor.c, src/utils.c, src/utils.h:
Remove unused unnecessary function utils_btoa().
2007-11-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/vte.c: Apply patch from Simone Denei to add a "Restart" item to
......
......@@ -1403,7 +1403,8 @@ static void editor_auto_table(document *doc, gint pos)
static void real_comment_multiline(gint idx, gint line_start, gint last_line)
{
gchar *eol, *str_begin, *str_end;
const gchar *eol;
gchar *str_begin, *str_end;
gint line_len;
if (idx == -1 || ! doc_list[idx].is_valid || doc_list[idx].file_type == NULL) return;
......
......@@ -257,7 +257,7 @@ gint utils_write_file(const gchar *filename, const gchar *text)
}
/**
/*
* (stolen from anjuta and modified)
* Search backward through size bytes looking for a '<', then return the tag if any
* @return The tag name
......@@ -589,7 +589,7 @@ gint utils_get_eol_char_len(gint idx)
/* returns the end-of-line character(s) of the specified editor */
gchar *utils_get_eol_char(gint idx)
const gchar *utils_get_eol_char(gint idx)
{
if (idx == -1) return '\0';
......@@ -603,13 +603,6 @@ gchar *utils_get_eol_char(gint idx)
}
/* mainly debug function, to get TRUE or FALSE as ascii from a gboolean */
gchar *utils_btoa(gboolean sbool)
{
return (sbool) ? "TRUE" : "FALSE";
}
gboolean utils_atob(const gchar *str)
{
if (str == NULL) return FALSE;
......
......@@ -55,11 +55,6 @@ gboolean utils_goto_line(gint idx, gint line);
gint utils_write_file(const gchar *filename, const gchar *text);
/**
* (stolen from anjuta and modified)
* Search backward through size bytes looking for a '<', then return the tag if any
* @return The tag name
*/
gchar *utils_find_open_xml_tag(const gchar sel[], gint size, gboolean check_tag);
gboolean utils_check_disk_status(gint idx, gboolean force);
......@@ -71,10 +66,7 @@ gint utils_get_current_function(gint idx, const gchar **tagname);
gint utils_get_eol_char_len(gint idx);
/* returns the end-of-line character(s) of the specified editor */
gchar *utils_get_eol_char(gint idx);
/* mainly debug function, to get TRUE or FALSE as ascii from a gboolean */
gchar *utils_btoa(gboolean sbool);
const gchar *utils_get_eol_char(gint idx);
gboolean utils_atob(const gchar *str);
......
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