[glib] glistmodel.h: Fix _GListModelInterface Define



commit ccf696a6e1da37ed414f08edb745a99aba935211
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Mon Feb 2 13:33:18 2015 +0800

    glistmodel.h: Fix _GListModelInterface Define
    
    "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 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/glistmodel.h b/gio/glistmodel.h
index e47b87a..8c01160 100644
--- a/gio/glistmodel.h
+++ b/gio/glistmodel.h
@@ -40,7 +40,7 @@ typedef struct _GListModelInterface GListModelInterface;
 
 struct _GListModelInterface
 {
-  GTypeInterface interface;
+  GTypeInterface g_iface;
 
   GType     (* get_item_type)   (GListModel *list);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]