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:
@ -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);
|
||||
}
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user