mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 03:10:09 +00:00
gtk: Fix debug build
It seems I didn't have debug builds enabled and forgot some return_if_fail()s when doing the last patch.
This commit is contained in:
parent
0bf88db6cf
commit
e8053622eb
@ -151,7 +151,7 @@ _gtk_css_color_value_resolve (GtkCssValue *color,
|
|||||||
GtkCssValue *value;
|
GtkCssValue *value;
|
||||||
|
|
||||||
gtk_internal_return_val_if_fail (color != NULL, NULL);
|
gtk_internal_return_val_if_fail (color != NULL, NULL);
|
||||||
gtk_internal_return_val_if_fail (provider == NULL || GTK_IS_STYLE_PROVIDER_PRIVATE (provider), NULL);
|
gtk_internal_return_val_if_fail (provider == NULL || GTK_IS_STYLE_PROVIDER (provider), NULL);
|
||||||
|
|
||||||
switch (color->type)
|
switch (color->type)
|
||||||
{
|
{
|
||||||
|
@ -111,7 +111,7 @@ _gtk_css_lookup_resolve (GtkCssLookup *lookup,
|
|||||||
guint i;
|
guint i;
|
||||||
|
|
||||||
gtk_internal_return_if_fail (lookup != NULL);
|
gtk_internal_return_if_fail (lookup != NULL);
|
||||||
gtk_internal_return_if_fail (GTK_IS_STYLE_PROVIDER_PRIVATE (provider));
|
gtk_internal_return_if_fail (GTK_IS_STYLE_PROVIDER (provider));
|
||||||
gtk_internal_return_if_fail (GTK_IS_CSS_STATIC_STYLE (style));
|
gtk_internal_return_if_fail (GTK_IS_CSS_STATIC_STYLE (style));
|
||||||
gtk_internal_return_if_fail (parent_style == NULL || GTK_IS_CSS_STYLE (parent_style));
|
gtk_internal_return_if_fail (parent_style == NULL || GTK_IS_CSS_STYLE (parent_style));
|
||||||
|
|
||||||
|
@ -207,7 +207,7 @@ gtk_css_static_style_compute_value (GtkCssStaticStyle *style,
|
|||||||
GtkCssValue *value;
|
GtkCssValue *value;
|
||||||
|
|
||||||
gtk_internal_return_if_fail (GTK_IS_CSS_STATIC_STYLE (style));
|
gtk_internal_return_if_fail (GTK_IS_CSS_STATIC_STYLE (style));
|
||||||
gtk_internal_return_if_fail (GTK_IS_STYLE_PROVIDER_PRIVATE (provider));
|
gtk_internal_return_if_fail (GTK_IS_STYLE_PROVIDER (provider));
|
||||||
gtk_internal_return_if_fail (parent_style == NULL || GTK_IS_CSS_STYLE (parent_style));
|
gtk_internal_return_if_fail (parent_style == NULL || GTK_IS_CSS_STYLE (parent_style));
|
||||||
gtk_internal_return_if_fail (id < GTK_CSS_PROPERTY_N_PROPERTIES);
|
gtk_internal_return_if_fail (id < GTK_CSS_PROPERTY_N_PROPERTIES);
|
||||||
|
|
||||||
|
@ -90,7 +90,7 @@ _gtk_css_value_compute (GtkCssValue *value,
|
|||||||
{
|
{
|
||||||
|
|
||||||
gtk_internal_return_val_if_fail (value != NULL, NULL);
|
gtk_internal_return_val_if_fail (value != NULL, NULL);
|
||||||
gtk_internal_return_val_if_fail (GTK_IS_STYLE_PROVIDER_PRIVATE (provider), NULL);
|
gtk_internal_return_val_if_fail (GTK_IS_STYLE_PROVIDER (provider), NULL);
|
||||||
gtk_internal_return_val_if_fail (GTK_IS_CSS_STYLE (style), NULL);
|
gtk_internal_return_val_if_fail (GTK_IS_CSS_STYLE (style), NULL);
|
||||||
gtk_internal_return_val_if_fail (parent_style == NULL || GTK_IS_CSS_STYLE (parent_style), NULL);
|
gtk_internal_return_val_if_fail (parent_style == NULL || GTK_IS_CSS_STYLE (parent_style), NULL);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user