Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:PowerPC
gwget
gwget-libnotify-0.7.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gwget-libnotify-0.7.patch of Package gwget
Index: gwget-1.0.4/src/systray.c =================================================================== --- gwget-1.0.4.orig/src/systray.c +++ gwget-1.0.4/src/systray.c @@ -224,7 +224,12 @@ gwget_tray_notify (gchar *primary, gchar if (!notify_is_initted ()) if (!notify_init ("gwget")) return; - NotifyNotification *notification = notify_notification_new(primary,secondary,icon_name,NULL); + NotifyNotification *notification = notify_notification_new(primary,secondary,icon_name +#if NOTIFY_CHECK_VERSION (0, 7, 0) + ); +#else + , NULL); +#endif notify_notification_show(notification,NULL); #endif Index: gwget-1.0.4/src/systray.h =================================================================== --- gwget-1.0.4.orig/src/systray.h +++ gwget-1.0.4/src/systray.h @@ -12,6 +12,9 @@ extern "C" #endif #ifdef HAVE_NOTIFY #include <libnotify/notify.h> +#ifndef NOTIFY_CHECK_VERSION +#define NOTIFY_CHECK_VERSION(x,y,z) 0 +#endif #endif void systray_load(void);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor