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);
|
gtk_widget_show_all(ret);
|
||||||
return ret;
|
return ret;
|
||||||
#else
|
#else
|
||||||
|
error_set("%s", "cpu: Unsupported platform");
|
||||||
return NULL;
|
return NULL;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
@ -93,7 +93,7 @@ static GtkWidget * _memory_init(PanelApplet * applet)
|
||||||
gtk_widget_show_all(ret);
|
gtk_widget_show_all(ret);
|
||||||
return ret;
|
return ret;
|
||||||
#else
|
#else
|
||||||
/* FIXME not implemented */
|
error_set("%s", "memory: Unsupported platform");
|
||||||
return NULL;
|
return NULL;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user