native: Don't compare a pointer with 0

We have NULL for that.
This commit is contained in:
Timm Bäder 2019-09-10 15:28:31 +02:00
parent 8ec1c866e1
commit 32b84b8ab6

View File

@ -102,12 +102,12 @@ gtk_native_get_renderer (GtkNative *self)
void
gtk_native_get_surface_transform (GtkNative *self,
int *x,
int *y)
int *x,
int *y)
{
g_return_if_fail (GTK_IS_NATIVE (self));
g_return_if_fail (x != 0);
g_return_if_fail (y != 0);
g_return_if_fail (x != NULL);
g_return_if_fail (y != NULL);
return GTK_NATIVE_GET_IFACE (self)->get_surface_transform (self, x, y);
}