[40499] trunk/dports/xfce/xfdesktop

afb at macports.org afb at macports.org
Sat Oct 4 00:16:31 PDT 2008


Revision: 40499
          http://trac.macports.org/changeset/40499
Author:   afb at macports.org
Date:     2008-10-04 00:16:30 -0700 (Sat, 04 Oct 2008)
Log Message:
-----------
remove inline from desktop_menuspec_path_free (#16581)

Modified Paths:
--------------
    trunk/dports/xfce/xfdesktop/Portfile

Added Paths:
-----------
    trunk/dports/xfce/xfdesktop/files/
    trunk/dports/xfce/xfdesktop/files/patch-remove-g_inline_func.diff

Modified: trunk/dports/xfce/xfdesktop/Portfile
===================================================================
--- trunk/dports/xfce/xfdesktop/Portfile	2008-10-03 22:50:06 UTC (rev 40498)
+++ trunk/dports/xfce/xfdesktop/Portfile	2008-10-04 07:16:30 UTC (rev 40499)
@@ -4,6 +4,7 @@
 
 name		xfdesktop
 version		4.4.2
+revision	1
 categories	xfce
 platforms	darwin
 maintainers	afb at macports.org
@@ -20,3 +21,5 @@
 		port:Thunar port:libxfcegui4
 
 depends_build   port:xfce4-panel port:xfce-mcs-manager
+
+patchfiles	patch-remove-g_inline_func.diff

Added: trunk/dports/xfce/xfdesktop/files/patch-remove-g_inline_func.diff
===================================================================
--- trunk/dports/xfce/xfdesktop/files/patch-remove-g_inline_func.diff	                        (rev 0)
+++ trunk/dports/xfce/xfdesktop/files/patch-remove-g_inline_func.diff	2008-10-04 07:16:30 UTC (rev 40499)
@@ -0,0 +1,42 @@
+Index: modules/menu/desktop-menuspec.h
+===================================================================
+--- modules/menu/desktop-menuspec.h	(revision 27203)
++++ modules/menu/desktop-menuspec.h	(revision 27204)
+@@ -82,6 +82,6 @@
+  * @param paths A GPtrArray obtained from either menuspec_get_path_simple() or
+  *              menuspec_get_path_multilevel().
+  */
+-G_INLINE_FUNC void desktop_menuspec_path_free(GPtrArray *paths);
++void desktop_menuspec_path_free(GPtrArray *paths);
+ 
+ #endif /* ifdef __MENUSPEC_H__ */
+Index: modules/menu/desktop-menu-dentry.c
+===================================================================
+--- modules/menu/desktop-menu-dentry.c	(revision 27203)
++++ modules/menu/desktop-menu-dentry.c	(revision 27204)
+@@ -59,7 +59,6 @@
+ #define CATEGORIES_FILE "xfce-registered-categories.xml"
+ 
+ static void menu_dentry_legacy_init();
+-G_INLINE_FUNC gboolean menu_dentry_legacy_need_update(XfceDesktopMenu *desktop_menu);
+ static void menu_dentry_legacy_add_all(XfceDesktopMenu *desktop_menu,
+         MenuPathType pathtype);
+ 
+@@ -87,7 +86,7 @@
+ static GHashTable *dir_to_cat = NULL;
+ 
+ /* we don't want most command-line parameters if they're given. */
+-G_INLINE_FUNC gchar *
++static inline gchar *
+ _sanitise_dentry_cmd(gchar *cmd)
+ {
+     gchar *p;
+@@ -101,7 +100,7 @@
+     return cmd;
+ }
+ 
+-G_INLINE_FUNC gint
++static inline gint
+ _get_path_depth(const gchar *path)
+ {
+     gchar *p;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20081004/24097dec/attachment.html 


More information about the macports-changes mailing list