mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-15 14:50:06 +00:00
Do not use "return" when chaining up to a void function
This commit is contained in:
parent
0cf63ec892
commit
f4510c93b7
@ -3905,10 +3905,10 @@ gdk_window_process_updates (GdkWindow *window,
|
|||||||
{
|
{
|
||||||
g_return_if_fail (GDK_IS_WINDOW (window));
|
g_return_if_fail (GDK_IS_WINDOW (window));
|
||||||
|
|
||||||
return gdk_window_process_updates_with_mode (window,
|
gdk_window_process_updates_with_mode (window,
|
||||||
update_children ?
|
update_children ?
|
||||||
PROCESS_UPDATES_WITH_ALL_CHILDREN :
|
PROCESS_UPDATES_WITH_ALL_CHILDREN :
|
||||||
PROCESS_UPDATES_NO_RECURSE);
|
PROCESS_UPDATES_NO_RECURSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@ -11123,7 +11123,7 @@ gdk_window_set_opaque_region (GdkWindow *window,
|
|||||||
impl_class = GDK_WINDOW_IMPL_GET_CLASS (window->impl);
|
impl_class = GDK_WINDOW_IMPL_GET_CLASS (window->impl);
|
||||||
|
|
||||||
if (impl_class->set_opaque_region)
|
if (impl_class->set_opaque_region)
|
||||||
return impl_class->set_opaque_region (window, region);
|
impl_class->set_opaque_region (window, region);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user