no longer need the designated initializer
This commit is contained in:
parent
1802ad4beb
commit
ebb446a82c
|
@ -239,12 +239,7 @@ int main(int argc, char **argv) {
|
||||||
gtk_container_add(GTK_CONTAINER(overlay), vte);
|
gtk_container_add(GTK_CONTAINER(overlay), vte);
|
||||||
gtk_container_add(GTK_CONTAINER(window), overlay);
|
gtk_container_add(GTK_CONTAINER(window), overlay);
|
||||||
|
|
||||||
search_panel_info info = {
|
search_panel_info info = {vte, entry, GTK_BIN(alignment), false};
|
||||||
.vte = vte,
|
|
||||||
.entry = entry,
|
|
||||||
.panel = GTK_BIN(alignment),
|
|
||||||
.reverse = false
|
|
||||||
};
|
|
||||||
|
|
||||||
g_signal_connect(window, "destroy", G_CALLBACK(gtk_main_quit), NULL);
|
g_signal_connect(window, "destroy", G_CALLBACK(gtk_main_quit), NULL);
|
||||||
g_signal_connect(vte, "child-exited", G_CALLBACK(gtk_main_quit), NULL);
|
g_signal_connect(vte, "child-exited", G_CALLBACK(gtk_main_quit), NULL);
|
||||||
|
|
Loading…
Reference in New Issue