summaryrefslogtreecommitdiff
path: root/xfce-extra/xfce4-places-plugin/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2016-12-30 18:00:40 +0000
committerV3n3RiX <venerix@redcorelinux.org>2016-12-30 18:00:40 +0000
commit75febcc825b2e313145cb650f517972b145b1485 (patch)
tree51d04eaec92aef4f0c70ba6074ad42778e60baf9 /xfce-extra/xfce4-places-plugin/files
parent59ba98c454bce8776fdf9545c68c7affffcb6f26 (diff)
attempt to fix crashing xfce4-places-plugin with undefined symbol (patch cherry picked from upstream)
Diffstat (limited to 'xfce-extra/xfce4-places-plugin/files')
-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