~ubuntu-branches/ubuntu/oneiric/libtelepathy/oneiric

« back to all changes in this revision

Viewing changes to debian/patches/10-unref-type-iface-when-destroying-channel.patch

  • Committer: Bazaar Package Importer
  • Author(s): Sjoerd Simons
  • Date: 2007-03-12 11:43:26 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20070312114326-v4aezxb6sr8utds1
Tags: 0.0.51-2
Bump shlibs

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
diff -Nur libtelepathy-0.0.41/src/tp-chan.c libtelepathy-0.0.41.new/src/tp-chan.c
2
 
--- libtelepathy-0.0.41/src/tp-chan.c   2006-12-28 15:36:01.000000000 +0100
3
 
+++ libtelepathy-0.0.41.new/src/tp-chan.c       2007-01-12 20:01:29.000000000 +0100
4
 
@@ -526,8 +526,8 @@
5
 
     DBusGProxy *chan_proxy =
6
 
       dbus_g_proxy_new_from_proxy(DBUS_G_PROXY(self), chan_type, NULL);
7
 
 
8
 
-    g_datalist_id_set_data(&(self->interface_list),
9
 
-        g_quark_from_string(chan_type), chan_proxy);
10
 
+    g_datalist_id_set_data_full(&(self->interface_list),
11
 
+        g_quark_from_string(chan_type), chan_proxy, g_object_unref);
12
 
 
13
 
     /* If the particular channel type interface has signals defined,
14
 
        call the corresponding setter function */