# HG changeset patch # User Herman Bloggs # Date 1043256090 0 # Node ID bca8256a91a6f651693a745fe3a26be5d87163c4 # Parent c7c34d92e6a8a20245118f1a6531fe562a7b073f [gaim-migrate @ 4659] win32 fix for buddy win resize bug committer: Tailor Script diff -r c7c34d92e6a8 -r bca8256a91a6 src/buddy.c --- a/src/buddy.c Wed Jan 22 15:49:16 2003 +0000 +++ b/src/buddy.c Wed Jan 22 17:21:30 2003 +0000 @@ -2306,7 +2306,7 @@ } } -static void configure_blist_window(GtkWidget *w, GdkEventConfigure *event, void *data) { +static gboolean configure_blist_window(GtkWidget *w, GdkEventConfigure *event, gpointer data) { /* unfortunately GdkEventConfigure ignores the window gravity, but * * the only way we have of setting the position doesn't. we have to * * call get_position and get_size because they do pay attention to * @@ -2326,6 +2326,7 @@ blist_pos.height = event->height; save_prefs(); } + return FALSE; } static void visibility_blist_window(GtkWidget *w, GdkEventVisibility *event, void *data) { diff -r c7c34d92e6a8 -r bca8256a91a6 src/gaimrc.c --- a/src/gaimrc.c Wed Jan 22 15:49:16 2003 +0000 +++ b/src/gaimrc.c Wed Jan 22 17:21:30 2003 +0000 @@ -1364,10 +1364,8 @@ { FILE *f; char buf[BUF_LONG]; -#ifndef _WIN32 - /* g_print breaks buddy win resizing */ + debug_printf("enter save_prefs\n"); -#endif if (is_loading_prefs) { request_save_prefs = 1; debug_printf("currently loading, will request save\n"); @@ -1407,10 +1405,7 @@ load_prefs(); request_load_prefs = 0; } -#ifndef _WIN32 - /* g_print breaks buddy win resizing */ debug_printf("exit save_prefs\n"); -#endif }