summaryrefslogtreecommitdiff
path: root/desktop/xfce4-places-plugin/0001-Bug-11939-xfce4-places-plugin-1.7.0-crashes-with-und.patch
blob: a94d9ea706f768e8ef18dc50ac52ab2ca5b1f751 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
From 94d583d0ba257cdc96cde5794ebb7d38001ae3a5 Mon Sep 17 00:00:00 2001
From: Andrzej <ndrwrdck@gmail.com>
Date: Tue, 7 Jul 2015 22:26:51 +0100
Subject: [PATCH] Bug 11939:  xfce4-places-plugin 1.7.0 crashes with undefined
 symbol

Patch from Fedora. Submitted by Kevin Fenzi.
---
 panel-plugin/model.h | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/panel-plugin/model.h b/panel-plugin/model.h
index 06d9d6f..043e391 100644
--- a/panel-plugin/model.h
+++ b/panel-plugin/model.h
@@ -36,13 +36,13 @@ struct _PlacesBookmarkAction
     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 @@ struct _PlacesBookmark
     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 @@ struct _PlacesBookmarkGroup
     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
-- 
2.6.4