[gtk/matthiasc/for-master] Fix a hard-to-spot typo
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master] Fix a hard-to-spot typo
- Date: Sat, 22 Feb 2020 18:51:28 +0000 (UTC)
commit ddd126740e156e671aef6a25e1883158614e8ffe
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Feb 22 13:49:12 2020 -0500
Fix a hard-to-spot typo
The symptom caused by this was scales in
popovers not reacting to dragging.
gtk/gtkeventcontroller.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkeventcontroller.c b/gtk/gtkeventcontroller.c
index 0bb86a59ce..f8a9d701dd 100644
--- a/gtk/gtkeventcontroller.c
+++ b/gtk/gtkeventcontroller.c
@@ -256,7 +256,7 @@ same_native (GtkWidget *widget,
return TRUE;
native = GTK_WIDGET (gtk_widget_get_native (widget));
- native2 = GTK_WIDGET (gtk_widget_get_native (widget));
+ native2 = GTK_WIDGET (gtk_widget_get_native (target));
return native == native2;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]