From 8ac8df8b9aa67d007ce4ce3cb0e9fe58ee1736ca Mon Sep 17 00:00:00 2001 From: Ivan Dmitrievich Yartsev Date: Thu, 25 Dec 2025 18:21:49 +0000 Subject: [PATCH] Version on about window wrong input fix --- source/ubinstall-gtk.c | 4 ++-- source/ubinstall-gtk.h | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/source/ubinstall-gtk.c b/source/ubinstall-gtk.c index a62c8a4..1929f9e 100644 --- a/source/ubinstall-gtk.c +++ b/source/ubinstall-gtk.c @@ -54,7 +54,7 @@ void on_link(GtkWidget *self, char* uri, gpointer ){ on_open_documentation_confirmation(self,uri); } -void on_about(GtkWidget *, char *version_application){ +void yon_on_about(GtkWidget *, main_window *){ GtkBuilder *builder=gtk_builder_new_from_resource(ui_glade_path_about); GtkWidget *window=yon_gtk_builder_get_widget(builder,"AboutWindow"); GtkWidget *title=yon_gtk_builder_get_widget(builder,"headerAboutTopic"); @@ -1024,7 +1024,7 @@ void yon_main_window_create(main_window *widgets){ g_signal_connect(G_OBJECT(widgets->ScrollLeftEventBox),"leave-notify-event",G_CALLBACK(on_install_slider_hover_highlight_end),widgets); g_signal_connect(G_OBJECT(widgets->ScrollRightEventBox),"leave-notify-event",G_CALLBACK(on_install_slider_hover_highlight_end),widgets); - g_signal_connect(G_OBJECT(widgets->AboutMenuItem),"activate",G_CALLBACK(on_about),widgets); + g_signal_connect(G_OBJECT(widgets->AboutMenuItem),"activate",G_CALLBACK(yon_on_about),NULL); g_signal_connect(G_OBJECT(widgets->DocumentationMenuItem),"activate",G_CALLBACK(on_open_documentation_confirmation),WIKI_LINK); yon_gtk_window_setup(GTK_WINDOW(widgets->MainWindow),NULL,TITLE_LABEL,icon_path,NULL); diff --git a/source/ubinstall-gtk.h b/source/ubinstall-gtk.h index 8f54975..690963d 100755 --- a/source/ubinstall-gtk.h +++ b/source/ubinstall-gtk.h @@ -1432,4 +1432,5 @@ void on_startup_app_edit_accept(GtkWidget *self, main_window *widgets); startup_service_window *yon_startup_app_window_new(); void on_startup_app_add(GtkWidget *, main_window *widgets); void on_startup_app_edit(GtkWidget *, main_window *widgets); -int yon_startup_app_save(main_window *widgets); \ No newline at end of file +int yon_startup_app_save(main_window *widgets); +void yon_on_about(GtkWidget *, main_window *); \ No newline at end of file