2017-08-30 Damon Chaplin * Released GooCanvas 2.0.3 2017-08-30 Damon Chaplin * src/goocanvas.c: If we receive a LEAVE_NOTIFY event with a mode of GDK_CROSSING_GRAB or GDK_CROSSING_GTK_GRAB we finish any passive grab we have underway. Hopefully fixes #711709 * demo/mv-simple-demo.c (on_rect_button_press): * demo/simple-demo.c (on_rect_button_press): show a dialog to test the grab bug fix above. 2017-08-29 Damon Chaplin * src/goocanvas.c: * docs/simple-canvas.xml: updated simple demo code. 2017-08-29 Damon Chaplin * src/goocanvas.c (goo_canvas_get_bounds): Call goo_canvas_update() if needed when automatic bounds is on. #785326 2016-12-30 Damon Chaplin * configure.in: Use AM_GNU_GETTEXT instead of AM_GLIB_GNU_GETTEXT. Also added po/Makevars, copying from GTK+/gdk-pixbuf. 2016-12-16 Damon Chaplin * autogen.sh: pinched from gdk-pixbuf. * src/Makefile.am (GooCanvas_2_0_gir_CFLAGS): added -I$(top_srcdir)/src so hopefully it builds OK outside srcdir. #735420 2016-12-16 Damon Chaplin * src/goocanvasimage.c (goo_canvas_image_paint): use cairo_clip() when calling cairo_paint_with_alpha() otherwise it gets messed up. (the flowers in the demo were sometimes painted incorrectly.) 2016-12-15 Damon Chaplin * src/goocanvastext.c (goo_canvas_text_get_natural_extents): * src/goocanvas.c (goo_canvas_render): * src/goocanvas.c (goo_canvas_get_bounds): added (allow-none) annotations for introspection. 2016-12-15 Damon Chaplin * src/goocanvas.c (goo_canvas_get_bounds): patch from Simon Feltman to add (out) annotations for introspection. #732197 2016-12-15 Damon Chaplin * configure.in: * src/Makefile.am : patch from Alberto Garcia to install introspection data to the correct place. #731839 2016-12-15 Damon Chaplin * src/*.c: removed use of gtk-doc flag which isn't supported any more. #729984 2016-12-15 Damon Chaplin * src/goocanvastext.c (goo_canvas_text_get_natural_extents): patch from Cédric Krier to add "(out)" annotations for introspection. #771317 2016-12-15 Damon Chaplin * src/goocanvasitem.c (goo_canvas_item_base_init): patch from Cédric Krier to specify the correct event types for the signals, in the introspection annotations. #771316 2016-12-15 Damon Chaplin * src/goocanvas.c (goo_canvas_allocate_child_widget): call gtk_widget_get_preferred_size() to stop GTK+ spewing warnings. 2016-12-14 Damon Chaplin * src/goocanvas.c: added background_color and background_color_set to GooCanvasPrivate struct. (goo_canvas_init, goo_canvas_get_property) (goo_canvas_set_property): add code to init/get/set background color property, as gtk_widget_override_background_color() and gtk_widget_modify_bg() are now deprecated. (goo_canvas_draw): use the background color property if it is set. 2016-12-14 Damon Chaplin * src/goocanvas.c (goo_canvas_configure_hadjustment) (goo_canvas_configure_vadjustment): rewrote these to get rid of deprecated calls to gtk_adjustment_changed/value_changed(). 2016-12-14 Damon Chaplin * src/goocanvas.c (goo_canvas_button_press): (goo_canvas_button_release): use gdk_display_device_is_grabbed() instead of gdk_display_pointer_is_grabbed(). (goo_canvas_pointer_grab): (goo_canvas_pointer_ungrab): use gdk_seat_grab/ungrab() instead of gdk_pointer_grab/ungrab(), but only with GTK+ >= 3.20.0 so we don't break compilation with older GTK+. (goo_canvas_keyboard_grab, goo_canvas_keyboard_ungrab): use gdk_seat_grab()/ungrab() instead of gdk_keyboard_grab/ungrab(). 2016-12-14 Damon Chaplin * src/goocanvas.c (goo_canvas_create_cairo_context): removed use of gdk_cairo_create(). We always just use cairo_create() now. 2016-12-14 Damon Chaplin * src/goocanvas.c (goo_canvas_focus_check_is_best): change comment that confused gtk-doc. 2016-12-14 Damon Chaplin * src/goocanvas.c (goo_canvas_request_update): use gdk_threads_add_idle_full() instead of g_idle_add_full(). (goo_canvas_idle_handler): remove GDK_THREADS_ENTER/LEAVE(). I think this is what we are supposed to do now, but I'm not sure! * src/goocanvasitem.c (_goo_canvas_item_animate_internal): use gdk_threads_add_timeout() instead of g_timeout_add(). (goo_canvas_item_animate_cb): remove GDK_THREADS_ENTER/LEAVE(). 2016-12-13 Damon Chaplin * src/goocanvasutils.c (goo_canvas_create_path): added (element-type) annotation. * src/Makefile.am: moved goocanvasprivate.h to _extra_sources so it doesn't get scanned for introspection. 2016-12-13 Damon Chaplin * demo/*.c: remove deprecated GTK+ calls. 2013-11-03 Damon Chaplin * Released GooCanvas 2.0.2