mirror of
https://github.com/raspberrypi/linux.git
synced 2026-01-03 08:14:12 +00:00
kconfig: gconf: remove gtk_widget_realize() calls
This function is primarily used in widget implementations, and isn't very useful otherwise. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
This commit is contained in:
@@ -215,7 +215,6 @@ static void init_left_tree(void)
|
||||
|
||||
sel = gtk_tree_view_get_selection(view);
|
||||
gtk_tree_selection_set_mode(sel, GTK_SELECTION_SINGLE);
|
||||
gtk_widget_realize(tree1_w);
|
||||
}
|
||||
|
||||
static void renderer_edited(GtkCellRendererText * cell,
|
||||
@@ -967,7 +966,6 @@ on_treeview1_button_press_event(GtkWidget * widget,
|
||||
display_tree_part();
|
||||
}
|
||||
|
||||
gtk_widget_realize(tree2_w);
|
||||
gtk_tree_view_set_cursor(view, path, NULL, FALSE);
|
||||
gtk_widget_grab_focus(tree2_w);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user