Explicitly mention when an applet is not fully implemented
This commit is contained in:
parent
4565d76b7a
commit
e1664a0463
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user