Stefan Weil
030b4b7deb
gtk: Fix compiler warning (GTK 3 deprecated function)
...
With GTK 3, the function gdk_cursor_unref is deprecated:
qemu/ui/gtk.c: In function ‘gd_cursor_define’:
qemu/ui/gtk.c:380:5: error:
‘gdk_cursor_unref’ is deprecated (declared at /usr/include/gtk-3.0/gdk/gdkcursor.h:233): Use 'g_object_unref' instead [-Werror=deprecated-declarations]
Fix the gcc compiler warning by using conditional compilation.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Message-id: 1371391987-10795-1-git-send-email-sw@weilnetz.de
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2013-06-16 20:00:46 -05:00
..
2013-05-29 01:28:31 +02:00
2013-06-10 11:38:37 -05:00
2012-12-19 08:31:31 +01:00
2013-04-25 14:45:46 -05:00
2012-12-19 08:31:30 +01:00
2012-12-19 08:31:30 +01:00
2012-12-19 08:31:30 +01:00
2010-07-26 17:35:54 -05:00
2012-12-19 08:31:31 +01:00
2013-06-16 20:00:46 -05:00
2013-05-23 09:58:45 -04:00
2013-01-16 12:02:47 -06:00
2010-07-26 17:35:54 -05:00
2013-02-26 13:29:53 -06:00
2013-04-16 09:03:47 +02:00
2012-12-19 08:31:30 +01:00
2010-07-26 17:35:54 -05:00
2013-01-15 18:25:30 -06:00
2013-01-15 18:25:30 -06:00
2010-07-26 17:35:54 -05:00
2013-04-25 14:45:46 -05:00
2013-01-30 11:14:46 +01:00
2013-04-25 14:45:46 -05:00
2012-12-19 08:31:30 +01:00
2012-12-19 08:31:30 +01:00
2013-02-06 08:29:58 -06:00
2012-10-06 18:54:14 +02:00
2012-12-19 08:32:39 +01:00
2012-07-28 09:23:11 +00:00
2010-07-26 17:35:54 -05:00
2012-11-01 14:00:04 +01:00
2012-11-01 14:00:05 +01:00
2013-03-18 10:21:58 +01:00
2010-07-26 17:36:14 -05:00
2011-08-20 23:01:08 -05:00
2011-02-23 16:28:28 -06:00
2012-11-01 14:00:04 +01:00
2011-02-23 16:28:28 -06:00
2011-12-14 11:09:44 +00:00
2011-12-14 11:09:44 +00:00
2013-03-18 10:21:58 +01:00
2012-11-01 19:49:45 +01:00
2012-12-06 09:17:05 +01:00
2012-12-19 08:32:39 +01:00
2013-05-03 12:04:57 -05:00
2012-12-19 08:32:39 +01:00
2013-05-03 12:04:57 -05:00
2013-05-03 12:04:57 -05:00
2013-05-15 08:48:43 -05:00
2013-05-03 12:04:57 -05:00
2010-07-26 17:35:54 -05:00
2011-01-23 16:21:20 +00:00