I guess the fallthroughs in the case statements were not intentional.
This avoids the warning:
warning: this statement may fall through
case PROP_DEFAULT:
g_value_set_flags (value, bb->def);
+ break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
g_value_set_enum (value, gtk_tree_selection_get_mode (selection));
}
+ break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
break;
case PROP_IS_STRING:
g_value_set_boolean (value, vr->input_var_is_string);
+ break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;