1. 18 Sep, 2018 1 commit
    • Ell's avatar
      app, libgimp*, modules: don't use g_type_class_add_private() ... · 3b0040c0
      Ell authored
      ... and G_TYPE_INSTANCE_GET_PRIVATE()
      
      g_type_class_add_private() and G_TYPE_INSTANCE_GET_PRIVATE() were
      deprecated in GLib 2.58.  Instead, use
      G_DEFINE_[ABSTRACT_]TYPE_WITH_PRIVATE(), and
      G_ADD_PRIVATE[_DYNAMIC](), and the implictly-defined
      foo_get_instance_private() functions, all of which are available in
      the GLib versions we depend on.
      
      This commit only covers types registered using one of the
      G_DEFINE_FOO() macros (i.e., most types), but not types with a
      custom registration function, of which we still have a few -- GLib
      currently only provides a (non-deprecated) public API for adding a
      private struct using the G_DEFINE_FOO() macros.
      
      Note that this commit was 99% auto-generated (because I'm not
      *that* crazy :), so if there are any style mismatches... we'll have
      to live with them for now.
      3b0040c0
  2. 11 Jul, 2018 1 commit
  3. 01 Jun, 2018 1 commit
  4. 28 May, 2018 1 commit
  5. 20 May, 2018 7 commits
  6. 18 Apr, 2018 1 commit
  7. 06 Jun, 2017 1 commit
  8. 31 May, 2015 1 commit
  9. 01 Nov, 2013 1 commit
  10. 30 Sep, 2011 1 commit
  11. 27 Jul, 2011 1 commit
  12. 05 Jul, 2010 2 commits
  13. 19 Apr, 2010 1 commit
  14. 06 Mar, 2010 1 commit
  15. 17 Oct, 2009 1 commit
  16. 22 Mar, 2009 1 commit
    • Michael Natterer's avatar
      libgimpwidgets/gimpchainbutton.c libgimpwidgets/gimpcolorarea.c · 3795f9b9
      Michael Natterer authored
      2009-03-22  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpchainbutton.c
      	* libgimpwidgets/gimpcolorarea.c
      	* libgimpwidgets/gimpcolorbutton.c
      	* libgimpwidgets/gimpcolorscale.c
      	* libgimpwidgets/gimpcolorselect.c
      	* libgimpwidgets/gimpdialog.c
      	* libgimpwidgets/gimphelpui.c
      	* libgimpwidgets/gimpmemsizeentry.c
      	* libgimpwidgets/gimpoffsetarea.c
      	* libgimpwidgets/gimppickbutton.c
      	* libgimpwidgets/gimppixmap.c
      	* libgimpwidgets/gimppreview.c
      	* libgimpwidgets/gimppreviewarea.c
      	* libgimpwidgets/gimpruler.c
      	* libgimpwidgets/gimpscrolledpreview.c
      	* libgimpwidgets/gimpwidgets.c: use accessors for various members
      	of GTK+ structures that don't exist any longer when GSEAL_ENABLE
      	is defined.
      
      
      svn path=/trunk/; revision=28190
      3795f9b9
  17. 17 Jan, 2009 1 commit
    • Michael Natterer's avatar
      Change licence to GPLv3 (and to LGPLv3 for libgimp). · d9b5207a
      Michael Natterer authored
      2009-01-17  Michael Natterer  <mitch@gimp.org>
      
      	* all files with a GPL header and all COPYING files:
      
      	Change licence to GPLv3 (and to LGPLv3 for libgimp).
      
      	Cleaned up some copyright headers and regenerated the parsers in
      	the ImageMap plugin.
      
      
      svn path=/trunk/; revision=27913
      d9b5207a
  18. 21 Sep, 2007 1 commit
    • Sven Neumann's avatar
      formatting. · 24c7fc1e
      Sven Neumann authored
      2007-09-21  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimppreview.c: formatting.
      
      	* libgimpwidgets/gimpscrolledpreview.c: make use of freeze/thaw to
      	reduce the number of updates during initialization.
      
      svn path=/trunk/; revision=23602
      24c7fc1e
  19. 11 Jan, 2007 1 commit
    • Sven Neumann's avatar
      added transform and untransform methods. · 511a488a
      Sven Neumann authored
      2007-01-11  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimppreview.[ch]: added transform and 
      untransform
      	methods.
      
      	* libgimp/gimpzoompreview.c: more cleanups. Override the new
      	GimpPreview methods.
      
      	* plug-ins/common/nova.c: use the new transform functions.
      
      	* libgimpwidgets/gimpwidgets.def: updated.
      
      
      svn path=/trunk/; revision=21689
      511a488a
  20. 18 Oct, 2006 1 commit
  21. 06 Feb, 2006 1 commit
    • Sven Neumann's avatar
      connect-after to "realize" and "size-allocate" signals of the preview area · 539ff359
      Sven Neumann authored
      2006-02-06  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimppreview.c: connect-after to "realize" and
      	"size-allocate" signals of the preview area and call the
      	set-cursor method from the callback.
      
      	* libgimpwidgets/gimpscrolledpreview.c: no need to explicitely set
      	the cursor now that the virtual method is used correctly.
      
      	* libgimp/gimpzoompreview.c: implement set-cursor and set the move
      	cursor in accordance with the zoom factor.
      539ff359
  22. 30 Jan, 2006 1 commit
    • Sven Neumann's avatar
      moved GIMP_PARAM defines from here ... · 7b24dd8e
      Sven Neumann authored
      2006-01-30  Sven Neumann  <sven@gimp.org>
      
      	* app/config/config-types.h: moved GIMP_PARAM defines from here ...
      
      	* libgimpbase/gimpparam.h: ... to this new files.
      
      	* libgimpbase/Makefile.am
      	* libgimpbase/gimpbasetypes.h: include the new header file.
      
      	* libgimp/gimpfontselectbutton.c
      	* libgimpconfig/gimpcolorconfig.c
      	* libgimpthumb/gimpthumbnail.c
      	* libgimpwidgets/gimpcellrenderercolor.c
      	* libgimpwidgets/gimpcellrenderertoggle.c
      	* libgimpwidgets/gimpcolorarea.c
      	* libgimpwidgets/gimpcolorbutton.c
      	* libgimpwidgets/gimpcolordisplay.c
      	* libgimpwidgets/gimpcontroller.c
      	* libgimpwidgets/gimpdialog.c
      	* libgimpwidgets/gimpenumcombobox.c
      	* libgimpwidgets/gimpintcombobox.c
      	* libgimpwidgets/gimppageselector.c
      	* libgimpwidgets/gimppreview.c
      	* libgimpwidgets/gimppreviewarea.c
      	* libgimpwidgets/gimpzoommodel.c
      	* modules/cdisplay_colorblind.c
      	* modules/cdisplay_gamma.c
      	* modules/cdisplay_highcontrast.c
      	* modules/cdisplay_lcms.c
      	* modules/cdisplay_proof.c
      	* modules/controller_linux_input.c
      	* modules/controller_midi.c: use the GIMP_PARAM defines to avoid
      	unnecessary string allocations.
      7b24dd8e
  23. 22 Nov, 2005 1 commit
  24. 28 Sep, 2005 2 commits
    • Sven Neumann's avatar
      renamed newly added function to gimp_preview_get_controls(). Increased row · 3670d4c3
      Sven Neumann authored
      2005-09-28  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimppreview.[ch]: renamed newly added function to
      	gimp_preview_get_controls(). Increased row padding for controls.
      
      	* libgimpwidgets/gimpwidgets.def
      	* libgimp/gimpzoompreview.c: changed accordingly.
      
      	* libgimpbase/gimputils.c (gimp_enum_get_value): ref the enum
      	class instead of only peeking at it.
      
      	* libgimpwidgets/gimpzoommodel.c (gimp_zoom_button_new): set a
      	tooltip on zoom buttons that only show an icon.
      3670d4c3
    • Sven Neumann's avatar
      added a hbox to the table and the "Update Preview" checkbutton there. · 9ab6ffa9
      Sven Neumann authored
      2005-09-28  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimppreview.[ch]: added a hbox to the table and
      	the "Update Preview" checkbutton there. Added a function to access
      	this control box. Increased default size to 200.
      
      	* libgimpwidgets/gimpscrolledpreview.[ch]: added function
      	gimp_scrolled_preview_set_policy() to control when the scrollbars
      	should be shown.
      
      	* libgimpwidgets/gimpwidgets.def: updated.
      
      	* libgimp/gimpzoompreview.c: pack the zoom buttons into the
      	preview's control box. Commented out the label, it shows a bogus
      	zoom factor. Set scrollbar policy to ALWAYS to avoid resizing.
      9ab6ffa9
  25. 19 Sep, 2005 1 commit
    • David Odin's avatar
      New object to handle zoom factor, and create widgets to control or view · 5b538db8
      David Odin authored
      * libgimpwidgets/gimpzoommodel.[ch]: New object to handle zoom
        factor, and create widgets to control or view this value.
      
      * libgimpwidgets/Makefile.am
      * libgimpwidgets/gimpwidgets.h: Added gimpzoommodel.[ch].
      
      * libgimpwidgets/gimpwidgetsenums.h: new enum: GimpZoomWidgetType.
        This enumerate which knid of widget you can created from the zoom
        model.
      
      * libgimpwidgets/gimpwidgetsenums.c
      * libgimpwidgets/gimpwidgetstypes.h: regenerated.
      
      * libgimpwidgets/gimppreview.c: move the update toggle to the bottom
        of the vbox.
      
      * libgimp/Makefile.am
      * libgimp/gimpui.h
      * libgimp/gimpuitypes.h
      * libgimp/gimpzoompreview.[ch]: New widget, derivated from
        GimpScrolledPreview, which offer the same functionnalities as the
        GimpAspectPreview widget plus zoom facilities.
      
      * plug-ins/common/AlienMap2.c
      * plug-ins/common/apply_lens.c
      * plug-ins/common/blinds.c
      * plug-ins/common/channel_mixer.c
      * plug-ins/common/colorify.c
      * plug-ins/common/flarefx.c
      * plug-ins/common/illusion.c
      * plug-ins/common/jigsaw.c
      * plug-ins/common/mapcolor.c
      * plug-ins/common/max_rgb.c
      * plug-ins/common/nova.c
      * plug-ins/common/polar.c
      * plug-ins/common/retinex.c
      * plug-ins/common/waves.c
      * plug-ins/common/whirlpinch.c: use a GimpZoomPreview instead of a
        GimpAspectPreview.
      5b538db8
  26. 21 Jul, 2005 1 commit
  27. 27 May, 2005 1 commit
  28. 05 Jan, 2005 1 commit
    • David Odin's avatar
      new function: gimp_scrolled_preview_set_position () to set the position of · d9e414fd
      David Odin authored
      * libgimpwidgets/gimpscrolledpreview.[ch]: new function:
        gimp_scrolled_preview_set_position () to set the position of the
        preview content wrt the drawable.  This function might be moved to a
        virtual function of GimpPreview in a near future.
      
      * libgimp/gimpdrawablepreview.c: use this function, so a preview
        remembers its position from one invocation to the next.  This is done
        using the current executable name as a key for gimp_set/get_data () so
        each plug-in can have its preview on a different place.
      
        More informations could be saved this way: the update toggle, the checks, etc.
      
        Addresses bug #162286.
      
      * libgimpwidgets/gimppreview.c: smallish cleanup.
      d9e414fd
  29. 29 Nov, 2004 1 commit
    • Sven Neumann's avatar
      change the "update" property and notify listeners (in particular · 37f179ae
      Sven Neumann authored
      2004-11-29  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimppreview.c (gimp_preview_toggle_callback):
      	change the "update" property and notify listeners (in particular
      	GimpDrawablePreview) before invalidating the preview. Plug-ins
      	might (needlessly) look at the property to decide whether they
      	need to redraw. Fixes bug #159816.
      
      	* plug-ins/common/unsharp.c (preview_update): no need to look at
      	the value of the "Preview" toggle. GimpPreview takes care this.
      37f179ae
  30. 13 Oct, 2004 2 commits
    • Sven Neumann's avatar
      removed trailing whitespace. · 27a39e6c
      Sven Neumann authored
      2004-10-13  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimppreview.c: removed trailing whitespace.
      
      	* libgimpwidgets/gimpwidgets.def: added
      	gimp_preview_set_default_cursor.
      27a39e6c
    • David Odin's avatar
      added a new function to set the default cursor on preview: · 3eb00e03
      David Odin authored
      * libgimpwidgets/gimppreview.[ch]: added a new function to set the
        default cursor on preview: gimp_preview_set_default_cursor().
      
      * libgimpwidgets/gimpscrolledpreview.c: changed accordlingly.
      
      * plug-ins/common/flarefx.c:
      * plug-ins/common/nova.c: use this function.
      
      This addresses bug #90519.
      3eb00e03
  31. 29 Sep, 2004 1 commit
    • Sven Neumann's avatar
      libgimpwidgets/gimppreview.[ch] added gimp_preview_draw_buffer(). · de37bbb7
      Sven Neumann authored
      2004-09-29  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimppreview.[ch]
      	* libgimpwidgets/gimpwidgets.def: added gimp_preview_draw_buffer().
      
      	* libgimp/gimpaspectpreview.[ch]
      	* libgimp/gimpdrawablepreview.[ch]
      	* libgimp/gimpui.def: removed the public draw_buffer API.
      	Implement the virtual GimpPreview::draw_buffer method instead.
      
      	* plug-ins/common/cartoon.c
      	* plug-ins/common/deinterlace.c
      	* plug-ins/common/despeckle.c
      	* plug-ins/common/dog.c
      	* plug-ins/common/edge.c
      	* plug-ins/common/engrave.c
      	* plug-ins/common/exchange.c
      	* plug-ins/common/gauss.c
      	* plug-ins/common/grid.c
      	* plug-ins/common/neon.c
      	* plug-ins/common/noisify.c
      	* plug-ins/common/oilify.c
      	* plug-ins/common/photocopy.c
      	* plug-ins/common/plasma.c
      	* plug-ins/common/sel_gauss.c
      	* plug-ins/common/sharpen.c
      	* plug-ins/common/shift.c
      	* plug-ins/common/snoise.c
      	* plug-ins/common/sobel.c
      	* plug-ins/common/spread.c
      	* plug-ins/common/struc.c: changed accordingly. Don't pass the
      	preview around as GimpDrawablePreview or GimpAspectPreview. It
      	should whenever possible be accessed as GimpPreview.
      de37bbb7