[gnote] Call startup defined in GApplication



commit 1d0a19381d162937bf613957053903c19ba152ff
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 75beceb..16f32cf 100644
--- a/src/gnote.cpp
+++ b/src/gnote.cpp
@@ -78,8 +78,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]