Mercurial > pidgin
comparison src/gtkutils.c @ 11638:3a05b53a589e
[gaim-migrate @ 13914]
Some bits'n'pieces:
A bunch of memory leak fixes
Fix newly created accounts to connect in the currently active global
status
Fix the modify account dialog to only show relevant user options etc.
Update sametime to use some more of the new status stuff, it still
needs more love though.
Some s/online/available/ for consistency across prpls
Fix a racyness in disconnecting connections that want to die (fixes
the Yahoo crash when signing on somewhere else)
Sorry if I caused any conflicts!
committer: Tailor Script <tailor@pidgin.im>
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Mon, 10 Oct 2005 17:59:48 +0000 |
parents | c4fde4165293 |
children | 8cb75ba77f9d |
comparison
equal
deleted
inserted
replaced
11637:cedd48571c90 | 11638:3a05b53a589e |
---|---|
1350 } | 1350 } |
1351 | 1351 |
1352 gboolean | 1352 gboolean |
1353 gaim_running_gnome(void) | 1353 gaim_running_gnome(void) |
1354 { | 1354 { |
1355 gchar *tmp = g_find_program_in_path("gnome-open"); | |
1355 if ((g_getenv("GNOME_DESKTOP_SESSION_ID") != NULL) && | 1356 if ((g_getenv("GNOME_DESKTOP_SESSION_ID") != NULL) && |
1356 (g_find_program_in_path("gnome-open") != NULL)) | 1357 (tmp != NULL)) |
1357 { | 1358 { |
1359 g_free(tmp); | |
1358 return TRUE; | 1360 return TRUE; |
1359 } | 1361 } |
1360 | 1362 g_free(tmp); |
1361 return FALSE; | 1363 return FALSE; |
1362 } | 1364 } |
1363 | 1365 |
1364 enum { | 1366 enum { |
1365 DND_FILE_TRANSFER, | 1367 DND_FILE_TRANSFER, |