[empathy: 3/7] empathy.c: instantiate a EmpathyNotificationsApprover
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy: 3/7] empathy.c: instantiate a EmpathyNotificationsApprover
- Date: Thu, 25 Nov 2010 09:26:09 +0000 (UTC)
commit 43ed05000e87ed2798ab3bc222cc381b2859885f
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Mon Nov 22 12:53:17 2010 +0100
empathy.c: instantiate a EmpathyNotificationsApprover
src/empathy.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy.c b/src/empathy.c
index 7a66d2d..357b47e 100644
--- a/src/empathy.c
+++ b/src/empathy.c
@@ -65,6 +65,7 @@
#include "empathy-accounts-dialog.h"
#include "empathy-status-icon.h"
#include "empathy-ft-manager.h"
+#include "empathy-notifications-approver.h"
#include "extensions/extensions.h"
@@ -116,6 +117,7 @@ struct _EmpathyApp
EmpathyIdle *idle;
EmpathyConnectivity *connectivity;
GSettings *gsettings;
+ EmpathyNotificationsApprover *notifications_approver;
#ifdef HAVE_GEOCLUE
EmpathyLocationManager *location_manager;
#endif
@@ -155,6 +157,7 @@ empathy_app_dispose (GObject *object)
#endif
tp_clear_object (&self->ft_factory);
tp_clear_object (&self->gsettings);
+ tp_clear_object (&self->notifications_approver);
if (dispose != NULL)
dispose (object);
@@ -258,6 +261,9 @@ empathy_app_command_line (GApplication *app,
gtk_widget_show (self->window);
self->icon = empathy_status_icon_new (GTK_WINDOW (self->window),
self->start_hidden);
+
+ self->notifications_approver =
+ empathy_notifications_approver_dup_singleton ();
}
else
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]