From 394eeb4c34a944f1f046efb6e596531630240a56 Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Wed, 21 Apr 2010 14:41:50 +0100 Subject: 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 file changed, 1 insertion(+) diff --git a/widgets/table/e-table-header-utils.c b/widgets/table/e-table-header-utils.c index f2a3c1a826..78ff576820 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(button)->child; 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 (g_label)->style->fg_gc[state]; -- cgit v1.2.3