comparison src/gaimrc.c @ 4393:bca8256a91a6

[gaim-migrate @ 4659] win32 fix for buddy win resize bug committer: Tailor Script <tailor@pidgin.im>
author Herman Bloggs <hermanator12002@yahoo.com>
date Wed, 22 Jan 2003 17:21:30 +0000
parents af485b4bb8c1
children cb629f3efee6
comparison
equal deleted inserted replaced
4392:c7c34d92e6a8 4393:bca8256a91a6
1362 1362
1363 void save_prefs() 1363 void save_prefs()
1364 { 1364 {
1365 FILE *f; 1365 FILE *f;
1366 char buf[BUF_LONG]; 1366 char buf[BUF_LONG];
1367 #ifndef _WIN32 1367
1368 /* g_print breaks buddy win resizing */
1369 debug_printf("enter save_prefs\n"); 1368 debug_printf("enter save_prefs\n");
1370 #endif
1371 if (is_loading_prefs) { 1369 if (is_loading_prefs) {
1372 request_save_prefs = 1; 1370 request_save_prefs = 1;
1373 debug_printf("currently loading, will request save\n"); 1371 debug_printf("currently loading, will request save\n");
1374 return; 1372 return;
1375 } 1373 }
1405 if (request_load_prefs) { 1403 if (request_load_prefs) {
1406 debug_printf("loading prefs on request\n"); 1404 debug_printf("loading prefs on request\n");
1407 load_prefs(); 1405 load_prefs();
1408 request_load_prefs = 0; 1406 request_load_prefs = 0;
1409 } 1407 }
1410 #ifndef _WIN32
1411 /* g_print breaks buddy win resizing */
1412 debug_printf("exit save_prefs\n"); 1408 debug_printf("exit save_prefs\n");
1413 #endif
1414 } 1409 }
1415 1410
1416 1411
1417 1412
1418 /* This function is called by g_slist_insert_sorted to compare the item 1413 /* This function is called by g_slist_insert_sorted to compare the item