st: Drop vfuncs from StThemeNodeTransition

They are unused, as we don't use them ourselves and the class is not
exposed to introspection. Drop them to allow defining the type as final
in an upcoming commit.
This commit is contained in:
Florian Müllner 2015-10-15 21:41:29 +02:00
parent cd7d564125
commit 2f88a7a1e1
2 changed files with 2 additions and 7 deletions

View File

@ -461,15 +461,13 @@ st_theme_node_transition_class_init (StThemeNodeTransitionClass *klass)
g_signal_new ("completed",
G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (StThemeNodeTransitionClass, completed),
NULL, NULL, NULL,
0, NULL, NULL, NULL,
G_TYPE_NONE, 0);
signals[NEW_FRAME] =
g_signal_new ("new-frame",
G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (StThemeNodeTransitionClass, new_frame),
NULL, NULL, NULL,
0, NULL, NULL, NULL,
G_TYPE_NONE, 0);
}

View File

@ -47,9 +47,6 @@ struct _StThemeNodeTransition {
struct _StThemeNodeTransitionClass {
GObjectClass parent_class;
void (*completed) (StThemeNodeTransition *transition);
void (*new_frame) (StThemeNodeTransition *transition);
};
GType st_theme_node_transition_get_type (void) G_GNUC_CONST;