Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:vuntz:Attic_12.1
gnome-docker
gnome-docker-libnotify0.7.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gnome-docker-libnotify0.7.patch of Package gnome-docker
Index: gnome-docker-0.1/src/gd-notify.c =================================================================== --- gnome-docker-0.1.orig/src/gd-notify.c +++ gnome-docker-0.1/src/gd-notify.c @@ -11,7 +11,12 @@ # include "config.h" #endif /* HAVE_CONFIG_H */ +#include <gtk/gtk.h> #include <libnotify/notify.h> +#ifndef NOTIFY_CHECK_VERSION +#define NOTIFY_CHECK_VERSION(x,y,z) 0 +#endif + #include "gd-notify.h" @@ -29,7 +34,12 @@ static void gd_notify(const char *summar notify_init("gnome-docker"); notify_icon = GTK_STOCK_NETWORK; - notify = notify_notification_new (summary, body, notify_icon, NULL); + notify = notify_notification_new (summary, body, notify_icon +#if NOTIFY_CHECK_VERSION (0, 7, 0) + ); +#else + , NULL); +#endif notify_notification_set_urgency(notify, urgency); notify_notification_show(notify, NULL); }
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