summaryrefslogtreecommitdiff
path: root/examples/thread/dispatcher2.cc
diff options
context:
space:
mode:
Diffstat (limited to 'examples/thread/dispatcher2.cc')
-rw-r--r--examples/thread/dispatcher2.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/thread/dispatcher2.cc b/examples/thread/dispatcher2.cc
index fd7379e3..2f837b31 100644
--- a/examples/thread/dispatcher2.cc
+++ b/examples/thread/dispatcher2.cc
@@ -216,7 +216,7 @@ void Dispatcher::end()
int main(int, char**)
{
- Glib::thread_init();
+ Glib::init();
main_loop = Glib::MainLoop::create();
Dispatcher dispatcher;