From 3b46c3910cae795b3e22195ed33bd14846856d15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= Date: Thu, 21 Nov 2019 16:56:13 +0700 Subject: [PATCH] st/icon: Reorder header file The order of the functions is currently quite messy, change the order of the headers so it makes more sense and correct a wrong argument name while at it. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/888 --- src/st/st-icon.h | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/src/st/st-icon.h b/src/st/st-icon.h index 23083b678..f510520dc 100644 --- a/src/st/st-icon.h +++ b/src/st/st-icon.h @@ -56,19 +56,21 @@ struct _StIcon { ClutterActor* st_icon_new (void); +GIcon *st_icon_get_gicon (StIcon *icon); +void st_icon_set_gicon (StIcon *icon, + GIcon *gicon); +const gchar *st_icon_get_icon_name (StIcon *icon); +void st_icon_set_icon_name (StIcon *icon, + const gchar *icon_name); -const gchar *st_icon_get_icon_name (StIcon *icon); -void st_icon_set_icon_name (StIcon *icon, const gchar *icon_name); +const gchar *st_icon_get_fallback_icon_name (StIcon *icon); +void st_icon_set_fallback_icon_name (StIcon *icon, + const gchar *fallback_icon_name); gint st_icon_get_icon_size (StIcon *icon); -void st_icon_set_icon_size (StIcon *icon, gint size); - -void st_icon_set_gicon (StIcon *icon, GIcon *gicon); -GIcon *st_icon_get_gicon (StIcon *icon); - -void st_icon_set_fallback_icon_name (StIcon *icon, const gchar *icon_name); -const gchar *st_icon_get_fallback_icon_name (StIcon *icon); +void st_icon_set_icon_size (StIcon *icon, + gint size); G_END_DECLS