[maemo-commits] [maemo-commits] r13494 - projects/haf/trunk/hildon-fm/hildon-fm
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Thu Aug 30 16:55:26 EEST 2007
- Previous message: [maemo-commits] r13493 - in projects/haf/trunk/hildon-theme-layout-4: . data
- Next message: [maemo-commits] r13495 - projects/haf/trunk/hildon-fm/hildon-fm
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: marivoll
Date: 2007-08-30 16:55:25 +0300 (Thu, 30 Aug 2007)
New Revision: 13494
Modified:
projects/haf/trunk/hildon-fm/hildon-fm/hildon-file-selection.c
Log:
* hildon-fm/hildon-file-selection.c
(hildon_file_selection_finalize): Do not assert that the reference
counts of our models are exactly one. It's better to leak than to
crash (N65543).
Modified: projects/haf/trunk/hildon-fm/hildon-fm/hildon-file-selection.c
===================================================================
--- projects/haf/trunk/hildon-fm/hildon-fm/hildon-file-selection.c 2007-08-30 13:18:25 UTC (rev 13493)
+++ projects/haf/trunk/hildon-fm/hildon-fm/hildon-file-selection.c 2007-08-30 13:55:25 UTC (rev 13494)
@@ -590,20 +590,14 @@
gtk_tree_row_reference_free(priv->current_folder);
g_strfreev(priv->drag_data_uris);
- /* These objects really should dissappear. Otherwise we have a
- reference leak somewhere. */
- g_assert(G_OBJECT(priv->dir_filter)->ref_count == 1);
g_object_unref(priv->dir_filter);
- g_assert(G_OBJECT(priv->dir_sort)->ref_count == 1);
g_object_unref(priv->dir_sort);
- g_assert(G_OBJECT(priv->sort_model)->ref_count == 1);
g_object_unref(priv->sort_model);
if (priv->view_filter)
{
- g_assert(G_OBJECT(priv->view_filter)->ref_count == 1);
g_object_unref(priv->view_filter);
priv->view_filter = NULL;
}
- Previous message: [maemo-commits] r13493 - in projects/haf/trunk/hildon-theme-layout-4: . data
- Next message: [maemo-commits] r13495 - projects/haf/trunk/hildon-fm/hildon-fm
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
