[gtk+/gtk-3-14] GtkWidget: Don't return FALSE as a pointer
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-14] GtkWidget: Don't return FALSE as a pointer
- Date: Thu, 11 Dec 2014 14:31:07 +0000 (UTC)
commit 623f3e00e4f5961f2814ca54ef7bb2217d943789
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 2593cbf..2b81bc1 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -5768,7 +5768,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]