diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2006-05-28 02:36:16 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2006-05-28 02:36:16 +0000 |
commit | 7656d1fa9d7ccb931a35e955fcd90f5fb3144830 (patch) | |
tree | 851ca542de83dfe87e5d1d9b87f8b6c3e13b46f0 | |
parent | ab42a7f4c04ba4a19b4b11948589834877fe410f (diff) | |
download | vte-7656d1fa9d7ccb931a35e955fcd90f5fb3144830.tar.gz |
Bug 342082 – vte_invalidate_region() may check whether terminal is
2006-05-27 Behdad Esfahbod <behdad@gnome.org>
Bug 342082 – vte_invalidate_region() may check whether terminal is
realiazed or not
* src/vte.c (vte_invalidate_region): Return if not realized.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | src/vte.c | 3 |
2 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,10 @@ +2006-05-27 Behdad Esfahbod <behdad@gnome.org> + + Bug 342082 – vte_invalidate_region() may check whether terminal is + realiazed or not + + * src/vte.c (vte_invalidate_region): Return if not realized. + 2006-05-22 Behdad Esfahbod <behdad@gnome.org> Bug 340363 – vte Cygwin build fixes @@ -198,6 +198,9 @@ _vte_terminal_set_default_attributes(VteTerminal *terminal) static gboolean vte_invalidate_region(VteTerminal *terminal) { + if (!GTK_WIDGET_REALIZED(terminal)) + return FALSE; + if (!terminal->pvt->update_region) return FALSE; |