]> spindle.queued.net Git - midori/commitdiff
Fix misleading typos in katze_throbber_get_preferred_height
authorChristian Dywan <christian@twotoasts.de>
Wed, 29 Feb 2012 21:41:59 +0000 (22:41 +0100)
committerChristian Dywan <christian@twotoasts.de>
Wed, 29 Feb 2012 21:41:59 +0000 (22:41 +0100)
katze/katze-throbber.c

index c358582d14f59ad74ae324e3da07ed1f4d0e62e1..8b941637939bb25e21b41c6f1fbda0db4082bbee 100644 (file)
@@ -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