mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
Do not return on void functions
This commit is contained in:
parent
b8005f4de9
commit
4a7da1e143
@ -38,7 +38,7 @@ static inline void
|
||||
_gtk_bitmask_free (GtkBitmask *mask)
|
||||
{
|
||||
if (_gtk_bitmask_is_allocated (mask))
|
||||
return _gtk_allocated_bitmask_free (mask);
|
||||
_gtk_allocated_bitmask_free (mask);
|
||||
}
|
||||
|
||||
static inline char *
|
||||
@ -55,7 +55,7 @@ static inline void
|
||||
_gtk_bitmask_print (const GtkBitmask *mask,
|
||||
GString *string)
|
||||
{
|
||||
return _gtk_allocated_bitmask_print (mask, string);
|
||||
_gtk_allocated_bitmask_print (mask, string);
|
||||
}
|
||||
|
||||
static inline GtkBitmask *
|
||||
|
@ -82,7 +82,7 @@ _gtk_css_shorthand_property_query (GtkStyleProperty *property,
|
||||
{
|
||||
GtkCssShorthandProperty *shorthand = GTK_CSS_SHORTHAND_PROPERTY (property);
|
||||
|
||||
return shorthand->query (shorthand, value, query_func, query_data);
|
||||
shorthand->query (shorthand, value, query_func, query_data);
|
||||
}
|
||||
|
||||
static GtkCssValue *
|
||||
|
@ -1182,9 +1182,9 @@ gtk_paned_get_preferred_size (GtkWidget *widget,
|
||||
GtkPanedPrivate *priv = paned->priv;
|
||||
|
||||
if (orientation == priv->orientation)
|
||||
return gtk_paned_get_preferred_size_for_orientation (widget, size, minimum, natural);
|
||||
gtk_paned_get_preferred_size_for_orientation (widget, size, minimum, natural);
|
||||
else
|
||||
return gtk_paned_get_preferred_size_for_opposite_orientation (widget, size, minimum, natural);
|
||||
gtk_paned_get_preferred_size_for_opposite_orientation (widget, size, minimum, natural);
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -215,7 +215,7 @@ _gtk_style_property_query (GtkStyleProperty *property,
|
||||
|
||||
klass = GTK_STYLE_PROPERTY_GET_CLASS (property);
|
||||
|
||||
return klass->query (property, value, query_func, query_data);
|
||||
klass->query (property, value, query_func, query_data);
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user