Commit 32b84b8a authored by Timm Bäder's avatar Timm Bäder 👎

native: Don't compare a pointer with 0

We have NULL for that.
parent 8ec1c866
......@@ -102,12 +102,12 @@ gtk_native_get_renderer (GtkNative *self)
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);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment