[vte] Set widget app_paintable.
- From: Behdad Esfahbod <behdad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte] Set widget app_paintable.
- Date: Thu, 17 Jun 2010 19:05:38 +0000 (UTC)
commit 8b3dbe8e6771356023fe552b178659357f502473
Author: Behdad Esfahbod <behdad behdad org>
Date: Thu Jun 17 15:02:54 2010 -0400
Set widget app_paintable.
src/vte.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/vte.c b/src/vte.c
index 9c10804..45922c5 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -8017,7 +8017,8 @@ vte_terminal_init(VteTerminal *terminal)
pvt = terminal->pvt = G_TYPE_INSTANCE_GET_PRIVATE (terminal, VTE_TYPE_TERMINAL, VteTerminalPrivate);
GTK_WIDGET_SET_FLAGS(terminal, GTK_CAN_FOCUS);
- /* gtk_widget_set_double_buffered (&terminal->widget, FALSE); */
+
+ gtk_widget_set_app_paintable (&terminal->widget, TRUE);
/* We do our own redrawing. */
gtk_widget_set_redraw_on_allocate (&terminal->widget, FALSE);
@@ -12606,7 +12607,7 @@ vte_terminal_background_update(VteTerminal *terminal)
color.red = entry->red;
color.green = entry->green;
color.blue = entry->blue;
- gtk_widget_modify_bg (terminal, GTK_STATE_NORMAL, &color);
+ gtk_widget_modify_bg (&terminal->widget, GTK_STATE_NORMAL, &color);
_vte_draw_set_background_solid (terminal->pvt->draw,
entry->red / 65535.,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]