this patch modifies change_state_cb() by wrapping the call to draw_pager() in gdk_threads_enter() and gdk_threads_leave()
this patch modifies change_state_cb() by wrapping the call to draw_pager() in gdk_threads_enter() and gdk_threads_leave()