soc.2010.detachablepurple: c802c195: Removed a useless purple_dbus_sanitize_d...
gillux at soc.pidgin.im
gillux at soc.pidgin.im
Thu Aug 12 00:37:10 EDT 2010
----------------------------------------------------------------------
Revision: c802c19580481e565000a08e27805ebda169f067
Parent: 175d4e8f36fc32be8ab9925931973b98a93b2b05
Author: gillux at soc.pidgin.im
Date: 08/11/10 21:51:22
Branch: im.pidgin.soc.2010.detachablepurple
URL: http://d.pidgin.im/viewmtn/revision/info/c802c19580481e565000a08e27805ebda169f067
Changelog:
Removed a useless purple_dbus_sanitize_dbus_path() call.
Changes against parent 175d4e8f36fc32be8ab9925931973b98a93b2b05
patched libpurple/dbus/contact.c
-------------- next part --------------
============================================================
--- libpurple/dbus/contact.c bed890c19349344f32d4448e40e73609e65129f7
+++ libpurple/dbus/contact.c 85b147c710ede1139ed0bd32f39c0c2ca307475e
@@ -32,8 +32,6 @@ purple_contact_build_dbus_path(void)
purple_contact_build_dbus_path(void)
{
static unsigned int contact_id = 0;
- gchar *path;
- gchar *path_valid;
/* In remote mode we have no way to build the object path.
* We will set it later. */
@@ -42,11 +40,7 @@ purple_contact_build_dbus_path(void)
/* Contacts have nothing unique nor that identify themselves
* at the time they are created. So we use a poor id. */
- path = g_strdup_printf(DBUS_CONTACT_PATH "/%u", contact_id++);
- path_valid = purple_dbus_sanitize_dbus_path(path);
- g_free(path);
-
- return path_valid;
+ return g_strdup_printf(DBUS_CONTACT_PATH "/%u", contact_id++);
}
void
More information about the Commits
mailing list