levelbar: Don't return a double value from a gboolean function

This commit is contained in:
Timm Bäder 2018-07-20 17:59:35 +02:00
parent 71b36db88d
commit dde535bbdf

View File

@ -1440,7 +1440,7 @@ gtk_level_bar_get_offset_value (GtkLevelBar *self,
GList *existing;
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);
if (existing)