pidgin: 503c61f4: Remove code that tried to show the buddy...
sadrul at pidgin.im
sadrul at pidgin.im
Fri Apr 25 16:40:54 EDT 2008
-----------------------------------------------------------------
Revision: 503c61f4fb406b82adcdbb0f209ba58a4e7f5954
Ancestor: 006a7eef54129319c82b282c765b3fbba968006f
Author: sadrul at pidgin.im
Date: 2008-04-25T20:35:32
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/503c61f4fb406b82adcdbb0f209ba58a4e7f5954
Modified files:
libpurple/core.c
ChangeLog:
Remove code that tried to show the buddylist from the core (but didn't
work in pidgin). I think 006a7eef is a better way of doing it.
-------------- next part --------------
============================================================
--- libpurple/core.c 2e17c7fa3e5713ac7b4ba4aacc7000d705b02be2
+++ libpurple/core.c 727eb32e4bd785f46eaef1ad51793997803fc5fd
@@ -323,25 +323,6 @@ static char *purple_dbus_owner_user_dir(
return remote_user_dir;
}
-static void purple_dbus_owner_show_buddy_list(void)
-{
- DBusError dbus_error;
- DBusMessage *msg = NULL, *reply = NULL;
- DBusConnection *dbus_connection = NULL;
-
- if ((dbus_connection = purple_dbus_get_connection()) == NULL)
- return;
-
- if ((msg = dbus_message_new_method_call(DBUS_SERVICE_PURPLE, DBUS_PATH_PURPLE, DBUS_INTERFACE_PURPLE, "PurpleBlistShow")) == NULL)
- return;
-
- dbus_error_init(&dbus_error);
- if ((reply = dbus_connection_send_with_reply_and_block(dbus_connection, msg, 5000, &dbus_error)) != NULL)
- {
- dbus_message_unref(msg);
- }
- dbus_error_free(&dbus_error);
-}
#endif /* HAVE_DBUS */
gboolean
@@ -366,9 +347,6 @@ purple_core_ensure_single_instance()
else
is_single_instance = strcmp(dbus_owner_user_dir, user_dir);
- if (!is_single_instance)
- purple_dbus_owner_show_buddy_list();
-
g_free(dbus_owner_user_dir);
}
}
More information about the Commits
mailing list