[gnome-shell] st: Drop vfuncs from StThemeNodeTransition
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] st: Drop vfuncs from StThemeNodeTransition
- Date: Thu, 15 Oct 2015 21:10:32 +0000 (UTC)
commit 2f88a7a1e15032bb91a2a732ee2eaad9e70fe3d2
Author: Florian Müllner <fmuellner gnome org>
Date: Thu Oct 15 21:41:29 2015 +0200
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.
src/st/st-theme-node-transition.c | 6 ++----
src/st/st-theme-node-transition.h | 3 ---
2 files changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/src/st/st-theme-node-transition.c b/src/st/st-theme-node-transition.c
index 22a021f..e255f96 100644
--- a/src/st/st-theme-node-transition.c
+++ b/src/st/st-theme-node-transition.c
@@ -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);
}
diff --git a/src/st/st-theme-node-transition.h b/src/st/st-theme-node-transition.h
index e78389e..d7f96b7 100644
--- a/src/st/st-theme-node-transition.h
+++ b/src/st/st-theme-node-transition.h
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]