[gitg] Remove window action from app
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg] Remove window action from app
- Date: Fri, 1 Mar 2013 22:14:19 +0000 (UTC)
commit 737c5e5dc47575ed630f4ad3dc03fceee684f081
Author: Jesse van den Kieboom <jessevdk gnome org>
Date: Fri Mar 1 23:13:10 2013 +0100
Remove window action from app
gitg/gitg-application.vala | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/gitg/gitg-application.vala b/gitg/gitg-application.vala
index d4c8ca4..79a80fe 100644
--- a/gitg/gitg-application.vala
+++ b/gitg/gitg-application.vala
@@ -221,16 +221,6 @@ public class Application : Gtk.Application
}
}
- private void on_win_close_activated()
- {
- unowned List<Gtk.Window> wnds = get_windows();
-
- if (wnds != null)
- {
- wnds.data.destroy();
- }
- }
-
private void on_preferences_activated()
{
unowned List<Gtk.Window> wnds = get_windows();
@@ -262,7 +252,6 @@ public class Application : Gtk.Application
{"help", on_app_help_activated},
{"about", on_app_about_activated},
{"quit", on_app_quit_activated},
- {"winclose", on_win_close_activated},
{"preferences", on_preferences_activated}
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]