mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 818629: Don't use "g_free" as finalize function in xt_event_funcs - just let refcounting take care of cleaning up. r=karlt
This commit is contained in:
parent
e715954f51
commit
9fc27962c1
@ -137,7 +137,7 @@ static GSourceFuncs xt_event_funcs = {
|
||||
xt_event_prepare,
|
||||
xt_event_check,
|
||||
xt_event_dispatch,
|
||||
g_free,
|
||||
NULL,
|
||||
(GSourceFunc)NULL,
|
||||
(GSourceDummyMarshal)NULL
|
||||
};
|
||||
@ -484,6 +484,7 @@ xt_client_xloop_create(void)
|
||||
g_source_set_priority(gs, GDK_PRIORITY_EVENTS);
|
||||
g_source_set_can_recurse(gs, TRUE);
|
||||
tag = g_source_attach(gs, (GMainContext*)NULL);
|
||||
g_source_unref(gs);
|
||||
#ifdef VMS
|
||||
cnumber = XConnectionNumber(xtdisplay);
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user