diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2008-04-11 23:00:41 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-04-11 23:00:41 +0800 |
commit | 901afd4a6dd06fef9292a984f3288e3d342959da (patch) | |
tree | bce947326bc3b828c7c291935d90ab6e11eaa3d6 /libempathy | |
parent | e966626b1116797d2f8f2f92ca5e533d102364b1 (diff) | |
download | gsoc2013-empathy-901afd4a6dd06fef9292a984f3288e3d342959da.tar gsoc2013-empathy-901afd4a6dd06fef9292a984f3288e3d342959da.tar.gz gsoc2013-empathy-901afd4a6dd06fef9292a984f3288e3d342959da.tar.bz2 gsoc2013-empathy-901afd4a6dd06fef9292a984f3288e3d342959da.tar.lz gsoc2013-empathy-901afd4a6dd06fef9292a984f3288e3d342959da.tar.xz gsoc2013-empathy-901afd4a6dd06fef9292a984f3288e3d342959da.tar.zst gsoc2013-empathy-901afd4a6dd06fef9292a984f3288e3d342959da.zip |
Fix some warnings
svn path=/trunk/; revision=926
Diffstat (limited to 'libempathy')
-rw-r--r-- | libempathy/empathy-tp-call.c | 4 | ||||
-rw-r--r-- | libempathy/empathy-tp-group.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libempathy/empathy-tp-call.c b/libempathy/empathy-tp-call.c index 473004c2d..ae5f83f1c 100644 --- a/libempathy/empathy-tp-call.c +++ b/libempathy/empathy-tp-call.c @@ -498,7 +498,7 @@ tp_call_constructor (GType type, if (empathy_tp_group_is_ready (priv->group)) tp_call_group_ready_cb (call); else - g_signal_connect_swapped (priv->group, "ready", + g_signal_connect_swapped (priv->group, "notify::ready", G_CALLBACK (tp_call_group_ready_cb), call); /* Start stream engine */ @@ -616,7 +616,7 @@ empathy_tp_call_class_init (EmpathyTpCallClass *klass) g_object_class_install_property (object_class, PROP_CHANNEL, g_param_spec_object ("channel", "channel", "channel", - TELEPATHY_CHAN_TYPE, + TP_TYPE_CHANNEL, G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); g_object_class_install_property (object_class, PROP_CONTACT, diff --git a/libempathy/empathy-tp-group.c b/libempathy/empathy-tp-group.c index 675854b27..f09d8ce1b 100644 --- a/libempathy/empathy-tp-group.c +++ b/libempathy/empathy-tp-group.c @@ -967,7 +967,7 @@ empathy_tp_group_get_invitation (EmpathyTpGroup *group, } if (remote_contact) { - *remote_contact = contact; + *remote_contact = g_object_ref (contact); } return invitation; |