summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2014-04-29 22:20:51 +0200
committerMichael Biebl <biebl@debian.org>2014-04-29 22:20:51 +0200
commit282a352dff49c13e185d826af2a248b55988bc32 (patch)
tree294b865b59e0966c845b08bbbf7519ef9641d5b2
parentbd1d89779b749587c1b3b0a73e2f25c468227ccb (diff)
Fix ambiguity between `GLib.Notification' and `Notify.Notification'
Notification is both defined by Notify and the latest GLib, resulting in a build failure. Use Notify.Notification instead to avoid this ambiguity. Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746130
-rw-r--r--src/gnome-ask-password-agent.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gnome-ask-password-agent.vala b/src/gnome-ask-password-agent.vala
index 571cd949..f3887ddb 100644
--- a/src/gnome-ask-password-agent.vala
+++ b/src/gnome-ask-password-agent.vala
@@ -80,7 +80,7 @@ public class MyStatusIcon : StatusIcon {
string socket;
PasswordDialog password_dialog;
- Notification n;
+ Notify.Notification n;
public MyStatusIcon() throws GLib.Error {
GLib.Object(icon_name : "dialog-password");
@@ -183,7 +183,7 @@ public class MyStatusIcon : StatusIcon {
}
set_from_icon_name(icon);
- n = new Notification(title, message, icon);
+ n = new Notify.Notification(title, message, icon);
n.set_timeout(5000);
n.closed.connect(() => {
set_visible(true);