Remove rest of Growl things which I forgot before

(cherry-picked from commit 783738b2f5)
This commit is contained in:
Martin Hrubý (hrubymar10) 2018-04-21 13:05:31 +02:00
parent c07b8ca798
commit 75d6df374d
4 changed files with 4 additions and 9 deletions

View file

@ -812,7 +812,6 @@ env.Alias("wesnoth-bundle",
Copy("${TARGET}/Contents/Resources/English.lproj", "projectfiles/Xcode/English.lproj"), Copy("${TARGET}/Contents/Resources/English.lproj", "projectfiles/Xcode/English.lproj"),
Copy("${TARGET}/Contents/Resources/fonts", "fonts"), Copy("${TARGET}/Contents/Resources/fonts", "fonts"),
Copy("${TARGET}/Contents/Resources/fonts.conf", "projectfiles/Xcode/Resources/fonts.conf"), Copy("${TARGET}/Contents/Resources/fonts.conf", "projectfiles/Xcode/Resources/fonts.conf"),
Copy("${TARGET}/Contents/Resources/Growl Registration Ticket.growlRegDict", "projectfiles/Xcode/Resources/Growl Registration Ticket.growlRegDict"),
Copy("${TARGET}/Contents/Resources/icon.icns", "projectfiles/Xcode/Resources/icon.icns"), Copy("${TARGET}/Contents/Resources/icon.icns", "projectfiles/Xcode/Resources/icon.icns"),
Copy("${TARGET}/Contents/Resources/images", "images"), Copy("${TARGET}/Contents/Resources/images", "images"),
Copy("${TARGET}/Contents/Resources/SDLMain.nib", "projectfiles/Xcode/Resources/SDLMain.nib"), Copy("${TARGET}/Contents/Resources/SDLMain.nib", "projectfiles/Xcode/Resources/SDLMain.nib"),

View file

@ -25,10 +25,6 @@ bool available() {
if(notificationClass) { if(notificationClass) {
return true; return true;
} }
notificationClass = NSClassFromString(@"GrowlApplicationBridge");
if(notificationClass) {
return true;
}
return false; return false;
} }

View file

@ -92,7 +92,7 @@ void send(const std::string& owner, const std::string& message, type t)
windows_tray_notification::show(notification_title, notification_message); windows_tray_notification::show(notification_title, notification_message);
#endif #endif
} }
#endif //end #else (defined(HAVE_LIBDBUS) || defined(HAVE_GROWL) || defined(_WIN32)) #endif //end #else (defined(HAVE_LIBDBUS) || defined(_WIN32))
} //end namespace notifications } //end namespace notifications

View file

@ -31,9 +31,9 @@ namespace notifications
* be issued. If there is no support for notifications, this fcn is a no-op. * be issued. If there is no support for notifications, this fcn is a no-op.
* *
* @note Currently we have support for dbus (linux), windows tray notifications, * @note Currently we have support for dbus (linux), windows tray notifications,
* and growl (Apple). To enable one of these, the corresponding compilation unit * and NSUserNotification (Apple). To enable one of these, the corresponding compilation unit
* dbus_notification.cpp, growl_notification.cpp, windows_tray_notification.cpp, * dbus_notification.cpp, apple_notification.cpp, windows_tray_notification.cpp,
* must be compiled, and the corresponding C++ symbol HAVE_LIBDBUS, HAVE_GROWL, * must be compiled, and the corresponding C++ symbol HAVE_LIBDBUS,
* _WIN32 must be defined for that compilation unit _and for this one_. * _WIN32 must be defined for that compilation unit _and for this one_.
*/ */
void send(const std::string& owner, const std::string& message, type t); void send(const std::string& owner, const std::string& message, type t);