--- a/finch/libgnt/gntwm.h Fri Jan 31 18:02:20 2014 +0530 +++ b/finch/libgnt/gntwm.h Fri Jan 31 18:22:41 2014 +0530 @@ -184,134 +184,134 @@ G_BEGIN_DECLS /** - * @return GType for GntWM. + * Returns: GType for GntWM. */ GType gnt_wm_get_gtype(void); /** * Add a workspace. - * @param wm The window-manager. - * @param ws The workspace to add. + * @wm: The window-manager. + * @ws: The workspace to add. */ void gnt_wm_add_workspace(GntWM *wm, GntWS *ws); /** * Switch to a workspace. - * @param wm The window-manager. - * @param n Index of the workspace to switch to. + * @wm: The window-manager. + * @n: Index of the workspace to switch to. * - * @return @c TRUE if the switch was successful. + * Returns: %TRUE if the switch was successful. */ gboolean gnt_wm_switch_workspace(GntWM *wm, gint n); /** * Switch to the previous workspace from the current one. - * @param wm The window-manager. + * @wm: The window-manager. */ gboolean gnt_wm_switch_workspace_prev(GntWM *wm); /** * Switch to the next workspace from the current one. - * @param wm The window-manager. + * @wm: The window-manager. */ gboolean gnt_wm_switch_workspace_next(GntWM *wm); /** * Move a window to a specific workspace. - * @param wm The window manager. - * @param neww The new workspace. - * @param widget The widget to move. + * @wm: The window manager. + * @neww: The new workspace. + * @widget: The widget to move. */ void gnt_wm_widget_move_workspace(GntWM *wm, GntWS *neww, GntWidget *widget); /** * Set the list of workspaces . - * @param wm The window manager. - * @param workspaces The list of workspaces. + * @wm: The window manager. + * @workspaces: The list of workspaces. */ void gnt_wm_set_workspaces(GntWM *wm, GList *workspaces); /** * Find the workspace that contains a specific widget. - * @param wm The window-manager. - * @param widget The widget to find. - * @return The workspace that has the widget. + * @wm: The window-manager. + * @widget: The widget to find. + * Returns: The workspace that has the widget. */ GntWS *gnt_wm_widget_find_workspace(GntWM *wm, GntWidget *widget); /** * Process a new window. * - * @param wm The window-manager. - * @param widget The new window. + * @wm: The window-manager. + * @widget: The new window. */ void gnt_wm_new_window(GntWM *wm, GntWidget *widget); /** * Decorate a window. - * @param wm The window-manager. - * @param widget The widget to decorate. + * @wm: The window-manager. + * @widget: The widget to decorate. */ void gnt_wm_window_decorate(GntWM *wm, GntWidget *widget); /** * Close a window. - * @param wm The window-manager. - * @param widget The window to close. + * @wm: The window-manager. + * @widget: The window to close. */ void gnt_wm_window_close(GntWM *wm, GntWidget *widget); /** * Process input. * - * @param wm The window-manager. - * @param string The input string to process. + * @wm: The window-manager. + * @string: The input string to process. * - * @return @c TRUE of the string was processed, @c FALSE otherwise. + * Returns: %TRUE of the string was processed, %FALSE otherwise. */ gboolean gnt_wm_process_input(GntWM *wm, const char *string); /** * Process a click event. - * @param wm The window manager. - * @param event The mouse event. - * @param x The x-coordinate of the mouse. - * @param y The y-coordinate of the mouse. - * @param widget The widget under the mouse. + * @wm: The window manager. + * @event: The mouse event. + * @x: The x-coordinate of the mouse. + * @y: The y-coordinate of the mouse. + * @widget: The widget under the mouse. * - * @return @c TRUE if the event was handled, @c FALSE otherwise. + * Returns: %TRUE if the event was handled, %FALSE otherwise. */ gboolean gnt_wm_process_click(GntWM *wm, GntMouseEvent event, int x, int y, GntWidget *widget); /** * Resize a window. - * @param wm The window manager. - * @param widget The window to resize. - * @param width The desired width of the window. - * @param height The desired height of the window. + * @wm: The window manager. + * @widget: The window to resize. + * @width: The desired width of the window. + * @height: The desired height of the window. */ void gnt_wm_resize_window(GntWM *wm, GntWidget *widget, int width, int height); /** * Move a window. - * @param wm The window manager. - * @param widget The window to move. - * @param x The desired x-coordinate of the window. - * @param y The desired y-coordinate of the window. + * @wm: The window manager. + * @widget: The window to move. + * @x: The desired x-coordinate of the window. + * @y: The desired y-coordinate of the window. */ void gnt_wm_move_window(GntWM *wm, GntWidget *widget, int x, int y); /** * Update a window. - * @param wm The window-manager. - * @param widget The window to update. + * @wm: The window-manager. + * @widget: The window to update. */ void gnt_wm_update_window(GntWM *wm, GntWidget *widget); /** * Raise a window. - * @param wm The window-manager. - * @param widget The window to raise. + * @wm: The window-manager. + * @widget: The window to raise. */ void gnt_wm_raise_window(GntWM *wm, GntWidget *widget); @@ -326,7 +326,7 @@ void gnt_wm_copy_win(GntWidget *widget, GntNode *node); /** - * @return The idle time of the user. + * Returns: The idle time of the user. */ time_t gnt_wm_get_idle_time(void);