summaryrefslogtreecommitdiff
path: root/x11/xfce4-places-plugin/patches/patch-panel-plugin_model.c
blob: d3ff7850a25727f039bf68c2620b3fe4de40de8f (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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
$NetBSD: patch-panel-plugin_model.c,v 1.2 2015/04/21 08:56:45 jperkin Exp $

Fix inline use.
--- panel-plugin/model.c.orig	2012-09-01 17:20:59.000000000 +0000
+++ panel-plugin/model.c
@@ -29,7 +29,7 @@
 
 /********** PlacesBookmarkAction **********/
 
-inline PlacesBookmarkAction*
+PlacesBookmarkAction*
 places_bookmark_action_create(gchar *label)
 {
     PlacesBookmarkAction *action;
@@ -40,7 +40,7 @@ places_bookmark_action_create(gchar *lab
     return action;
 }
 
-inline void
+void
 places_bookmark_action_destroy(PlacesBookmarkAction *act)
 {
     g_assert(act != NULL);
@@ -51,7 +51,7 @@ places_bookmark_action_destroy(PlacesBoo
     g_free(act);
 }
 
-inline void
+void
 places_bookmark_action_call(PlacesBookmarkAction *act)
 {
     g_assert(act != NULL);
@@ -66,7 +66,7 @@ places_bookmark_action_call(PlacesBookma
 static int bookmarks = 0;
 #endif
 
-inline PlacesBookmark*
+PlacesBookmark*
 places_bookmark_create(gchar *label)
 {
     PlacesBookmark *bookmark;
@@ -81,7 +81,7 @@ places_bookmark_create(gchar *label)
     return bookmark;
 }
 
-static inline void
+static void
 places_bookmark_actions_destroy(GList *actions)
 {
     while(actions != NULL){
@@ -92,7 +92,7 @@ places_bookmark_actions_destroy(GList *a
     g_list_free(actions);
 }
 
-inline void
+void
 places_bookmark_destroy(PlacesBookmark *bookmark)
 {
     g_assert(bookmark != NULL);
@@ -121,7 +121,7 @@ places_bookmark_destroy(PlacesBookmark *
 
 /********** PlacesBookmarkGroup **********/
 
-inline GList*
+GList*
 places_bookmark_group_get_bookmarks(PlacesBookmarkGroup *pbg)
 {
     g_assert(pbg->get_bookmarks != NULL);
@@ -129,7 +129,7 @@ places_bookmark_group_get_bookmarks(Plac
     return pbg->get_bookmarks(pbg);
 }
 
-inline gboolean
+gboolean
 places_bookmark_group_changed(PlacesBookmarkGroup *pbg)
 {
     g_assert(pbg->changed != NULL);
@@ -137,7 +137,7 @@ places_bookmark_group_changed(PlacesBook
     return pbg->changed(pbg);
 }
 
-inline PlacesBookmarkGroup*
+PlacesBookmarkGroup*
 places_bookmark_group_create(void)
 {
     PlacesBookmarkGroup *bookmark_group;
@@ -146,7 +146,7 @@ places_bookmark_group_create(void)
     return bookmark_group;
 }
 
-inline void
+void
 places_bookmark_group_destroy(PlacesBookmarkGroup *pbg)
 {
     if(pbg->finalize != NULL)