mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Use gtk_toggle_button_get_active()
This commit is contained in:
committed by
Cheng Zhao
parent
abcda097fb
commit
fe9ae41f98
@@ -197,7 +197,7 @@ void GtkMessageBox::OnResponseDialog(GtkWidget* widget, int response) {
|
||||
}
|
||||
|
||||
void GtkMessageBox::OnCheckboxToggled(GtkWidget* widget) {
|
||||
checkbox_checked_ = GTK_TOGGLE_BUTTON(widget)->active;
|
||||
checkbox_checked_ = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(widget));
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user