[gtk+/native-layout] Fix compilation warning: return FALSE instead NULL



commit fc246a9305627252741f2f8d6573103930ddb097
Author: Javier Jardón <jjardon gnome org>
Date:   Thu Feb 11 01:11:17 2010 +0100

    Fix compilation warning: return FALSE instead NULL

 gtk/gtkwidget.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 31591c0..2c86081 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;
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]