[Xfce4-commits] <ristretto:master> Add comments to app_menu_item.c

Stephan Arts noreply at xfce.org
Fri Jul 16 00:18:01 CEST 2010


Updating branch refs/heads/master
         to d522c352924e929be1dbda2a64bda4a5dda7156e (commit)
       from d096f15910ca42d01660047f2065c36096767277 (commit)

commit d522c352924e929be1dbda2a64bda4a5dda7156e
Author: Stephan Arts <stephan at xfce.org>
Date:   Thu Jul 15 23:37:54 2010 +0200

    Add comments to app_menu_item.c

 src/app_menu_item.c |   23 ++++++++++++++++++++++-
 1 files changed, 22 insertions(+), 1 deletions(-)

diff --git a/src/app_menu_item.c b/src/app_menu_item.c
index 01aa634..697aaab 100644
--- a/src/app_menu_item.c
+++ b/src/app_menu_item.c
@@ -88,6 +88,13 @@ rstto_app_menu_item_class_init(RsttoAppMenuItemClass *app_menu_item_class)
     menu_item_class->activate = rstto_app_menu_item_activate;
 }
 
+/**
+ * rstto_app_menu_item_finalize:
+ * @object: application-menu-item
+ *
+ * Cleanup the app-menu-item internals
+ *
+ */
 static void
 rstto_app_menu_item_finalize(GObject *object)
 {
@@ -105,6 +112,12 @@ rstto_app_menu_item_finalize(GObject *object)
 
 }
 
+/**
+ * rstto_app_menu_item_activate:
+ * @object: GtkMenuItem that is activated
+ *
+ * Launch the associated application
+ */
 static void
 rstto_app_menu_item_activate (GtkMenuItem *object)
 {
@@ -116,7 +129,15 @@ rstto_app_menu_item_activate (GtkMenuItem *object)
     GTK_MENU_ITEM_CLASS(parent_class)->activate (GTK_MENU_ITEM (object));
 }
 
-
+/**
+ * rstto_app_menu_item_new:
+ * @app_info: Application info
+ * @file: File
+ * 
+ * Creates new RsttoAppMenuItem
+ *
+ * Returns: RsttoAppMenuItem that launches application @app_info with @file 
+ */
 GtkWidget *
 rstto_app_menu_item_new (GAppInfo *app_info, GFile *file)
 {



More information about the Xfce4-commits mailing list