[gtk/gtk-4-4: 1/2] gdkmacoseventsource: Include "gdk-private.h"




commit 50c81dfc91fcd18ec9d568e595428435ce891c2c
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Tue Aug 24 16:55:52 2021 -0400

    gdkmacoseventsource: Include "gdk-private.h"
    
    _gdk_macos_event_source_new() calls g_source_set_static_name(), which
    for GLib versions before 2.69.1 is a macro defined in gdk-private.h.
    
    Fixes #4195

 gdk/macos/gdkmacoseventsource.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/gdk/macos/gdkmacoseventsource.c b/gdk/macos/gdkmacoseventsource.c
index 8bf1574024..b039d04615 100644
--- a/gdk/macos/gdkmacoseventsource.c
+++ b/gdk/macos/gdkmacoseventsource.c
@@ -32,6 +32,8 @@
 #include "gdkmacoseventsource-private.h"
 #include "gdkmacosdisplay-private.h"
 
+#include "gdk-private.h"
+
 /*
  * This file implementations integration between the GLib main loop and
  * the native system of the Core Foundation run loop and Cocoa event


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