[gtk+/gtk-3-14] Do not use "return" when chaining up to a void function
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-14] Do not use "return" when chaining up to a void function
- Date: Wed, 25 Feb 2015 02:26:12 +0000 (UTC)
commit 8cf2c8d85a36afde80cbf895705957e5492b037e
Author: Paolo Borelli <pborelli gnome org>
Date: Tue Feb 17 14:17:53 2015 +0100
Do not use "return" when chaining up to a void function
gdk/gdkwindow.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index 4787d8f..02af831 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -3629,10 +3629,10 @@ gdk_window_process_updates (GdkWindow *window,
{
g_return_if_fail (GDK_IS_WINDOW (window));
- return gdk_window_process_updates_with_mode (window,
- update_children ?
- PROCESS_UPDATES_WITH_ALL_CHILDREN :
- PROCESS_UPDATES_NO_RECURSE);
+ gdk_window_process_updates_with_mode (window,
+ update_children ?
+ PROCESS_UPDATES_WITH_ALL_CHILDREN :
+ PROCESS_UPDATES_NO_RECURSE);
}
static void
@@ -10781,7 +10781,7 @@ gdk_window_set_opaque_region (GdkWindow *window,
impl_class = GDK_WINDOW_IMPL_GET_CLASS (window->impl);
if (impl_class->set_opaque_region)
- return impl_class->set_opaque_region (window, region);
+ impl_class->set_opaque_region (window, region);
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]