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
This commit is contained in:
Jonas Dreßler 2019-11-21 16:56:13 +07:00 committed by Florian Müllner
parent 76961927d5
commit 3b46c3910c

View File

@ -56,19 +56,21 @@ struct _StIcon {
ClutterActor* st_icon_new (void); 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); const gchar *st_icon_get_icon_name (StIcon *icon);
void st_icon_set_icon_name (StIcon *icon, const gchar *icon_name); 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); gint st_icon_get_icon_size (StIcon *icon);
void st_icon_set_icon_size (StIcon *icon, gint size); 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);
G_END_DECLS G_END_DECLS