@@ -60,9 +60,6 @@ struct _ImageWindow
6060 gint64 last_frame_time ;
6161
6262 GSettings * settings ;
63-
64- // use for any bg threads we need
65- VipsThreadset * threadset ;
6663};
6764
6865G_DEFINE_TYPE ( ImageWindow , image_window , GTK_TYPE_APPLICATION_WINDOW );
@@ -86,7 +83,6 @@ image_window_dispose( GObject *object )
8683 printf ( "image_window_dispose:\n" );
8784#endif /*DEBUG*/
8885
89- VIPS_FREEF ( vips_threadset_free , win -> threadset );
9086 VIPS_UNREF ( win -> tile_source );
9187 VIPS_UNREF ( win -> tile_cache );
9288 VIPS_FREEF ( gtk_widget_unparent , win -> right_click_menu );
@@ -1368,8 +1364,6 @@ image_window_init( ImageWindow *win )
13681364 win -> last_progress_time = -1 ;
13691365 win -> scale_rate = 1.0 ;
13701366 win -> settings = g_settings_new ( APPLICATION_ID );
1371- // only need a couple of threads
1372- win -> threadset = vips_threadset_new ( 2 );
13731367
13741368 gtk_widget_init_template ( GTK_WIDGET ( win ) );
13751369
@@ -1618,8 +1612,3 @@ image_window_get_mouse_position( ImageWindow *win,
16181612 win -> last_x_gtk , win -> last_y_gtk , x_image , y_image );
16191613}
16201614
1621- VipsThreadset *
1622- image_window_get_threadset ( ImageWindow * win )
1623- {
1624- return ( win -> threadset );
1625- }
0 commit comments