forked from AuroraMiddleware/gtk
Add an assertion and comment
Maybe it helps the person unfortunate enough to stumble in here.
This commit is contained in:
parent
834c72bb0f
commit
e3ecd5d23e
@ -606,6 +606,11 @@ gtk_builder_get_parameters (GtkBuilder *builder,
|
||||
continue;
|
||||
}
|
||||
|
||||
/* At this point, property_value has been set, and we need to either
|
||||
* copy it to one of the two arrays, or unset it.
|
||||
*/
|
||||
g_assert (G_IS_VALUE (&property_value));
|
||||
|
||||
if ((prop->pspec->flags & filter_flags) != 0 && filtered_parameters)
|
||||
object_properties_add (filtered_parameters, property_name, &property_value);
|
||||
else if ((prop->pspec->flags & filter_flags) == 0 && parameters)
|
||||
|
Loading…
Reference in New Issue
Block a user