aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@novell.com>2010-04-21 21:41:50 +0800
committerMichael Meeks <michael.meeks@novell.com>2010-04-21 21:50:50 +0800
commit394eeb4c34a944f1f046efb6e596531630240a56 (patch)
treeecc0e4375cffa05a9e7fcb7e4dceb5be2f70afba
parent68315aefe707b9ecb5fb1b68dab650412c6ae56e (diff)
downloadgsoc2013-evolution-394eeb4c34a944f1f046efb6e596531630240a56.tar.gz
gsoc2013-evolution-394eeb4c34a944f1f046efb6e596531630240a56.tar.zst
gsoc2013-evolution-394eeb4c34a944f1f046efb6e596531630240a56.zip
fix disappearing e-table headers by realising the (horrible)
pet widget we are going to steal the gc from, so it actually has it.
-rw-r--r--widgets/table/e-table-header-utils.c1
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 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];