1999-03-16 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gicon.c (get_icon_set): Use iset->filename (which is a strdup()ed string) instead of filename as a key in the hash table, since the user will very likely free filename.
Этот коммит содержится в:
родитель
7313fee0b0
Коммит
86adbc6678
@ -1,5 +1,9 @@
|
||||
1999-03-16 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||
|
||||
* gicon.c (get_icon_set): Use iset->filename (which is a
|
||||
strdup()ed string) instead of filename as a key in the hash table,
|
||||
since the user will very likely free filename.
|
||||
|
||||
* gdialogs.c (symlink_dialog): Finished implementing the new
|
||||
symlink dialog.
|
||||
|
||||
|
@ -141,7 +141,7 @@ get_icon_set (const char *filename)
|
||||
|
||||
/* Insert the icon information into the hash tables */
|
||||
|
||||
g_hash_table_insert (name_hash, (char *) filename, iset);
|
||||
g_hash_table_insert (name_hash, iset->filename, iset);
|
||||
g_hash_table_insert (image_hash, iset->plain, iset);
|
||||
|
||||
return iset;
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user