aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/table/e-tree.c')
-rw-r--r--widgets/table/e-tree.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/widgets/table/e-tree.c b/widgets/table/e-tree.c
index 5e301aabf0..d007be9c19 100644
--- a/widgets/table/e-tree.c
+++ b/widgets/table/e-tree.c
@@ -375,6 +375,16 @@ et_destroy (GtkObject *object)
}
static void
+et_unrealize (GtkWidget *widget)
+{
+ scroll_off (E_TREE (widget));
+ hover_off (E_TREE (widget));
+
+ if (GTK_WIDGET_CLASS (parent_class)->unrealize)
+ GTK_WIDGET_CLASS (parent_class)->unrealize (widget);
+}
+
+static void
e_tree_init (GtkObject *object)
{
ETree *e_tree = E_TREE (object);
@@ -2774,6 +2784,7 @@ e_tree_class_init (ETreeClass *class)
object_class->get_arg = et_get_arg;
widget_class->grab_focus = et_grab_focus;
+ widget_class->unrealize = et_unrealize;
container_class->focus = et_focus;