[evolution/foocanvas] fix disappearing e-table headers by realising the (horrible) pet widget we are going to steal the gc
- From: Henning Habighorst <hhabig src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/foocanvas] fix disappearing e-table headers by realising the (horrible) pet widget we are going to steal the gc
- Date: Sun, 25 Apr 2010 21:01:04 +0000 (UTC)
commit 46b0484802c5c2177e8c0db33b184e04b147c2fe
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]