Removed TODO from gtkcalls_unix.go about gtk_widget_show_all() working on all widgets, not just containers; the documentation explicitly says this.
This commit is contained in:
parent
b7a5f68543
commit
ba2ff53729
|
@ -38,7 +38,6 @@ func gtk_window_new() *C.GtkWidget {
|
||||||
return C.gtk_window_new(C.GTK_WINDOW_TOPLEVEL)
|
return C.gtk_window_new(C.GTK_WINDOW_TOPLEVEL)
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO ensure this works if called on an individual control
|
|
||||||
func gtk_widget_show(widget *C.GtkWidget) {
|
func gtk_widget_show(widget *C.GtkWidget) {
|
||||||
C.gtk_widget_show_all(widget)
|
C.gtk_widget_show_all(widget)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue