forked from AuroraMiddleware/gtk
Rename gtk_icon_view_get_cell_area to gtk_icon_view_get_cell_rect
get_cell_area was "conflicting" with the property named "cell-area" which is something different.
This commit is contained in:
parent
d41b5d927e
commit
6c04296f03
@ -1741,7 +1741,7 @@ gtk_icon_view_set_margin
|
||||
gtk_icon_view_get_margin
|
||||
gtk_icon_view_set_item_padding
|
||||
gtk_icon_view_get_item_padding
|
||||
gtk_icon_view_get_cell_area
|
||||
gtk_icon_view_get_cell_rect
|
||||
gtk_icon_view_select_path
|
||||
gtk_icon_view_unselect_path
|
||||
gtk_icon_view_path_is_selected
|
||||
|
@ -1293,7 +1293,7 @@ gtk_icon_view_create_drag_icon
|
||||
gtk_icon_view_drop_position_get_type
|
||||
gtk_icon_view_enable_model_drag_dest
|
||||
gtk_icon_view_enable_model_drag_source
|
||||
gtk_icon_view_get_cell_area
|
||||
gtk_icon_view_get_cell_rect
|
||||
gtk_icon_view_get_columns
|
||||
gtk_icon_view_get_column_spacing
|
||||
gtk_icon_view_get_cursor
|
||||
|
@ -4451,7 +4451,7 @@ gtk_icon_view_get_item_at_pos (GtkIconView *icon_view,
|
||||
}
|
||||
|
||||
/**
|
||||
* gtk_icon_view_get_cell_area:
|
||||
* gtk_icon_view_get_cell_rect:
|
||||
* @icon_view: a #GtkIconView
|
||||
* @path: a #GtkTreePath
|
||||
* @cell: (allow-none): a #GtkCellRenderer or %NULL
|
||||
@ -4467,7 +4467,7 @@ gtk_icon_view_get_item_at_pos (GtkIconView *icon_view,
|
||||
* Since: 3.6
|
||||
*/
|
||||
gboolean
|
||||
gtk_icon_view_get_cell_area (GtkIconView *icon_view,
|
||||
gtk_icon_view_get_cell_rect (GtkIconView *icon_view,
|
||||
GtkTreePath *path,
|
||||
GtkCellRenderer *cell,
|
||||
GdkRectangle *rect)
|
||||
@ -4562,7 +4562,7 @@ gtk_icon_view_set_tooltip_cell (GtkIconView *icon_view,
|
||||
g_return_if_fail (GTK_IS_TOOLTIP (tooltip));
|
||||
g_return_if_fail (cell == NULL || GTK_IS_CELL_RENDERER (cell));
|
||||
|
||||
if (!gtk_icon_view_get_cell_area (icon_view, path, cell, &rect))
|
||||
if (!gtk_icon_view_get_cell_rect (icon_view, path, cell, &rect))
|
||||
return;
|
||||
|
||||
gtk_tooltip_set_tip_area (tooltip, &rect);
|
||||
|
@ -236,7 +236,7 @@ void gtk_icon_view_convert_widget_to_bin_window_coords (GtkIconView *icon
|
||||
gint *bx,
|
||||
gint *by);
|
||||
GDK_AVAILABLE_IN_3_6
|
||||
gboolean gtk_icon_view_get_cell_area (GtkIconView *icon_view,
|
||||
gboolean gtk_icon_view_get_cell_rect (GtkIconView *icon_view,
|
||||
GtkTreePath *path,
|
||||
GtkCellRenderer *cell,
|
||||
GdkRectangle *rect);
|
||||
|
Loading…
Reference in New Issue
Block a user