/*
- * Copyright (C) 2010-2012 jeanfi@gmail.com
+ * Copyright (C) 2010-2014 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
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301 USA
*/
-#include "log.h"
+#include <plog.h>
#include "ui_status.h"
static const char *ICON = "psensor_normal";
gpointer data)
{
log_debug("cb_activate()");
-
ui_window_show((struct ui_psensor *)data);
}
void ui_status_init(struct ui_psensor *ui)
{
if (status)
- return ;
+ return;
log_debug("ui_status_create()");
ui);
}
-int is_status_supported()
+int is_status_supported(void)
{
return status && gtk_status_icon_is_embedded(status);
}
-void ui_status_cleanup()
+void ui_status_cleanup(void)
{
log_debug("ui_status_cleanup()");