forked from AuroraMiddleware/gtk
Fix compilation warning: return FALSE instead NULL
This commit is contained in:
parent
45987f44c4
commit
3cccae316e
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user