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

@@ -12,8 +12,7 @@ G_DEFINE_ABSTRACT_TYPE (GNativeVolumeMonitor, g_native_volume_monitor, G_TYPE_VO
static void
g_native_volume_monitor_finalize (GObject *object)
{
if (G_OBJECT_CLASS (g_native_volume_monitor_parent_class)->finalize)
(*G_OBJECT_CLASS (g_native_volume_monitor_parent_class)->finalize) (object);
G_OBJECT_CLASS (g_native_volume_monitor_parent_class)->finalize (object);
}