2005-01-16 Bill Haneman * configure.in, NEWS, README: Updated for 0.11.12. Fixes for bug #164275. * magnifier/damage-client.c: (magnifier_damage_client_init): Keep track of the damage-client gsource, and remove it when re-initializing the damage connection on source DISPLAY change. Make sure to connect to the source display, not the default DISPLAY. * magnifier/magnifier-main.c: Removed some excess output to stderr. * magnifier/magnifier.c: (MagnifierZoomRegionSaveProps): New struct for persisting zoom region params during a brute-force reparent. (magnifier_unref_zoom_region): Don't unref here, we do it elsewhere. (magnifier_reparent_zoom_regions): Superceded by separate save/restore methods. (magnifier_zoom_regions_save): New, persist the zoom region data before disposing, during brute-force reparent. (magnifier_zoom_regions_restore): New, create and new zoom region list from saved set. (magnifier_set_property): Handle source-display setting differently - save the old zoom list, destroy and recreate the main GtkWindow, and recreate the zoom list. Restore the main window's target bounds on re-create. (impl_magnifier_get_target_display): Fixed cut/n/paste error in the return of 'target display'. * magnifier/zoom-region.c: Added conditionally-compiled assertions for lifecycle testing. Added more sanity checks before indirections through pointers, to help prevent SEGVs. (zoom_region_update_current): Tested GDK_IS_DRAWABLE of pixmap. (zoom_region_paint_crosswire_cursor): Init an unused part of the GdkRectangle, to keep valgrind happy. (zoom_region_create_pixmap): Recompute the exposed viewport when creating the initial pixmap. Added code to return ZOOM_REGION_ERROR_NO_TARGET_DRAWABLE under appropriate conditions. (zoom_region_do_dispose): Remove the GSource for updating the pointer, because it doesn't get removed by g_idle_remove_by_data. [Fixes SEGV bugs when changing source DISPLAY] (zoom_region_private_init): Initialize the various bounds rectangles. (zoom_region_finalize): Check the status of the zoom region and magnifier widgets before calling gtk_container_remove. Also some minor cleanup. * magnifier/zoom-region.h: Added conditional 'alive' field for assertion testing. * magnifier/zoom-region-private.h: Added member for pointer-update gsource handler. 2005-01-10 Pawan Chitrakar * configure.in: Added ne "Nepali" in ALL_LINGUAS