Mercurial > pidgin.yaz
diff src/gtkconv.c @ 11299:421007f39e53
[gaim-migrate @ 13499]
Fix a C99ism.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Thu, 18 Aug 2005 06:33:33 +0000 |
parents | 65658ff2deb8 |
children | 772d086e9067 |
line wrap: on
line diff
--- a/src/gtkconv.c Thu Aug 18 05:07:33 2005 +0000 +++ b/src/gtkconv.c Thu Aug 18 06:33:33 2005 +0000 @@ -2196,6 +2196,7 @@ gint nb_x, nb_y, x_rel, y_rel; int tab_clicked; GtkWidget *page; + GtkWidget *tab; if (e->button != 1 || e->type != GDK_BUTTON_PRESS) return FALSE; @@ -2234,7 +2235,7 @@ /* Find out which tab was dragged. */ page = gtk_notebook_get_nth_page(GTK_NOTEBOOK(gtkwin->notebook), tab_clicked); - GtkWidget *tab = gtk_notebook_get_tab_label(GTK_NOTEBOOK(gtkwin->notebook), page); + tab = gtk_notebook_get_tab_label(GTK_NOTEBOOK(gtkwin->notebook), page); gtkwin->drag_min_x = tab->allocation.x + nb_x; gtkwin->drag_min_y = tab->allocation.y + nb_y;