[epiphany/wip/ephy-sync] ephy-notification-manager: Add FIXME about using G_DECLARE_FINAL_TYPE



commit 7e441edc048d9b517434913efe58c321fd34982d
Author: Gabriel Ivascu <ivascu gabriel59 gmail com>
Date:   Tue Aug 30 15:20:58 2016 +0300

    ephy-notification-manager: Add FIXME about using G_DECLARE_FINAL_TYPE

 embed/ephy-notification-manager.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/embed/ephy-notification-manager.h b/embed/ephy-notification-manager.h
index ed5ff51..7159f12 100644
--- a/embed/ephy-notification-manager.h
+++ b/embed/ephy-notification-manager.h
@@ -25,6 +25,10 @@ G_BEGIN_DECLS
 
 #define EPHY_TYPE_NOTIFICATION_MANAGER (ephy_notification_manager_get_type ())
 
+/* FIXME: Replace this boilerplate with G_DECLARE_FINAL_TYPE. This won't prove
+ * trivial, since G_DECLARE_FINAL_TYPE requires that an autocleanup function
+ * has been declared for the parent type, and libgd doesn't have one yet.
+ */
 #define EPHY_NOTIFICATION_MANAGER(obj) \
   (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
    EPHY_TYPE_NOTIFICATION_MANAGER, EphyNotificationManager))


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