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/dccgui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fe-gtk/dccgui.c') diff --git a/src/fe-gtk/dccgui.c b/src/fe-gtk/dccgui.c index a3c2619a..76b1e2fb 100644 --- a/src/fe-gtk/dccgui.c +++ b/src/fe-gtk/dccgui.c @@ -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)); -- cgit 1.4.1