diff options
author | Dave Davenport <qball@gmpclient.org> | 2017-04-23 15:17:15 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2017-04-23 15:17:15 +0200 |
commit | fb318f0ff806e8e5b0a6770ca4037b3c2e1857bb (patch) | |
tree | 535f0d3a74e982c79493676636b1bafe44444211 /include/widgets | |
parent | dd715fa1ad0d22f179b0bcbbf8dd37a9279e9832 (diff) |
Cleanups, fix arguments mismatch
Diffstat (limited to 'include/widgets')
-rw-r--r-- | include/widgets/textbox.h | 4 | ||||
-rw-r--r-- | include/widgets/widget.h | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/include/widgets/textbox.h b/include/widgets/textbox.h index 814202f0..b25b4c02 100644 --- a/include/widgets/textbox.h +++ b/include/widgets/textbox.h @@ -168,13 +168,13 @@ void textbox_cursor ( textbox *tb, int pos ); /** * @param tb Handle to the textbox - * @param pos The position to insert the string at + * @param char_pos The position to insert the string at * @param str The string to insert. * @param slen The length of the string. * * Insert the string str at position pos. */ -void textbox_insert ( textbox *tb, const int pos, const char *str, const int slen ); +void textbox_insert ( textbox *tb, const int char_pos, const char *str, const int slen ); /** * Setup the cached fonts. This is required to do diff --git a/include/widgets/widget.h b/include/widgets/widget.h index 9ab72ff4..1c172bf0 100644 --- a/include/widgets/widget.h +++ b/include/widgets/widget.h @@ -98,7 +98,7 @@ void widget_disable ( widget *widget ); void widget_enable ( widget *widget ); /** - * @param widget tb Handle to the widget + * @param widget widget Handle to the widget * @param d The cairo object used to draw itself. * * Render the textbox. @@ -110,7 +110,7 @@ void widget_draw ( widget *widget, cairo_t *d ); * * Free the widget and all allocated memory. */ -void widget_free ( widget *widget ); +void widget_free ( widget *wid ); /** * @param widget The widget toresize @@ -157,12 +157,12 @@ int widget_get_x_pos ( widget *widget ); */ void widget_update ( widget *widget ); /** - * @param widget The widget handle + * @param wid The widget handle * * Indicate that the widget needs to be redrawn. * This is done by setting the redraw flag on the toplevel widget. */ -void widget_queue_redraw ( widget *widget ); +void widget_queue_redraw ( widget *wid ); /** * @param wid The widget handle * |