diff options
-rw-r--r-- | libreofficekit/source/gtk/lokdocview.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libreofficekit/source/gtk/lokdocview.c b/libreofficekit/source/gtk/lokdocview.c index e34936ba4227..cf3169c67bad 100644 --- a/libreofficekit/source/gtk/lokdocview.c +++ b/libreofficekit/source/gtk/lokdocview.c @@ -183,7 +183,7 @@ static void lok_docview_callback_worker(int nType, const char* pPayload, void* p #if GTK_CHECK_VERSION(2,12,0) gdk_threads_add_idle(lok_docview_callback, pDocView); #else - g_add_idle(lok_docview_callback, pDocView); + g_idle_add(lok_docview_callback, pDocView); #endif break; default: |