mirror of https://github.com/GNOME/gimp.git
Fix some compile errors
This commit is contained in:
parent
749ed2212d
commit
bb18654483
|
@ -2521,7 +2521,7 @@ gimp_context_dynamics_dirty (GimpDynamicsOptions *dynamics,
|
|||
GimpContext *context)
|
||||
{
|
||||
g_free (context->dynamics_name);
|
||||
context->dynamics_name = g_strdup (GIMP_OBJECT (dynamics)->name);
|
||||
context->dynamics_name = g_strdup (GIMP_DYNAMICS (dynamics)->name);
|
||||
}
|
||||
|
||||
static void gimp_context_dynamics_removed (GimpContainer *container,
|
||||
|
@ -2596,7 +2596,7 @@ gimp_context_real_set_dynamics (GimpContext *context,
|
|||
0);
|
||||
|
||||
if (dynamics != standard_dynamics)
|
||||
context->dynamics_name = g_strdup (GIMP_OBJECT (dynamics)->name);
|
||||
context->dynamics_name = g_strdup (GIMP_DYNAMICS (dynamics)->name);
|
||||
}
|
||||
|
||||
g_object_notify (G_OBJECT (context), "dynamics");
|
||||
|
|
|
@ -26,6 +26,7 @@ typedef struct _GimpDynamicsOutput GimpDynamicsOutput;
|
|||
|
||||
struct _GimpDynamicsOutput
|
||||
{
|
||||
|
||||
gboolean pressure;
|
||||
gboolean velocity;
|
||||
gboolean direction;
|
||||
|
@ -63,6 +64,8 @@ struct _GimpDynamics
|
|||
{
|
||||
GimpDataClass parent_instance;
|
||||
|
||||
gchar *name;
|
||||
|
||||
GimpDynamicsOutput* opacity_dynamics;
|
||||
GimpDynamicsOutput* hardness_dynamics;
|
||||
GimpDynamicsOutput* rate_dynamics;
|
||||
|
|
Loading…
Reference in New Issue