mirror of https://github.com/GNOME/gimp.git
app: make TempBuf parameter of temp_buf_get_data() const
This commit is contained in:
parent
67755ab987
commit
8d5ac2c780
|
@ -352,7 +352,7 @@ temp_buf_free (TempBuf *buf)
|
|||
}
|
||||
|
||||
guchar *
|
||||
temp_buf_get_data (TempBuf *buf)
|
||||
temp_buf_get_data (const TempBuf *buf)
|
||||
{
|
||||
return buf->data;
|
||||
}
|
||||
|
|
|
@ -61,7 +61,7 @@ TempBuf * temp_buf_copy_area (TempBuf *src,
|
|||
void temp_buf_demultiply (TempBuf *buf);
|
||||
|
||||
void temp_buf_free (TempBuf *buf);
|
||||
guchar * temp_buf_get_data (TempBuf *buf);
|
||||
guchar * temp_buf_get_data (const TempBuf *buf);
|
||||
gsize temp_buf_get_data_size (TempBuf *buf);
|
||||
guchar * temp_buf_data_clear (TempBuf *buf);
|
||||
|
||||
|
|
Loading…
Reference in New Issue