X-Git-Url: https://git.wpitchoune.net/gitweb/?p=psensor.git;a=blobdiff_plain;f=src%2Fui_notify.c;h=719f50210cf7847946f7cc28a9a3d087db1df45d;hp=a668014f810bd41e538aefb17aef984121a04817;hb=c1e20f2631a1249720e9c75d753eacfcb0f6c7b9;hpb=8a3d16ade26321374c684080d627cf12ba71e598 diff --git a/src/ui_notify.c b/src/ui_notify.c index a668014..719f502 100644 --- a/src/ui_notify.c +++ b/src/ui_notify.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010-2014 jeanfi@gmail.com + * Copyright (C) 2010-2016 jeanfi@gmail.com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as @@ -59,7 +59,7 @@ void ui_notify(struct psensor *sensor, struct ui_psensor *ui) notify_init("psensor"); if (notify_is_initted() == TRUE) { - if (ui->config->temperature_unit == CELSIUS) + if (config_get_temperature_unit() == CELSIUS) use_celsius = 1; else use_celsius = 0;