~ubuntu-branches/ubuntu/natty/empathy/natty-updates

« back to all changes in this revision

Viewing changes to debian/patches/00_set_null_presence_message.patch

  • Committer: Bazaar Package Importer
  • Author(s): Sjoerd Simons
  • Date: 2008-03-10 16:39:07 UTC
  • mfrom: (1.1.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20080310163907-tv41g2zmf0qqgi85
Tags: 0.22.0-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
commit 94cde42c3f7800a0b3f63feff88e659ebc99afc7
2
 
Author: Sjoerd Simons <sjoerd@luon.net>
3
 
Date:   Sun Feb 10 12:26:46 2008 +0100
4
 
 
5
 
    EmpathyTpContactFactory: If the presence dict doesn't contain a presence-message set the presence message to NULL
6
 
 
7
 
diff --git a/libempathy/empathy-tp-contact-factory.c b/libempathy/empathy-tp-contact-factory.c
8
 
index 14d2640..7748252 100644
9
 
--- a/libempathy/empathy-tp-contact-factory.c
10
 
+++ b/libempathy/empathy-tp-contact-factory.c
11
 
@@ -122,6 +122,8 @@ tp_contact_factory_presences_table_foreach (const gchar    *state_str,
12
 
        if (message != NULL) {
13
 
                empathy_contact_set_presence_message (contact,
14
 
                                                      g_value_get_string (message));
15
 
+       } else {
16
 
+               empathy_contact_set_presence_message (contact, NULL);
17
 
        }
18
 
 }
19