Commit 8abd6f5eb17bfe0db54f35360c3ddbf93e19cd01

Authored by Perry Werneck
1 parent cff464dd
Exists in develop

Showing testpattern on debug startup.

.gitignore
... ... @@ -62,3 +62,4 @@ po
62 62 *.conf
63 63 *.pdf
64 64 marshal
  65 +libtool
... ...
configure.ac
... ... @@ -40,6 +40,9 @@ AC_CONFIG_AUX_DIR([scripts])
40 40 dnl Recommended for gtk-doc (https://developer.gnome.org/gtk-doc-manual/stable/settingup_autoconf.html.en)
41 41 AC_CONFIG_MACRO_DIR(m4)
42 42  
  43 +dnl Initialize libtool.
  44 +LT_INIT
  45 +
43 46 dnl Compute the canonical host-system type
44 47 AC_CANONICAL_HOST
45 48  
... ...
src/terminal/widget.c
... ... @@ -609,6 +609,10 @@ static void v3270_init(v3270 *widget)
609 609 // Init accelerators
610 610 widget->accelerators = v3270_accelerator_map_load_default(NULL);
611 611  
  612 +#ifdef DEBUG
  613 + lib3270_testpattern(widget->host);
  614 +#endif // DEBUG
  615 +
612 616 }
613 617  
614 618 LIB3270_EXPORT GtkWidget * v3270_new(void)
... ...