diff options
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; |