Mercurial > pidgin
comparison src/util.c @ 11878:f672349cfc1c
[gaim-migrate @ 14169]
Use GNOME proxy preferences.
Works For Me. People are going to go crazy.
We'll try it out in beta.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Fri, 28 Oct 2005 23:12:04 +0000 |
parents | 8cb75ba77f9d |
children | 52f27ffe68a5 |
comparison
equal
deleted
inserted
replaced
11877:f1f7c83d7b6c | 11878:f672349cfc1c |
---|---|
2225 g_free(progname); | 2225 g_free(progname); |
2226 | 2226 |
2227 return is_valid; | 2227 return is_valid; |
2228 } | 2228 } |
2229 | 2229 |
2230 | |
2231 gboolean | |
2232 gaim_running_gnome(void) | |
2233 { | |
2234 gchar *tmp = g_find_program_in_path("gnome-open"); | |
2235 if ((g_getenv("GNOME_DESKTOP_SESSION_ID") != NULL) && | |
2236 (tmp != NULL)) | |
2237 { | |
2238 g_free(tmp); | |
2239 return TRUE; | |
2240 } | |
2241 g_free(tmp); | |
2242 return FALSE; | |
2243 } | |
2244 | |
2230 char * | 2245 char * |
2231 gaim_fd_get_ip(int fd) | 2246 gaim_fd_get_ip(int fd) |
2232 { | 2247 { |
2233 struct sockaddr addr; | 2248 struct sockaddr addr; |
2234 socklen_t namelen = sizeof(addr); | 2249 socklen_t namelen = sizeof(addr); |