[libmanette] monitor: Prefix finalize()



commit 9e2b7efbfb963e919d9ced20da069475543a751c
Author: vanadiae <vanadiae35 gmail com>
Date:   Wed Oct 14 20:03:17 2020 +0200

    monitor: Prefix finalize()
    
    Add the namespace_object_ prefix to the finalize function to match the
    code style.

 src/manette-monitor.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/manette-monitor.c b/src/manette-monitor.c
index ac8412d..9ec873f 100644
--- a/src/manette-monitor.c
+++ b/src/manette-monitor.c
@@ -439,7 +439,7 @@ manette_monitor_new (void)
 /* Type */
 
 static void
-finalize (GObject *object)
+manette_monitor_finalize (GObject *object)
 {
   ManetteMonitor *self = MANETTE_MONITOR (object);
 
@@ -461,7 +461,7 @@ static void
 manette_monitor_class_init (ManetteMonitorClass *klass)
 {
   manette_monitor_parent_class = g_type_class_peek_parent (klass);
-  G_OBJECT_CLASS (klass)->finalize = finalize;
+  G_OBJECT_CLASS (klass)->finalize = manette_monitor_finalize;
 
   /**
    * ManetteMonitor::device-connected:


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