[gtk/wip/baedert/for-master] GdkTexture: Make get_width/get_height pure
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/for-master] GdkTexture: Make get_width/get_height pure
- Date: Fri, 24 Jan 2020 14:47:22 +0000 (UTC)
commit ca991d9ac82e54fa59d0eb636bd4a4cdcd50b64f
Author: Timm Bäder <mail baedert org>
Date: Fri Jan 24 15:18:42 2020 +0100
GdkTexture: Make get_width/get_height pure
gdk/gdktexture.h | 4 ++--
1 file 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]