aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-07-01 20:58:31 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-07-02 22:34:11 +0800
commitf9f04372c650e1387fd403060ac9fe0772d09e0e (patch)
treea213cd703e82122b6fcf500c28d5c803b1d0b0a1
parent509fe2614110ce545ce63f514f5c9d76fbc98303 (diff)
downloadgsoc2013-evolution-f9f04372c650e1387fd403060ac9fe0772d09e0e.tar
gsoc2013-evolution-f9f04372c650e1387fd403060ac9fe0772d09e0e.tar.gz
gsoc2013-evolution-f9f04372c650e1387fd403060ac9fe0772d09e0e.tar.bz2
gsoc2013-evolution-f9f04372c650e1387fd403060ac9fe0772d09e0e.tar.lz
gsoc2013-evolution-f9f04372c650e1387fd403060ac9fe0772d09e0e.tar.xz
gsoc2013-evolution-f9f04372c650e1387fd403060ac9fe0772d09e0e.tar.zst
gsoc2013-evolution-f9f04372c650e1387fd403060ac9fe0772d09e0e.zip
ETreeViewFrame: Fix runtime warning during dispose.
-rw-r--r--e-util/e-tree-view-frame.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/e-util/e-tree-view-frame.c b/e-util/e-tree-view-frame.c
index 3a1bca712e..5abcfba5f6 100644
--- a/e-util/e-tree-view-frame.c
+++ b/e-util/e-tree-view-frame.c
@@ -157,10 +157,6 @@ tree_view_frame_append_action (ETreeViewFrame *tree_view_frame,
static void
tree_view_frame_dispose_tree_view (ETreeViewFramePrivate *priv)
{
- GtkTreeSelection *selection;
-
- selection = gtk_tree_view_get_selection (priv->tree_view);
-
if (priv->notify_reorderable_handler_id > 0) {
g_signal_handler_disconnect (
priv->tree_view,
@@ -170,14 +166,14 @@ tree_view_frame_dispose_tree_view (ETreeViewFramePrivate *priv)
if (priv->notify_select_mode_handler_id > 0) {
g_signal_handler_disconnect (
- selection,
+ gtk_tree_view_get_selection (priv->tree_view),
priv->notify_select_mode_handler_id);
priv->notify_select_mode_handler_id = 0;
}
if (priv->selection_changed_handler_id > 0) {
g_signal_handler_disconnect (
- selection,
+ gtk_tree_view_get_selection (priv->tree_view),
priv->selection_changed_handler_id);
priv->selection_changed_handler_id = 0;
}