[gtk+/client-side-windows] Don't return value from void function
- From: Alexander Larsson <alexl src gnome org>
- To: svn-commits-list gnome org
- Subject: [gtk+/client-side-windows] Don't return value from void function
- Date: Wed, 1 Jul 2009 11:46:30 +0000 (UTC)
commit 0c6f64a76cc356582a4d2f76a07161c5fb5a8914
Author: Alexander Larsson <alexl redhat com>
Date: Wed Jul 1 10:11:15 2009 +0200
Don't return value from void function
This fixes the previous commit where the return value was removed.
gdk/gdkwindow.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index f635a07..326c983 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -7031,7 +7031,7 @@ gdk_window_get_root_coords (GdkWindow *window,
{
GdkWindowObject *private;
- g_return_val_if_fail (GDK_IS_WINDOW (window), 0);
+ g_return_if_fail (GDK_IS_WINDOW (window));
private = (GdkWindowObject *) window;
@@ -7048,8 +7048,6 @@ gdk_window_get_root_coords (GdkWindow *window,
x + private->abs_x,
y + private->abs_y,
root_x, root_y);
-
- return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]