commit 890531e45928766940d3e2c2f09130109153626f Author: Daniele Forsi <dfo...@src.gnome.org> Date: Sun Mar 25 17:15:05 2012 +0200
Fix visibility of enum GtkPodSortTypes (warnings by clang) Fixes: CC special_sorttab_page.lo In file included from special_sorttab_page.c:37: In file included from ./special_sorttab_page.h:33: ./sorttab_widget.h:108:53: warning: declaration of 'enum GtkPodSortTypes' will not be visible outside of this function void sort_tab_widget_sort(SortTabWidget *self, enum GtkPodSortTypes order); ^ 1 warning generated. CC special_sorttab_page_calendar.lo In file included from special_sorttab_page_calendar.c:36: ./sorttab_widget.h:108:53: warning: declaration of 'enum GtkPodSortTypes' will not be visible outside of this function void sort_tab_widget_sort(SortTabWidget *self, enum GtkPodSortTypes order); ^ 1 warning generated. CC sorttab_widget.lo CC display_sorttabs.lo CC sorttab_display_actions.lo In file included from sorttab_display_actions.c:38: In file included from ./display_sorttabs.h:36: ./sorttab_widget.h:108:53: warning: declaration of 'enum GtkPodSortTypes' will not be visible outside of this function void sort_tab_widget_sort(SortTabWidget *self, enum GtkPodSortTypes order); ^ 1 warning generated. plugins/sorttab_display/sorttab_widget.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) --- diff --git a/plugins/sorttab_display/sorttab_widget.h b/plugins/sorttab_display/sorttab_widget.h index 63ac5ef..04c4a62 100644 --- a/plugins/sorttab_display/sorttab_widget.h +++ b/plugins/sorttab_display/sorttab_widget.h @@ -30,6 +30,7 @@ #define SORT_TAB_WIDGET_H_ #include <gtk/gtk.h> +#include "libgtkpod/gp_private.h" #include "libgtkpod/gp_itdb.h" #include "sorttab_conversion.h" ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ gtkpod-cvs2 mailing list gtkpod-cvs2@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2