Skip to content

Commit

Permalink
Use CHROMEGTK_CALLBACK_0 and ignore gpointer data
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsawicki committed Feb 9, 2017
1 parent c8c11e6 commit 7994acf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions atom/browser/ui/message_box_gtk.cc
Expand Up @@ -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_;
Expand All @@ -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;
}

Expand Down

0 comments on commit 7994acf

Please sign in to comment.