changeset 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 c7c34d92e6a8
children 3fa2941a5323
files src/buddy.c src/gaimrc.c
diffstat 2 files changed, 3 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- 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) {
--- 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
 }