[gnome-online-accounts/wip/rishi/port-to-g-declare] alarm: Remove the unused default handler vfuncs



commit bcec5f148abbab1740e0f5fafa174ae9fa2bf0da
Author: Debarshi Ray <debarshir gnome org>
Date:   Fri Dec 6 16:42:25 2019 +0100

    alarm: Remove the unused default handler vfuncs
    
    These default handler vfuncs aren't actually associated with their
    respective signals because they aren't specified in g_signal_new. Hence
    they are completely useless at the moment.
    
    This is a final class, so there isn't going to be any sub-class that
    would want to override the default signal handlers. GoaAlarm might
    still need a default handler for itself, but the same effect can be
    achieved with a simple private function. It is a small price to pay for
    being able to use G_DECLARE_FINAL_TYPE.
    
    Fallout from a43777eb40efb6dae5128397faa8000e59ba0f04
    
    https://gitlab.gnome.org/GNOME/gnome-online-accounts/merge_requests/40

 src/goaidentity/goaalarm.c | 3 ---
 1 file changed, 3 deletions(-)
---
diff --git a/src/goaidentity/goaalarm.c b/src/goaidentity/goaalarm.c
index 0f68832f..d42cf54e 100644
--- a/src/goaidentity/goaalarm.c
+++ b/src/goaidentity/goaalarm.c
@@ -59,9 +59,6 @@ struct _GoaAlarm
 struct _GoaAlarmClass
 {
   GObjectClass parent_class;
-
-  void (* fired)   (GoaAlarm *alarm);
-  void (* rearmed) (GoaAlarm *alarm);
 };
 
 enum


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