name is release by notification_new
authorJean-Philippe Orsini <jeanfi@gmail.com>
Sat, 12 Nov 2011 13:38:50 +0000 (13:38 +0000)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Sat, 12 Nov 2011 13:38:50 +0000 (13:38 +0000)
src/ui_notify.c

index f6419db..9422e63 100644 (file)
@@ -72,7 +72,8 @@ void ui_notify(struct psensor *sensor, struct ui_psensor *ui)
                                                NULL,
                                                GTK_WIDGET(ui->main_window));
 #endif
-               log_debug("ui_notify() notif_notification_new %s", name);
+               log_debug("ui_notify() notif_notification_new %s",
+                         sensor->name);
 
                notify_notification_show(notif, NULL);