mirror of
https://github.com/etlegacy/Update-Installer.git
synced 2025-02-17 00:41:11 +00:00
Fix incorrect signature for button clicked slot.
The first argument to the slot is the sender widget.
This commit is contained in:
parent
85c4c58dc9
commit
96b76b0443
2 changed files with 3 additions and 3 deletions
|
@ -42,7 +42,7 @@ void UpdateDialogGtk::init(int argc, char** argv)
|
|||
gtk_container_add(GTK_CONTAINER(windowLayout),buttonLayout);
|
||||
|
||||
gtk_box_pack_start(GTK_BOX(buttonLayout),m_finishButton,true,false,0);
|
||||
|
||||
|
||||
gtk_widget_show(m_progressLabel);
|
||||
gtk_widget_show(windowLayout);
|
||||
gtk_widget_show(buttonLayout);
|
||||
|
@ -57,7 +57,7 @@ void UpdateDialogGtk::exec()
|
|||
gtk_main();
|
||||
}
|
||||
|
||||
void UpdateDialogGtk::finish(void* _dialog)
|
||||
void UpdateDialogGtk::finish(GtkWidget* widget, gpointer _dialog)
|
||||
{
|
||||
UpdateDialogGtk* dialog = static_cast<UpdateDialogGtk*>(_dialog);
|
||||
dialog->m_restartApp = true;
|
||||
|
|
|
@ -43,7 +43,7 @@ class UpdateDialogGtk : public UpdateObserver
|
|||
int progress;
|
||||
};
|
||||
|
||||
static void finish(void* dialog);
|
||||
static void finish(GtkWidget* widget, gpointer dialog);
|
||||
static gboolean notify(void* message);
|
||||
|
||||
GtkWidget* m_window;
|
||||
|
|
Loading…
Reference in a new issue