X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fgtk-contrib%2Fpsppire-sheet.c;h=3db8fd5bd0b558878036f069fd9ef7a2d74478b3;hb=d6a7921fd7f10c29f8bd22064a08e98fde240172;hp=33e7b47a0cce90cf7121ab275a78c965d3b66d0a;hpb=37329c68f3f4c77ee2baa88a70e9ba6701e4008f;p=pspp-builds.git diff --git a/lib/gtk-contrib/psppire-sheet.c b/lib/gtk-contrib/psppire-sheet.c index 33e7b47a..3db8fd5b 100644 --- a/lib/gtk-contrib/psppire-sheet.c +++ b/lib/gtk-contrib/psppire-sheet.c @@ -3802,6 +3802,8 @@ motion_timeout_callback (gpointer data) PsppireSheet *sheet = PSPPIRE_SHEET (data); gint x, y; gint row, column; + + gdk_threads_enter (); gtk_widget_get_pointer (GTK_WIDGET (sheet), &x, &y); if ( psppire_sheet_get_pixel_info (sheet, x, y, &row, &column) ) @@ -3825,6 +3827,7 @@ motion_timeout_callback (gpointer data) } } + gdk_threads_leave (); return FALSE; }