Mercurial > pidgin
comparison src/browser.c @ 5435:a2f26666de42
[gaim-migrate @ 5817]
Phroggie says windows doesn't have a z modifier, so I'm just going to
change size_t to an int, since it really doesn't matter.
I also changed some sprintf's to snprintf's, I'm not really sure why.
Changed a printf to gaim_debug in oscar.c, I don't know how that got
in there. And I applied a patch that adds an optional callback thing
for when a connection is closed. Gaim doesn't use it, but the guy
that submitted the patch said it was useful to him.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 18 May 2003 19:13:21 +0000 |
parents | 1cf4eb75e3ee |
children | ad445074d239 |
comparison
equal
deleted
inserted
replaced
5434:3034e83c1a49 | 5435:a2f26666de42 |
---|---|
340 } | 340 } |
341 | 341 |
342 return lock_data; | 342 return lock_data; |
343 } | 343 } |
344 | 344 |
345 #if 0 | |
345 static void mozilla_remote_obtain_lock(GdkWindow * window) | 346 static void mozilla_remote_obtain_lock(GdkWindow * window) |
346 { | 347 { |
347 gboolean locked = False; | 348 gboolean locked = False; |
348 const char *lock_data = get_lock_data(); | 349 const char *lock_data = get_lock_data(); |
349 GdkAtom actual_type; | 350 GdkAtom actual_type; |
372 if (data) | 373 if (data) |
373 g_free(data); | 374 g_free(data); |
374 | 375 |
375 gdk_x11_ungrab_server(); | 376 gdk_x11_ungrab_server(); |
376 } | 377 } |
377 | 378 #endif |
378 | 379 |
379 static void mozilla_remote_free_lock(GdkWindow * window) | 380 static void mozilla_remote_free_lock(GdkWindow * window) |
380 { | 381 { |
381 int result = 0; | 382 int result = 0; |
382 GdkAtom actual_type; | 383 GdkAtom actual_type; |