summaryrefslogtreecommitdiff
path: root/gdk/gdktexture.h
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2020-01-24 13:17:09 +0100
committerTimm Bäder <mail@baedert.org>2020-01-26 18:21:07 +0100
commit77e0d360ed721fb9a8eb9cebe10346cfda304eb4 (patch)
tree4f3457eecb246b0814502fec9649c655f9f3503f /gdk/gdktexture.h
parent942a93250a5227a051017737873b7d40f24b9e59 (diff)
downloadgtk+-77e0d360ed721fb9a8eb9cebe10346cfda304eb4.tar.gz
Add pure and const annotations to various functions
Diffstat (limited to 'gdk/gdktexture.h')
-rw-r--r--gdk/gdktexture.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk/gdktexture.h b/gdk/gdktexture.h
index f7d4fbf567..f3d0bc9765 100644
--- a/gdk/gdktexture.h
+++ b/gdk/gdktexture.h
@@ -51,9 +51,9 @@ GdkTexture * gdk_texture_new_from_file (GFile
GError **error);
GDK_AVAILABLE_IN_ALL
-int gdk_texture_get_width (GdkTexture *texture);
+int gdk_texture_get_width (GdkTexture *texture) G_GNUC_PURE;
GDK_AVAILABLE_IN_ALL
-int gdk_texture_get_height (GdkTexture *texture);
+int gdk_texture_get_height (GdkTexture *texture) G_GNUC_PURE;
GDK_AVAILABLE_IN_ALL
void gdk_texture_download (GdkTexture *texture,