Eliminate some unused stuff
This commit is contained in:
parent
f53eadbcab
commit
9c70eee4ca
@ -257,12 +257,6 @@ scrollback_load (session *sess)
|
|||||||
GError *file_error = NULL;
|
GError *file_error = NULL;
|
||||||
GError *io_err = NULL;
|
GError *io_err = NULL;
|
||||||
|
|
||||||
#ifndef WIN32
|
|
||||||
char *map, *end_map;
|
|
||||||
struct stat statbuf;
|
|
||||||
const char *begin, *eol;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (sess->text_scrollback == SET_DEFAULT)
|
if (sess->text_scrollback == SET_DEFAULT)
|
||||||
{
|
{
|
||||||
if (!prefs.hex_text_replay)
|
if (!prefs.hex_text_replay)
|
||||||
|
@ -1228,7 +1228,6 @@ static void
|
|||||||
menu_search_reset ()
|
menu_search_reset ()
|
||||||
{
|
{
|
||||||
GtkXText *xtext = GTK_XTEXT (current_sess->gui->xtext);
|
GtkXText *xtext = GTK_XTEXT (current_sess->gui->xtext);
|
||||||
xtext_buffer *buf = xtext->buffer;
|
|
||||||
|
|
||||||
gtk_xtext_search (xtext, "", 0, NULL);
|
gtk_xtext_search (xtext, "", 0, NULL);
|
||||||
}
|
}
|
||||||
|
@ -935,6 +935,7 @@ sexy_spell_entry_changed(GtkEditable *editable, gpointer data)
|
|||||||
sexy_spell_entry_recheck_all(entry);
|
sexy_spell_entry_recheck_all(entry);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
static gboolean
|
static gboolean
|
||||||
enchant_has_lang(const gchar *lang, GSList *langs) {
|
enchant_has_lang(const gchar *lang, GSList *langs) {
|
||||||
GSList *i;
|
GSList *i;
|
||||||
@ -945,6 +946,7 @@ enchant_has_lang(const gchar *lang, GSList *langs) {
|
|||||||
}
|
}
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* sexy_spell_entry_activate_default_languages:
|
* sexy_spell_entry_activate_default_languages:
|
||||||
|
@ -179,7 +179,7 @@ static int gtk_xtext_render_ents (GtkXText * xtext, textentry *, textentry *);
|
|||||||
static void gtk_xtext_recalc_widths (xtext_buffer *buf, int);
|
static void gtk_xtext_recalc_widths (xtext_buffer *buf, int);
|
||||||
static void gtk_xtext_fix_indent (xtext_buffer *buf);
|
static void gtk_xtext_fix_indent (xtext_buffer *buf);
|
||||||
static int gtk_xtext_find_subline (GtkXText *xtext, textentry *ent, int line);
|
static int gtk_xtext_find_subline (GtkXText *xtext, textentry *ent, int line);
|
||||||
static char *gtk_xtext_conv_color (unsigned char *text, int len, int *newlen);
|
/* static char *gtk_xtext_conv_color (unsigned char *text, int len, int *newlen); */
|
||||||
/* For use by gtk_xtext_strip_color() and its callers -- */
|
/* For use by gtk_xtext_strip_color() and its callers -- */
|
||||||
typedef union offlen_u {
|
typedef union offlen_u {
|
||||||
struct offlen_s {
|
struct offlen_s {
|
||||||
@ -2730,7 +2730,7 @@ gtk_xtext_strip_color (unsigned char *text, int len, unsigned char *outbuf,
|
|||||||
return new_str;
|
return new_str;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
/* GeEkMaN: converts mIRC control codes to literal control codes */
|
/* GeEkMaN: converts mIRC control codes to literal control codes */
|
||||||
|
|
||||||
static char *
|
static char *
|
||||||
@ -2823,6 +2823,7 @@ gtk_xtext_conv_color (unsigned char *text, int len, int *newlen)
|
|||||||
|
|
||||||
return new_str;
|
return new_str;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/* gives width of a string, excluding the mIRC codes */
|
/* gives width of a string, excluding the mIRC codes */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user