[gtk/wip/otte/warnings] listbox: Return with a value in function returning non-void
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/otte/warnings] listbox: Return with a value in function returning non-void
- Date: Sat, 13 Apr 2019 08:57:26 +0000 (UTC)
commit 826ae91c6f8bdcc5602d9bf143e3625fdb25d485
Author: Benjamin Otte <otte redhat com>
Date: Sat Apr 13 10:53:40 2019 +0200
listbox: Return with a value in function returning non-void
gtk/gtklistbox.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtklistbox.c b/gtk/gtklistbox.c
index bde8540dc7..5ad3d5950f 100644
--- a/gtk/gtklistbox.c
+++ b/gtk/gtklistbox.c
@@ -3659,7 +3659,7 @@ gtk_list_box_get_show_separators (GtkListBox *box)
{
GtkListBoxPrivate *priv = BOX_PRIV (box);
- g_return_if_fail (GTK_IS_LIST_BOX (box));
+ g_return_val_if_fail (GTK_IS_LIST_BOX (box), FALSE);
return priv->show_separators;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]