diff options
author | Dave Davenport <qball@gmpclient.org> | 2017-06-09 09:18:17 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2017-06-09 09:18:17 +0200 |
commit | 067544120f950039557a04f1ba06ec6870bd1088 (patch) | |
tree | 4b4eb49b9f63587ce3e4ab7e3e39847f30e61327 /include | |
parent | b99f86f34195cefe0bcb287f2f5b4469a83d03c9 (diff) |
Make function declaration match function prototype.
- Extra NULL check.
Diffstat (limited to 'include')
-rw-r--r-- | include/helper.h | 4 | ||||
-rw-r--r-- | include/widgets/widget.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/helper.h b/include/helper.h index 55cf855f..ad7359fb 100644 --- a/include/helper.h +++ b/include/helper.h @@ -225,13 +225,13 @@ char * rofi_force_utf8 ( const gchar *data, ssize_t length ); char * rofi_latin_to_utf8_strdup ( const char *input, gssize length ); /** - * @param input the string to escape + * @param text the string to escape * * Escape XML markup from the string. @param input is freed. * * @return the escaped string */ -gchar *rofi_escape_markup ( gchar *input ); +gchar *rofi_escape_markup ( gchar *text ); /** * @param pattern The user input to match against. diff --git a/include/widgets/widget.h b/include/widgets/widget.h index 322ef64d..9807aada 100644 --- a/include/widgets/widget.h +++ b/include/widgets/widget.h @@ -272,11 +272,11 @@ WidgetTriggerActionResult widget_trigger_action ( widget *wid, guint action, gin /** * @param wid The widget handle * @param cb The widget trigger action callback - * @param udata the user data to pass to callback + * @param cb_data the user data to pass to callback * * Override the widget trigger action handler on widget. */ -void widget_set_trigger_action_handler ( widget *wid, widget_trigger_action_cb cb, void *udata ); +void widget_set_trigger_action_handler ( widget *wid, widget_trigger_action_cb cb, void *cb_data ); /** * @param wid The widget handle |