fixed some compiler warnings
This commit is contained in:
parent
f25787f2a0
commit
e23c8c4750
1 changed files with 8 additions and 8 deletions
|
@ -75,20 +75,20 @@ void Ecore::BusTimeout::_disable()
|
||||||
ecore_timer_del (_etimer);
|
ecore_timer_del (_etimer);
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool watch_prepare( int *timeout )
|
/*static bool watch_prepare( int *timeout )
|
||||||
{
|
{
|
||||||
debug_log("ecore: watch_prepare");
|
debug_log("ecore: watch_prepare");
|
||||||
|
|
||||||
*timeout = -1;
|
*timeout = -1;
|
||||||
return false;
|
return false;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
static bool watch_check( )
|
/*static bool watch_check( )
|
||||||
{
|
{
|
||||||
debug_log("ecore: watch_check");
|
debug_log("ecore: watch_check");
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
static bool watch_dispatch( void *data )
|
static bool watch_dispatch( void *data )
|
||||||
{
|
{
|
||||||
|
@ -135,11 +135,11 @@ int Ecore::BusWatch::watch_handler_read( void *data, Ecore_Fd_Handler *fdh )
|
||||||
|
|
||||||
int Ecore::BusWatch::watch_handler_error( void *data, Ecore_Fd_Handler *fdh )
|
int Ecore::BusWatch::watch_handler_error( void *data, Ecore_Fd_Handler *fdh )
|
||||||
{
|
{
|
||||||
Ecore::BusWatch* w = reinterpret_cast<Ecore::BusWatch*>(data);
|
//Ecore::BusWatch* w = reinterpret_cast<Ecore::BusWatch*>(data);
|
||||||
|
|
||||||
debug_log("ecore: watch_handler_error");
|
debug_log("ecore: watch_handler_error");
|
||||||
|
|
||||||
int flags = DBUS_WATCH_ERROR;
|
//int flags = DBUS_WATCH_ERROR;
|
||||||
|
|
||||||
watch_dispatch(NULL);
|
watch_dispatch(NULL);
|
||||||
|
|
||||||
|
@ -150,7 +150,7 @@ void Ecore::BusWatch::_enable()
|
||||||
{
|
{
|
||||||
debug_log("Ecore::BusWatch::_enable()");
|
debug_log("Ecore::BusWatch::_enable()");
|
||||||
|
|
||||||
int flags = Watch::flags();
|
//int flags = Watch::flags();
|
||||||
|
|
||||||
fd_handler_read = ecore_main_fd_handler_add (Watch::descriptor(),
|
fd_handler_read = ecore_main_fd_handler_add (Watch::descriptor(),
|
||||||
ECORE_FD_READ,
|
ECORE_FD_READ,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue