# HG changeset patch # User Sadrul Habib Chowdhury # Date 1209155732 0 # Node ID 5433b59bdfc34a5d4cae79fdf4b0a775c55546ac # Parent 4c731c4dcc0b527edf94deb67d2b59193fddb56c 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. diff -r 4c731c4dcc0b -r 5433b59bdfc3 libpurple/core.c --- a/libpurple/core.c Fri Apr 25 16:23:35 2008 +0000 +++ b/libpurple/core.c Fri Apr 25 20:35:32 2008 +0000 @@ -323,25 +323,6 @@ 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 @@ 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); } }