changeset 32655:5e5d49f1a547

Fix warning. You should really try to read these next time.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sun, 13 Feb 2011 06:40:09 +0000
parents ec41f92254ed
children a053474df2e9
files pidgin/gtkconv.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkconv.c	Sun Feb 13 06:30:30 2011 +0000
+++ b/pidgin/gtkconv.c	Sun Feb 13 06:40:09 2011 +0000
@@ -7291,13 +7291,13 @@
 {
 	gint pane_x, pane_y, x_rel;
 	PidginConversation *gtkconv;
-  GtkAllocation allocation;
-
-  gtk_widget_get_allocation(gtkconv->infopane, &allocation);
+	GtkAllocation allocation;
+
 	gdk_window_get_origin(gtk_widget_get_window(win->notebook),
-                        &pane_x, &pane_y);
+	                      &pane_x, &pane_y);
 	x_rel = x - pane_x;
 	gtkconv = pidgin_conv_window_get_active_gtkconv(win);
+	gtk_widget_get_allocation(gtkconv->infopane, &allocation);
 	return (x_rel > allocation.x + allocation.width / 2);
 }