Commit 9ae71ccc authored by Claudio Saavedra's avatar Claudio Saavedra
Browse files

Remove unneeded finalize() from EogListStore

No need to free() the private struct, since it's done automatically by
the type.
parent f581d73a
......@@ -42,19 +42,6 @@ struct _EogListStorePrivate {
GMutex *mutex; /* Mutex for saving the jobs in the model */
};
static void
eog_list_store_finalize (GObject *object)
{
EogListStore *store = EOG_LIST_STORE (object);
if (store->priv != NULL) {
g_free (store->priv);
store->priv = NULL;
}
G_OBJECT_CLASS (eog_list_store_parent_class)->finalize (object);
}
static void
foreach_monitors_free (gpointer data, gpointer user_data)
{
......@@ -93,7 +80,6 @@ eog_list_store_class_init (EogListStoreClass *klass)
{
GObjectClass *object_class = G_OBJECT_CLASS (klass);
object_class->finalize = eog_list_store_finalize;
object_class->dispose = eog_list_store_dispose;
g_type_class_add_private (object_class, sizeof (EogListStorePrivate));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment