gimp/app/gui
Jehan fb1cb22f62 app: cleanup MR !734.
- app_activate_callback() moved with other private functions.
- Removing the `if (app)` test in app_activate_callback() as we don't
  set it to NULL anymore. The app variable is always set.
- As a consequence of the previous point, change signature of
  app_exit_after_callback() which doesn't have to change the value of
  app anymore.
- Don't emit direcly the "exit" signal from app_activate_callback(). We
  must call `gimp_exit (gimp, TRUE);` instead, which does more than just
  emitting this signal. It also takes care of cleaning any remaining
  images without a display. If we don't do this, we are leaking
  GeglBuffer when opening images from command lines while quitting
  immediately with --quit.
- Get rid of gimp_core_app_set_values() which was completely bypassing
  the fact that all the properties of a GimpCoreApp were construct-only.
  Instead make these proper properties. I use a trick used in other
  interface, creating a gimp_container_view_install_properties() which
  is called from child classes.
  The point of GimpCoreApp is not just to share a common interface, it's
  rather to weakly simulate some kind of multi-inheritance in GObject.
  Since we want both GimpApp and GimpConsoleApp to inherit from a same
  parent class while we also want them to inherit either from
  GtkApplication and GApplication respectively (yet without linking to
  GTK in this second case), we are stuck as far as normal GObject
  inheritance goes. This is why we use an interface to which we add a
  private struct through a GQuark trick. We want the property settings
  and function implementations to also be part of this shared code.
- Get rid of all the abstract methods of GimpCoreApp of the form
  get_*(). These are useless as we don't expect these to have different
  implementation depending on the actual child class. Once again, our
  main goal was to simulate multiple inheritance rather than actually
  have an interface with various implementations.
- Make "no-splash" a property of GimpApp, because it's cleaner this way.
- Fix gimp_core_app_private_finalize().
- don't use #pragma once, it's not standard. Just use include guards.
- Fix includes: order was wrong, include from the source, not other
  headers, etc.
- Clean various other details, coding styles, fix several more bugs and
  more…
2022-10-09 16:12:07 +02:00
..
.gitignore Bug 622934 - Migrate from dbus-glib to glib's GDBus 2013-05-24 23:25:47 +02:00
Makefile.am app: Add in gimpconsoleapp and gimpcoreapp interface 2022-10-09 16:12:07 +02:00
dbus-service.xml app: batch commands won't run on existing instance. 2015-09-28 22:31:21 +02:00
gimpapp.c app: cleanup MR !734. 2022-10-09 16:12:07 +02:00
gimpapp.h app: cleanup MR !734. 2022-10-09 16:12:07 +02:00
gimpdbusservice.c app: use gimp_is_restored() rather than object variables. 2022-03-12 18:59:36 +01:00
gimpdbusservice.h app: improve opening images through the DBus service. 2020-11-10 22:33:25 +01:00
gimpuiconfigurer.c libgimbase: merge gimpparam.h into gimpparamspecs.h 2019-07-31 10:16:21 +02:00
gimpuiconfigurer.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gui-message.c app: keep error dialog above. 2020-12-17 22:27:01 +01:00
gui-message.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gui-types.h app: cleanup MR !734. 2022-10-09 16:12:07 +02:00
gui-unique.c app: do not free non-allocated DBus manager. 2020-03-19 17:44:24 +01:00
gui-unique.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gui-vtable.c app: gui_free_progress() should accept any GimpProcess widget. 2021-05-06 00:19:25 +02:00
gui-vtable.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gui.c app: cleanup MR !734. 2022-10-09 16:12:07 +02:00
gui.h app: cleanup MR !734. 2022-10-09 16:12:07 +02:00
icon-themes.c app: special-case icon theme loading when testing build. 2021-12-23 13:39:43 +01:00
icon-themes.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
meson.build app: Add in gimpconsoleapp and gimpcoreapp interface 2022-10-09 16:12:07 +02:00
modifiers.c app: add a GimpModifiersManager object to GimpDisplayConfig. 2022-08-17 14:20:18 +02:00
modifiers.h app: add a GimpModifiersManager object to GimpDisplayConfig. 2022-08-17 14:20:18 +02:00
session.c Fix various typos 2019-09-21 17:10:46 +00:00
session.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
splash.c app: Add in gimpconsoleapp and gimpcoreapp interface 2022-10-09 16:12:07 +02:00
splash.h app: cleanup MR !734. 2022-10-09 16:12:07 +02:00
themes.c Issue #7023: icon size selection on GIMP 2.99. 2022-09-28 21:11:58 +02:00
themes.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00