Commit 20a6ee30 authored by Timm Bäder's avatar Timm Bäder 👎

GtkWidget: Don't mix code and declarations

parent 666e4135
......@@ -12586,10 +12586,12 @@ list_devices (GtkWidget *widget,
GdkDeviceType device_type,
GList **result)
{
GList *devices;
GList *l;
G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
GList *devices = gdk_device_manager_list_devices (device_manager, device_type);
devices = gdk_device_manager_list_devices (device_manager, device_type);
G_GNUC_END_IGNORE_DEPRECATIONS;
GList *l;
for (l = devices; l; l = l->next)
{
......
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