undid the last change: it results in crashes with some GTK+ versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -41,12 +41,7 @@ extern "C" gint timeout_callback( gpointer data )
|
|||||||
gdk_threads_leave();
|
gdk_threads_leave();
|
||||||
|
|
||||||
if ( timer->IsOneShot() )
|
if ( timer->IsOneShot() )
|
||||||
{
|
|
||||||
// This sets m_tag to -1
|
|
||||||
timer->Stop();
|
|
||||||
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
@@ -41,12 +41,7 @@ extern "C" gint timeout_callback( gpointer data )
|
|||||||
gdk_threads_leave();
|
gdk_threads_leave();
|
||||||
|
|
||||||
if ( timer->IsOneShot() )
|
if ( timer->IsOneShot() )
|
||||||
{
|
|
||||||
// This sets m_tag to -1
|
|
||||||
timer->Stop();
|
|
||||||
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user