diff -r ce8b96a22ebe -r 9d6765962b22 finch/libgnt/gntbindable.h --- a/finch/libgnt/gntbindable.h Fri Jan 31 18:02:20 2014 +0530 +++ b/finch/libgnt/gntbindable.h Fri Jan 31 18:22:41 2014 +0530 @@ -69,7 +69,7 @@ /** * * - * @return + * Returns: */ GType gnt_bindable_get_gtype(void); @@ -107,24 +107,24 @@ /** * Free a bindable action. * - * @param action The bindable action. + * @action: The bindable action. */ void gnt_bindable_action_free(GntBindableAction *action); /** * Free a GntBindableActionParam. * - * @param param The GntBindableActionParam to free. + * @param: The GntBindableActionParam to free. */ void gnt_bindable_action_param_free(GntBindableActionParam *param); /** * Register a bindable action for a class. * - * @param klass The class the binding is for. - * @param name The name of the binding. - * @param callback The callback for the binding. - * @param trigger The default trigger for the binding, or @c NULL, followed by a NULL-terminated + * @klass: The class the binding is for. + * @name: The name of the binding. + * @callback: The callback for the binding. + * @trigger: The default trigger for the binding, or %NULL, followed by a NULL-terminated * list of default parameters. */ void gnt_bindable_class_register_action(GntBindableClass *klass, const char *name, GntBindableActionCallback callback, const char *trigger, ...); @@ -132,48 +132,48 @@ /** * Register a key-binding to an existing action. * - * @param klass The class the binding is for. - * @param name The name of the binding. - * @param trigger A new trigger for the binding, followed by a @c NULL-terminated list of parameters for the callback. + * @klass: The class the binding is for. + * @name: The name of the binding. + * @trigger: A new trigger for the binding, followed by a %NULL-terminated list of parameters for the callback. */ void gnt_bindable_register_binding(GntBindableClass *klass, const char *name, const char *trigger, ...); /** * Perform an action from a keybinding. * - * @param bindable The bindable object. - * @param keys The key to trigger the action. + * @bindable: The bindable object. + * @keys: The key to trigger the action. * - * @return @c TRUE if the action was performed successfully, @c FALSE otherwise. + * Returns: %TRUE if the action was performed successfully, %FALSE otherwise. */ gboolean gnt_bindable_perform_action_key(GntBindable *bindable, const char *keys); /** * Discover if a key is bound. * - * @param bindable The bindable object. - * @param keys The key to check for. + * @bindable: The bindable object. + * @keys: The key to check for. * - * @return @c TRUE if the the key has an action associated with it. + * Returns: %TRUE if the the key has an action associated with it. */ gboolean gnt_bindable_check_key(GntBindable *bindable, const char *keys); /** * Perform an action on a bindable object. * - * @param bindable The bindable object. - * @param name The action to perform, followed by a @c NULL-terminated list of parameters. + * @bindable: The bindable object. + * @name: The action to perform, followed by a %NULL-terminated list of parameters. * - * @return @c TRUE if the action was performed successfully, @c FALSE otherwise. + * Returns: %TRUE if the action was performed successfully, %FALSE otherwise. */ gboolean gnt_bindable_perform_action_named(GntBindable *bindable, const char *name, ...) G_GNUC_NULL_TERMINATED; /** * Returns a GntTree populated with "key" -> "binding" for the widget. * - * @param bind The object to list the bindings for. + * @bind: The object to list the bindings for. * - * @return The GntTree. + * Returns: The GntTree. */ GntBindable * gnt_bindable_bindings_view(GntBindable *bind); @@ -181,9 +181,9 @@ * Builds a window that list the key bindings for a GntBindable object. * From this window a user can select a listing to rebind a new key for the given action. * - * @param bindable The object to list the bindings for. + * @bindable: The object to list the bindings for. * - * @return @c TRUE + * Returns: %TRUE */ gboolean gnt_bindable_build_help_window(GntBindable *bindable);