mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 03:10:09 +00:00
Fix some return value warnings
This commit is contained in:
parent
ede9c2cf74
commit
533d3058b8
@ -5978,13 +5978,13 @@ gdk_window_get_deskrelative_origin (GdkWindow *window,
|
||||
gint tx = 0;
|
||||
gint ty = 0;
|
||||
|
||||
g_return_if_fail (GDK_IS_WINDOW (window));
|
||||
g_return_val_if_fail (GDK_IS_WINDOW (window), FALSE);
|
||||
|
||||
private = (GdkWindowObject *) window;
|
||||
|
||||
if (!GDK_WINDOW_DESTROYED (window))
|
||||
{
|
||||
GDK_WINDOW_IMPL_GET_IFACE (private->impl)->get_deskrelative_origin (window, &tx, &ty);
|
||||
return_val = GDK_WINDOW_IMPL_GET_IFACE (private->impl)->get_deskrelative_origin (window, &tx, &ty);
|
||||
|
||||
if (x)
|
||||
*x = tx + private->abs_x;
|
||||
|
Loading…
Reference in New Issue
Block a user