[gtk+] Fix return value error in gdk_window_set_pass_through
- From: Ting-Wei Lan <lantw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Fix return value error in gdk_window_set_pass_through
- Date: Wed, 17 Jun 2015 13:37:03 +0000 (UTC)
commit 3955d93e9de2afee80b9600e45df54ca85f671a9
Author: Ting-Wei Lan <lantw src gnome org>
Date: Wed Jun 17 18:01:48 2015 +0800
Fix return value error in gdk_window_set_pass_through
https://bugzilla.gnome.org/show_bug.cgi?id=751099
gdk/gdkwindow.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index f1971cb..d4938a3 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -6852,7 +6852,7 @@ gdk_window_set_pass_through (GdkWindow *window,
gboolean
gdk_window_get_pass_through (GdkWindow *window)
{
- g_return_if_fail (GDK_IS_WINDOW (window));
+ g_return_val_if_fail (GDK_IS_WINDOW (window), FALSE);
return window->pass_through;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]