GdkWindow* text_area;
gint width, height;
- priv = GTK_ICON_ENTRY_GET_PRIVATE (icon_entry);
+ priv = icon_entry->priv;
text_area = GTK_ENTRY (entry)->text_area;
gdk_drawable_get_size (text_area, &width, &height);
GTK_WIDGET_CLASS (parent_class)->map (widget);
- priv = GTK_ICON_ENTRY_GET_PRIVATE (widget);
+ priv = widget->priv;
for (i = 0; i < MAX_ICONS; i++)
{
{
int i;
- priv = GTK_ICON_ENTRY_GET_PRIVATE (widget);
+ priv = widget->priv;
for (i = 0; i < MAX_ICONS; i++)
{
GtkIconEntryPrivate *priv;
gint y;
- priv = GTK_ICON_ENTRY_GET_PRIVATE (icon_entry);
+ priv = icon_entry->priv;
get_text_area_size (icon_entry, &text_area_alloc);
g_return_if_fail (GTK_IS_ICON_ENTRY (icon_entry));
g_return_if_fail (IS_VALID_ICON_ENTRY_POSITION (icon_pos));
- priv = GTK_ICON_ENTRY_GET_PRIVATE (icon_entry);
+ priv = icon_entry->priv;
icon_info = &priv->icons[icon_pos];
g_return_if_fail (GTK_IS_ICON_ENTRY (icon_entry));
- priv = GTK_ICON_ENTRY_GET_PRIVATE (icon_entry);
+ priv = icon_entry->priv;
priv->fraction = CLAMP (fraction, 0.0, 1.0);
if (GTK_ENTRY (icon_entry)->text_area)