Fix precondition in gtk_popover_get_default_widget

We need to return a value here.
This commit is contained in:
Matthias Clasen 2015-05-04 09:27:02 -04:00
parent 5cce2051dd
commit 1f51c506c3

View File

@ -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;
}