diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2013-01-03 20:04:38 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2013-01-03 20:08:05 +0800 |
commit | 12b23410bd90309789d3f3b5206f0cde015c31b0 (patch) | |
tree | 1f4f50b3828d7db65469253563599a31992f7b0a /libempathy-gtk/empathy-notify-manager.c | |
parent | 079d54dd90b551a5ca520a244fc93933d13d942d (diff) | |
download | gsoc2013-empathy-12b23410bd90309789d3f3b5206f0cde015c31b0.tar gsoc2013-empathy-12b23410bd90309789d3f3b5206f0cde015c31b0.tar.gz gsoc2013-empathy-12b23410bd90309789d3f3b5206f0cde015c31b0.tar.bz2 gsoc2013-empathy-12b23410bd90309789d3f3b5206f0cde015c31b0.tar.lz gsoc2013-empathy-12b23410bd90309789d3f3b5206f0cde015c31b0.tar.xz gsoc2013-empathy-12b23410bd90309789d3f3b5206f0cde015c31b0.tar.zst gsoc2013-empathy-12b23410bd90309789d3f3b5206f0cde015c31b0.zip |
factor out empathy_notify_manager_create_notification()
https://bugzilla.gnome.org/show_bug.cgi?id=691043
Diffstat (limited to 'libempathy-gtk/empathy-notify-manager.c')
-rw-r--r-- | libempathy-gtk/empathy-notify-manager.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-notify-manager.c b/libempathy-gtk/empathy-notify-manager.c index 250354282..89ab3c1c8 100644 --- a/libempathy-gtk/empathy-notify-manager.c +++ b/libempathy-gtk/empathy-notify-manager.c @@ -216,3 +216,15 @@ empathy_notify_manager_notification_is_enabled (EmpathyNotifyManager *self) return TRUE; } + +NotifyNotification * +empathy_notify_manager_create_notification (const gchar *summary, + const char *body, + const gchar *icon) +{ + NotifyNotification *notification; + + notification = notify_notification_new (summary, body, icon); + + return notification; +} |