aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-vfolder-rule.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2007-03-30 01:29:46 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2007-03-30 01:29:46 +0800
commit72f0d0c0001ed7de14640579b9473fed811b866c (patch)
treea666a4db9172c1fa9879092b534b3613d81e5e68 /mail/em-vfolder-rule.c
parentb12d14e70117e2287cf3b11137c1f2636c09f4d9 (diff)
downloadgsoc2013-evolution-72f0d0c0001ed7de14640579b9473fed811b866c.tar.gz
gsoc2013-evolution-72f0d0c0001ed7de14640579b9473fed811b866c.tar.zst
gsoc2013-evolution-72f0d0c0001ed7de14640579b9473fed811b866c.zip
Fix "incompatible pointer type" warnings (#360619).
2007-03-29 Matthew Barnes <mbarnes@redhat.com> * calendar/gui/e-day-view.c: * calendar/gui/e-week-view.c: * calendar/gui/tasks-control.c: * composer/e-msg-composer-select-file.c: * mail/em-account-editor.c: * mail/em-folder-view.c: * mail/em-format-html-display.c: * mail/em-format-html.c: * mail/em-format.h: * mail/em-mailer-prefs.c: * mail/em-vfolder-rule.c: * mail/mail-ops.c: * mail/mail-send-recv.c: * mail/message-list.c: * plugins/bbdb/gaimbuddies.c: * plugins/itip-formatter/itip-formatter.c: * plugins/save-calendar/save-calendar.c: * shell/e-shell-window.c: * widgets/misc/e-icon-entry.c: * widgets/table/e-table-header-utils.c: * widgets/table/e-table-item.c: * widgets/table/e-tree-header-item.c: * widgets/table/e-tree-table-adapter.c: Fix "incompatible pointer type" warnings (#360619). svn path=/trunk/; revision=33339
Diffstat (limited to 'mail/em-vfolder-rule.c')
-rw-r--r--mail/em-vfolder-rule.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/mail/em-vfolder-rule.c b/mail/em-vfolder-rule.c
index a796f2635d..d7fa9c9806 100644
--- a/mail/em-vfolder-rule.c
+++ b/mail/em-vfolder-rule.c
@@ -414,16 +414,16 @@ static void
select_source_with_changed(GtkWidget *widget, struct _source_data *data)
{
em_vfolder_rule_with_t with;
- GList *group = NULL;
+ GSList *group = NULL;
gint i = 0;
- if ( !gtk_toggle_button_get_active (widget) )
+ if ( !gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (widget)) )
return;
- group = gtk_radio_button_get_group (widget);
+ group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (widget));
- for (i=0; i< g_list_length(group); i++) {
- if ( g_list_nth_data (group, with = i) == widget )
+ for (i=0; i< g_slist_length(group); i++) {
+ if ( g_slist_nth_data (group, with = i) == widget )
break;
}
@@ -669,9 +669,9 @@ get_widget(FilterRule *fr, RuleContext *rc)
data->source_selector = (GtkWidget *)glade_xml_get_widget (gui, "source_selector");
- rb = g_list_nth_data(gtk_radio_button_get_group (rb), vr->with);
- gtk_toggle_button_set_active (rb, TRUE);
- gtk_signal_emit_by_name (rb, "toggled");
+ rb = g_slist_nth_data(gtk_radio_button_get_group (rb), vr->with);
+ gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (rb), TRUE);
+ gtk_signal_emit_by_name (GTK_OBJECT (rb), "toggled");
set_sensitive(data);