summaryrefslogtreecommitdiff
path: root/src/lib/efreet
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-08 16:26:29 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-09 12:18:59 +0000
commit80d7f0b7c1b2816cc0e85661ea540df7df6d45ac (patch)
tree4629fb117fc527578dd73edf7e064669a8acb89c /src/lib/efreet
parenta0171db3f2eae0ac3c7231598fb2167807c9474f (diff)
efreet menu - only build internal cmp func if used in ifdefs
Diffstat (limited to 'src/lib/efreet')
-rw-r--r--src/lib/efreet/efreet_menu.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/efreet/efreet_menu.c b/src/lib/efreet/efreet_menu.c
index f3160b8b97..ee98808695 100644
--- a/src/lib/efreet/efreet_menu.c
+++ b/src/lib/efreet/efreet_menu.c
@@ -187,7 +187,9 @@ static int efreet_menu_cb_md_compare_ids(Efreet_Menu_Desktop *md, const char *na
187static int efreet_menu_cb_entry_compare_menu(Efreet_Menu *entry, Efreet_Menu_Internal *internal); 187static int efreet_menu_cb_entry_compare_menu(Efreet_Menu *entry, Efreet_Menu_Internal *internal);
188static int efreet_menu_cb_entry_compare_desktop(Efreet_Menu *entry, Efreet_Desktop *desktop); 188static int efreet_menu_cb_entry_compare_desktop(Efreet_Menu *entry, Efreet_Desktop *desktop);
189 189
190#ifndef STRICT_SPEC
190static int efreet_menu_cb_move_compare(Efreet_Menu_Move *move, const char *old); 191static int efreet_menu_cb_move_compare(Efreet_Menu_Move *move, const char *old);
192#endif
191 193
192static int efreet_menu_process(Efreet_Menu_Internal *internal, unsigned int only_unallocated); 194static int efreet_menu_process(Efreet_Menu_Internal *internal, unsigned int only_unallocated);
193static int efreet_menu_process_dirs(Efreet_Menu_Internal *internal); 195static int efreet_menu_process_dirs(Efreet_Menu_Internal *internal);
@@ -3741,6 +3743,7 @@ efreet_menu_cb_entry_compare_desktop(Efreet_Menu *entry, Efreet_Desktop *desktop
3741 return strcmp(entry->name, desktop->name); 3743 return strcmp(entry->name, desktop->name);
3742} 3744}
3743 3745
3746#ifndef STRICT_SPEC
3744static int 3747static int
3745efreet_menu_cb_move_compare(Efreet_Menu_Move *move, const char *old) 3748efreet_menu_cb_move_compare(Efreet_Menu_Move *move, const char *old)
3746{ 3749{
@@ -3748,6 +3751,7 @@ efreet_menu_cb_move_compare(Efreet_Menu_Move *move, const char *old)
3748 if (move->old_name == old) return 0; 3751 if (move->old_name == old) return 0;
3749 return 1; 3752 return 1;
3750} 3753}
3754#endif
3751 3755
3752static int 3756static int
3753efreet_menu_layout_is_empty(Efreet_Menu *entry) 3757efreet_menu_layout_is_empty(Efreet_Menu *entry)