If libnotify isn't initialized properly the app_name won't be set, causing it
to eventually pass NULL for a string value to GVariant. Which nicely results in
a SEGV.
#include <glib/gi18n.h>
#include <gtk/gtk.h>
+#include <libnotify/notify.h>
+
#include <telepathy-glib/debug-sender.h>
#include <libempathy/empathy-idle.h>
gtk_window_set_default_icon_name ("empathy");
textdomain (GETTEXT_PACKAGE);
+ notify_init (_(PACKAGE_NAME));
+
app = gtk_application_new (EMPATHY_CHAT_DBUS_NAME, G_APPLICATION_FLAGS_NONE);
g_signal_connect (app, "activate", G_CALLBACK (activate_cb), NULL);
g_object_unref (debug_sender);
#endif
+ notify_uninit ();
+
return retval;
}