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:41:50 +0800
commit77e786d361d00239b8214393e1c12c8fd3929205 (patch)
tree53d7e0891cd4ca81f318bffd88d36853e5df8949
parent76e5eb26bce30eeead9d7af35f40afc0a2e7b8e8 (diff)
downloadgsoc2013-evolution-77e786d361d00239b8214393e1c12c8fd3929205.tar.gz
gsoc2013-evolution-77e786d361d00239b8214393e1c12c8fd3929205.tar.zst
gsoc2013-evolution-77e786d361d00239b8214393e1c12c8fd3929205.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];