~bcurtiswx/ubuntu/precise/empathy/3.4.2.1-0ubuntu1

« back to all changes in this revision

Viewing changes to src/empathy-chat.c

  • Committer: Package Import Robot
  • Author(s): Ken VanDine
  • Date: 2012-03-05 15:14:36 UTC
  • mfrom: (1.1.87)
  • Revision ID: package-import@ubuntu.com-20120305151436-utnrdabb2ppp3kw1
Tags: 3.3.90.2-0ubuntu1
* New upstream release
* debian/control
  - added yelp-tools and libfarstream-0.1-dev build depends
  - bump build depends on libtelepathy-farstream-dev, and 
    libtelepathy-glib-dev
  - bumpded depends for telepathy-mission-control-5
  - removed telepathy-butterfly recommends, mission-control-5 ensures 
    telepathy-haze handles MSN now.
* debian/rules
  - enable empathy-av 

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
#include <telepathy-glib/debug-sender.h>
32
32
 
33
33
#include <libempathy/empathy-presence-manager.h>
 
34
#include <libempathy/empathy-individual-manager.h>
34
35
 
35
36
#include <libempathy-gtk/empathy-theme-manager.h>
36
37
#include <libempathy-gtk/empathy-ui-utils.h>
100
101
  EmpathyPresenceManager *presence_mgr;
101
102
  EmpathyThemeManager *theme_mgr;
102
103
  gint retval;
 
104
  EmpathyIndividualManager *individual_mgr;
103
105
 
104
106
  /* Init */
105
107
  g_thread_init (NULL);
143
145
  /* Keep the theme manager alive as it does some caching */
144
146
  theme_mgr = empathy_theme_manager_dup_singleton ();
145
147
 
 
148
  /* Keep the individual manager alive so we won't fetch everything from Folks
 
149
   * each time we need to use it. */
 
150
  individual_mgr = empathy_individual_manager_dup_singleton ();
 
151
 
146
152
  if (g_getenv ("EMPATHY_PERSIST") != NULL)
147
153
    {
148
154
      DEBUG ("Disable timer");
163
169
  g_object_unref (presence_mgr);
164
170
  g_object_unref (theme_mgr);
165
171
  tp_clear_object (&chat_mgr);
 
172
  g_object_unref (individual_mgr);
166
173
 
167
174
#ifdef ENABLE_DEBUG
168
175
  g_object_unref (debug_sender);