[rhythmbox] Chain GApplication startup method



commit bd84fb1ea955990b1759617adaae5d26906b90d5
Author: Rodney Dawes <rodney dawes canonical com>
Date:   Thu Mar 1 15:59:21 2012 -0500

    Chain GApplication startup method
    
    We need to chain the GApplication ::startup on override to avoid an error:
    GLib-GIO-CRITICAL **: GApplication subclass 'RBShell' failed to chain up on ::startup (from start of override function)

 shell/rb-shell.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/shell/rb-shell.c b/shell/rb-shell.c
index e244219..3603131 100644
--- a/shell/rb-shell.c
+++ b/shell/rb-shell.c
@@ -1210,6 +1210,8 @@ rb_shell_startup (GApplication *app)
 	 * we're asked to quit.
 	 */
 	g_application_hold (app);
+
+	(* G_APPLICATION_CLASS (rb_shell_parent_class)->startup) (app);
 }
 
 static gboolean



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