1999-01-01 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gscreen.c (panel_fill_panel_list): Assertion that will pin point if a CList gets out of sync with the panel->format. 1999-01-01 Momchil 'Velco' Velikov <velco@fadata.bg> * gscreen.c (panel_fill_panel_list): NULL terminate the column array. This is strange, as it should not need the ending NULL. 1999-01-01 Jonathan Blandford <jrb@redhat.com>
Этот коммит содержится в:
родитель
7d18cb2d83
Коммит
597881b50f
@ -1,3 +1,13 @@
|
|||||||
|
1999-01-01 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||||
|
|
||||||
|
* gscreen.c (panel_fill_panel_list): Assertion that will pin point
|
||||||
|
if a CList gets out of sync with the panel->format.
|
||||||
|
|
||||||
|
1999-01-01 Momchil 'Velco' Velikov <velco@fadata.bg>
|
||||||
|
|
||||||
|
* gscreen.c (panel_fill_panel_list): NULL terminate the column
|
||||||
|
array. This is strange, as it should not need the ending NULL.
|
||||||
|
|
||||||
1999-01-01 Jonathan Blandford <jrb@redhat.com>
|
1999-01-01 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
* gcmd.c ((GtkWidget *widget, WPanel *panel): Now hooked up
|
* gcmd.c ((GtkWidget *widget, WPanel *panel): Now hooked up
|
||||||
|
@ -163,7 +163,7 @@ panel_fill_panel_list (WPanel *panel)
|
|||||||
int i, col, type_col, color;
|
int i, col, type_col, color;
|
||||||
char **texts;
|
char **texts;
|
||||||
|
|
||||||
texts = malloc (sizeof (char *) * items);
|
texts = malloc (sizeof (char *) * (items+1));
|
||||||
|
|
||||||
gtk_clist_freeze (GTK_CLIST (cl));
|
gtk_clist_freeze (GTK_CLIST (cl));
|
||||||
gtk_clist_clear (GTK_CLIST (cl));
|
gtk_clist_clear (GTK_CLIST (cl));
|
||||||
@ -171,6 +171,9 @@ panel_fill_panel_list (WPanel *panel)
|
|||||||
/* which column holds the type information */
|
/* which column holds the type information */
|
||||||
type_col = -1;
|
type_col = -1;
|
||||||
|
|
||||||
|
g_assert (items == GTK_CLIST (cl->columns));
|
||||||
|
|
||||||
|
texts [items] = NULL;
|
||||||
for (i = 0; i < top; i++){
|
for (i = 0; i < top; i++){
|
||||||
file_entry *fe = &panel->dir.list [i];
|
file_entry *fe = &panel->dir.list [i];
|
||||||
format_e *format = panel->format;
|
format_e *format = panel->format;
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user