Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

kconfig: gconf: use gtk_dialog_get_content_area() accessor

GTK 3 removes many implementation details and struct members from its
public headers.

Use the gtk_check_menu_item_get_active() accessor.

[1]: https://gitlab.gnome.org/GNOME/gtk/-/blob/2.24.33/docs/reference/gtk/compiling.sgml#L85

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>

+3 -2
+3 -2
scripts/kconfig/gconf.c
··· 628 628 static gboolean on_window1_delete_event(GtkWidget *widget, GdkEvent *event, 629 629 gpointer user_data) 630 630 { 631 - GtkWidget *dialog, *label; 631 + GtkWidget *dialog, *label, *content_area; 632 632 gint result; 633 633 gint ret = FALSE; 634 634 ··· 650 650 GTK_RESPONSE_CANCEL); 651 651 652 652 label = gtk_label_new("\nSave configuration ?\n"); 653 - gtk_container_add(GTK_CONTAINER(GTK_DIALOG(dialog)->vbox), label); 653 + content_area = gtk_dialog_get_content_area(GTK_DIALOG(dialog)); 654 + gtk_container_add(GTK_CONTAINER(content_area), label); 654 655 gtk_widget_show(label); 655 656 656 657 result = gtk_dialog_run(GTK_DIALOG(dialog));