x11: Fix compiler warning

This commit is contained in:
Benjamin Otte 2013-08-27 15:59:38 +02:00
parent 88293f89f0
commit 6318e5e5d1

View File

@ -2159,7 +2159,7 @@ get_netwm_cardinal_property (GdkWindow *window,
guint32
gdk_x11_window_get_desktop (GdkWindow *window)
{
g_return_if_fail (GDK_IS_WINDOW (window));
g_return_val_if_fail (GDK_IS_WINDOW (window), 0);
return get_netwm_cardinal_property (window, "_NET_WM_DESKTOP");
}