mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-27 19:38:55 +02:00
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:
committed by
Michael Natterer
parent
b207146976
commit
a4427bfff5
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user