Commit bff04585 authored by Nalin Dahyabhai's avatar Nalin Dahyabhai

remove no-longer-used tree structure. free strings returned by

* src/vte.c: remove no-longer-used tree structure.
* src/vtefc.c: free strings returned by g_object_get().
parent 73a26e0a
2003-05-20 nalin
* src/vte.c: remove no-longer-used tree structure.
* src/vtefc.c: free strings returned by g_object_get().
2003-05-20 nalin
* src/vte.c(vte_terminal_realize): create the terminal's draw structure.
* src/vte.c(vte_terminal_unrealize): free the terminal's draw structure.
......
......@@ -182,8 +182,6 @@ struct _VteTerminalPrivate {
need to guarantee its type */
GHashTable *dec_saved;
int default_column_count, default_row_count; /* default sizes */
GTree *unichar_wc_map; /* mapping between gunichars and wide
characters */
/* PTY handling data. */
const char *shell; /* shell we started */
......@@ -10759,9 +10757,6 @@ vte_terminal_init(VteTerminal *terminal, gpointer *klass)
G_CALLBACK(vte_terminal_style_changed),
NULL);
/* Mapping trees. */
pvt->unichar_wc_map = g_tree_new(vte_compare_direct);
/* Our accessible peer. */
pvt->accessible = NULL;
pvt->accessible_emit = FALSE;
......@@ -11066,6 +11061,7 @@ vte_terminal_finalize(GObject *object)
g_source_remove(terminal->pvt->bg_update_tag);
terminal->pvt->bg_update_tag = VTE_INVALID_SOURCE;
terminal->pvt->bg_update_pending = FALSE;
g_free(terminal->pvt->bg_file);
}
/* Free the font description. */
......
......@@ -200,6 +200,7 @@ _vte_fc_defaults_from_gtk(FcPattern *pattern)
FcPatternDel(pattern, FC_RGBA);
FcPatternAddInteger(pattern, FC_RGBA, i);
}
g_free(rgba);
}
/* Pick up the configured hinting setting. */
......@@ -237,6 +238,7 @@ _vte_fc_defaults_from_gtk(FcPattern *pattern)
FcPatternDel(pattern, FC_HINT_STYLE);
FcPatternAddInteger(pattern, FC_HINT_STYLE, i);
}
g_free(hintstyle);
}
#endif
}
......
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