diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-11-12 21:25:23 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-11-13 19:37:18 +0800 |
commit | e5b71631aacf92ba8d242e0a3e3763555b8c751c (patch) | |
tree | 6d69a5753ec8e2406bec8aa1def606bc0d01469f /libempathy-gtk | |
parent | ab3c9ccb3c468f03ddc790bb2e5a84845684bfc5 (diff) | |
download | gsoc2013-empathy-e5b71631aacf92ba8d242e0a3e3763555b8c751c.tar gsoc2013-empathy-e5b71631aacf92ba8d242e0a3e3763555b8c751c.tar.gz gsoc2013-empathy-e5b71631aacf92ba8d242e0a3e3763555b8c751c.tar.bz2 gsoc2013-empathy-e5b71631aacf92ba8d242e0a3e3763555b8c751c.tar.lz gsoc2013-empathy-e5b71631aacf92ba8d242e0a3e3763555b8c751c.tar.xz gsoc2013-empathy-e5b71631aacf92ba8d242e0a3e3763555b8c751c.tar.zst gsoc2013-empathy-e5b71631aacf92ba8d242e0a3e3763555b8c751c.zip |
change empathy_notification_is_enabled to empathy_notify_manager_notification_is_enabled
Making it a method of EmpathyNotifyManager would allow us to cache the
gconf values if we want to.
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-notify-manager.c | 2 | ||||
-rw-r--r-- | libempathy-gtk/empathy-notify-manager.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-notify-manager.c b/libempathy-gtk/empathy-notify-manager.c index 7954dd9c7..ffcc34f48 100644 --- a/libempathy-gtk/empathy-notify-manager.c +++ b/libempathy-gtk/empathy-notify-manager.c @@ -162,7 +162,7 @@ empathy_notify_manager_get_pixbuf_for_notification (EmpathyNotifyManager *self, } gboolean -empathy_notification_is_enabled (void) +empathy_notify_manager_notification_is_enabled (EmpathyNotifyManager *self) { EmpathyConf *conf; gboolean res; diff --git a/libempathy-gtk/empathy-notify-manager.h b/libempathy-gtk/empathy-notify-manager.h index 15740468e..4faa13b35 100644 --- a/libempathy-gtk/empathy-notify-manager.h +++ b/libempathy-gtk/empathy-notify-manager.h @@ -82,7 +82,8 @@ EmpathyNotifyManager * empathy_notify_manager_dup_singleton (void); gboolean empathy_notify_manager_has_capability (EmpathyNotifyManager *self, const gchar *capa); -gboolean empathy_notification_is_enabled (void); +gboolean empathy_notify_manager_notification_is_enabled ( + EmpathyNotifyManager *self); GdkPixbuf * empathy_notify_manager_get_pixbuf_for_notification ( EmpathyNotifyManager *self, |