mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 21:21:21 +00:00
drop: Guard variable with correct compiler flags
This commit is contained in:
parent
ce3ed45e81
commit
e3aee62b18
@ -561,7 +561,9 @@ void
|
||||
gdk_drop_status (GdkDrop *self,
|
||||
GdkDragAction actions)
|
||||
{
|
||||
#ifndef G_DISABLE_CHECKS
|
||||
GdkDropPrivate *priv = gdk_drop_get_instance_private (self);
|
||||
#endif
|
||||
|
||||
g_return_if_fail (GDK_IS_DROP (self));
|
||||
g_return_if_fail (priv->state != GDK_DROP_STATE_FINISHED);
|
||||
|
Loading…
Reference in New Issue
Block a user