diff options
| author | Matthew Barnes <mbarnes@redhat.com> | 2011-02-12 10:54:39 -0500 |
|---|---|---|
| committer | Matthew Barnes <mbarnes@redhat.com> | 2011-02-12 12:53:35 -0500 |
| commit | 5d287d9349816fe1ec91e3e01c43efeb4a2428e2 (patch) | |
| tree | f540d201808d0bd345c97bb174e3deb43c9d03bf /libebackend/e-data-server-module.c | |
| parent | 69aaa8179a4a9b2b8edb69e5a57340a8ac8c942c (diff) | |
| download | evolution-data-server-5d287d9349816fe1ec91e3e01c43efeb4a2428e2.tar.gz | |
Remove NULL checks for GObject methods.
As of GLib 2.28 all GObject virtual methods, including constructed(),
are safe to chain up to unconditionally. Remove unnecessary checks.
Diffstat (limited to 'libebackend/e-data-server-module.c')
| -rw-r--r-- | libebackend/e-data-server-module.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libebackend/e-data-server-module.c b/libebackend/e-data-server-module.c index a2fd24ab8..fe5a10f83 100644 --- a/libebackend/e-data-server-module.c +++ b/libebackend/e-data-server-module.c @@ -127,8 +127,8 @@ e_data_server_module_finalize (GObject *object) g_free (module->path); - if (G_OBJECT_CLASS (e_data_server_module_parent_class)->finalize) - (*G_OBJECT_CLASS (e_data_server_module_parent_class)->finalize) (object); + /* Chain up to parent's finalize() method. */ + G_OBJECT_CLASS (e_data_server_module_parent_class)->finalize (object); } static void |
