Change remaining GET_PRIVATE to priv in GtkIconEntry
This commit is contained in:
parent
67b9fc013a
commit
832b2e9922
1 changed files with 6 additions and 6 deletions
|
@ -600,7 +600,7 @@ entry_expose_event (GtkWidget* entry,
|
||||||
GdkWindow* text_area;
|
GdkWindow* text_area;
|
||||||
gint width, height;
|
gint width, height;
|
||||||
|
|
||||||
priv = GTK_ICON_ENTRY_GET_PRIVATE (icon_entry);
|
priv = icon_entry->priv;
|
||||||
text_area = GTK_ENTRY (entry)->text_area;
|
text_area = GTK_ENTRY (entry)->text_area;
|
||||||
gdk_drawable_get_size (text_area, &width, &height);
|
gdk_drawable_get_size (text_area, &width, &height);
|
||||||
|
|
||||||
|
@ -663,7 +663,7 @@ gtk_icon_entry_map (GtkWidget *widget)
|
||||||
|
|
||||||
GTK_WIDGET_CLASS (parent_class)->map (widget);
|
GTK_WIDGET_CLASS (parent_class)->map (widget);
|
||||||
|
|
||||||
priv = GTK_ICON_ENTRY_GET_PRIVATE (widget);
|
priv = widget->priv;
|
||||||
|
|
||||||
for (i = 0; i < MAX_ICONS; i++)
|
for (i = 0; i < MAX_ICONS; i++)
|
||||||
{
|
{
|
||||||
|
@ -693,7 +693,7 @@ gtk_icon_entry_unmap (GtkWidget *widget)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
priv = GTK_ICON_ENTRY_GET_PRIVATE (widget);
|
priv = widget->priv;
|
||||||
|
|
||||||
for (i = 0; i < MAX_ICONS; i++)
|
for (i = 0; i < MAX_ICONS; i++)
|
||||||
{
|
{
|
||||||
|
@ -1007,7 +1007,7 @@ place_windows (GtkIconEntry *icon_entry, GtkAllocation *widget_alloc)
|
||||||
GtkIconEntryPrivate *priv;
|
GtkIconEntryPrivate *priv;
|
||||||
gint y;
|
gint y;
|
||||||
|
|
||||||
priv = GTK_ICON_ENTRY_GET_PRIVATE (icon_entry);
|
priv = icon_entry->priv;
|
||||||
|
|
||||||
get_text_area_size (icon_entry, &text_area_alloc);
|
get_text_area_size (icon_entry, &text_area_alloc);
|
||||||
|
|
||||||
|
@ -1900,7 +1900,7 @@ gtk_icon_entry_set_icon_sensitive (const GtkIconEntry *icon_entry,
|
||||||
g_return_if_fail (GTK_IS_ICON_ENTRY (icon_entry));
|
g_return_if_fail (GTK_IS_ICON_ENTRY (icon_entry));
|
||||||
g_return_if_fail (IS_VALID_ICON_ENTRY_POSITION (icon_pos));
|
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];
|
icon_info = &priv->icons[icon_pos];
|
||||||
|
|
||||||
|
@ -1923,7 +1923,7 @@ gtk_icon_entry_set_progress_fraction (GtkIconEntry *icon_entry,
|
||||||
|
|
||||||
g_return_if_fail (GTK_IS_ICON_ENTRY (icon_entry));
|
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);
|
priv->fraction = CLAMP (fraction, 0.0, 1.0);
|
||||||
|
|
||||||
if (GTK_ENTRY (icon_entry)->text_area)
|
if (GTK_ENTRY (icon_entry)->text_area)
|
||||||
|
|
Loading…
Reference in a new issue