forked from AuroraMiddleware/gtk
levelbar: Don't return a double value from a gboolean function
This commit is contained in:
parent
71b36db88d
commit
dde535bbdf
@ -1440,7 +1440,7 @@ gtk_level_bar_get_offset_value (GtkLevelBar *self,
|
|||||||
GList *existing;
|
GList *existing;
|
||||||
GtkLevelBarOffset *offset = NULL;
|
GtkLevelBarOffset *offset = NULL;
|
||||||
|
|
||||||
g_return_val_if_fail (GTK_IS_LEVEL_BAR (self), 0.0);
|
g_return_val_if_fail (GTK_IS_LEVEL_BAR (self), FALSE);
|
||||||
|
|
||||||
existing = g_list_find_custom (priv->offsets, name, offset_find_func);
|
existing = g_list_find_custom (priv->offsets, name, offset_find_func);
|
||||||
if (existing)
|
if (existing)
|
||||||
|
Loading…
Reference in New Issue
Block a user