2007-07-07 Xavier Claessens <xclaesse@gmail.com>
* libempathy-gtk/empathy-account-widget-generic.c: Workaround to fix a
commonly reported crash.
* libempathy/empathy-tp-group.c: Add a missing check.
svn path=/trunk/; revision=177
+2007-07-07 Xavier Claessens <xclaesse@gmail.com>
+
+ * libempathy-gtk/empathy-account-widget-generic.c: Workaround to fix a
+ commonly reported crash.
+ * libempathy/empathy-tp-group.c: Add a missing check.
+
2007-06-30 Xavier Claessens <xclaesse@gmail.com>
* configure.ac: Bump MC version required to 4.27.
profile = mc_account_get_profile (settings->account);
protocol = mc_profile_get_protocol (profile);
+
+ if (!protocol) {
+ /* The CM is not installed, MC shouldn't list them
+ * see SF bug #1688779
+ * FIXME: We should display something asking the user to
+ * install the CM
+ */
+ g_object_unref (profile);
+ return;
+ }
+
params = mc_protocol_get_params (protocol);
g_slist_foreach (params,
DBusGProxy *group_iface;
g_return_val_if_fail (TELEPATHY_IS_CHAN (tp_chan), NULL);
+ g_return_val_if_fail (TELEPATHY_IS_CONN (tp_conn), NULL);
group_iface = tp_chan_get_interface (tp_chan,
TELEPATHY_CHAN_IFACE_GROUP_QUARK);