From dde535bbdf0641011fad9a5feb19e47b7aeec906 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Fri, 20 Jul 2018 17:59:35 +0200 Subject: [PATCH] levelbar: Don't return a double value from a gboolean function --- gtk/gtklevelbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtklevelbar.c b/gtk/gtklevelbar.c index fbf304d522..af61eeaeb1 100644 --- a/gtk/gtklevelbar.c +++ b/gtk/gtklevelbar.c @@ -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)