mirror of
https://github.com/torvalds/linux.git
synced 2026-05-29 17:43:52 +02:00
kconfig: gconf: show GTK version in About dialog
Likewise xconfig, it is useful to display the GTK version in the About dialog. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Acked-by: Randy Dunlap <rdunlap@infradead.org> Tested-by: Randy Dunlap <rdunlap@infradead.org>
This commit is contained in:
parent
bfa7375c10
commit
65056488e8
|
|
@ -525,7 +525,11 @@ static void on_about1_activate(GtkMenuItem *menuitem, gpointer user_data)
|
|||
dialog = gtk_message_dialog_new(GTK_WINDOW(main_wnd),
|
||||
GTK_DIALOG_DESTROY_WITH_PARENT,
|
||||
GTK_MESSAGE_INFO,
|
||||
GTK_BUTTONS_CLOSE, "%s", about_text);
|
||||
GTK_BUTTONS_CLOSE, "%s\nGTK version: %d.%d.%d",
|
||||
about_text,
|
||||
gtk_get_major_version(),
|
||||
gtk_get_minor_version(),
|
||||
gtk_get_micro_version());
|
||||
gtk_dialog_run(GTK_DIALOG(dialog));
|
||||
gtk_widget_destroy(dialog);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user