mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-22 20:41:43 +00:00
map-object: Fix aliasing warnings
This commit is contained in:
parent
36ccc9292d
commit
dcd447f583
|
@ -138,8 +138,12 @@ static void
|
|||
lightmenu_callback (GtkWidget *widget,
|
||||
gpointer data)
|
||||
{
|
||||
int active;
|
||||
|
||||
gimp_int_combo_box_get_active (GIMP_INT_COMBO_BOX (widget),
|
||||
(gint *) &mapvals.lightsource.type);
|
||||
&active);
|
||||
|
||||
mapvals.lightsource.type = active;
|
||||
|
||||
if (mapvals.lightsource.type == POINT_LIGHT)
|
||||
{
|
||||
|
@ -172,8 +176,12 @@ static void
|
|||
mapmenu_callback (GtkWidget *widget,
|
||||
gpointer data)
|
||||
{
|
||||
int active;
|
||||
|
||||
gimp_int_combo_box_get_active (GIMP_INT_COMBO_BOX (widget),
|
||||
(gint *) &mapvals.maptype);
|
||||
&active);
|
||||
|
||||
mapvals.maptype = active;
|
||||
|
||||
if (mapvals.livepreview)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue