mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-15 10:10:19 +00:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user