mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 12:56:51 +03:00
6dbe424c38
* gmetadata.c: Removed the gmeta_del_icon_pos() function, since it is no longer used anywhere. * gdesktop.c (reload_desktop_icons): Use gnome_metadata_delete() instead of gmeta_del_icon_pos(). (desktop_icon_info_delete): Likewise. (desktop_icon_info_destroy): Do not call gnome_metadata_delete().
22 lines
586 B
C
22 lines
586 B
C
/* Convenience functions for metadata handling in the MIdnight Commander
|
|
*
|
|
* Copyright (C) 1998 The Free Software Foundation
|
|
*
|
|
* Author: Federico Mena <federico@nuclecu.unam.mx>
|
|
*/
|
|
|
|
#ifndef GMETADATA_H
|
|
#define GMETADATA_H
|
|
|
|
|
|
/* Returns the coordinates of the icon corresponding to the specified file. If no position
|
|
* has been set, returns FALSE. Else it returns TRUE and sets the *x and *y values.
|
|
*/
|
|
int gmeta_get_icon_pos (char *filename, int *x, int *y);
|
|
|
|
/* Saves the icon position for the specified file */
|
|
void gmeta_set_icon_pos (char *filename, int x, int y);
|
|
|
|
|
|
#endif
|