From 96421ff37cd554af1ac11527bcad25cc2f2f1930 Mon Sep 17 00:00:00 2001 From: Javier Jardón Date: Tue, 13 Apr 2010 07:20:31 +0200 Subject: Use accessor functions instead direct access (GSEAL work) Still remaining: GtkAccessible::widget GtkAssistant::forward GtkAssistant::back GtkObject::flags GtkTreeStore::stamp The GtkAssistant fields are related to bug #596428. We don't need accessor functions so much as the enhancement described there implemented. https://bugzilla.gnome.org/show_bug.cgi?id=615613 --- filter/e-filter-rule.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'filter') diff --git a/filter/e-filter-rule.c b/filter/e-filter-rule.c index 08bf921507..2692972b16 100644 --- a/filter/e-filter-rule.c +++ b/filter/e-filter-rule.c @@ -255,13 +255,13 @@ more_parts (GtkWidget *button, new = e_rule_context_next_part (data->context, NULL); if (new) { GtkWidget *w; - gint rows; + guint rows; new = e_filter_part_clone (new); e_filter_rule_add_part (data->rule, new); w = get_rule_part_widget (data->context, new, data->rule); - rows = GTK_TABLE (data->parts)->nrows; + g_object_get (data->parts, "n-rows", &rows, NULL); gtk_table_resize (GTK_TABLE (data->parts), rows + 1, 2); attach_rule (w, data, new, rows); -- cgit