[Galago-commits] r2577 - in trunk/gaim-galago: . src
galago-commits at freedesktop.org
galago-commits at freedesktop.org
Sun Feb 12 03:27:23 PST 2006
Author: chipx86
Date: 2006-02-12 03:27:20 -0800 (Sun, 12 Feb 2006)
New Revision: 2577
Modified:
trunk/gaim-galago/ChangeLog
trunk/gaim-galago/src/gaim-galago.c
Log:
Don't set an ID on persons anymore.
Modified: trunk/gaim-galago/ChangeLog
===================================================================
--- trunk/gaim-galago/ChangeLog 2006-02-12 11:25:58 UTC (rev 2576)
+++ trunk/gaim-galago/ChangeLog 2006-02-12 11:27:20 UTC (rev 2577)
@@ -1,3 +1,8 @@
+Sun Feb 12 03:27:04 PST 2006 Christian Hammond <chipx86 at chipx86.com>
+
+ * src/gaim-galago.c:
+ - Don't set an ID on persons anymore.
+
Wed Feb 8 20:30:20 CST 2006 Gary Kramlich <grim at reaperworld.com>
* src/gaim-galago.c:
Modified: trunk/gaim-galago/src/gaim-galago.c
===================================================================
--- trunk/gaim-galago/src/gaim-galago.c 2006-02-12 11:25:58 UTC (rev 2576)
+++ trunk/gaim-galago/src/gaim-galago.c 2006-02-12 11:27:20 UTC (rev 2577)
@@ -116,19 +116,6 @@
return galago_service_create_account(service, me, username);
}
-static const char *
-generate_person_id(GaimContact *contact)
-{
- static int id = 0;
- static char temp[64];
-
- g_return_val_if_fail(contact != NULL, NULL);
-
- g_snprintf(temp, sizeof(temp), "person-%d", id++);
-
- return temp;
-}
-
static void
update_avatar(GaimBuddy *buddy, GalagoAccount *gaccount)
{
@@ -246,7 +233,7 @@
if (person == NULL)
{
- person = galago_create_person(generate_person_id(contact));
+ person = galago_create_person(NULL);
g_hash_table_insert(person_table, contact, person);
}
More information about the galago-commits
mailing list