From fc246a9305627252741f2f8d6573103930ddb097 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 31591c0f05..2c8608191f 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -6025,7 +6025,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; }