window: Remove vfunc slots for signals

These aren't used currently, and we're going to be adding
more vfuncs.
This commit is contained in:
Jasper St. Pierre 2014-03-18 11:21:02 -04:00
parent fcb2ab41b2
commit cdfc6f5b53
2 changed files with 4 additions and 9 deletions

View File

@ -468,11 +468,6 @@ struct _MetaWindow
struct _MetaWindowClass
{
GObjectClass parent_class;
void (*workspace_changed) (MetaWindow *window, int old_workspace);
void (*focus) (MetaWindow *window);
void (*raised) (MetaWindow *window);
void (*unmanaged) (MetaWindow *window);
};
/* These differ from window->has_foo_func in that they consider

View File

@ -561,7 +561,7 @@ meta_window_class_init (MetaWindowClass *klass)
g_signal_new ("workspace-changed",
G_TYPE_FROM_CLASS (object_class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (MetaWindowClass, workspace_changed),
0,
NULL, NULL, NULL,
G_TYPE_NONE, 1,
G_TYPE_INT);
@ -570,7 +570,7 @@ meta_window_class_init (MetaWindowClass *klass)
g_signal_new ("focus",
G_TYPE_FROM_CLASS (object_class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (MetaWindowClass, focus),
0,
NULL, NULL, NULL,
G_TYPE_NONE, 0);
@ -578,7 +578,7 @@ meta_window_class_init (MetaWindowClass *klass)
g_signal_new ("raised",
G_TYPE_FROM_CLASS (object_class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (MetaWindowClass, raised),
0,
NULL, NULL, NULL,
G_TYPE_NONE, 0);
@ -586,7 +586,7 @@ meta_window_class_init (MetaWindowClass *klass)
g_signal_new ("unmanaged",
G_TYPE_FROM_CLASS (object_class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (MetaWindowClass, unmanaged),
0,
NULL, NULL, NULL,
G_TYPE_NONE, 0);