[gtk/wip/chergert/quartz4u] macos: fix some warnings



commit 7d58048d46826cedf5c6ff450e22141f0dca6c8c
Author: Christian Hergert <chergert redhat com>
Date:   Tue May 5 10:47:03 2020 -0700

    macos: fix some warnings

 gdk/macos/gdkmacosmonitor.c | 11 -----------
 1 file changed, 11 deletions(-)
---
diff --git a/gdk/macos/gdkmacosmonitor.c b/gdk/macos/gdkmacosmonitor.c
index 3b98691695..8362e96913 100644
--- a/gdk/macos/gdkmacosmonitor.c
+++ b/gdk/macos/gdkmacosmonitor.c
@@ -36,20 +36,9 @@ struct _GdkMacosMonitorClass
 
 G_DEFINE_TYPE (GdkMacosMonitor, gdk_macos_monitor, GDK_TYPE_MONITOR)
 
-static void
-gdk_macos_monitor_finalize (GObject *object)
-{
-  GdkMacosMonitor *self = (GdkMacosMonitor *)object;
-
-  G_OBJECT_CLASS (gdk_macos_monitor_parent_class)->finalize (object);
-}
-
 static void
 gdk_macos_monitor_class_init (GdkMacosMonitorClass *klass)
 {
-  GObjectClass *object_class = G_OBJECT_CLASS (klass);
-
-  object_class->finalize = gdk_macos_monitor_finalize;
 }
 
 static void


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