improved ecore integration (signal arrives, but still buggy)
PendingCall docu
This commit is contained in:
parent
5dadc5d4fe
commit
0dd61fc152
3 changed files with 5 additions and 3 deletions
|
@ -71,7 +71,7 @@ Watch::Watch( Watch::Internal* i )
|
|||
int Watch::descriptor() const
|
||||
{
|
||||
#if HAVE_WIN32
|
||||
return dbus_watch_get_socket((DBusWatch*)_int);
|
||||
return dbus_watch_get_socket((DBusWatch*)_int);
|
||||
#else
|
||||
return dbus_watch_get_unix_fd((DBusWatch*)_int);
|
||||
#endif
|
||||
|
|
|
@ -152,6 +152,8 @@ int Ecore::BusWatch::watch_handler_read( void *data, Ecore_Fd_Handler *fdh )
|
|||
debug_log("ecore: watch_handler_read");
|
||||
|
||||
int flags = DBUS_WATCH_READABLE;
|
||||
|
||||
watch_dispatch(NULL);// test
|
||||
|
||||
w->handle(flags);
|
||||
|
||||
|
@ -175,7 +177,7 @@ void Ecore::BusWatch::_enable()
|
|||
{
|
||||
debug_log("Ecore::BusWatch::_enable()");
|
||||
|
||||
//int flags = Watch::flags();
|
||||
int flags = Watch::flags();
|
||||
//Ecore_Fd_Handler_Flags condition = ECORE_FD_READ;
|
||||
|
||||
// TODO: create second handler for ECORE_FD_ERROR case
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue