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:
Mihai Sucan 2012-08-02 18:48:44 +03:00
Родитель e949d26e01
Коммит 5eef25c0c7
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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);