From 54727cc9e96cd2398bf273ed2cab543be79b2b14 Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Sat, 3 Jun 2017 16:27:11 +0200 Subject: [PATCH] Fix header file. --- include/helper.h | 1 + include/mode.h | 1 + include/view.h | 4 +--- include/widgets/textbox.h | 2 +- include/xcb.h | 2 -- 5 files changed, 4 insertions(+), 6 deletions(-) diff --git a/include/helper.h b/include/helper.h index 1b75f6c8..55cf855f 100644 --- a/include/helper.h +++ b/include/helper.h @@ -281,6 +281,7 @@ typedef struct } RofiHelperExecuteContext; /** + * @param wd The working directory. * @param args The arguments of the command to exec. * @param error_precmd Prefix to error message command. * @param error_cmd Error message command diff --git a/include/mode.h b/include/mode.h index d9424ec2..9b013ef3 100644 --- a/include/mode.h +++ b/include/mode.h @@ -125,6 +125,7 @@ char * mode_get_display_value ( const Mode *mode, unsigned int selected_line, in /** * @param mode The mode to query * @param selected_line The entry to query + * @param height The desired height of the icon. * * Returns the icon for the selected_line * diff --git a/include/view.h b/include/view.h index 55ac0685..fbcfaae7 100644 --- a/include/view.h +++ b/include/view.h @@ -101,7 +101,7 @@ void rofi_view_handle_text ( RofiViewState *state, char *text ); /** * @param state the Menu handle * @param x The X coordinates of the motion - * @param x The Y coordinates of the motion + * @param y The Y coordinates of the motion * * Update the state if needed. */ @@ -115,8 +115,6 @@ void rofi_view_maybe_update ( RofiViewState *state ); void rofi_view_temp_configure_notify ( RofiViewState *state, xcb_configure_notify_event_t *xce ); void rofi_view_temp_click_to_exit ( RofiViewState *state, xcb_window_t target ); /** - * @param state the Menu handle - * * Update the state if needed. */ void rofi_view_frame_callback ( void ); diff --git a/include/widgets/textbox.h b/include/widgets/textbox.h index 5ce93855..f49a9126 100644 --- a/include/widgets/textbox.h +++ b/include/widgets/textbox.h @@ -149,7 +149,7 @@ void textbox_text ( textbox *tb, const char *text ); /** * @param tb Handle to the textbox - * @param text The icon to show on the textbox + * @param icon The icon to show on the textbox * * Set the text to show. Cursor is moved to end (if visible) */ diff --git a/include/xcb.h b/include/xcb.h index 1223b440..b1154d58 100644 --- a/include/xcb.h +++ b/include/xcb.h @@ -42,8 +42,6 @@ typedef struct _xcb_stuff xcb_stuff; extern xcb_stuff *xcb; /** - * @param xcb the xcb data structure - * * Get the root window. * * @returns the root window.