[glib] glistmodel.h: Fix _GListModelInterface Define
- From: Ryan Lortie <desrt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] glistmodel.h: Fix _GListModelInterface Define
- Date: Mon, 2 Feb 2015 10:17:26 +0000 (UTC)
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]