diff options
author | Timm Bäder <mail@baedert.org> | 2018-07-20 17:59:35 +0200 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2018-08-05 10:22:10 +0200 |
commit | dde535bbdf0641011fad9a5feb19e47b7aeec906 (patch) | |
tree | f08e39fe6567801b3493e61415d25df246b69cf6 /gtk/gtklevelbar.c | |
parent | 71b36db88d8a666a74fb123075a1357e0200c39c (diff) | |
download | gtk+-dde535bbdf0641011fad9a5feb19e47b7aeec906.tar.gz |
levelbar: Don't return a double value from a gboolean function
Diffstat (limited to 'gtk/gtklevelbar.c')
-rw-r--r-- | gtk/gtklevelbar.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |