diff --git a/ChangeLog b/ChangeLog index f90140d04..7a2b2b374 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,11 @@ -2006-09-11 Elijah Newren +2006-09-12 Elijah Newren + + * src/theme.c (meta_gtk_arrow_from_string, + meta_gtk_arrow_to_string): patch from Bruno Boaventura de Oliveira + to fix a compiler warning about not handling GTK_ARRROW_NONE. + #355490. + +2006-09-12 Elijah Newren * src/compositor.c: Patch from Bruno Boaventura de Oliveira Lacerda to fix warnings about unused function and global var. diff --git a/src/theme.c b/src/theme.c index 3dc919a56..b047bf495 100644 --- a/src/theme.c +++ b/src/theme.c @@ -5598,6 +5598,8 @@ meta_gtk_arrow_from_string (const char *str) return GTK_ARROW_LEFT; else if (strcmp ("right", str) == 0) return GTK_ARROW_RIGHT; + else if (strcmp ("none", str) == 0) + return GTK_ARROW_NONE; else return -1; } @@ -5615,6 +5617,8 @@ meta_gtk_arrow_to_string (GtkArrowType arrow) return "left"; case GTK_ARROW_RIGHT: return "right"; + case GTK_ARROW_NONE: + return "none"; } return "";