aboutsummaryrefslogtreecommitdiffstats
path: root/filter/e-rule-editor.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-02-02 16:31:46 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:41:30 +0800
commit768e57dfc5dad63a269a289a9847e468bf4bfa4d (patch)
tree677b50388c655ac03ddd652fec145dfd5412db4e /filter/e-rule-editor.c
parent0010daeaea903d14c28694bfd6411b652b28c90b (diff)
downloadgsoc2013-evolution-768e57dfc5dad63a269a289a9847e468bf4bfa4d.tar
gsoc2013-evolution-768e57dfc5dad63a269a289a9847e468bf4bfa4d.tar.gz
gsoc2013-evolution-768e57dfc5dad63a269a289a9847e468bf4bfa4d.tar.bz2
gsoc2013-evolution-768e57dfc5dad63a269a289a9847e468bf4bfa4d.tar.lz
gsoc2013-evolution-768e57dfc5dad63a269a289a9847e468bf4bfa4d.tar.xz
gsoc2013-evolution-768e57dfc5dad63a269a289a9847e468bf4bfa4d.tar.zst
gsoc2013-evolution-768e57dfc5dad63a269a289a9847e468bf4bfa4d.zip
Bug #640801 - Workaround gtk3 bug
Diffstat (limited to 'filter/e-rule-editor.c')
-rw-r--r--filter/e-rule-editor.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/filter/e-rule-editor.c b/filter/e-rule-editor.c
index 10126bc42c..2491ac95d5 100644
--- a/filter/e-rule-editor.c
+++ b/filter/e-rule-editor.c
@@ -811,7 +811,12 @@ e_rule_editor_construct (ERuleEditor *editor,
editor->list = GTK_TREE_VIEW (object);
column = gtk_tree_view_get_column (GTK_TREE_VIEW (object), 0);
+ g_return_if_fail (column != NULL);
+
+ gtk_tree_view_column_set_visible (column, FALSE);
list = gtk_cell_layout_get_cells (GTK_CELL_LAYOUT (column));
+ g_return_if_fail (list != NULL);
+
renderer = GTK_CELL_RENDERER (list->data);
g_warn_if_fail (GTK_IS_CELL_RENDERER_TOGGLE (renderer));