From ae04663aa91f864250fd109fe6433c8dea7c4a93 Mon Sep 17 00:00:00 2001 From: TingPing Date: Sun, 12 May 2013 01:43:27 -0400 Subject: First round of using GTK accessor functions This is the first step to build with GSEAL_ENABLE setup.c uses a deprecated fontchooser, chanview-tabs.c didn't like the conversion, and I am waiting to do some work on xtext.c before converting it. --- src/fe-gtk/banlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fe-gtk/banlist.c') diff --git a/src/fe-gtk/banlist.c b/src/fe-gtk/banlist.c index d80d9333..27aee073 100644 --- a/src/fe-gtk/banlist.c +++ b/src/fe-gtk/banlist.c @@ -632,7 +632,7 @@ banlist_toggle (GtkWidget *item, gpointer data) if (bit) /* Should be gassert() */ { banl->checked &= ~bit; - banl->checked |= (GTK_TOGGLE_BUTTON (item)->active)? bit: 0; + banl->checked |= (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (item)))? bit: 0; banlist_do_refresh (banl); } } -- cgit 1.4.1