gnome-shell-plugin: Remove useless dispose/finalize handlers
https://bugzilla.gnome.org/show_bug.cgi?id=672807
This commit is contained in:
parent
a9a3687ea0
commit
507df9eea1
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user