diff --git a/app/propgui/gimppropgui-convolution-matrix.c b/app/propgui/gimppropgui-convolution-matrix.c index 9510dee354..da5328e702 100644 --- a/app/propgui/gimppropgui-convolution-matrix.c +++ b/app/propgui/gimppropgui-convolution-matrix.c @@ -42,13 +42,13 @@ convolution_matrix_prop_name (gint x, gint y) { static const gchar * const prop_names[5][5] = { - {"a1", "a2", "a3", "a4", "a5"}, - {"b1", "b2", "b3", "b4", "b5"}, - {"c1", "c2", "c3", "c4", "c5"}, - {"d1", "d2", "d3", "d4", "d5"}, - {"e1", "e2", "e3", "e4", "e5"}}; + {"a1", "b1", "c1", "d1", "e1"}, + {"a2", "b2", "c2", "d2", "e2"}, + {"a3", "b3", "c3", "d3", "e3"}, + {"a4", "b4", "c4", "d4", "e4"}, + {"a5", "b5", "c5", "d5", "e5"}}; - return prop_names[x][y]; + return prop_names[y][x]; } static void @@ -178,7 +178,7 @@ _gimp_prop_gui_new_convolution_matrix (GObject *config, convolution_matrix_prop_name (x, y), 1.0, 10.0, 2); gtk_entry_set_width_chars (GTK_ENTRY (spin), 8); - gtk_grid_attach (GTK_GRID (grid), spin, y, x, 1, 1); + gtk_grid_attach (GTK_GRID (grid), spin, x, y, 1, 1); } }