| 903 max_line_width = MAX(button_width, max_line_width / num_lines); |
903 max_line_width = MAX(button_width, max_line_width / num_lines); |
| 904 |
904 |
| 905 /* pack buttons of the list */ |
905 /* pack buttons of the list */ |
| 906 add_smiley_list(smiley_table, ls, max_line_width, FALSE); |
906 add_smiley_list(smiley_table, ls, max_line_width, FALSE); |
| 907 if (supports_custom) { |
907 if (supports_custom) { |
| 908 gtk_box_pack_start(GTK_BOX(smiley_table), gtk_hseparator_new(), TRUE, FALSE, 0); |
908 gtk_box_pack_start(GTK_BOX(smiley_table), gtk_separator_new(GTK_ORIENTATION_HORIZONTAL), TRUE, FALSE, 0); |
| 909 add_smiley_list(smiley_table, ls, max_line_width, TRUE); |
909 add_smiley_list(smiley_table, ls, max_line_width, TRUE); |
| 910 } |
910 } |
| 911 while (ls) { |
911 while (ls) { |
| 912 struct smiley_button_list *tmp = ls->next; |
912 struct smiley_button_list *tmp = ls->next; |
| 913 g_free(ls); |
913 g_free(ls); |