GtkWidget: Don't mix code and declarations

This commit is contained in:
Timm Bäder 2015-12-18 15:54:46 +01:00
parent 666e4135e8
commit 20a6ee30b7

View File

@ -12586,11 +12586,13 @@ list_devices (GtkWidget *widget,
GdkDeviceType device_type,
GList **result)
{
G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
GList *devices = gdk_device_manager_list_devices (device_manager, device_type);
G_GNUC_END_IGNORE_DEPRECATIONS;
GList *devices;
GList *l;
G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
devices = gdk_device_manager_list_devices (device_manager, device_type);
G_GNUC_END_IGNORE_DEPRECATIONS;
for (l = devices; l; l = l->next)
{
GdkDevice *device = l->data;