diff options
Diffstat (limited to 'atspi/atspi-device-x11.c')
-rw-r--r-- | atspi/atspi-device-x11.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/atspi/atspi-device-x11.c b/atspi/atspi-device-x11.c index 16fb1636..1c0bee89 100644 --- a/atspi/atspi-device-x11.c +++ b/atspi/atspi-device-x11.c @@ -330,6 +330,7 @@ do_event_dispatch (gpointer user_data) XComposeStatus status; guint modifiers; + g_object_ref (device); while (XPending (display)) { XNextEvent (display, &xevent); @@ -392,6 +393,8 @@ do_event_dispatch (gpointer user_data) continue; } } + + g_object_unref (device); return TRUE; } |