[beast: 5/28] BEAST: bstmain.cc: extract method main_show_release_notes
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast: 5/28] BEAST: bstmain.cc: extract method main_show_release_notes
- Date: Tue, 29 Dec 2015 19:01:20 +0000 (UTC)
commit 7478448ce54e13e28d8307f93e1072ff99f55b9c
Author: Tim Janik <timj gnu org>
Date: Tue Dec 1 00:24:03 2015 +0100
BEAST: bstmain.cc: extract method main_show_release_notes
Signed-off-by: Tim Janik <timj gnu org>
beast-gtk/bstmain.cc | 22 +++++++++++++---------
1 files changed, 13 insertions(+), 9 deletions(-)
---
diff --git a/beast-gtk/bstmain.cc b/beast-gtk/bstmain.cc
index 78992d8..feda38b 100644
--- a/beast-gtk/bstmain.cc
+++ b/beast-gtk/bstmain.cc
@@ -60,6 +60,7 @@ server_registration (SfiProxy server,
}
}
+static void main_show_release_notes();
static void main_splash_down ();
static void main_run_event_loops ();
static bool force_saving_rc_files = false;
@@ -335,8 +336,18 @@ main (int argc, char *argv[])
}
/* splash screen is definitely hidden here (still grabbing) */
- /* fire up release notes dialog
- */
+ main_show_release_notes();
+ main_splash_down();
+ main_run_event_loops();
+ main_save_rc_files();
+ main_cleanup();
+
+ return 0;
+}
+
+static void
+main_show_release_notes ()
+{
if (BST_RC_VERSION != BST_VERSION)
{
const char *release_notes_title =
@@ -375,13 +386,6 @@ main (int argc, char *argv[])
bst_gconfig_set_rc_version (BST_VERSION);
force_saving_rc_files = true;
}
-
- main_splash_down();
- main_run_event_loops();
- main_save_rc_files();
- main_cleanup();
-
- return 0;
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]