[gtk+/combo-refactor: 42/50] Removed calls to gtk_cell_area_context_sum_*() since they went away.



commit e8b5ae4dea98b26ab27520b02507efa1c0d8c78c
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date:   Sun Nov 28 18:58:47 2010 +0900

    Removed calls to gtk_cell_area_context_sum_*() since they went away.

 gtk/gtkcellview.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkcellview.c b/gtk/gtkcellview.c
index 4701a15..7425f61 100644
--- a/gtk/gtkcellview.c
+++ b/gtk/gtkcellview.c
@@ -624,7 +624,6 @@ gtk_cell_view_get_preferred_width  (GtkWidget *widget,
       gtk_cell_area_get_preferred_width (priv->area, priv->context, widget, NULL, NULL);
     }
 
-  gtk_cell_area_context_sum_preferred_width (priv->context);
   gtk_cell_area_context_get_preferred_width (priv->context, minimum_size, natural_size);
 
   g_signal_handler_unblock (priv->context, priv->size_changed_id);
@@ -653,7 +652,6 @@ gtk_cell_view_get_preferred_height (GtkWidget *widget,
       gtk_cell_area_get_preferred_height (priv->area, priv->context, widget, NULL, NULL);
     }
 
-  gtk_cell_area_context_sum_preferred_height (priv->context);
   gtk_cell_area_context_get_preferred_height (priv->context, minimum_size, natural_size);
 
   g_signal_handler_unblock (priv->context, priv->size_changed_id);



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