diff --git a/source/ubl-settings-system.c b/source/ubl-settings-system.c index 461ecef..87d0585 100644 --- a/source/ubl-settings-system.c +++ b/source/ubl-settings-system.c @@ -688,7 +688,7 @@ void config_init(){ main_config.domain_connected=0; } -void on_check_domain_connected(main_window *widgets){ +void on_check_domain_connected(GtkWidget *self, main_window *widgets){ int ansv = system(domain_connect_check); printf("%d\n",ansv); if (!ansv){ diff --git a/source/ubl-settings-system.h b/source/ubl-settings-system.h index 3b2e617..daefef2 100644 --- a/source/ubl-settings-system.h +++ b/source/ubl-settings-system.h @@ -186,4 +186,6 @@ typedef struct { } domain_info_window; main_window *setup_window(); -void on_id_changed(GtkEntry *self, main_window *widgets); \ No newline at end of file +void on_id_changed(GtkEntry *self, main_window *widgets); + +void on_check_domain_connected(GtkWidget *self, main_window *widgets); \ No newline at end of file