From: José Dapena Paz Date: Wed, 27 Jan 2010 16:44:16 +0000 (+0100) Subject: Runtime fix X-Git-Tag: 3.2.12~4 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=4eaddfe812fad2f5c1d4826d5153730cc2d3f614 Runtime fix --- diff --git a/src/hildon2/modest-msg-view-window.c b/src/hildon2/modest-msg-view-window.c index 3b96231..f3ff4f0 100644 --- a/src/hildon2/modest-msg-view-window.c +++ b/src/hildon2/modest-msg-view-window.c @@ -557,7 +557,6 @@ init_window (ModestMsgViewWindow *obj) "hovershoot-max", 0, NULL); gtk_container_add (GTK_CONTAINER (priv->main_scroll), priv->msg_view); - g_object_ref (priv->msg_view); gtk_box_pack_start (GTK_BOX(main_vbox), priv->main_scroll, TRUE, TRUE, 0); gtk_container_add (GTK_CONTAINER(obj), main_vbox); @@ -637,7 +636,6 @@ modest_msg_view_window_finalize (GObject *obj) /* Sanity check: shouldn't be needed, the window mgr should call this function before */ modest_msg_view_window_disconnect_signals (MODEST_WINDOW (obj)); - g_object_unref (priv->msg_view); if (priv->fetch_image_redraw_handler > 0) { g_source_remove (priv->fetch_image_redraw_handler);