diff options
author | Michael Meeks <michael.meeks@novell.com> | 2010-04-21 21:41:50 +0800 |
---|---|---|
committer | Michael Meeks <michael.meeks@novell.com> | 2010-04-21 21:49:35 +0800 |
commit | c63a32aec01965c5ea713669b95a124a64d31955 (patch) | |
tree | 060b41581d88ead1470cc441339717c211e51877 /widgets | |
parent | 7539873f095e9da238d7b7077fa1f7522330ed75 (diff) | |
download | gsoc2013-evolution-c63a32aec01965c5ea713669b95a124a64d31955.tar.gz gsoc2013-evolution-c63a32aec01965c5ea713669b95a124a64d31955.tar.zst gsoc2013-evolution-c63a32aec01965c5ea713669b95a124a64d31955.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.
Diffstat (limited to 'widgets')
-rw-r--r-- | 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 ecb906d093..0547b22228 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]; |