diff options
author | Michael Natterer <mitch@imendio.com> | 2008-06-16 09:54:04 +0000 |
---|---|---|
committer | Michael Natterer <mitch@src.gnome.org> | 2008-06-16 09:54:04 +0000 |
commit | a4427bfff5d31499dc0b46fa3f734bc92f7d0dd5 (patch) | |
tree | 65e0d666214a0b2b19c1bccb7df89ec59ddeadee /gio/glocalfile.c | |
parent | b20714697679ef5721e013664659dfbbf819bc3f (diff) |
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
Diffstat (limited to 'gio/glocalfile.c')
-rw-r--r-- | gio/glocalfile.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gio/glocalfile.c b/gio/glocalfile.c index 166a964e2..dac0cc788 100644 --- a/gio/glocalfile.c +++ b/gio/glocalfile.c @@ -130,9 +130,8 @@ g_local_file_finalize (GObject *object) local = G_LOCAL_FILE (object); g_free (local->filename); - - if (G_OBJECT_CLASS (g_local_file_parent_class)->finalize) - (*G_OBJECT_CLASS (g_local_file_parent_class)->finalize) (object); + + G_OBJECT_CLASS (g_local_file_parent_class)->finalize (object); } static void |