diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2013-10-09 21:33:15 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2013-10-09 21:33:15 -0500 |
commit | a52e3b86ee0dbce56221d1327c6c62a6d8e163e3 (patch) | |
tree | 2c8eb7d9673683d2917989dbdb06ef91867758c3 /src/main.c | |
parent | b6b0c140f922385d947fa12dfff179a5491a1722 (diff) | |
download | ayatana-indicator-datetime-a52e3b86ee0dbce56221d1327c6c62a6d8e163e3.tar.gz ayatana-indicator-datetime-a52e3b86ee0dbce56221d1327c6c62a6d8e163e3.tar.bz2 ayatana-indicator-datetime-a52e3b86ee0dbce56221d1327c6c62a6d8e163e3.zip |
preliminary implementation of snap decision
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -24,6 +24,7 @@ #include <glib/gi18n.h> #include <gio/gio.h> +#include <libnotify/notify.h> #include "planner-eds.h" #include "planner-mock.h" @@ -52,6 +53,11 @@ main (int argc G_GNUC_UNUSED, char ** argv G_GNUC_UNUSED) bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR); textdomain (GETTEXT_PACKAGE); + /* init libnotify */ + if (!notify_init ("indicator-datetime-service")) + g_critical ("libnotify initialization failed"); + + /* get the planner */ if (g_getenv ("INDICATOR_DATETIME_USE_FAKE_PLANNER") != NULL) { |