[gtk+] GtkWidget: Don't return FALSE as a pointer



commit 64fd964703b95dc7d46f7a08eb7753cb914f4c83
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Dec 8 09:16:24 2014 -0500

    GtkWidget: Don't return FALSE as a pointer
    
    Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=741251

 gtk/gtkwidget.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 515f1af..f0f2f6a 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -5790,7 +5790,7 @@ gtk_widget_queue_resize_no_redraw (GtkWidget *widget)
 GdkFrameClock*
 gtk_widget_get_frame_clock (GtkWidget *widget)
 {
-  g_return_val_if_fail (GTK_IS_WIDGET (widget), 0);
+  g_return_val_if_fail (GTK_IS_WIDGET (widget), NULL);
 
   if (widget->priv->realized)
     {


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