[gtk/readonly-events-1: 8/9] Stop exporting gtk_get_event_widget



commit 5403bd302549eade7b00cd16924caa5a7da70299
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Feb 20 21:28:05 2020 -0500

    Stop exporting gtk_get_event_widget
    
    This is non-essential convenience API, and we
    don't really expose events to applications anymore.

 gtk/gtkmain.h    | 2 --
 gtk/gtkprivate.h | 2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/gtk/gtkmain.h b/gtk/gtkmain.h
index f253dae595..f6e8ae2b04 100644
--- a/gtk/gtkmain.h
+++ b/gtk/gtkmain.h
@@ -131,8 +131,6 @@ gboolean   gtk_get_current_event_state  (GdkModifierType *state);
 GDK_AVAILABLE_IN_ALL
 GdkDevice *gtk_get_current_event_device (void);
 
-GDK_AVAILABLE_IN_ALL
-GtkWidget *gtk_get_event_widget         (GdkEvent  *event);
 
 G_END_DECLS
 
diff --git a/gtk/gtkprivate.h b/gtk/gtkprivate.h
index 9e4e73a11f..bc17fdbf6d 100644
--- a/gtk/gtkprivate.h
+++ b/gtk/gtkprivate.h
@@ -31,7 +31,7 @@
 
 #include "gtkcsstypesprivate.h"
 #include "gtktexthandleprivate.h"
-#include "gtkeventcontrollerprivate.h"
+#include "gtkeventcontrollert private.h"
 
 G_BEGIN_DECLS
 


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