glistmodel.h: Fix _GListModelInterface Define
authorChun-wei Fan <fanchunwei@src.gnome.org>
Mon, 2 Feb 2015 05:33:18 +0000 (13:33 +0800)
committerRyan Lortie <desrt@desrt.ca>
Mon, 2 Feb 2015 10:16:45 +0000 (11:16 +0100)
"interface" is a reserved word on Visual Studio, so fix the build by
using g_iface instead.

https://bugzilla.gnome.org/show_bug.cgi?id=743827

gio/glistmodel.h

index e47b87af53fed76f1ff6461646cc51508eadcec2..8c011608862ac26a37e9b0f67dfc73fd328c406d 100644 (file)
@@ -40,7 +40,7 @@ typedef struct _GListModelInterface GListModelInterface;
 
 struct _GListModelInterface
 {
-  GTypeInterface interface;
+  GTypeInterface g_iface;
 
   GType     (* get_item_type)   (GListModel *list);