Add warning about unused parameters to CMake config and fix code accordingly

This commit is contained in:
2019-08-26 20:01:32 +02:00
parent f60150e8c7
commit 3489b74027
6 changed files with 34 additions and 1 deletions

View File

@@ -42,6 +42,7 @@ enum {
void lib_cell_renderer_init(LibCellRenderer *self)
{
(void)self;
/* Nothing to do */
}
@@ -111,6 +112,8 @@ static void lib_cell_renderer_get_property(GObject *object,
GValue *value,
GParamSpec *pspec)
{
(void)value;
switch (param_id) {
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID(object, param_id, pspec);