diff options
author | TingPing <tingping@tingping.se> | 2013-05-12 01:43:27 -0400 |
---|---|---|
committer | TingPing <tingping@tingping.se> | 2013-09-20 17:24:39 -0400 |
commit | ae04663aa91f864250fd109fe6433c8dea7c4a93 (patch) | |
tree | d02b14b3ef494c0f82fcf17ce8c8b4fffe9bcf3c /src/fe-gtk/banlist.c | |
parent | 9f8073ab7705e0b5d9b83cb046741bd5c5f78f05 (diff) |
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.
Diffstat (limited to 'src/fe-gtk/banlist.c')
-rw-r--r-- | src/fe-gtk/banlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } |