source: trunk/dports/xfce/xfdesktop/files/patch-remove-g_inline_func.diff @ 40499

Last change on this file since 40499 was 40499, checked in by afb@…, 12 years ago

remove inline from desktop_menuspec_path_free (#16581)

File size: 1.4 KB
  • modules/menu/desktop-menuspec.h

     
    8282 * @param paths A GPtrArray obtained from either menuspec_get_path_simple() or
    8383 *              menuspec_get_path_multilevel().
    8484 */
    85 G_INLINE_FUNC void desktop_menuspec_path_free(GPtrArray *paths);
     85void desktop_menuspec_path_free(GPtrArray *paths);
    8686
    8787#endif /* ifdef __MENUSPEC_H__ */
  • modules/menu/desktop-menu-dentry.c

     
    5959#define CATEGORIES_FILE "xfce-registered-categories.xml"
    6060
    6161static void menu_dentry_legacy_init();
    62 G_INLINE_FUNC gboolean menu_dentry_legacy_need_update(XfceDesktopMenu *desktop_menu);
    6362static void menu_dentry_legacy_add_all(XfceDesktopMenu *desktop_menu,
    6463        MenuPathType pathtype);
    6564
     
    8786static GHashTable *dir_to_cat = NULL;
    8887
    8988/* we don't want most command-line parameters if they're given. */
    90 G_INLINE_FUNC gchar *
     89static inline gchar *
    9190_sanitise_dentry_cmd(gchar *cmd)
    9291{
    9392    gchar *p;
     
    101100    return cmd;
    102101}
    103102
    104 G_INLINE_FUNC gint
     103static inline gint
    105104_get_path_depth(const gchar *path)
    106105{
    107106    gchar *p;
Note: See TracBrowser for help on using the repository browser.