Rename function

This commit is contained in:
Moritz Lipp 2012-05-21 07:47:24 +02:00
parent 7f8f8969ef
commit 1539b463ff

View File

@ -299,7 +299,7 @@ void zathura_annotation_text_set_icon(zathura_annotation_t* annotation, zathura_
* @param annotation The annotation * @param annotation The annotation
* @return The state of the text annotation * @return The state of the text annotation
*/ */
int zathura_annotation_text_get_flags(zathura_annotation_t* annotation); zathura_annotation_text_state_t zathura_annotation_text_get_flags(zathura_annotation_t* annotation);
/** /**
* Sets the state of the text annotation * Sets the state of the text annotation
@ -307,7 +307,7 @@ int zathura_annotation_text_get_flags(zathura_annotation_t* annotation);
* @param annotation The annotation * @param annotation The annotation
* @param state The new state of the text annotation * @param state The new state of the text annotation
*/ */
void zathura_annotation_text_set_flags(zathura_annotation_t* annotation, int flags); void zathura_annotation_text_set_state(zathura_annotation_t* annotation, zathura_annotation_text_state_t state);
/** /**
* Returns the position of the annotation popup * Returns the position of the annotation popup