From 66368a189dea7ab666cb4089ee30b6ba04ba5132 Mon Sep 17 00:00:00 2001 From: rbuj Date: Sun, 16 Jun 2019 13:21:30 +0200 Subject: Remove trailing whitespaces find . -regextype posix-extended -regex '.*\.(c|h|ac)' -exec sed --in-place 's/[[:space:]]\+$//' {} \+ --- capplets/appearance/appearance-font.c | 2 +- capplets/appearance/appearance-style.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'capplets/appearance') diff --git a/capplets/appearance/appearance-font.c b/capplets/appearance/appearance-font.c index f4dd0d4d..32ba202c 100644 --- a/capplets/appearance/appearance-font.c +++ b/capplets/appearance/appearance-font.c @@ -98,7 +98,7 @@ static void set_fontoptions(PangoContext *context, Antialiasing antialiasing, Hi cairo_font_options_t *opt; cairo_antialias_t aa; cairo_hint_style_t hs; - + switch (antialiasing) { case ANTIALIAS_NONE: aa = CAIRO_ANTIALIAS_NONE; diff --git a/capplets/appearance/appearance-style.c b/capplets/appearance/appearance-style.c index d036c467..cfe35941 100644 --- a/capplets/appearance/appearance-style.c +++ b/capplets/appearance/appearance-style.c @@ -949,12 +949,12 @@ prepare_list (AppearanceData *data, GtkWidget *list, ThemeType type, GCallback c conv_data = g_new (ThemeConvData, 1); conv_data->data = data; conv_data->thumbnail = thumbnail; - + /* set useful data for callbacks */ g_object_set_data_full (G_OBJECT (list), THEME_DATA, conv_data, g_free); g_object_set_data (G_OBJECT (list), GSETTINGS_SETTINGS, settings); g_object_set_data_full (G_OBJECT (list), GSETTINGS_KEY, g_strdup(key), g_free); - + /* select in treeview the theme set in gsettings */ GtkTreeModel *treemodel; treemodel = gtk_tree_view_get_model (GTK_TREE_VIEW (list)); @@ -971,7 +971,7 @@ prepare_list (AppearanceData *data, GtkWidget *list, ThemeType type, GCallback c } if (theme) g_free (theme); - + /* connect to gsettings change event */ gchar *signal_name = g_strdup_printf("changed::%s", key); g_signal_connect (settings, signal_name, -- cgit v1.2.1