tag 388813 + patch thanks The enclosed patch fixes the build of stardict with GCC 4.2 (the compiler is now more strict about enforcing visibility requirements for static member functions). If desired I can prepare a NMU with this fix in it?
Thanks. -- "You grabbed my hand and we fell into it, like a daydream - or a fever."
--- stardict-2.4.8.orig/src/mainwin.h 2006-06-30 06:29:34.000000000 +0100 +++ stardict-2.4.8/src/mainwin.h 2007-07-15 13:25:18.000000000 +0100 @@ -13,6 +13,8 @@ const int MIN_WINDOW_WIDTH=200; const int MIN_WINDOW_HEIGHT=100; +class AppCore; + enum TextWinQueryResult { TEXT_WIN_FOUND, @@ -68,10 +70,13 @@ static void on_main_menu_about_activate(GtkMenuItem *menuitem, TopWin *oTopWin); static void on_main_menu_quit_activate(GtkMenuItem *menuitem, TopWin *oTopWin); - static void ClipboardReceivedCallback(GtkClipboard *clipboard, const gchar *text, gpointer data); - void LoadHistory(void); void SaveHistory(void); + +protected: + friend class AppCore; + static void ClipboardReceivedCallback(GtkClipboard *clipboard, const gchar *text, gpointer data); + public: GtkWidget* WordCombo; GtkWidget* MainMenu;
signature.asc
Description: Digital signature