зеркало из https://github.com/mozilla/gecko-dev.git
Bug 779857 - Build failure with clang: widget/gtkxtbin/gtk2xtbin.c error: void
function 'xt_client_xloop_create' should not return a value. rs=ted
This commit is contained in:
Родитель
e949d26e01
Коммит
5eef25c0c7
|
@ -477,7 +477,7 @@ xt_client_xloop_create(void)
|
||||||
/* the assumption is that gtk_init has already been called */
|
/* the assumption is that gtk_init has already been called */
|
||||||
GSource* gs = g_source_new(&xt_event_funcs, sizeof(GSource));
|
GSource* gs = g_source_new(&xt_event_funcs, sizeof(GSource));
|
||||||
if (!gs) {
|
if (!gs) {
|
||||||
return NULL;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
g_source_set_priority(gs, GDK_PRIORITY_EVENTS);
|
g_source_set_priority(gs, GDK_PRIORITY_EVENTS);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче