Magellan Linux

Contents of /trunk/notify-python/patches/notify-python-1.1-libnotify07.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1413 - (show annotations) (download)
Thu Jul 14 13:11:30 2011 UTC (12 years, 9 months ago) by niro
File size: 1033 byte(s)
added patch to fix build against libnotify-0.7
1 diff -up notify-python-0.1.1/src/pynotify.defs.notify070 notify-python-0.1.1/src/pynotify.defs
2 --- notify-python-0.1.1/src/pynotify.defs.notify070 2010-11-02 17:11:14.928179237 -0400
3 +++ notify-python-0.1.1/src/pynotify.defs 2010-11-02 17:11:51.153180231 -0400
4 @@ -38,7 +38,6 @@
5 '("const-gchar*" "summary")
6 '("const-gchar*" "message" (null-ok) (default "NULL"))
7 '("const-gchar*" "icon" (null-ok) (default "NULL"))
8 - '("GtkWidget*" "attach" (null-ok) (default "NULL"))
9 )
10 )
11
12 @@ -53,24 +52,6 @@
13 )
14 )
15
16 -(define-method attach_to_widget
17 - (of-object "NotifyNotification")
18 - (c-name "notify_notification_attach_to_widget")
19 - (return-type "none")
20 - (parameters
21 - '("GtkWidget*" "attach")
22 - )
23 -)
24 -
25 -(define-method attach_to_status_icon
26 - (of-object "NotifyNotification")
27 - (c-name "notify_notification_attach_to_status_icon")
28 - (return-type "none")
29 - (parameters
30 - '("GtkStatusIcon*" "attach")
31 - )
32 -)
33 -
34 (define-method show
35 (of-object "NotifyNotification")
36 (c-name "notify_notification_show")