[gnome-shell] st/icon: Reorder header file



commit 3b46c3910cae795b3e22195ed33bd14846856d15
Author: Jonas Dreßler <verdre v0yd nl>
Date:   Thu Nov 21 16:56:13 2019 +0700

    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 23083b678f..f510520dc2 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
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]