diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-04-13 13:20:31 +0800 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-04-13 22:23:16 +0800 |
commit | 96421ff37cd554af1ac11527bcad25cc2f2f1930 (patch) | |
tree | 3f1a0d1ded8ab241481df3eb1ae1772c137eff7f /filter | |
parent | 7e931d4c10c0b0d06c9df571589d003e43790690 (diff) | |
download | gsoc2013-evolution-96421ff37cd554af1ac11527bcad25cc2f2f1930.tar.gz gsoc2013-evolution-96421ff37cd554af1ac11527bcad25cc2f2f1930.tar.zst gsoc2013-evolution-96421ff37cd554af1ac11527bcad25cc2f2f1930.zip |
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
Diffstat (limited to 'filter')
-rw-r--r-- | filter/e-filter-rule.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |