forked from AuroraMiddleware/gtk
GtkWidget: Don't mix code and declarations
This commit is contained in:
parent
666e4135e8
commit
20a6ee30b7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user