changeset 4362:4f8a1b65ffa3

[gaim-migrate @ 4628] this makes it compile. i think it's right. chip can fix it later if i made it worse. committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Mon, 20 Jan 2003 14:16:27 +0000
parents 25d5b2a7545f
children 65d98b565fbe
files src/gtkconv.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkconv.c	Mon Jan 20 09:58:43 2003 +0000
+++ b/src/gtkconv.c	Mon Jan 20 14:16:27 2003 +0000
@@ -947,10 +947,12 @@
 	struct gaim_window *win;
 	struct gaim_conversation *conv;
 	struct gaim_gtk_conversation *gtkconv;
+	struct gaim_gtk_window *gtkwin;
 
 	conv    = (struct gaim_conversation *)data;
 	gtkconv = GAIM_GTK_CONVERSATION(conv);
 	win     = gaim_conversation_get_window(conv);
+	gtkwin  = GAIM_GTK_WINDOW(win);
 
 	if (event->keyval == GDK_Escape) {
 		if (convo_options & OPT_CONVO_ESC_CAN_CLOSE) {
@@ -1174,7 +1176,7 @@
 #ifndef _WIN32
 			XIconifyWindow(GDK_DISPLAY(),
 						   GDK_WINDOW_XWINDOW(gtkwin->window->window),
-						   ((_XPrivDisplay)GDK_DISPALY())->default_screen);
+						   ((_XPrivDisplay)GDK_DISPLAY())->default_screen);
 #endif
 		}
 		else if (event->keyval == '[') {