diff options
| author | rbuj <[email protected]> | 2020-08-04 10:39:44 +0200 | 
|---|---|---|
| committer | raveit65 <[email protected]> | 2020-08-04 16:39:25 +0200 | 
| commit | 85a22e754cd1f43e178e4a81c182643d4319bc5b (patch) | |
| tree | ec52f20880ba991d7abcc863de2a9c302ddf2d41 /src/ui | |
| parent | 29f0d1d7ddd859433bf953fba3861a4746b3f09a (diff) | |
| download | marco-85a22e754cd1f43e178e4a81c182643d4319bc5b.tar.bz2 marco-85a22e754cd1f43e178e4a81c182643d4319bc5b.tar.xz  | |
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*$//' {} \;
Diffstat (limited to 'src/ui')
| -rw-r--r-- | src/ui/tabpopup.c | 8 | ||||
| -rw-r--r-- | src/ui/theme.c | 2 | 
2 files changed, 5 insertions, 5 deletions
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;  | 
