Fix compilation warning: return FALSE instead NULL

This commit is contained in:
Javier Jardón 2010-02-11 01:11:17 +01:00
parent 45987f44c4
commit 3cccae316e

View File

@ -6010,7 +6010,7 @@ gtk_widget_set_realized (GtkWidget *widget,
gboolean
gtk_widget_get_mapped (GtkWidget *widget)
{
g_return_val_if_fail (GTK_IS_WIDGET (widget), NULL);
g_return_val_if_fail (GTK_IS_WIDGET (widget), FALSE);
return (GTK_WIDGET_FLAGS (widget) & GTK_MAPPED) != 0;
}