From 3cccae316e10167bbf37dd0dbd62659f811167ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Thu, 11 Feb 2010 01:11:17 +0100 Subject: [PATCH] Fix compilation warning: return FALSE instead NULL --- gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index 98a58df152..322ef877f3 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -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; }