changeset 14967:9bfc30adbda2

[gaim-migrate @ 17746] Fix bug #1595774: Tab dragging not working properly committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Mon, 13 Nov 2006 20:10:29 +0000
parents 97e612de2fa4
children ad564b48dab0
files gtk/gtkconv.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gtk/gtkconv.c	Mon Nov 13 20:09:36 2006 +0000
+++ b/gtk/gtkconv.c	Mon Nov 13 20:10:29 2006 +0000
@@ -7337,7 +7337,7 @@
 		dest_page_num = gaim_gtkconv_get_tab_at_xy(dest_win,
 		                                           e->x_root, e->y_root, &to_right);
 
-	gtkconv = GAIM_GTK_CONVERSATION(conv);
+	gtkconv = gaim_gtk_conv_window_get_gtkconv_at_index(win, win->drag_tab);
 
 	if (win == dest_win) {
 		gtk_notebook_reorder_child(GTK_NOTEBOOK(win->notebook), gtkconv->tab_cont, dest_page_num);