[gnote/stable-0.8] Call startup defined in GApplication



commit e1b36d51ac151effb93c1e6cbed9c608c05d24ac
Author: Aurimas Äernius <aurisc4 gmail com>
Date:   Sat Feb 25 19:29:35 2012 +0200

    Call startup defined in GApplication
    
    We override startup in GnoteApp, we need to call parents startup.

 src/gnote.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/gnote.cpp b/src/gnote.cpp
index 8d424d0..8f96ce3 100644
--- a/src/gnote.cpp
+++ b/src/gnote.cpp
@@ -77,8 +77,9 @@ namespace gnote {
       Gnote::obj().open_search_all();
     }
 
-    static void gnote_app_startup(GApplication *)
+    static void gnote_app_startup(GApplication * application)
     {
+      G_APPLICATION_CLASS(gnote_app_parent_class)->startup(application);
       Gnote::obj().startup();
     }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]