summaryrefslogtreecommitdiff
path: root/xfce-extra/xfce4-places-plugin/files/xfce4-places-plugin-1.7.0-undefined-symbol.patch
diff options
context:
space:
mode:
Diffstat (limited to 'xfce-extra/xfce4-places-plugin/files/xfce4-places-plugin-1.7.0-undefined-symbol.patch')
-rw-r--r--xfce-extra/xfce4-places-plugin/files/xfce4-places-plugin-1.7.0-undefined-symbol.patch54
1 files changed, 54 insertions, 0 deletions
diff --git a/xfce-extra/xfce4-places-plugin/files/xfce4-places-plugin-1.7.0-undefined-symbol.patch b/xfce-extra/xfce4-places-plugin/files/xfce4-places-plugin-1.7.0-undefined-symbol.patch
new file mode 100644
index 00000000..85c29368
--- /dev/null
+++ b/xfce-extra/xfce4-places-plugin/files/xfce4-places-plugin-1.7.0-undefined-symbol.patch
@@ -0,0 +1,54 @@
+diff -Nur a/panel-plugin/model.h b/panel-plugin/model.h
+--- a/panel-plugin/model.h 2013-12-28 11:30:18.000000000 +0000
++++ b/panel-plugin/model.h 2016-12-30 17:54:49.638223315 +0000
+@@ -36,13 +36,13 @@
+ void (*finalize) (PlacesBookmarkAction *self);
+ };
+
+-inline PlacesBookmarkAction*
++extern inline PlacesBookmarkAction*
+ places_bookmark_action_create(gchar *label);
+
+-inline void
++extern inline void
+ places_bookmark_action_destroy(PlacesBookmarkAction*);
+
+-inline void
++extern inline void
+ places_bookmark_action_call(PlacesBookmarkAction*);
+
+ /* Places Bookmark */
+@@ -70,10 +70,10 @@
+ void (*finalize) (PlacesBookmark *self);
+ };
+
+-inline PlacesBookmark*
++extern inline PlacesBookmark*
+ places_bookmark_create(gchar *label);
+
+-inline void
++extern inline void
+ places_bookmark_destroy(PlacesBookmark *bookmark);
+
+ /* Places Bookmark Group */
+@@ -86,16 +86,16 @@
+ gpointer priv;
+ };
+
+-inline GList*
++extern inline GList*
+ places_bookmark_group_get_bookmarks(PlacesBookmarkGroup*);
+
+-inline gboolean
++extern inline gboolean
+ places_bookmark_group_changed(PlacesBookmarkGroup*);
+
+-inline PlacesBookmarkGroup*
++extern inline PlacesBookmarkGroup*
+ places_bookmark_group_create();
+
+-inline void
++extern inline void
+ places_bookmark_group_destroy(PlacesBookmarkGroup*);
+
+ #endif