/*
- * 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
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;