[gtk/readonly-events-1] Stop exporting gtk_get_event_widget
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/readonly-events-1] Stop exporting gtk_get_event_widget
- Date: Fri, 21 Feb 2020 02:31:25 +0000 (UTC)
commit 36df45d925467ad8d35c42b2ff5b49491e052ada
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, 2 insertions(+), 2 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 13bbc058e1..2d42f384bf 100644
--- a/gtk/gtkprivate.h
+++ b/gtk/gtkprivate.h
@@ -97,6 +97,8 @@ gboolean gtk_propagate_event (GtkWidget *widget,
GdkEvent *event);
void gtk_main_do_event (GdkEvent *event);
+GtkWidget *gtk_get_event_widget (GdkEvent *event);
+
gdouble _gtk_get_slowdown (void);
void _gtk_set_slowdown (gdouble slowdown_factor);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]