• 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
Name
Last commit
Last update
..
.gitignore Loading commit data...
Makefile.am Loading commit data...
dbus-service.xml Loading commit data...
gimpdbusservice.c Loading commit data...
gimpdbusservice.h Loading commit data...
gimpuiconfigurer.c Loading commit data...
gimpuiconfigurer.h Loading commit data...
gui-message.c Loading commit data...
gui-message.h Loading commit data...
gui-types.h Loading commit data...
gui-unique.c Loading commit data...
gui-unique.h Loading commit data...
gui-vtable.c Loading commit data...
gui-vtable.h Loading commit data...
gui.c Loading commit data...
gui.h Loading commit data...
icon-themes.c Loading commit data...
icon-themes.h Loading commit data...
session.c Loading commit data...
session.h Loading commit data...
splash.c Loading commit data...
splash.h Loading commit data...
themes.c Loading commit data...
themes.h Loading commit data...