From: Christian Dywan Date: Fri, 19 Mar 2010 19:13:36 +0000 (+0100) Subject: Clarify MidoriApp signal documentation X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3682b7755e9eaa90fdd2640fffbf1e115e5e4677;p=midori Clarify MidoriApp signal documentation --- diff --git a/midori/midori-app.c b/midori/midori-app.c index 52716ee7..29910036 100644 --- a/midori/midori-app.c +++ b/midori/midori-app.c @@ -227,6 +227,14 @@ midori_app_class_init (MidoriAppClass* class) { GObjectClass* gobject_class; + /** + * MidoriApp::add-browser: + * @app: the object on which the signal is emitted + * @browser: a #MidoriBrowser + * + * A new browser is being added to the app, + * see midori_app_add_browser(). + */ signals[ADD_BROWSER] = g_signal_new ( "add-browser", G_TYPE_FROM_CLASS (class), @@ -243,7 +251,8 @@ midori_app_class_init (MidoriAppClass* class) * @app: the object on which the signal is emitted * @browser: a #MidoriBrowser * - * A new browser is being added to the app. + * A browser is being removed from the app because it + * was destroyed. * * Since: 0.1.7 */ @@ -258,6 +267,13 @@ midori_app_class_init (MidoriAppClass* class) G_TYPE_NONE, 1, MIDORI_TYPE_BROWSER); + /** + * MidoriApp::quit: + * @app: the object on which the signal is emitted + * @browser: a #MidoriBrowser + * + * The app is being quit, see midori_app_quit(). + */ signals[QUIT] = g_signal_new ( "quit", G_TYPE_FROM_CLASS (class), @@ -1135,7 +1151,7 @@ midori_app_create_browser (MidoriApp* app) * midori_app_quit: * @app: a #MidoriApp * - * Quits the #MidoriApp singleton. + * Quits the #MidoriApp. * * Since 0.1.2 the "quit" signal is always emitted before quitting. **/