listitemmanager: Clean up header
Remove all unused functions and an unused macro.
This commit is contained in:
@@ -24,8 +24,6 @@
|
||||
#include "gtklistitemwidgetprivate.h"
|
||||
#include "gtkwidgetprivate.h"
|
||||
|
||||
#define GTK_LIST_VIEW_MAX_LIST_ITEMS 200
|
||||
|
||||
struct _GtkListItemManager
|
||||
{
|
||||
GObject parent_instance;
|
||||
@@ -337,28 +335,6 @@ gtk_list_tile_get_tile_at (GtkListItemManager *self,
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* gtk_list_item_manager_get_tile_at:
|
||||
* @self: a GtkListItemManager
|
||||
* @x: x coordinate of tile
|
||||
* @y: y coordinate of tile
|
||||
*
|
||||
* Finds the tile occupying the coordinates at (x, y). If no
|
||||
* tile occupies the coordinates (for example, if the tile is out of bounds),
|
||||
* NULL is returned.
|
||||
*
|
||||
* Returns: (nullable): The tile at (x, y) or NULL
|
||||
**/
|
||||
GtkListTile *
|
||||
gtk_list_item_manager_get_tile_at (GtkListItemManager *self,
|
||||
int x,
|
||||
int y)
|
||||
{
|
||||
int distance = 1;
|
||||
|
||||
return gtk_list_tile_get_tile_at (self, gtk_list_item_manager_get_root (self), x, y, &distance);
|
||||
}
|
||||
|
||||
/*
|
||||
* gtk_list_item_manager_get_nearest_tile:
|
||||
* @self: a GtkListItemManager
|
||||
|
||||
@@ -75,9 +75,6 @@ gpointer gtk_list_item_manager_get_last (GtkListItemMana
|
||||
gpointer gtk_list_item_manager_get_nth (GtkListItemManager *self,
|
||||
guint position,
|
||||
guint *offset);
|
||||
GtkListTile * gtk_list_item_manager_get_tile_at (GtkListItemManager *self,
|
||||
int x,
|
||||
int y);
|
||||
GtkListTile * gtk_list_item_manager_get_nearest_tile (GtkListItemManager *self,
|
||||
int x,
|
||||
int y);
|
||||
@@ -112,7 +109,6 @@ void gtk_list_item_manager_set_model (GtkListItemMana
|
||||
GtkSelectionModel *model);
|
||||
GtkSelectionModel * gtk_list_item_manager_get_model (GtkListItemManager *self);
|
||||
|
||||
guint gtk_list_item_manager_get_size (GtkListItemManager *self);
|
||||
void gtk_list_item_manager_set_single_click_activate
|
||||
(GtkListItemManager *self,
|
||||
gboolean single_click_activate);
|
||||
|
||||
Reference in New Issue
Block a user