app: handle GIMP_ZOOM_SMOOTH in gimp_palette_editor_zoom()

This commit is contained in:
Michael Natterer
2018-05-23 12:41:46 +02:00
parent 6493020790
commit 38ef1054d1

View File

@ -540,6 +540,9 @@ gimp_palette_editor_zoom (GimpPaletteEditor *editor,
(gdouble) rows - SPACING) / ENTRY_HEIGHT;
}
break;
case GIMP_ZOOM_SMOOTH: /* can't happen */
g_return_if_reached ();
}
zoom_factor = CLAMP (zoom_factor, 0.1, 4.0);