Explicitly mention when an applet is not fully implemented

This commit is contained in:
Pierre Pronchery 2010-03-14 21:46:21 +00:00
parent 4565d76b7a
commit e1664a0463
2 changed files with 2 additions and 1 deletions

View File

@ -102,6 +102,7 @@ static GtkWidget * _cpu_init(PanelApplet * applet)
gtk_widget_show_all(ret);
return ret;
#else
error_set("%s", "cpu: Unsupported platform");
return NULL;
#endif
}

View File

@ -93,7 +93,7 @@ static GtkWidget * _memory_init(PanelApplet * applet)
gtk_widget_show_all(ret);
return ret;
#else
/* FIXME not implemented */
error_set("%s", "memory: Unsupported platform");
return NULL;
#endif
}