summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-06-02 16:53:39 +0200
committerDave Davenport <qball@gmpclient.org>2017-06-02 16:53:39 +0200
commit4bd9828aa706ec3721e7122a30aee334175eea84 (patch)
tree6ac40521f8f6c346826ee374675e5a16fe158d5e /include
parent1d622aa59c7e80cdfa71c24331dc2255b66960f4 (diff)
Remove index from box_add.
Diffstat (limited to 'include')
-rw-r--r--include/widgets/box.h3
-rw-r--r--include/widgets/widget-internal.h2
2 files changed, 1 insertions, 4 deletions
diff --git a/include/widgets/box.h b/include/widgets/box.h
index cffccd13..21724b1a 100644
--- a/include/widgets/box.h
+++ b/include/widgets/box.h
@@ -59,10 +59,9 @@ box * box_create ( const char *name, RofiOrientation type );
* @param box Handle to the box widget.
* @param child Handle to the child widget to pack.
* @param expand If the child widget should expand and use all available space.
- * @param index The position index.
*
* Add a widget to the box.
*/
-void box_add ( box *box, widget *child, gboolean expand, int index );
+void box_add ( box *box, widget *child, gboolean expand );
/*@}*/
#endif // ROFI_HBOX_H
diff --git a/include/widgets/widget-internal.h b/include/widgets/widget-internal.h
index 76273445..08c910af 100644
--- a/include/widgets/widget-internal.h
+++ b/include/widgets/widget-internal.h
@@ -58,8 +58,6 @@ struct _widget
gboolean enabled;
/** Expand the widget when packed */
gboolean expand;
- /*** The packing index */
- int index;
/** Place widget at end of parent */
gboolean end;
/** Parent widget */