pidgin/ljfisher-ssl-client-auth

Fix warning. You should really try to read these next time.
cpw.qulogic.gtk3
2011-02-13, Elliott Sales de Andrade
e3c0a56d62a6
Parents b63cac732d6e
Children c215bc5d85e4
Fix warning. You should really try to read these next time.
--- 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);
}