[gnome-shell] gnome-shell-plugin: Remove useless dispose/finalize handlers
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] gnome-shell-plugin: Remove useless dispose/finalize handlers
- Date: Wed, 2 May 2012 14:21:07 +0000 (UTC)
commit 507df9eea11658dd5888df7fb9347ed314499e96
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Sun Mar 25 11:46:34 2012 -0300
gnome-shell-plugin: Remove useless dispose/finalize handlers
https://bugzilla.gnome.org/show_bug.cgi?id=672807
src/gnome-shell-plugin.c | 19 -------------------
1 files changed, 0 insertions(+), 19 deletions(-)
---
diff --git a/src/gnome-shell-plugin.c b/src/gnome-shell-plugin.c
index da46bbd..737c190 100644
--- a/src/gnome-shell-plugin.c
+++ b/src/gnome-shell-plugin.c
@@ -40,9 +40,6 @@
#include "shell-perf-log.h"
#include "shell-wm-private.h"
-static void gnome_shell_plugin_dispose (GObject *object);
-static void gnome_shell_plugin_finalize (GObject *object);
-
static void gnome_shell_plugin_start (MetaPlugin *plugin);
static void gnome_shell_plugin_minimize (MetaPlugin *plugin,
MetaWindowActor *actor);
@@ -115,12 +112,8 @@ G_DEFINE_TYPE (GnomeShellPlugin, gnome_shell_plugin, META_TYPE_PLUGIN)
static void
gnome_shell_plugin_class_init (GnomeShellPluginClass *klass)
{
- GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
MetaPluginClass *plugin_class = META_PLUGIN_CLASS (klass);
- gobject_class->dispose = gnome_shell_plugin_dispose;
- gobject_class->finalize = gnome_shell_plugin_finalize;
-
plugin_class->start = gnome_shell_plugin_start;
plugin_class->map = gnome_shell_plugin_map;
plugin_class->minimize = gnome_shell_plugin_minimize;
@@ -202,18 +195,6 @@ gnome_shell_plugin_start (MetaPlugin *plugin)
}
}
-static void
-gnome_shell_plugin_dispose (GObject *object)
-{
- G_OBJECT_CLASS(gnome_shell_plugin_parent_class)->dispose (object);
-}
-
-static void
-gnome_shell_plugin_finalize (GObject *object)
-{
- G_OBJECT_CLASS(gnome_shell_plugin_parent_class)->finalize (object);
-}
-
static ShellWM *
get_shell_wm (void)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]