[glib/wip/gapplication] Document new vfuncs



commit e0f353202074f51d06b9a31672bf768773d69d4a
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Jun 4 23:48:20 2010 -0400

    Document new vfuncs

 gio/gapplication.h |   26 ++++++++++++++------------
 1 files changed, 14 insertions(+), 12 deletions(-)
---
diff --git a/gio/gapplication.h b/gio/gapplication.h
index ab98fc7..bb70fe1 100644
--- a/gio/gapplication.h
+++ b/gio/gapplication.h
@@ -64,7 +64,9 @@ struct _GApplication
  * GApplicationClass:
  * @action: class handler for the #GApplication::action signal
  * @quit: class handler for the #GApplication::quit signal
+ * @prepare_activation: class handler for the #GApplication::prepare-activation signal
  * @run: virtual function, called by g_application_run()
+ * @format_activation_data: virtual function, called by g_application_format_activation_data()
  *
  * The <structname>GApplicationClass</structname> structure contains
  * private data only
@@ -79,18 +81,18 @@ struct _GApplicationClass
   /*< public >*/
   /* signals */
   void        (* action) (GApplication *application,
-			  const gchar  *action_name,
-			  guint         timestamp);
+                          const gchar  *action_name,
+                          guint         timestamp);
   gboolean    (* quit)   (GApplication *application,
-			  guint         timestamp);
+                          guint         timestamp);
   void        (* prepare_activation)   (GApplication  *application,
-					GVariant      *arguments,
-					GVariant      *platform_data);
+                                        GVariant      *arguments,
+                                        GVariant      *platform_data);
 
   /* vfuncs */
   void        (* run)    (GApplication *application);
   void        (*format_activation_data) (GApplication    *application,
-					 GVariantBuilder *builder);
+                                         GVariantBuilder *builder);
 
   /*< private >*/
   /* Padding for future expansion */
@@ -106,13 +108,13 @@ GType                   g_application_get_type                  (void) G_GNUC_CO
 GApplication *          g_application_new                       (const char               *appid);
 
 void                    g_application_register_with_data        (GApplication      *application,
-								 int                argc,
-								 char             **argv,
-								 GVariant          *platform_data);
+                                                                 int                argc,
+                                                                 char             **argv,
+                                                                 GVariant          *platform_data);
 
 GApplication *          g_application_new_and_register           (const char       *appid,
-								  int               argc,
-								  char            **argv);
+                                                                  int               argc,
+                                                                  char            **argv);
 
 GApplication *          g_application_get_instance              (void);
 G_CONST_RETURN gchar *  g_application_get_id                    (GApplication      *application);
@@ -129,7 +131,7 @@ void                    g_application_set_action_enabled        (GApplication
 gboolean                g_application_get_action_enabled        (GApplication      *application,
                                                                  const char        *name);
 G_CONST_RETURN gchar *  g_application_get_action_description    (GApplication *application,
-								 const char *name);
+                                                                 const char *name);
 void                    g_application_invoke_action             (GApplication      *application,
                                                                  const char        *name,
                                                                  guint              timestamp);



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