diff pidgin/gtkft.c @ 27096:65a79c501f58

The FT table needs to have one more row to be correct, though it seems to work without for whatever reason. References #9329.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Thu, 11 Jun 2009 01:13:35 +0000
parents db373b572015
children 99517a959c6b afe5c224f3e9
line wrap: on
line diff
--- a/pidgin/gtkft.c	Wed Jun 10 03:40:27 2009 +0000
+++ b/pidgin/gtkft.c	Thu Jun 11 01:13:35 2009 +0000
@@ -705,7 +705,7 @@
 	};
 
 	/* Setup the initial table */
-	dialog->table = table = gtk_table_new(G_N_ELEMENTS(labels), 2, FALSE);
+	dialog->table = table = gtk_table_new(G_N_ELEMENTS(labels) + 1, 2, FALSE);
 	gtk_table_set_row_spacings(GTK_TABLE(table), PIDGIN_HIG_BOX_SPACE);
 	gtk_table_set_col_spacings(GTK_TABLE(table), PIDGIN_HIG_BOX_SPACE);