mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
patch from Bruno Boaventura de Oliveira to fix a compiler warning about
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.
This commit is contained in:
parent
dc5dff7e9a
commit
3fac671fc8
@ -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.
|
||||
|
@ -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>";
|
||||
|
Loading…
Reference in New Issue
Block a user