Avoid conflict with Gtk.Window.close: Closes #7196

This doesn't affect Vala 0.20.1, but this will be a problem with
GTK 3.9.7 and the patch does not introduce any backward compatability
problems.
This commit is contained in:
Yosef Or Boczko 2013-07-09 12:15:23 -07:00 committed by Jim Nelson
parent 02a23c4747
commit bff2070f68
2 changed files with 3 additions and 2 deletions

1
THANKS
View file

@ -2,6 +2,7 @@ The Geary team would like to thank the following contributors:
Robert Ancell <robert.ancell@canonical.com>
Jürg Billeter <j@bitron.ch>
Yosef Or Boczko <yoseforb@gmail.com>
Martijn Braam <pizzamartijn@gmail.com>
Attila Bukor <r1pp3rj4ck@w4it.eu>
Andrea Corbellini <corbellini.andrea@gmail.com>

View file

@ -179,7 +179,7 @@ class ImapConsole : Gtk.Window {
break;
case "close":
close(cmd, args);
close_cmd(cmd, args);
break;
case "fetch-fields":
@ -520,7 +520,7 @@ class ImapConsole : Gtk.Window {
}
}
private void close(string cmd, string[] args) throws Error {
private void close_cmd(string cmd, string[] args) throws Error {
check_connected(cmd, args, 0, null);
status("Closing");