[Xfce4-commits] [xfce/xfce4-settings] 03/03: Drop unused variables

noreply at xfce.org noreply at xfce.org
Thu Jul 19 12:23:21 CEST 2018


This is an automated email from the git hooks/post-receive script.

b   l   u   e   s   a   b   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/xfce4-settings.

commit c44d35dfe684ad90e089286032dac2dd22b6bb92
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Thu Jul 19 06:23:13 2018 -0400

    Drop unused variables
---
 dialogs/appearance-settings/main.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/dialogs/appearance-settings/main.c b/dialogs/appearance-settings/main.c
index 41bb981..642e7b1 100644
--- a/dialogs/appearance-settings/main.c
+++ b/dialogs/appearance-settings/main.c
@@ -538,8 +538,6 @@ appearance_settings_load_ui_themes (preview_data *pd)
     gchar        *comment_escaped;
     gint          i;
     GSList       *check_list = NULL;
-    gchar        *color_scheme = NULL;
-    GdkRGBA      *colors[NUM_SYMBOLIC_COLORS];
 
     g_return_val_if_fail (pd != NULL, FALSE);
 
@@ -762,11 +760,9 @@ appearance_settings_dialog_channel_property_changed (XfconfChannel *channel,
     else if (strcmp (property_name, "/Net/ThemeName") == 0)
     {
         GtkTreeIter iter;
-        gboolean    reload;
 
         object = gtk_builder_get_object (builder, "gtk_theme_treeview");
         model = gtk_tree_view_get_model (GTK_TREE_VIEW (object));
-        reload = TRUE;
 
         if (gtk_tree_selection_get_selected (gtk_tree_view_get_selection (GTK_TREE_VIEW (object)),
                                              &model,
@@ -779,8 +775,6 @@ appearance_settings_dialog_channel_property_changed (XfconfChannel *channel,
 
             new_name = xfconf_channel_get_string (channel, property_name, NULL);
 
-            reload = (strcmp (new_name, selected_name) != 0);
-
             g_free (selected_name);
             g_free (new_name);
         }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list