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:
parent
02a23c4747
commit
bff2070f68
2 changed files with 3 additions and 2 deletions
1
THANKS
1
THANKS
|
|
@ -2,6 +2,7 @@ The Geary team would like to thank the following contributors:
|
||||||
|
|
||||||
Robert Ancell <robert.ancell@canonical.com>
|
Robert Ancell <robert.ancell@canonical.com>
|
||||||
Jürg Billeter <j@bitron.ch>
|
Jürg Billeter <j@bitron.ch>
|
||||||
|
Yosef Or Boczko <yoseforb@gmail.com>
|
||||||
Martijn Braam <pizzamartijn@gmail.com>
|
Martijn Braam <pizzamartijn@gmail.com>
|
||||||
Attila Bukor <r1pp3rj4ck@w4it.eu>
|
Attila Bukor <r1pp3rj4ck@w4it.eu>
|
||||||
Andrea Corbellini <corbellini.andrea@gmail.com>
|
Andrea Corbellini <corbellini.andrea@gmail.com>
|
||||||
|
|
|
||||||
|
|
@ -179,7 +179,7 @@ class ImapConsole : Gtk.Window {
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "close":
|
case "close":
|
||||||
close(cmd, args);
|
close_cmd(cmd, args);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "fetch-fields":
|
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);
|
check_connected(cmd, args, 0, null);
|
||||||
|
|
||||||
status("Closing");
|
status("Closing");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue