cpw.qulogic.gtk3: a8e617fd: Fix warning. You should really try to re...

qulogic at pidgin.im qulogic at pidgin.im
Mon Feb 14 21:41:25 EST 2011


----------------------------------------------------------------------
Revision: a8e617fdf3561396aaa38830f3f42d0a2c71f0a4
Parent:   84f2abc2501c34fb226b46effa1713fe0fc7ae01
Author:   qulogic at pidgin.im
Date:     02/13/11 01:40:09
Branch:   im.pidgin.cpw.qulogic.gtk3
URL: http://d.pidgin.im/viewmtn/revision/info/a8e617fdf3561396aaa38830f3f42d0a2c71f0a4

Changelog: 

Fix warning. You should really try to read these next time.

Changes against parent 84f2abc2501c34fb226b46effa1713fe0fc7ae01

  patched  pidgin/gtkconv.c

-------------- next part --------------
============================================================
--- pidgin/gtkconv.c	0f97e33a2ed43ad972c10a665e19099eba196c8c
+++ pidgin/gtkconv.c	683b5ada8207f7ab26fbab328dda5d6d6c0d036a
@@ -7291,13 +7291,13 @@ pidgin_conv_xy_to_right_infopane(PidginW
 {
 	gint pane_x, pane_y, x_rel;
 	PidginConversation *gtkconv;
-  GtkAllocation allocation;
+	GtkAllocation allocation;
 
-  gtk_widget_get_allocation(gtkconv->infopane, &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);
 }
 


More information about the Commits mailing list