Fix 'void function should not return void expression' warning for clang

https://bugzilla.gnome.org/show_bug.cgi?id=750888
This commit is contained in:
Ting-Wei Lan 2015-06-13 13:45:57 +08:00
parent d8657a8156
commit 41b6993a66

View File

@ -11084,7 +11084,10 @@ gdk_window_get_unscaled_size (GdkWindow *window,
impl_class = GDK_WINDOW_IMPL_GET_CLASS (window->impl);
if (impl_class->get_unscaled_size)
return impl_class->get_unscaled_size (window, unscaled_width, unscaled_height);
{
impl_class->get_unscaled_size (window, unscaled_width, unscaled_height);
return;
}
}
scale = gdk_window_get_scale_factor (window);