Commit 8abd6f5eb17bfe0db54f35360c3ddbf93e19cd01
1 parent
cff464dd
Exists in
develop
Showing testpattern on debug startup.
Showing
3 changed files
with
8 additions
and
0 deletions
Show diff stats
.gitignore
configure.ac
| @@ -40,6 +40,9 @@ AC_CONFIG_AUX_DIR([scripts]) | @@ -40,6 +40,9 @@ AC_CONFIG_AUX_DIR([scripts]) | ||
| 40 | dnl Recommended for gtk-doc (https://developer.gnome.org/gtk-doc-manual/stable/settingup_autoconf.html.en) | 40 | dnl Recommended for gtk-doc (https://developer.gnome.org/gtk-doc-manual/stable/settingup_autoconf.html.en) |
| 41 | AC_CONFIG_MACRO_DIR(m4) | 41 | AC_CONFIG_MACRO_DIR(m4) |
| 42 | 42 | ||
| 43 | +dnl Initialize libtool. | ||
| 44 | +LT_INIT | ||
| 45 | + | ||
| 43 | dnl Compute the canonical host-system type | 46 | dnl Compute the canonical host-system type |
| 44 | AC_CANONICAL_HOST | 47 | AC_CANONICAL_HOST |
| 45 | 48 |
src/terminal/widget.c
| @@ -609,6 +609,10 @@ static void v3270_init(v3270 *widget) | @@ -609,6 +609,10 @@ static void v3270_init(v3270 *widget) | ||
| 609 | // Init accelerators | 609 | // Init accelerators |
| 610 | widget->accelerators = v3270_accelerator_map_load_default(NULL); | 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 | LIB3270_EXPORT GtkWidget * v3270_new(void) | 618 | LIB3270_EXPORT GtkWidget * v3270_new(void) |