aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-history.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-history.c')
-rw-r--r--shell/e-history.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/shell/e-history.c b/shell/e-history.c
index e279fb81bc..ebe412b8d9 100644
--- a/shell/e-history.c
+++ b/shell/e-history.c
@@ -79,7 +79,10 @@ e_history_init (EHistory *history)
history->priv = priv;
- GTK_OBJECT_UNSET_FLAGS (history, GTK_FLOATING);
+ /* XXX I guess just clear the floating flag. */
+ /* GTK_OBJECT_UNSET_FLAGS (history, GTK_FLOATING); */
+ g_object_ref_sink (history);
+ g_object_unref (history);
}