chain up unconditionally in finalize() and dispose(). Also don't

2008-06-16  Michael Natterer  <mitch@imendio.com>

	* *.c: chain up unconditionally in finalize() and dispose(). Also
	don't dereference these function pointers when calling them since
	that has no meaning at all.


svn path=/trunk/; revision=7048
This commit is contained in:
Michael Natterer
2008-06-16 09:54:04 +00:00
committed by Michael Natterer
parent b207146976
commit a4427bfff5
35 changed files with 69 additions and 102 deletions

View File

@@ -82,9 +82,8 @@ g_unix_mount_finalize (GObject *object)
g_free (mount->name);
g_free (mount->device_path);
g_free (mount->mount_path);
if (G_OBJECT_CLASS (g_unix_mount_parent_class)->finalize)
(*G_OBJECT_CLASS (g_unix_mount_parent_class)->finalize) (object);
G_OBJECT_CLASS (g_unix_mount_parent_class)->finalize (object);
}
static void