Use CHROMEGTK_CALLBACK_0 and ignore gpointer data
This commit is contained in:
parent
c8c11e68c6
commit
7994acf0ea
1 changed files with 2 additions and 2 deletions
|
@ -169,7 +169,7 @@ class GtkMessageBox : public NativeWindowObserver {
|
|||
}
|
||||
|
||||
CHROMEGTK_CALLBACK_1(GtkMessageBox, void, OnResponseDialog, int);
|
||||
CHROMEGTK_CALLBACK_1(GtkMessageBox, void, OnCheckboxToggled, gpointer);
|
||||
CHROMEGTK_CALLBACK_0(GtkMessageBox, void, OnCheckboxToggled);
|
||||
|
||||
private:
|
||||
atom::UnresponsiveSuppressor unresponsive_suppressor_;
|
||||
|
@ -196,7 +196,7 @@ void GtkMessageBox::OnResponseDialog(GtkWidget* widget, int response) {
|
|||
delete this;
|
||||
}
|
||||
|
||||
void GtkMessageBox::OnCheckboxToggled(GtkWidget* widget, gpointer data) {
|
||||
void GtkMessageBox::OnCheckboxToggled(GtkWidget* widget) {
|
||||
checkbox_checked_ = GTK_TOGGLE_BUTTON(widget)->active;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue