char *name;
NotifyNotification *notif;
- log_printf(LOG_DEBUG,
- "ui_notify() last_notification %d",
- last_notification_tv.tv_sec);
+ log_debug("last_notification %d", last_notification_tv.tv_sec);
if (gettimeofday(&t, NULL) != 0) {
log_printf(LOG_ERR, _("gettimeofday failed"));
NULL,
GTK_WIDGET(ui->main_window));
#endif
- log_printf(LOG_DEBUG,
- "ui_notify() notif_notification_new %s",
- sensor->name);
+ log_debug("notif_notification_new %s", sensor->name);
notify_notification_show(notif, NULL);