From: Hugo Villeneuve Date: Mon, 9 Sep 2013 03:36:35 +0000 (-0400) Subject: Replace gtk_idle functions with g_idle equivalents X-Git-Tag: v2.0.0~171 X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=5dc03cd1b8086d7f4dffa0c2b9cdea151d738450;p=emu8051.git Replace gtk_idle functions with g_idle equivalents --- diff --git a/src/emugtk.c b/src/emugtk.c index 3d6ff1f..0ff59fb 100644 --- a/src/emugtk.c +++ b/src/emugtk.c @@ -64,7 +64,7 @@ emugtk_stop_running() #ifdef EMU8051_DEBUG printf("emugtk_StopRunning()\n"); #endif - gtk_idle_remove(running_function_tag); + g_source_remove(running_function_tag); running = 0; regwin_Show(); pgmwin_Disasm(); @@ -95,7 +95,7 @@ emugtk_start_running(void) #ifdef EMU8051_DEBUG printf("emugtk_StartRunning()\n"); #endif - running_function_tag = gtk_idle_add(emugtk_running, 0); + running_function_tag = g_idle_add(emugtk_running, 0); running = 1; } }