[vte] widget: Set style background on realize
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte] widget: Set style background on realize
- Date: Sat, 26 Apr 2014 08:01:16 +0000 (UTC)
commit 16bda596da75356686991da2ee75e5f9f501cdac
Author: Christian Persch <chpe gnome org>
Date: Sat Apr 26 09:59:28 2014 +0200
widget: Set style background on realize
vte analogue to https://bugzilla.gnome.org/show_bug.cgi?id=692988
src/vte.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/vte.c b/src/vte.c
index 39c5a08..5d1a3d3 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -8855,6 +8855,7 @@ vte_terminal_realize(GtkWidget *widget)
gtk_widget_set_window (widget, window);
gdk_window_set_user_data (window, widget);
+ gtk_style_context_set_background(gtk_widget_get_style_context(widget), window);
_VTE_DEBUG_IF (VTE_DEBUG_UPDATES) gdk_window_set_debug_updates (TRUE);
/* Set the realized flag. */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]