[Xfce4-commits] <midori:master> Change remaining GET_PRIVATE to priv in GtkIconEntry

Christian Dywan noreply at xfce.org
Thu Apr 1 00:06:01 CEST 2010


Updating branch refs/heads/master
         to 832b2e99222cc9ff9c44727b4233dddb0606997f (commit)
       from 67b9fc013abbde9508d9e399419c705b665a8656 (commit)

commit 832b2e99222cc9ff9c44727b4233dddb0606997f
Author: Christian Dywan <christian at twotoasts.de>
Date:   Wed Mar 31 21:02:37 2010 +0200

    Change remaining GET_PRIVATE to priv in GtkIconEntry

 midori/gtkiconentry.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/midori/gtkiconentry.c b/midori/gtkiconentry.c
index 8202983..ca0b50f 100644
--- a/midori/gtkiconentry.c
+++ b/midori/gtkiconentry.c
@@ -600,7 +600,7 @@ entry_expose_event (GtkWidget*      entry,
   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);
 
@@ -663,7 +663,7 @@ gtk_icon_entry_map (GtkWidget *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++)
 	{
@@ -693,7 +693,7 @@ gtk_icon_entry_unmap (GtkWidget *widget)
     {
       int i;
 
-      priv = GTK_ICON_ENTRY_GET_PRIVATE (widget);
+      priv = widget->priv;
 
       for (i = 0; i < MAX_ICONS; i++)
 	{
@@ -1007,7 +1007,7 @@ place_windows (GtkIconEntry *icon_entry, GtkAllocation *widget_alloc)
   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);
   
@@ -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 (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];
 
@@ -1923,7 +1923,7 @@ gtk_icon_entry_set_progress_fraction (GtkIconEntry *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);
 
   if (GTK_ENTRY (icon_entry)->text_area)



More information about the Xfce4-commits mailing list