commit 504bbdc826558bffa2b18a2843c2b4b189b2b667
Author: Daniele Forsi <df...@sr...>
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"
|