~ubuntu-branches/ubuntu/quantal/libtelepathy/quantal

« 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): Daniel Holbach
  • Date: 2007-01-12 20:01:40 UTC
  • Revision ID: james.westby@ubuntu.com-20070112200140-e56e34tw19x24hd6
Tags: 0.0.41-0ubuntu2
* debian/patches/10-unref-type-iface-when-destroying-channel.patch:
  - fix https://bugs.freedesktop.org/show_bug.cgi?id=9579

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 */