[easytag] Remove unused PangoStyle columns from album models



commit 20190badece12683366ce9da0e793f4bf2432f59
Author: David King <amigadave amigadave com>
Date:   Fri Nov 28 21:39:46 2014 +0000

    Remove unused PangoStyle columns from album models

 data/browser.ui |   27 ++++++++++-----------------
 src/browser.c   |    2 --
 2 files changed, 10 insertions(+), 19 deletions(-)
---
diff --git a/data/browser.ui b/data/browser.ui
index 6d422b8..ee2e878 100644
--- a/data/browser.ui
+++ b/data/browser.ui
@@ -46,7 +46,6 @@
             <column type="guint"/>
             <column type="guint"/>
             <column type="gpointer"/>
-            <column type="PangoStyle"/>
             <column type="gint"/>
             <column type="GdkRGBA"/>
         </columns>
@@ -57,7 +56,6 @@
             <column type="gchararray"/>
             <column type="guint"/>
             <column type="gpointer"/>
-            <column type="PangoStyle"/>
             <column type="gint"/>
             <column type="GdkRGBA"/>
             <column type="gboolean"/>
@@ -435,10 +433,9 @@
                                                         <child>
                                                             <object class="GtkCellRendererText" 
id="artist_text_renderer"/>
                                                             <attributes>
-                                                                <attribute 
name="foreground-rgba">7</attribute>
-                                                                <attribute name="style">5</attribute>
+                                                                <attribute 
name="foreground-rgba">6</attribute>
                                                                 <attribute name="text">1</attribute>
-                                                                <attribute name="weight">6</attribute>
+                                                                <attribute name="weight">5</attribute>
                                                             </attributes>
                                                         </child>
                                                     </object>
@@ -450,10 +447,9 @@
                                                         <child>
                                                             <object class="GtkCellRendererText" 
id="artist_n_albums_text_renderer"/>
                                                             <attributes>
-                                                                <attribute 
name="foreground-rgba">7</attribute>
-                                                                <attribute name="style">5</attribute>
+                                                                <attribute 
name="foreground-rgba">6</attribute>
                                                                 <attribute name="text">2</attribute>
-                                                                <attribute name="weight">6</attribute>
+                                                                <attribute name="weight">5</attribute>
                                                             </attributes>
                                                         </child>
                                                     </object>
@@ -465,10 +461,9 @@
                                                         <child>
                                                             <object class="GtkCellRendererText" 
id="artist_n_files_text_renderer"/>
                                                             <attributes>
-                                                                <attribute 
name="foreground-rgba">7</attribute>
-                                                                <attribute name="style">5</attribute>
+                                                                <attribute 
name="foreground-rgba">6</attribute>
                                                                 <attribute name="text">3</attribute>
-                                                                <attribute name="weight">6</attribute>
+                                                                <attribute name="weight">5</attribute>
                                                             </attributes>
                                                         </child>
                                                     </object>
@@ -500,10 +495,9 @@
                                                         <child>
                                                             <object class="GtkCellRendererText" 
id="album_text_renderer"/>
                                                             <attributes>
-                                                                <attribute 
name="foreground-rgba">6</attribute>
-                                                                <attribute name="style">4</attribute>
+                                                                <attribute 
name="foreground-rgba">5</attribute>
                                                                 <attribute name="text">1</attribute>
-                                                                <attribute name="weight">5</attribute>
+                                                                <attribute name="weight">4</attribute>
                                                             </attributes>
                                                         </child>
                                                     </object>
@@ -515,10 +509,9 @@
                                                         <child>
                                                             <object class="GtkCellRendererText" 
id="album_n_files_text_renderer"/>
                                                             <attributes>
-                                                                <attribute 
name="foreground-rgba">6</attribute>
-                                                                <attribute name="style">4</attribute>
+                                                                <attribute 
name="foreground-rgba">5</attribute>
                                                                 <attribute name="text">2</attribute>
-                                                                <attribute name="weight">5</attribute>
+                                                                <attribute name="weight">4</attribute>
                                                             </attributes>
                                                         </child>
                                                     </object>
diff --git a/src/browser.c b/src/browser.c
index b7b4f7e..2e6b9dd 100644
--- a/src/browser.c
+++ b/src/browser.c
@@ -158,7 +158,6 @@ enum
     ALBUM_NAME,
     ALBUM_NUM_FILES,
     ALBUM_ETFILE_LIST_POINTER,
-    ALBUM_FONT_STYLE,
     ALBUM_FONT_WEIGHT,
     ALBUM_ROW_FOREGROUND,
     ALBUM_ALL_ALBUMS_ROW,
@@ -172,7 +171,6 @@ enum
     ARTIST_NUM_ALBUMS,
     ARTIST_NUM_FILES,
     ARTIST_ALBUM_LIST_POINTER,
-    ARTIST_FONT_STYLE,
     ARTIST_FONT_WEIGHT,
     ARTIST_ROW_FOREGROUND,
     ARTIST_COLUMN_COUNT


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