Merge pull request 'Added function to remove exit config checking' (#54) from YanTheKaller/libublsettingsui-gtk3:master into master

Reviewed-on: #54
master v1.49
Dmitry Razumov 3 months ago
commit d66e604fc9

@ -242,6 +242,10 @@ gboolean on_window_delete (GtkWidget *, GdkEvent *,template_main_window *widgets
return 0;
}
void yon_window_remove_exit_config_check(template_main_window *widgets){
g_signal_handlers_disconnect_by_func(G_OBJECT(widgets->Window),G_CALLBACK(on_window_delete),widgets);
}
template_main_window *setup_window(){
/* Widgets getting | Получение виджетов */
template_main_window *widgets = malloc(sizeof(template_main_window));

@ -323,6 +323,7 @@ template_app_info yon_ubl_get_app_info();
void yon_ubl_settings_window_set_standard_callbacks(template_main_window *widgets, char *get_global_command, char *get_local_command,char *get_custom_command, char *get_default_command, char *get_global_only_command, char *get_local_only_command);
void yon_window_remove_exit_config_check(template_main_window *widgets);
typedef struct {
GtkWidget *Window;

Loading…
Cancel
Save