app/text: Fix const warning
You shouldn't rely on GObjects being `const`, since a reference count operation does not respect that. That being said, this fixes a warning, for a keyword that seems to be redundant here.
This commit is contained in:
parent
9fe589734b
commit
484e9afb22
2 changed files with 2 additions and 2 deletions
|
|
@ -53,7 +53,7 @@ gimp_text_parasite_name (void)
|
|||
}
|
||||
|
||||
GimpParasite *
|
||||
gimp_text_to_parasite (const GimpText *text)
|
||||
gimp_text_to_parasite (GimpText *text)
|
||||
{
|
||||
g_return_val_if_fail (GIMP_IS_TEXT (text), NULL);
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
|
||||
const gchar * gimp_text_parasite_name (void) G_GNUC_CONST;
|
||||
GimpParasite * gimp_text_to_parasite (const GimpText *text);
|
||||
GimpParasite * gimp_text_to_parasite (GimpText *text);
|
||||
GimpText * gimp_text_from_parasite (const GimpParasite *parasite,
|
||||
GError **error);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue