diff options
author | Matthias Clasen <mclasen@redhat.com> | 2015-05-04 09:27:02 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-05-04 09:28:46 -0400 |
commit | 1f51c506c3ce0930c0c4fc616a176c5f96b34781 (patch) | |
tree | 692842877e5efddea8fbc90f563a12e00ece65b0 /gtk/gtkpopover.c | |
parent | 5cce2051dd33a5cb01f61636a94b02d1b55d6bb0 (diff) | |
download | gtk+-1f51c506c3ce0930c0c4fc616a176c5f96b34781.tar.gz |
Fix precondition in gtk_popover_get_default_widget
We need to return a value here.
Diffstat (limited to 'gtk/gtkpopover.c')
-rw-r--r-- | gtk/gtkpopover.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |