Some more compiler warning fixes.

2007-04-30  Matthias Clasen  <mclasen@redhat.com>

        Some more compiler warning fixes.

        * gdk/directfb/gdkscreen-directfb.c (gdk_screen_is_composited):
        Fix NULL/FALSE confusion.


svn path=/trunk/; revision=17740
This commit is contained in:
Matthias Clasen 2007-04-30 16:22:31 +00:00 committed by Matthias Clasen
parent 6573ed5f12
commit 7c4d711777
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2007-04-30 Matthias Clasen <mclasen@redhat.com>
Some more compiler warning fixes.
* gdk/directfb/gdkscreen-directfb.c (gdk_screen_is_composited):
Fix NULL/FALSE confusion.
2007-04-30 Matthias Clasen <mclasen@redhat.com> 2007-04-30 Matthias Clasen <mclasen@redhat.com>
Fix some compiler warnings. (#433642, Kjartan Maraas) Fix some compiler warnings. (#433642, Kjartan Maraas)

View File

@ -215,7 +215,7 @@ gdk_screen_get_window_stack (GdkScreen *screen)
gboolean gboolean
gdk_screen_is_composited (GdkScreen *screen) 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; return FALSE;
} }