[gtk/wip/matthiasc/popup5: 124/139] main: Use gtk_widget_get_native
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/matthiasc/popup5: 124/139] main: Use gtk_widget_get_native
- Date: Sun, 5 May 2019 22:19:44 +0000 (UTC)
commit 85656954f606c60752abf102b1db8535e5320d8b
Author: Matthias Clasen <mclasen redhat com>
Date: Thu May 2 17:33:53 2019 -0400
main: Use gtk_widget_get_native
gtk/gtkmain.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c
index da2aa2c85e..5c799a7dee 100644
--- a/gtk/gtkmain.c
+++ b/gtk/gtkmain.c
@@ -1688,7 +1688,7 @@ handle_pointing_event (GdkEvent *event)
return event_widget;
toplevel = GTK_WINDOW (gtk_widget_get_root (event_widget));
- native = gtk_widget_get_ancestor (event_widget, GTK_TYPE_NATIVE);
+ native = GTK_WIDGET (gtk_widget_get_native (event_widget));
sequence = gdk_event_get_event_sequence (event);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]