From 7c4d71177754eedfaebe386e28b692728b68f65d Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 30 Apr 2007 16:22:31 +0000 Subject: [PATCH] Some more compiler warning fixes. 2007-04-30 Matthias Clasen Some more compiler warning fixes. * gdk/directfb/gdkscreen-directfb.c (gdk_screen_is_composited): Fix NULL/FALSE confusion. svn path=/trunk/; revision=17740 --- ChangeLog | 7 +++++++ gdk/directfb/gdkscreen-directfb.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 928169fb62..909046f506 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-04-30 Matthias Clasen + + Some more compiler warning fixes. + + * gdk/directfb/gdkscreen-directfb.c (gdk_screen_is_composited): + Fix NULL/FALSE confusion. + 2007-04-30 Matthias Clasen Fix some compiler warnings. (#433642, Kjartan Maraas) diff --git a/gdk/directfb/gdkscreen-directfb.c b/gdk/directfb/gdkscreen-directfb.c index b8ab1a7f84..8e87d80f8b 100644 --- a/gdk/directfb/gdkscreen-directfb.c +++ b/gdk/directfb/gdkscreen-directfb.c @@ -215,7 +215,7 @@ gdk_screen_get_window_stack (GdkScreen *screen) gboolean gdk_screen_is_composited (GdkScreen *screen) { - g_return_val_if_fail (GDK_IS_SCREEN (screen), NULL); + g_return_val_if_fail (GDK_IS_SCREEN (screen), FALSE); return FALSE; }