[gtk+] Do not use "return" when chaining up to a void function
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Do not use "return" when chaining up to a void function
- Date: Tue, 17 Feb 2015 13:55:07 +0000 (UTC)
commit f4510c93b7f1e73fd52666ae2a508448ac98e6f4
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 2de1fa3..6e6e56e 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -3905,10 +3905,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
@@ -11123,7 +11123,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]