[mousetweaks] remove unused virtual methods from MtTimerClass



commit 180be9dbd2f99bea2666d03651c29ccc23df143c
Author: Gerd Kohlberger <gerdk src gnome org>
Date:   Sat Apr 25 20:05:17 2009 +0200

    remove unused virtual methods from MtTimerClass
---
 src/mt-timer.c |    6 ++----
 src/mt-timer.h |    4 ----
 2 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/src/mt-timer.c b/src/mt-timer.c
index e88240e..f24f84a 100644
--- a/src/mt-timer.c
+++ b/src/mt-timer.c
@@ -57,8 +57,7 @@ mt_timer_class_init (MtTimerClass *klass)
 	g_signal_new (g_intern_static_string ("tick"),
 		      G_OBJECT_CLASS_TYPE (klass),
 		      G_SIGNAL_RUN_LAST,
-		      G_STRUCT_OFFSET (MtTimerClass, tick),
-		      NULL, NULL,
+		      0, NULL, NULL,
 		      g_cclosure_marshal_VOID__DOUBLE,
 		      G_TYPE_NONE, 1, G_TYPE_DOUBLE);
 
@@ -66,8 +65,7 @@ mt_timer_class_init (MtTimerClass *klass)
 	g_signal_new (g_intern_static_string ("finished"),
 		      G_OBJECT_CLASS_TYPE (klass),
 		      G_SIGNAL_RUN_LAST,
-		      G_STRUCT_OFFSET (MtTimerClass, finished),
-		      NULL, NULL,
+		      0, NULL, NULL,
 		      g_cclosure_marshal_VOID__VOID,
 		      G_TYPE_NONE, 0);
 
diff --git a/src/mt-timer.h b/src/mt-timer.h
index afe7dd9..21379b3 100644
--- a/src/mt-timer.h
+++ b/src/mt-timer.h
@@ -40,10 +40,6 @@ struct _MtTimer {
 
 struct _MtTimerClass {
     GObjectClass parent;
-
-    void (*tick)     (MtTimer *timer,
-		      gdouble  time);
-    void (*finished) (MtTimer *timer);
 };
 
 GType mt_timer_get_type (void) G_GNUC_CONST;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]