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.
This commit is contained in:
TingPing
2013-05-12 01:43:27 -04:00
parent 9f8073ab77
commit ae04663aa9
18 changed files with 176 additions and 184 deletions

View File

@@ -769,7 +769,7 @@ dcc_exp_cb (GtkWidget *exp, GtkWidget *box)
static void
dcc_toggle (GtkWidget *item, gpointer data)
{
if (GTK_TOGGLE_BUTTON (item)->active)
if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (item)))
{
view_mode = GPOINTER_TO_INT (data);
dcc_fill_window (GPOINTER_TO_INT (data));