projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c7afc0
)
x11: Don't use g_object_unref on events
author
Matthias Clasen
<mclasen@redhat.com>
Sat, 28 Mar 2020 18:28:36 +0000
(14:28 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sat, 28 Mar 2020 18:28:36 +0000
(14:28 -0400)
Events are not object anymore.
gdk/x11/gdkeventsource.c
patch
|
blob
|
history
diff --git
a/gdk/x11/gdkeventsource.c
b/gdk/x11/gdkeventsource.c
index da9ac289791b0a50b88a459bda3357997f6dbcf0..3e4523077f8a9ff0696a317dc5da267a30efab3d 100644
(file)
--- a/
gdk/x11/gdkeventsource.c
+++ b/
gdk/x11/gdkeventsource.c
@@
-120,7
+120,7
@@
handle_focus_change (GdkEvent *event)
gdk_event_get_source_device (event),
focus_in);
gdk_display_put_event (gdk_event_get_display (event), focus_event);
- g
_objec
t_unref (focus_event);
+ g
dk_even
t_unref (focus_event);
}
}
@@
-209,7
+209,7
@@
handle_touch_synthetic_crossing (GdkEvent *event)
if (crossing)
{
gdk_display_put_event (gdk_device_get_display (device), crossing);
- g
_objec
t_unref (crossing);
+ g
dk_even
t_unref (crossing);
}
}