rtcom_el_query_prepare (query,
"is-read", FALSE, RTCOM_EL_OP_EQUAL,
"service", conv_services, RTCOM_EL_OP_IN_STRV,
- /* "event-type", conv_event_types, RTCOM_EL_OP_IN_STRV, */
+ "event-type", conv_event_types, RTCOM_EL_OP_IN_STRV,
NULL);
}
it = rtcom_el_get_events (el, query);
ELHomeApplet *self)
{
g_warning ("%s %s %s %s", local_uid, remote_uid, remote_ebook_uid, service);
-#if 0
- const gchar** conv_service = conv_services;
+
+ if (service && service[0] != '\0') {
+ const gchar** conv_service = conv_services;
g_warning ("%s", service);
- do {
- g_warning ("%s", *conv_service);
- if (!g_strcmp0 (*conv_service, service)) {
- add_new_idle (self);
- return;
+ do {
+ g_warning ("%s", *conv_service);
+ if (!g_strcmp0 (*conv_service, service)) {
+ add_new_idle (self);
+ return;
+ }
}
+ while(*++conv_service);
}
- while(*++conv_service);
-#else
- add_new_idle (self);
-#endif
+ else
+ add_new_idle (self);
}
static gboolean