[gtk+/wip/matthiasc/gadget] Trivial code reordering



commit 694d92541c610e7838792bae15d7b548140b9d87
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Dec 10 01:39:51 2015 -0500

    Trivial code reordering

 gtk/gtklistbox.c |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/gtk/gtklistbox.c b/gtk/gtklistbox.c
index bb9f2de..ca9b24f 100644
--- a/gtk/gtklistbox.c
+++ b/gtk/gtklistbox.c
@@ -3151,18 +3151,6 @@ gtk_list_box_row_render (GtkCssGadget *gadget,
 }
 
 static void
-gtk_list_box_row_get_preferred_height (GtkWidget *widget,
-                                       gint      *minimum,
-                                       gint      *natural)
-{
-  gtk_css_gadget_get_preferred_size (ROW_PRIV (GTK_LIST_BOX_ROW (widget))->gadget,
-                                     GTK_ORIENTATION_VERTICAL,
-                                     -1,
-                                     minimum, natural,
-                                     NULL, NULL);
-}
-
-static void
 gtk_list_box_row_measure (GtkCssGadget   *gadget,
                           GtkOrientation  orientation,
                           int             for_size,
@@ -3200,6 +3188,18 @@ gtk_list_box_row_measure (GtkCssGadget   *gadget,
 }
 
 static void
+gtk_list_box_row_get_preferred_height (GtkWidget *widget,
+                                       gint      *minimum,
+                                       gint      *natural)
+{
+  gtk_css_gadget_get_preferred_size (ROW_PRIV (GTK_LIST_BOX_ROW (widget))->gadget,
+                                     GTK_ORIENTATION_VERTICAL,
+                                     -1,
+                                     minimum, natural,
+                                     NULL, NULL);
+}
+
+static void
 gtk_list_box_row_get_preferred_height_for_width (GtkWidget *widget,
                                                  gint       width,
                                                  gint      *minimum,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]