summaryrefslogtreecommitdiff
path: root/gtk/gtklistitemfactoryprivate.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2018-09-21 05:05:34 +0200
committerMatthias Clasen <mclasen@redhat.com>2020-05-30 19:26:45 -0400
commite1fa6271581b151e2900152499ecfae3feb2eae1 (patch)
tree22e8b227cbb6c907c2f550f3109762385c2568d9 /gtk/gtklistitemfactoryprivate.h
parent9d5bb875b124636d94d5fdd09cc4e665e1702528 (diff)
downloadgtk+-e1fa6271581b151e2900152499ecfae3feb2eae1.tar.gz
listview: Add GtkListItem
GtkListItem is a generic row widget that is supposed to replace GtkListBoxRow and GtkFlowBoxChild.
Diffstat (limited to 'gtk/gtklistitemfactoryprivate.h')
-rw-r--r--gtk/gtklistitemfactoryprivate.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/gtk/gtklistitemfactoryprivate.h b/gtk/gtklistitemfactoryprivate.h
index 28ae55b4aa..a6bec12faf 100644
--- a/gtk/gtklistitemfactoryprivate.h
+++ b/gtk/gtklistitemfactoryprivate.h
@@ -21,6 +21,7 @@
#ifndef __GTK_LIST_ITEM_FACTORY_H__
#define __GTK_LIST_ITEM_FACTORY_H__
+#include <gtk/gtklistitem.h>
#include <gtk/gtklistview.h>
G_BEGIN_DECLS
@@ -42,11 +43,13 @@ GtkListItemFactory * gtk_list_item_factory_new (GtkListCreateWi
gpointer user_data,
GDestroyNotify user_destroy);
-GtkWidget * gtk_list_item_factory_create (GtkListItemFactory *self);
+GtkListItem * gtk_list_item_factory_create (GtkListItemFactory *self);
void gtk_list_item_factory_bind (GtkListItemFactory *self,
- GtkWidget *widget,
+ GtkListItem *list_item,
gpointer item);
+void gtk_list_item_factory_unbind (GtkListItemFactory *self,
+ GtkListItem *list_item);
G_END_DECLS