Bug 704065 - Snap default preferences are now settable in the preferences.

Along with this change, the snap preferences have been moved from
GimpDisplayConfig to GimpDisplayOptions, where it makes much more sense.
One of the consequences is that there is no need to duplicate these
values in GimpDisplayShell anymore to differenciate defaults and
current settings.
This commit is contained in:
Jehan
2013-07-16 18:21:34 +09:00
parent b60d361d6c
commit 0df8ae52fb
10 changed files with 204 additions and 117 deletions

View File

@ -57,11 +57,6 @@ struct _GimpDisplayShell
GimpDisplayOptions *fullscreen_options;
GimpDisplayOptions *no_image_options;
gboolean snap_to_guides; /* should the guides be snapped to? */
gboolean snap_to_grid; /* should the grid be snapped to? */
gboolean snap_to_canvas; /* should the canvas be snapped to? */
gboolean snap_to_vectors; /* should the active path be snapped */
GimpUnit unit;
gint offset_x; /* offset of display image */