From 1f51c506c3ce0930c0c4fc616a176c5f96b34781 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 4 May 2015 09:27:02 -0400 Subject: [PATCH] Fix precondition in gtk_popover_get_default_widget We need to return a value here. --- gtk/gtkpopover.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkpopover.c b/gtk/gtkpopover.c index 5c9103eec0..827c5938de 100644 --- a/gtk/gtkpopover.c +++ b/gtk/gtkpopover.c @@ -2423,7 +2423,7 @@ gtk_popover_get_default_widget (GtkPopover *popover) { GtkPopoverPrivate *priv = popover->priv; - g_return_if_fail (GTK_IS_POPOVER (popover)); + g_return_val_if_fail (GTK_IS_POPOVER (popover), NULL); return priv->default_widget; }