[Xfce4-commits] <midori:master> Fix misleading typos in katze_throbber_get_preferred_height

Christian Dywan noreply at xfce.org
Thu Mar 1 20:20:01 CET 2012


Updating branch refs/heads/master
         to df8284f6500d09fa2d0b741a7003f6065cb7cbe6 (commit)
       from cbe84b682070be151cb5d96be08608beae88a5ac (commit)

commit df8284f6500d09fa2d0b741a7003f6065cb7cbe6
Author: Christian Dywan <christian at twotoasts.de>
Date:   Wed Feb 29 22:41:59 2012 +0100

    Fix misleading typos in katze_throbber_get_preferred_height

 katze/katze-throbber.c |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/katze/katze-throbber.c b/katze/katze-throbber.c
index c358582..8b94163 100644
--- a/katze/katze-throbber.c
+++ b/katze/katze-throbber.c
@@ -97,12 +97,12 @@ katze_throbber_realize (GtkWidget* widget);
 #if GTK_CHECK_VERSION (3, 0, 0)
 static void
 katze_throbber_get_preferred_height (GtkWidget *widget,
-                               gint      *minimal_width,
-                               gint      *natural_width);
+                                     gint      *minimal_height,
+                                     gint      *natural_height);
 static void
 katze_throbber_get_preferred_width (GtkWidget *widget,
-                               gint      *minimal_width,
-                               gint      *natural_width);
+                                     gint      *minimal_width,
+                                     gint      *natural_width);
 #endif
 static void
 katze_throbber_unrealize (GtkWidget* widget);
@@ -857,14 +857,14 @@ katze_throbber_size_request (GtkWidget*      widget,
 #if GTK_CHECK_VERSION (3, 0, 0)
 static void
 katze_throbber_get_preferred_height (GtkWidget *widget,
-                                     gint      *minimal_width,
-                                     gint      *natural_width)
+                                     gint      *minimal_height,
+                                     gint      *natural_height)
 {
     GtkRequisition requisition;
 
     katze_throbber_size_request (widget, &requisition);
 
-    *minimal_width = *natural_width = requisition.height;
+    *minimal_height = *natural_height = requisition.width;
 }
 
 static void


More information about the Xfce4-commits mailing list