GTK: Restore drawing capability

The expose_event signal has been renamed draw.
This commit is contained in:
Emmanuel Gil Peyrot 2020-08-29 12:33:49 +02:00
parent 89f5e50039
commit 81f0ded5b6
1 changed files with 1 additions and 1 deletions

View File

@ -3439,7 +3439,7 @@ common_gtk_main( class configured_features *my_config)
G_CALLBACK(Stylus_Release), NULL);
g_signal_connect(G_OBJECT(pDrawingArea), "motion_notify_event",
G_CALLBACK(Stylus_Move), NULL);
g_signal_connect(G_OBJECT(pDrawingArea), "expose_event",
g_signal_connect(G_OBJECT(pDrawingArea), "draw",
G_CALLBACK(ExposeDrawingArea), NULL ) ;
g_signal_connect(G_OBJECT(pDrawingArea), "configure_event",
G_CALLBACK(ConfigureDrawingArea), NULL ) ;