iconview: Get rid of gdk_drawable_get_size() usage
This commit is contained in:
@ -4455,8 +4455,8 @@ gtk_icon_view_scroll_to_item (GtkIconView *icon_view,
|
||||
"focus-line-width", &focus_width,
|
||||
NULL);
|
||||
|
||||
gdk_drawable_get_size (GDK_DRAWABLE (icon_view->priv->bin_window),
|
||||
&width, &height);
|
||||
width = gdk_window_get_width (icon_view->priv->bin_window);
|
||||
height = gdk_window_get_height (icon_view->priv->bin_window);
|
||||
gdk_window_get_position (icon_view->priv->bin_window, &x, &y);
|
||||
|
||||
gtk_widget_get_allocation (widget, &allocation);
|
||||
|
||||
Reference in New Issue
Block a user