[Xfce4-commits] [panel-plugins/xfce4-places-plugin] 21/30: Drop inline function definitions
noreply at xfce.org
noreply at xfce.org
Mon Apr 22 12:08:12 CEST 2019
This is an automated email from the git hooks/post-receive script.
b l u e s a b r e p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository panel-plugins/xfce4-places-plugin.
commit f3cab0432ce17fd407eaac7577f97513bc56b6b6
Author: Sean Davis <smd.seandavis at gmail.com>
Date: Sun Apr 21 07:01:41 2019 -0400
Drop inline function definitions
---
panel-plugin/model.c | 20 ++++++++++----------
panel-plugin/model.h | 18 +++++++++---------
2 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/panel-plugin/model.c b/panel-plugin/model.c
index 247243b..3cd6ead 100644
--- a/panel-plugin/model.c
+++ b/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 *label)
return action;
}
-inline void
+void
places_bookmark_action_destroy(PlacesBookmarkAction *act)
{
g_assert(act != NULL);
@@ -51,7 +51,7 @@ places_bookmark_action_destroy(PlacesBookmarkAction *act)
g_free(act);
}
-inline void
+void
places_bookmark_action_call(PlacesBookmarkAction *act)
{
g_assert(act != NULL);
@@ -66,7 +66,7 @@ places_bookmark_action_call(PlacesBookmarkAction *act)
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 *actions)
g_list_free(actions);
}
-inline void
+void
places_bookmark_destroy(PlacesBookmark *bookmark)
{
g_assert(bookmark != NULL);
@@ -121,7 +121,7 @@ places_bookmark_destroy(PlacesBookmark *bookmark)
/********** 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(PlacesBookmarkGroup *pbg)
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(PlacesBookmarkGroup *pbg)
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)
diff --git a/panel-plugin/model.h b/panel-plugin/model.h
index 043e391..f26aa95 100644
--- a/panel-plugin/model.h
+++ b/panel-plugin/model.h
@@ -36,13 +36,13 @@ struct _PlacesBookmarkAction
void (*finalize) (PlacesBookmarkAction *self);
};
-extern inline PlacesBookmarkAction*
+extern PlacesBookmarkAction*
places_bookmark_action_create(gchar *label);
-extern inline void
+extern void
places_bookmark_action_destroy(PlacesBookmarkAction*);
-extern inline void
+extern void
places_bookmark_action_call(PlacesBookmarkAction*);
/* Places Bookmark */
@@ -70,10 +70,10 @@ struct _PlacesBookmark
void (*finalize) (PlacesBookmark *self);
};
-extern inline PlacesBookmark*
+extern PlacesBookmark*
places_bookmark_create(gchar *label);
-extern inline void
+extern void
places_bookmark_destroy(PlacesBookmark *bookmark);
/* Places Bookmark Group */
@@ -86,16 +86,16 @@ struct _PlacesBookmarkGroup
gpointer priv;
};
-extern inline GList*
+extern GList*
places_bookmark_group_get_bookmarks(PlacesBookmarkGroup*);
-extern inline gboolean
+extern gboolean
places_bookmark_group_changed(PlacesBookmarkGroup*);
-extern inline PlacesBookmarkGroup*
+extern PlacesBookmarkGroup*
places_bookmark_group_create();
-extern inline void
+extern void
places_bookmark_group_destroy(PlacesBookmarkGroup*);
#endif
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list