mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-18 17:10:04 +00:00
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