[evolution] fix disappearing e-table headers by realising the (horrible) pet widget we are going to steal the gc
- From: Michael Meeks <michael src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] fix disappearing e-table headers by realising the (horrible) pet widget we are going to steal the gc
- Date: Wed, 21 Apr 2010 13:48:21 +0000 (UTC)
commit c63a32aec01965c5ea713669b95a124a64d31955
Author: Michael Meeks <michael meeks novell com>
Date: Wed Apr 21 14:41:50 2010 +0100
fix disappearing e-table headers by realising the (horrible)
pet widget we are going to steal the gc from, so it actually has it.
widgets/table/e-table-header-utils.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/widgets/table/e-table-header-utils.c b/widgets/table/e-table-header-utils.c
index ecb906d..0547b22 100644
--- a/widgets/table/e-table-header-utils.c
+++ b/widgets/table/e-table-header-utils.c
@@ -352,6 +352,7 @@ e_table_header_draw_button (GdkDrawable *drawable, ETableCol *ecol,
g_label = gtk_bin_get_child (GTK_BIN (button));
g_object_add_weak_pointer (G_OBJECT (g_label), &g_label);
gtk_widget_ensure_style (g_label);
+ gtk_widget_realize (g_label);
}
gc = gtk_widget_get_style (GTK_WIDGET (g_label))->fg_gc[state];
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]