diff options
author | Dave Davenport <qball@gmpclient.org> | 2018-06-12 10:08:29 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2018-06-12 10:08:29 +0200 |
commit | 0633bc9dad5cccc7c5a851649aff23fce0caa9b7 (patch) | |
tree | 1ee542b8792531bc41c97d1d86c55a2feb8b7f6b /include | |
parent | d4cfb5bb4ba94199871475c3faea015670a53fda (diff) |
Remove (unused) widget ref counting.
Diffstat (limited to 'include')
-rw-r--r-- | include/widgets/widget-internal.h | 3 | ||||
-rw-r--r-- | include/widgets/widget.h | 6 |
2 files changed, 0 insertions, 9 deletions
diff --git a/include/widgets/widget-internal.h b/include/widgets/widget-internal.h index 762f5723..e32c8766 100644 --- a/include/widgets/widget-internal.h +++ b/include/widgets/widget-internal.h @@ -94,9 +94,6 @@ struct _widget /** Name of widget (used for theming) */ char *name; const char *state; - - /** Used for reference counting */ - int ref_count; }; /** diff --git a/include/widgets/widget.h b/include/widgets/widget.h index 28fd94c3..f2f8d6ca 100644 --- a/include/widgets/widget.h +++ b/include/widgets/widget.h @@ -323,11 +323,5 @@ int widget_get_absolute_xpos ( widget *wid ); */ int widget_get_absolute_ypos ( widget *wid ); -/** - * @param wid The widget handle - * - * Increment the reference count on the widget. - */ -void widget_ref ( widget *wid ); /*@}*/ #endif // ROFI_WIDGET_H |