diff options
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | src/theme.c | 4 |
2 files changed, 12 insertions, 1 deletions
@@ -1,4 +1,11 @@ -2006-09-11 Elijah Newren <newren gmail com> +2006-09-12 Elijah Newren <newren gmail com> + + * 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 <newren gmail com> * 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 3dc919a5..b047bf49 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 "<unknown>"; |