summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-01-04 13:34:02 +0100
committerDave Davenport <qball@gmpclient.org>2017-01-04 13:34:02 +0100
commit44581fd90b82ec617e94b2da36c7a194fff0ceca (patch)
tree2231f47d2a98612a3182e8585297bcf0a89cc2bb /include
parent8bbf1b36d5abe1d606c5f67d9d66dbb837b975d2 (diff)
Allow packing order to be set using theme.
Diffstat (limited to 'include')
-rw-r--r--include/widgets/listview.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/include/widgets/listview.h b/include/widgets/listview.h
index 1b89902a..fbc1aff7 100644
--- a/include/widgets/listview.h
+++ b/include/widgets/listview.h
@@ -46,10 +46,11 @@ typedef void ( *listview_mouse_activated_cb )( listview *, xcb_button_press_even
* @param cb The update callback.
* @param udata The user data to pass to the callback
* @param eh The height of one element
+ * @param reverse Reverse the listview order.
*
* @returns a new listview
*/
-listview *listview_create ( const char *name, listview_update_callback cb, void *udata, unsigned int eh );
+listview *listview_create ( const char *name, listview_update_callback cb, void *udata, unsigned int eh, gboolean reverse );
/**
* @param lv The listview handle
@@ -184,13 +185,6 @@ void listview_set_num_lines ( listview *lv, unsigned int num_lines );
*/
void listview_set_max_lines ( listview *lv, unsigned int max_lines );
-/**
- * @param lv Handler to the listview object.
- * @param reverse Reverse the listview order.
- *
- * Set reversing the listview.
- */
-void listview_reverse ( listview *lv, gboolean reverse );
/* @} */
#endif // ROFI_LISTVIEW_H