diff options
author | Milan Crha <mcrha@redhat.com> | 2011-02-02 16:31:46 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2011-02-02 16:31:46 +0800 |
commit | cd437591d629ab74de140866b8a137067849b486 (patch) | |
tree | 1ef7175b2dd820a83c770a1f42572a66a4a121e6 /filter/e-rule-editor.c | |
parent | 98e7810371e4d8b2f54157046bb4865ffbf96239 (diff) | |
download | gsoc2013-evolution-cd437591d629ab74de140866b8a137067849b486.tar gsoc2013-evolution-cd437591d629ab74de140866b8a137067849b486.tar.gz gsoc2013-evolution-cd437591d629ab74de140866b8a137067849b486.tar.bz2 gsoc2013-evolution-cd437591d629ab74de140866b8a137067849b486.tar.lz gsoc2013-evolution-cd437591d629ab74de140866b8a137067849b486.tar.xz gsoc2013-evolution-cd437591d629ab74de140866b8a137067849b486.tar.zst gsoc2013-evolution-cd437591d629ab74de140866b8a137067849b486.zip |
Bug #640801 - Workaround gtk3 bug
Diffstat (limited to 'filter/e-rule-editor.c')
-rw-r--r-- | filter/e-rule-editor.c | 5 |
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)); |