Make TXT_NewSeparator parameter const
This commit is contained in:
parent
a6fbae76cd
commit
569787da58
2 changed files with 2 additions and 2 deletions
|
|
@ -98,7 +98,7 @@ txt_widget_class_t txt_separator_class =
|
|||
NULL,
|
||||
};
|
||||
|
||||
txt_separator_t *TXT_NewSeparator(char *label)
|
||||
txt_separator_t *TXT_NewSeparator(const char *label)
|
||||
{
|
||||
txt_separator_t *separator;
|
||||
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ extern txt_widget_class_t txt_separator_class;
|
|||
* @return The new separator widget.
|
||||
*/
|
||||
|
||||
txt_separator_t *TXT_NewSeparator(char *label);
|
||||
txt_separator_t *TXT_NewSeparator(const char *label);
|
||||
|
||||
/**
|
||||
* Change the label on a separator.
|
||||
|
|
|
|||
Loading…
Reference in a new issue