From 85a22e754cd1f43e178e4a81c182643d4319bc5b Mon Sep 17 00:00:00 2001 From: rbuj Date: Tue, 4 Aug 2020 10:39:44 +0200 Subject: Remove trailing spaces/tabs find . \( -name '*.h' -o -name '*.c' \) -exec sed -i 's/[[:space:]]*$//' {} \; find . \( -name '*.h' -o -name '*.c' \) -exec sed -i 's/\t*$//' {} \; --- src/ui/tabpopup.c | 8 ++++---- src/ui/theme.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/ui') diff --git a/src/ui/tabpopup.c b/src/ui/tabpopup.c index fe7107dd..e5cd8736 100644 --- a/src/ui/tabpopup.c +++ b/src/ui/tabpopup.c @@ -603,12 +603,12 @@ static void display_widget (MetaTabPopup *popup, GtkWidget *w) { - if (w != NULL) + if (w != NULL) { GList *c = popup->entries; while (c != NULL && ((TabEntry*)c->data)->widget != w) c = c->next; - if (c != NULL) + if (c != NULL) { popup->current = c; TabEntry *te = c->data; @@ -623,7 +623,7 @@ meta_ui_tab_popup_down (MetaTabPopup *popup) if (popup->current != NULL) { TabEntry *te = popup->current->data; - GtkWidget* w = gtk_grid_get_child_at (GTK_GRID(popup->grid), + GtkWidget* w = gtk_grid_get_child_at (GTK_GRID(popup->grid), te->grid_left, te->grid_top + 1); display_widget (popup, w); @@ -636,7 +636,7 @@ meta_ui_tab_popup_up (MetaTabPopup *popup) if (popup->current != NULL) { TabEntry *te = popup->current->data; - GtkWidget* w = gtk_grid_get_child_at (GTK_GRID(popup->grid), + GtkWidget* w = gtk_grid_get_child_at (GTK_GRID(popup->grid), te->grid_left, te->grid_top - 1); display_widget (popup, w); diff --git a/src/ui/theme.c b/src/ui/theme.c index 4c3c20b1..711fa0cd 100644 --- a/src/ui/theme.c +++ b/src/ui/theme.c @@ -1376,7 +1376,7 @@ meta_color_spec_new_from_string (const char *str, MetaColorSpec *spec; spec = NULL; - + if (strncmp (str, "gtk:custom", 10) == 0) { const char *color_name_start, *fallback_str_start, *end; -- cgit v1.2.1